bug-ddd
[Top][All Lists]
Advanced

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

Re: DDD 3.3.1 (i586-mandrake-linux-gnu) gets `Segmentation fault' signal


From: J.H.M. Dassen (Ray)
Subject: Re: DDD 3.3.1 (i586-mandrake-linux-gnu) gets `Segmentation fault' signal
Date: Wed, 17 Jul 2002 08:44:14 +0200
User-agent: Mutt/1.4i

On Tue, Jul 16, 2002 at 15:51:23 -0400, Stew Benedict wrote:
> /usr/bin/ef: line 20:  1614 Segmentation fault      (core dumped) ( export
> LD_PRELOAD=libefence.so.0.0; exec $* )
> 
> Slightly different:

i.e. even earlier during startup.

> ef:

No X or LessTif references anymore. That's a good sign; it narrows the scope
quite a lot.

> #0  0x405003c1 in kill () from /lib/i686/libc.so.6
> #0  0x405003c1 in kill () from /lib/i686/libc.so.6
> #1  0x400204ea in EF_Abort () from /usr/lib/libefence.so.0.0
> #2  0x4001f73c in free () from /usr/lib/libefence.so.0.0
> #3  0x40487353 in operator delete(void*) () from /usr/lib/libstdc++.so.4
> #4  0x404873cf in operator delete[](void*) () from /usr/lib/libstdc++.so.4
> #5  0x4042a608 in std::strstreambuf::~strstreambuf() ()
>    from /usr/lib/libstdc++.so.4
> #6  0x4042bfec in std::ostrstream::~ostrstream() ()
>    from /usr/lib/libstdc++.so.4
> #7  0x0807546b in strcpy ()
> #8  0x08187db7 in glob_pattern_p ()
> #9  0x081894a2 in glob_pattern_p ()
> #10 0x080543b4 in strcpy ()
> #11 0x404ef082 in __libc_start_main () from /lib/i686/libc.so.6
> !  Segmentation fault

I'm starting to suspect the glob_pattern_p is the real problem:
nm --dynamic --defined-only /lib/libc.so.6 | grep glob_pattern_p
shows it to be a function with W(eak?) linkage in libc; DDD implements one
of its own in ddd/glob.[hC] . What behaviour do you get when you rebuild
after renaming that function there (say to ddd_glob_pattern_p)?

HTH,
Ray
-- 
Would you rather be root or reboot?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]