Вот что получилось
main.cpp > 11:15:55 > - agent_007
main.cpp > 11:15:55 > (adding passed)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210841408 (LWP 15010)]
0x00006479 in ?? ()
(gdb) bt
#0 0x00006479 in ?? ()
#1 0xb7cfdfa6 in MYSQL_STORE::GetVersion () from /usr/lib/stg/mod_store_mysql.so
#2 0xb7d725d1 in __cxa_finalize () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7cfded3 in ?? () from /usr/lib/stg/mod_store_mysql.so
#4 0xb7d16cfc in ?? () from /usr/lib/stg/mod_store_mysql.so
#5 0xb7d16b08 in ?? () from /usr/lib/stg/mod_store_mysql.so
#6 0xbfb1d538 in ?? ()
#7 0xb7d102fc in _fini () from /usr/lib/stg/mod_store_mysql.so
#8 0xb7d102fc in _fini () from /usr/lib/stg/mod_store_mysql.so
#9 0xb7e489b5 in _dl_close () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7f8ee1a in dlclose () from /lib/tls/i686/cmov/libdl.so.2
#11 0xb7fcc44f in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#12 0xb7f8f42d in dlerror () from /lib/tls/i686/cmov/libdl.so.2
#13 0xb7f8edea in dlclose () from /lib/tls/i686/cmov/libdl.so.2
#14 0x08051dd8 in main (argc=3, argv=0xbfb1dfa4) at main.cpp:345
(gdb)