NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Application runs on 4.0, crashes with 5.0 ld.elf_so



Gary Duzan wrote:
Christos Zoulas wrote:
In article <gun5u3$2fj$1%ger.gmane.org@localhost>, Gary Duzan <gary%duzan.org@localhost> wrote:
Any ideas where to look next? I'd really like to upgrade the server to 5.0, but I can't until I'm sure kmymoney2 is going to work.

Compile ld.so with all debugging on and setenv LD_DEBUG 1

Yeah, I just finished that, actually. The output is 296MB and it still cores:

Core was generated by `kmymoney2'.
Program terminated with signal 11, Segmentation fault.
#0  0xba648021 in QString::QString () from /usr/pkg/qt3/lib/libqt-mt.so.3
(gdb) where
#0  0xba648021 in QString::QString () from /usr/pkg/qt3/lib/libqt-mt.so.3
#1  0x080e9ec2 in QValueListPrivate<QString>::insert ()
#2 0xba65bb40 in QStringList::split () from /usr/pkg/qt3/lib/libqt-mt.so.3 #3 0xbb7cb1e4 in __static_initialization_and_destruction_0 () from /usr/pkg/lib/libkmm_mymoney.so.0 #4 0xbb7d6b62 in __do_global_ctors_aux () from /usr/pkg/lib/libkmm_mymoney.so.0
#5  0xbb79343d in _init () from /usr/pkg/lib/libkmm_mymoney.so.0
#6 0xbb7f3152 in _rtld_call_init_functions () at /usr/src/libexec/ld.elf_so/rtld.c:207 #7 0xbb7f3d88 in _rtld (sp=0xbf7fec88, relocbase=3145662464) at /usr/src/libexec/ld.elf_so/rtld.c:557
#8  0xbb7f286a in .rtld_start () from /usr/libexec/ld.elf_so
(gdb)

For anyone following along, I found that a change to ld.elf_so back in December 2007 is what is triggering the cores. There is code in x11/qt3-libs which works around the problem for Solaris, MacOS, HP-UX, and AIX, and I'm looking into getting NetBSD added to the list.

                                        Gary Duzan



Home | Main Index | Thread Index | Old Index