Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Can some help me with this gdb output with mysql and string core

Can some help me with this gdb output with mysql and string core

2006-11-21       - By Ankur G35 Saxena

 Back
Reply:     1     2     3  

Hi, I dont know what i am doing wrong here, if someone through some
suggestions on this it would be wonderful, give me a little detail as
to why it could happen. I seems to be from a string lib used by mysql
lib.

Thanks

Ankur




[ankur@(protected) aaa-logs]$ more C*
::::::::::::::
Crash1.gdb
::::::::::::::
Loaded symbols for /lib/libnss_files.so.2
#0  0x420744fe in _int_free () from /lib/tls/libc.so.6
(gdb) up
#1  0x420734d6 in free () from /lib/tls/libc.so.6
(gdb)
#2  0x4026f983 in operator delete(void*) () from /usr/lib/libstdc++.so.5
(gdb)
#3  0x4026332e in std::string::_Rep::_M_destroy(std::allocator<char>
const&) () from /usr/lib/libstdc++.so.5
(gdb)
#4  0x4005dd92 in mysqlpp::mysql_type_info*
std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<mysqlpp::mysql_type
_info
const*, std::vector<mysqlpp::mysql_type_info, std:
:allocator<mysqlpp::mysql_type_info> > >,
mysqlpp::mysql_type_info*>(__gnu_cxx::__normal_iterator<mysqlpp::mysql_type_info
const*, std::vector<mysqlpp::mysql_type_info, std::allo
cator<mysqlpp::mysql_type_info> > >,
__gnu_cxx::__normal_iterator<mysqlpp::mysql_type_info const*,
std::vector<mysqlpp::mysql_type_info,
std::allocator<mysqlpp::mysql_type_info>
> >, mysqlpp::mysql_type_info*, __false_type) () from /usr/lib/libmysqlpp.so
(gdb)
#5  0x080a1f9e in DBAccess::runGetSql(char*, mysqlpp::Result*,
LogEntry*) (this=0x81097b4,
   querystr=0x412ad08c "SELECT * FROM SystemConfig.DialingPlan WHERE
total_len='10' and (dialed_pattern like '7%' or dialed_pattern='')
order by last_any", resSet=0x412ad05c, Lo
g=0x412ad52c) at query.h:309
309             Result store() { return store(def); }
(gdb)
#6  0x080a0cdf in DBAccess::analyzeNumber(char*, char*, LogEntry*)
(this=0x81097b4, dialed_num=0x41b79f20 "7476100238",
   true_mdn=0x412ad4ec "", Log=0x412ad52c) at DBAccess.cpp:58
58              if(runGetSql(querystr, &get, Log) > 0)
(gdb)
#7  0x0807912d in MsgProcessor::process_MSC_Auth_Req(CcAAAAuthReqMsg*,
sockaddr_in*) (this=0x81097b4, msg=0x41b79f18,
   replyTo=0x41b28720) at MsgProcessor-Recv-MSC.cpp:514
514                     calleeNumType =
db.analyzeNumber(msg->calleeID, calleeTranslation, &Log);
(gdb)
#8  0x0805ee31 in InSysController::handleRequest(char*, int,
sockaddr_in*) (this=0x81097b4, m=0x41b79f18 "\f\016,\001\001",
   len=1, fromwho=0x41b28720) at InSysController.cpp:58
58                              msgProc.process_MSC_Auth_Req(msg, fromwho);
(gdb)
#9  0x0805ebd3 in InSysController::OnThreadMessage(int, int, void*)
(this=0x8109650, id=0, wParam=0, lParam=0x41b28718)
   at InSysController.cpp:18
18                              handleRequest((char *)p->msg, p->len,
&(p->fromwho));

::::::::::::::
Crash2.gdb
::::::::::::::
Loaded symbols for /lib/libnss_files.so.2
#0  0x42073fc3 in _int_malloc () from /lib/tls/libc.so.6
(gdb) up
#1  0x4207335b in malloc () from /lib/tls/libc.so.6
(gdb)
#2  0x4026fa48 in __cxa_allocate_exception () from /usr/lib/libstdc++.so.5
(gdb)
#3  0x4005db33 in mysqlpp::ResUse::copy(mysqlpp::ResUse const&) ()
from /usr/lib/libmysqlpp.so
(gdb)
#4  0x4005dd32 in std::string*
std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<std::string
const*, std::vector<std::string, std::allocator<std::string> > >,
std::strin
g*>(__gnu_cxx::__normal_iterator<std::string const*,
std::vector<std::string, std::allocator<std::string> > >,
__gnu_cxx::__normal_iterator<std::string const*, std::vector<std::s
tring, std::allocator<std::string> > >, std::string*, __false_type) ()
from /usr/lib/libmysqlpp.so
(gdb)
#5  0x080a1f9e in DBAccess::runGetSql(char*, mysqlpp::Result*,
LogEntry*) (this=0x81097b4,
   querystr=0x412ad08c "SELECT * FROM SystemConfig.DialingPlan WHERE
dialed_pattern='7476100006'", resSet=0x412ad05c,
   Log=0x412ad52c) at query.h:309
309             Result store() { return store(def); }
(gdb)
#6  0x080a0a51 in DBAccess::analyzeNumber(char*, char*, LogEntry*)
(this=0x81097b4, dialed_num=0x81f21f0 "7476100006",
   true_mdn=0x412ad4ec "", Log=0x412ad52c) at DBAccess.cpp:46
46              if(runGetSql(querystr, &get, Log) > 0)
(gdb)
#7  0x0807912d in MsgProcessor::process_MSC_Auth_Req(CcAAAAuthReqMsg*,
sockaddr_in*) (this=0x81097b4, msg=0x81f21e8,
   replyTo=0x81d4278) at MsgProcessor-Recv-MSC.cpp:514
514                     calleeNumType =
db.analyzeNumber(msg->calleeID, calleeTranslation, &Log);
(gdb)
#8  0x0805ee31 in InSysController::handleRequest(char*, int,
sockaddr_in*) (this=0x81097b4, m=0x81f21e8 "\f\016,\001\001",
   len=1, fromwho=0x81d4278) at InSysController.cpp:58
58                              msgProc.process_MSC_Auth_Req(msg, fromwho);
(gdb)
#9  0x0805ebd3 in InSysController::OnThreadMessage(int, int, void*)
(this=0x8109650, id=0, wParam=0, lParam=0x81d4270)
   at InSysController.cpp:18
18                              handleRequest((char *)p->msg, p->len,
&(p->fromwho));
(gdb)
#10 0x0809becd in ZThread::Run() (this=0x8109650) at zthread.cc:239
239                   OnThreadMessage(msg.m_nMsg_Id, msg.m_nParam,
msg.m_pParam);
(gdb)
#11 0x0809b659 in Thread_Entry_Func(void*) (arg=0x8109650) at zthread.cc:22
22            pThread->Run();

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:    http://lists.mysql.com/plusplus?unsub=mysql@(protected)