[Pkg-samba-maint] Bug#732342: Stack Trace

Andrew Bartlett abartlet at samba.org
Wed Jan 8 00:54:32 UTC 2014


On Tue, 2014-01-07 at 15:11 -0800, Steve Langasek wrote:
> On Tue, Jan 07, 2014 at 05:48:16PM -0500, Pat Suwalski wrote:
> > It is surprisingly difficult to get a stack trace, even with
> > samba-dbg and heimdal-dbg installed:
> 
> > #0  0x0000000000000000 in ?? ()
> > #1  0x00007f58b4821ff5 in ?? ()
> > #2  0x00007fff2c599618 in ?? ()
> > #3  0x00007f58ba31f260 in ?? ()
> > #4  0x00007f58ba8e57e0 in ?? ()
> > #5  0x00007f58ba2c6280 in ?? ()
> > #6  0x00007f58ac129a29 in ?? () from /usr/lib/x86_64-linux-gnu/libhdb.so.9
> > #7  0x0000000000000008 in ?? ()
> > #8  0x00007f58bb7ef320 in ?? ()
> > #9  0x00007f58ac117f40 in ?? () from /usr/lib/x86_64-linux-gnu/libhdb.so.9
> > #10 0x00007fff2c599690 in ?? ()
> > #11 0x0000000096c73af9 in ?? ()
> > #12 0x00000000bff03a27 in ?? ()
> > #13 0x0000000000000000 in ?? ()
> 
> > Perhaps I am missing something obvious to get more output? gdb does
> > mention they are loaded:
> 
> > Reading symbols from /usr/lib/x86_64-linux-gnu/libhdb.so.9...Reading
> > symbols from
> > /usr/lib/debug/usr/lib/x86_64-linux-gnu/libhdb.so.9.2.0...done.
> > done.
> > Loaded symbols for /usr/lib/x86_64-linux-gnu/libhdb.so.9
> 
> > That happened with the samba server in PDC mode, running "passwd"
> > via sssd or changing the password via Windows 8.
> 
> I'm sorry to say that this stack trace shows signs of stack corruption.
> "0x0000000000000000" and "0x0000000000000008" are not valid addresses to
> appear in a backtrace.
> 
> You may have better luck debugging by running under valgrind, which can
> often detect stack corruption errors at runtime /before/ they clobber the
> stack.

I strongly suspect in this and in 734355 that Heimdal and Samba have got
out of sync.  We use libhdb (and other parts) from Heimdal in a quite
intimate manner.

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20140108/914915be/attachment.sig>


More information about the Pkg-samba-maint mailing list