Description of problem: I am building the jabber server which uses db4 as backend storage. If I compile it with rawhide db4 and let it run on rawhide it crashes when using functions from db4: Program received signal SIGSEGV , Segmentation fault. [Switching to Thread -1208981824 (LWP 16359)] 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x080537cb in st_db_init (drv=0x863fd10) at storage_db.c:520 #2 0x080526fd in storage_add_type (st=0x86407a0 , driver=0x808edb6 " db " , type=0x0) at storage.c:190 #3 0x08053176 in storage_new (sm=0x863a008) at storage.c:104 #4 0x0804b762 in main (argc=3 , argv=0xbffc94e4) at main.c:238 I tried to compile it with gcc 4.0 and gcc 3.3 and it always the same. If I compile it under FC-3 and let it run under rawhide it works perfectly. I have also tried to replace db4/db.h in my rawhide installation with the header from db4 from FC-3 and there is also no crash and that is way I think it might be a mismatch between the headers in db4 and the installed libraries. Version-Release number of selected component (if applicable): db4-4.3.27-2 gcc-4.0.0-0.30 http://cvs.fedora.redhat.com/viewcvs/rpms/jabberd/devel/jabberd.spec?root=extras&rev=1.3&view=auto
Have you upgraded db4-devel?
Yes: db4-devel-4.3.27-2
I have tested this some more and found out that this only happens on a system which was installed as FC3 and then (partly) updated to rawhide. If I, however, compile jabberd in a freshly installed chroot with the current development tree the described error does not happen. So the error seems to be somewhere else in my installation.
Closing based on last comment due to hybrid setup.