[redland-dev] 0.9.19: Segmentation fault (mysql parse in)

Sebastian Dietzold sebastian at dietzold.de
Mon Nov 8 19:36:51 GMT 2004


quote Dave Beckett (8.11.2004):

> I had a go trying to duplicate this but sadly failed.  Can you maybe 
> re-compile with debugging symbols and try to get a stack dump of the 
> crash? i.e. do:
>
> ...
> gdb> run
>
> and then when/if it crashes, do 'bt'

Hi Dave, thank you for your help. here is the output:

---
(gdb) run
Starting program: /opt/redland-0.9.19/bin/rdfproc -s mysql -t ...

Program received signal SIGSEGV, Segmentation fault.
0x08056de8 in ?? ()
(gdb) bt
#0  0x08056de8 in ?? ()
#1  0x404699e0 in _nss_db_getspnam_r () from /lib/libnss_db.so.2
#2  0x4046911e in _nss_db_endservent () from /lib/libnss_db.so.2
#3  0x404693b3 in _nss_db_getservbyname_r () from /lib/libnss_db.so.2
#4  0x40428a83 in getservbyname_r () from /lib/libc.so.6
#5  0x40428931 in getservbyname () from /lib/libc.so.6
#6  0x401b2fc9 in mysql_once_init () from /opt/mysql-3.23.58/lib/mysql/libmysqlclient.so.10
#7  0x401b5128 in mysql_init () from /opt/mysql-3.23.58/lib/mysql/libmysqlclient.so.10
#8  0x4003b56f in librdf_storage_mysql_init (storage=0x8055930, name=0xbffffc1d "archive",
     options=0x80558e0) at rdf_storage_mysql.c:301
#9  0x4002aa02 in librdf_new_storage_from_factory (world=0x8050a18, factory=0x8054e10,
     name=0xbffffc1d "archive", options=0x80558e0) at rdf_storage.c:448
#10 0x4002a777 in librdf_new_storage_with_options (world=0x8050a18, storage_name=0xbffffbb5 "mysql",
     name=0xbffffc1d "archive", options=0x8055680) at rdf_storage.c:337
#11 0x0804b26e in main (argc=1, argv=0xbffffaa4) at rdfproc.c:516
---


-- 
http://sebastian.dietzold.de/



More information about the redland-dev mailing list