Bug#339419: d4x crashes in strlen () from /lib64/libc.so.6

Steve Langasek vorlon at debian.org
Wed Dec 21 18:53:06 UTC 2005


On Wed, Dec 21, 2005 at 01:58:13PM +0100, Loïc Minier wrote:

> > (gdb) bt
> > #0  0x00002aaaac900e60 in strlen () from /lib64/libc.so.6

>  The actual crash happens here, probably because a borken address was
>  passed to strlen().

> > #1  0x00002aaaac49670a in std::string::compare () from 
> > /usr/lib/libstdc++.so.6

>  This function probably only relayed the string to strlen().

> > #2  0x0000000000455f2d in std::operator+<char, std::char_traits<char>, 
> > std::allocator<char> > ()
> > #3  0x0000000000438e84 in std::operator+<char, std::char_traits<char>, 
> > std::allocator<char> > ()
> > #4  0x000000000043af15 in std::operator+<char, std::char_traits<char>, 
> > std::allocator<char> > ()
> > #5  0x00002aaaaabc9b1c in start_thread () from /lib64/libpthread.so.0
> > #6  0x00002aaaac959c22 in clone () from /lib64/libc.so.6
> > #7  0x0000000000000000 in ?? ()

>  Now for that part, I can't tell, but it looks like some strings were
>  concatenated together.

>  Could you please install libc6-dbg so that we see clearer in these
>  calls?

All that will do is let you look at the value passed to strlen(); it won't
tell you much about why it's wrong or where it came from.

>  Also, would you rebuild d4x with debugging symbols as explained at
>  <http://wiki.debian.org/HowToGetABacktrace>, that would confuse gdb
>  less I suppose.

I didn't see much evidence here that gdb was confused?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20051221/03af6499/attachment.pgp


More information about the Pkg-gnome-maintainers mailing list