[Samba] Run away samba, and free() errors
Terry Hardie
terryh at orcas.net
Sun Apr 9 16:54:44 GMT 2006
On Sun, 9 Apr 2006, Terry Hardie wrote:
> > Ok, seems ok as far as I know. If this is reproducible
> > for you you might want to try setting MALLOC_CHECK_=2
> > before running smbd, or if you can reproduce it with
> > one client use valgrind.
>
> This is what I get:
>
> /etc/samba/gdbcommands:1: Error in sourced command file:
> Previous frame inner to this frame (corrupt stack?)
> [2006/04/09 09:37:06, 0] lib/util.c:smb_panic2(1493)
> smb_panic(): action returned status 0
> [2006/04/09 09:37:06, 0] lib/util.c:smb_panic2(1495)
> PANIC: internal error
> [2006/04/09 09:37:06, 0] lib/util.c:smb_panic2(1503)
> BACKTRACE: 17 stack frames:
> #0 smbd(smb_panic2+0x111) [0x81e3b31]
> #1 smbd(smb_panic+0x1a) [0x81e3a1a]
> #2 smbd [0x81d0e58]
> #3 [0xffffe420]
> #4 /lib/tls/libc.so.6(abort+0xeb) [0xb7d4506b]
> #5 /lib/tls/libc.so.6 [0xb7d81185]
> #6 /lib/tls/libc.so.6(__libc_free+0x35) [0xb7d80fc5]
> #7 /lib/libcom_err.so.2(remove_error_table+0x5a) [0xb7ed9d8e]
> #8 /usr/lib/libkrb5.so.3 [0xb7f0f8ef]
> #9 /usr/lib/libkrb5.so.3 [0xb7f0f4fb]
> #10 /usr/lib/libkrb5.so.3 [0xb7f6db9a]
> #11 /lib/ld-linux.so.2 [0xb7fea2de]
> #12 /lib/tls/libc.so.6(exit+0xc4) [0xb7d46494]
> #13 smbd(exit_server+0x16b) [0x8259bdb]
> #14 smbd(main+0x51f) [0x825a1ff]
> #15 /lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7d2eeb0]
> #16 smbd [0x8079db1]
Here's the lead up to it:
[2006/04/09 09:36:54, 1] smbd/service.c:make_connection_snum(642)
192.168.111.203 (192.168.111.203) connect to service ustv initially as
user ORCAS\tivo (uid=0, gid=10000) (pid 1077)
[2006/04/09 09:37:05, 1] smbd/service.c:close_cnum(830)
192.168.111.203 (192.168.111.203) closed connection to service ustv
[2006/04/09 09:37:05, 0] lib/fault.c:fault_report(36)
===============================================================
[2006/04/09 09:37:05, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 1077 (3.0.14a-Debian)
Please read the appendix Bugs of the Samba HOWTO collection
[2006/04/09 09:37:05, 0] lib/fault.c:fault_report(39)
===============================================================
[2006/04/09 09:37:05, 0] lib/util.c:smb_panic2(1485)
smb_panic(): calling panic action [/usr/share/samba/panic-action 1077]
[2006/04/09 09:37:05, 1] smbd/service.c:make_connection_snum(642)
192.168.111.203 (192.168.111.203) connect to service ustv initially as
user ORCAS\tivo (uid=0, gid=10000) (pid 1084)
And this is what it emailed to me:
The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 1077 (/usr/sbin/smbd).
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occured. You are
encouraged to submit this information as a bug report to Debian. For
information about the procedure for submitting bug reports , please see
http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage.
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1212614976 (LWP 1077)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7dababe in waitpid () from /lib/tls/libc.so.6
#0 0xb7dababe in waitpid () from /lib/tls/libc.so.6
#1 0xb7d50dd9 in strtold_l () from /lib/tls/libc.so.6
#2 0x081e3a91 in smb_panic2 ()
#3 0x081e3a1a in smb_panic ()
#4 0x081d0e58 in dbgtext ()
#5 <signal handler called>
#6 0xb7d437c7 in raise () from /lib/tls/libc.so.6
#7 0xb7d4506b in abort () from /lib/tls/libc.so.6
#8 0xb7d81185 in free () from /lib/tls/libc.so.6
#9 0xb7d80fc5 in free () from /lib/tls/libc.so.6
#10 0xb7ed9d8e in remove_error_table () from /lib/libcom_err.so.2
#11 0xb7f0f8ef in krb5int_initialize_library () from /usr/lib/libkrb5.so.3
#12 0xb7f0f4fb in ?? () from /usr/lib/libkrb5.so.3
#13 0xb7f00000 in ?? ()
#14 0xb7f765b8 in ?? () from /usr/lib/libkrb5.so.3
#15 0xbfaf2798 in ?? ()
#16 0xb7f6db9a in ?? () from /usr/lib/libkrb5.so.3
#17 0xb7f6db84 in profile_ser_internalize () from /usr/lib/libkrb5.so.3
More information about the samba
mailing list