Hello friends,
In case this is the wrong list, I'm posting to this list for 2 reasons: 1)
There is no C list and 2) my problem concerns development using the
libmysqlclient.
I've got a module for an app that links to the libmysqlclient.so.14 library.
(The module links to libmysql, not the app)
Everything compiles fine and the module works fine and connects/queries
mysql perfectly.
My app crashed this morning and I did a backtrace on the core file and got
this:
#0 0x404f67bc in my_strcasecmp_8bit () from
/usr/lib/mysql/libmysqlclient.so.14
#1 0x404ee3d2 in get_charset_number () from
/usr/lib/mysql/libmysqlclient.so.14
#2 0x404eed48 in get_charset_by_csname () from
/usr/lib/mysql/libmysqlclient.so.14
#3 0x404ff486 in mysql_real_connect () from
/usr/lib/mysql/libmysqlclient.so.14
#4 0x404fffa5 in mysql_reconnect () from
/usr/lib/mysql/libmysqlclient.so.14
#5 0x404fe127 in cli_advanced_command () from
/usr/lib/mysql/libmysqlclient.so.14
#6 0x404e3ea3 in mysql_ping () from /usr/lib/mysql/libmysqlclient.so.14
#7 0x404cd08d in key () from /usr/lib/asterisk/modules/res_config_mysql.so
#8 0x404cb59b in _init () from
/usr/lib/asterisk/modules/res_config_mysql.so
#9 0x0805eb2e in ast_load_realtime (family=0x0) at config.c:975
#10 0x0808642e in pbx_find_extension (chan=0x0, bypass=0x0, context=0x0,
exten=0x0, priority=0, label=0x0, callerid=0x0, action=0,
incstack=0x0, stacklen=0x0, status=0x0, swo=0x0, data=0x0,
foundcontext=0x0) at pbx.c:797
If I do "bt full" I only get symbol information for #10 and #9. I can
actually see what data is being sent in the function call for 9 & 10. How
can I get symbol info for mysql client? How can I see what data was passed
between each mysql client function? I didn't see any compile time options in
the ./configure for mysql.
Are there any other options I can turn on in mysql libraries to better debug
this unknown problem?
Thanks,
Matthew
--
Matthew Boehm
There is no air in space.
If there was, we couldn't call it space.
It would be called atmosphere.