[Samba] Panic or segfault in Samba

Bernd Kloss b_kloss at web.de
Fri Sep 18 10:15:06 MDT 2009


Debian Squeeze 
2.6.30-1-amd64

Samba 3.3.4-1

Hello, 

everytime an XP-Client is connecting to samba, we get a panic-action_warning 
(as shown below)

We tried to trace the error by debugging, but this produces a log with more 
than 94.000 lines.

Is anybody out there, who knows, what the panic-script is trying to say?

What can we do to find the cause for this behaviour and a remedy?

Thanks 
Bernd








The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 2060 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.  The Samba log
files may contain additional information about the problem.

If the problem persists, you are encouraged to first install the
samba-dbg package, which contains the debugging symbols for the Samba
binaries.  Then submit the provided 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)
manual page.

[Thread debugging using libthread_db enabled]
0x00007f64bd04f0b5 in waitpid () from /lib/libc.so.6
#0  0x00007f64bd04f0b5 in waitpid () from /lib/libc.so.6
#1  0x00007f64bcff06b1 in ?? () from /lib/libc.so.6
#2  0x00000000006ac780 in smb_panic (why=<value optimized out>)
    at lib/util.c:1679
#3  0x0000000000698a07 in fault_report (sig=11) at lib/fault.c:46
#4  sig_fault (sig=11) at lib/fault.c:69
#5  <signal handler called>
#6  0x00000000004f2c73 in close_cnum (conn=0x1377970, vuid=103)
    at smbd/service.c:1359
#7  0x00000000004b2a65 in reply_tdis (req=0x1389030) at smbd/reply.c:4605
#8  0x00000000004f04f7 in switch_message (type=113 'q', req=0x1389030, 
    size=<value optimized out>) at smbd/process.c:1486
#9  0x00000000004f2895 in construct_reply () at smbd/process.c:1509
#10 process_smb () at smbd/process.c:1566
#11 smbd_process () at smbd/process.c:1934
#12 0x00000000008c2391 in main (argc=<value optimized out>, argv=0x2)
    at smbd/server.c:1523
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; 
input not from terminal]



More information about the samba mailing list