[Samba-it] panic/segfault

simo simo.sorce at xsec.it
Thu Apr 28 20:31:33 MDT 2011


On Wed, 2011-04-27 at 11:37 +0200, Paolo Sala wrote:
> Ciao a tutti, da quando ho aggiornato a samba 3.5.6 ogni tanto ricevo un
> panic/segfault di samba. Per fortuna è su un server non critico ma mi
> piacerebbe segnalarlo. Questo è il messaggio che mi arriva:
> > The Samba 'panic action' script, /usr/share/samba/panic-action,
> > was called for PID 15101 (/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.
> >
> > 0xb6ee6424 in __kernel_vsyscall ()
> > #0  0xb6ee6424 in __kernel_vsyscall ()
> > #1  0xb6bff003 in ?? ()
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> > A debugging session is active.
> >
> > 	Inferior 1 [process 15101] will be detached.
> >
> > Quit anyway? (y or n) [answered Y; input not from terminal]
> >   
> 
> E nei log ho trovato:
> > [2011/04/27 10:21:01.635195,  0] lib/util_sock.c:680(write_data)
> > [2011/04/27 10:21:01.647246,  0]
> > lib/util_sock.c:1441(get_peer_addr_internal)
> >   getpeername failed. Error was Transport endpoint is not connected
> >   write_data: write failure in writing to client 0.0.0.0. Error
> > Connessione abbattuta dal corrispondente
> > [2011/04/27 10:21:01.647451,  0] smbd/process.c:79(srv_send_smb)
> >   Error writing 4 bytes to client. -1. (Transport endpoint is not
> > connected)
> > [2011/04/27 10:21:02.033299,  0] auth/pampass.c:77(smb_pam_error_handler)
> >   smb_pam_error_handler: PAM: session setup failed : Permesso negato
> > [2011/04/27 10:21:02.034989,  1] smbd/session.c:183(session_claim)
> >   pam_session rejected the session for DOMINIOCSA\acucchi [smb/15101/101]
> > [2011/04/27 10:21:02.035150,  1]
> > smbd/password.c:297(register_existing_vuid)
> >   register_existing_vuid: Failed to claim session for vuid=101
> > [2011/04/27 10:21:02.035358,  0] lib/fault.c:46(fault_report)
> >   ===============================================================
> > [2011/04/27 10:21:02.035427,  0] lib/fault.c:47(fault_report)
> >   INTERNAL ERROR: Signal 11 in pid 15101 (3.5.6)
> >   Please read the Trouble-Shooting section of the Samba3-HOWTO
> > [2011/04/27 10:21:02.035513,  0] lib/fault.c:49(fault_report)
> >
> >   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
> > [2011/04/27 10:21:02.035592,  0] lib/fault.c:50(fault_report)
> >   ===============================================================
> > [2011/04/27 10:21:02.035654,  0] lib/util.c:1465(smb_panic)
> >   PANIC (pid 15101): internal error
> > [2011/04/27 10:21:02.055472,  0] lib/util.c:1569(log_stack_trace)
> >   BACKTRACE: 19 stack frames:
> >    #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb728cf2d]
> >    #1 /usr/sbin/smbd(smb_panic+0x2d) [0xb728d04d]
> >    #2 /usr/sbin/smbd(+0x376bee) [0xb727abee]
> >    #3 [0xb6ee6400]
> >    #4 /usr/sbin/smbd(+0xfaf60) [0xb6ffef60]
> >    #5 /usr/sbin/smbd(+0xfbe5d) [0xb6fffe5d]
> >    #6 /usr/sbin/smbd(reply_sesssetup_and_X+0x2e8) [0xb7000a28]
> >    #7 /usr/sbin/smbd(+0x13b3a6) [0xb703f3a6]
> >    #8 /usr/sbin/smbd(+0x13b782) [0xb703f782]
> >    #9 /usr/sbin/smbd(+0x13bd4c) [0xb703fd4c]
> >    #10 /usr/sbin/smbd(run_events+0x1ac) [0xb729e09c]
> >    #11 /usr/sbin/smbd(smbd_process+0xa67) [0xb703e807]
> >    #12 /usr/sbin/smbd(+0x6de62c) [0xb75e262c]
> >    #13 /usr/sbin/smbd(run_events+0x1ac) [0xb729e09c]
> >    #14 /usr/sbin/smbd(+0x39a39f) [0xb729e39f]
> >    #15 /usr/sbin/smbd(_tevent_loop_once+0x98) [0xb729e9e8]
> >    #16 /usr/sbin/smbd(main+0xd8a) [0xb75e361a]
> >    #17 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb6b7ec76]
> >    #18 /usr/sbin/smbd(+0xb0231) [0xb6fb4231]
> > [2011/04/27 10:21:02.056141,  0] lib/util.c:1470(smb_panic)
> >   smb_panic(): calling panic action [/usr/share/samba/panic-action 15101]
> 
> Se qualcuno avesse qualche consiglio...

Purtroppo mancano quasi tutti i simboli di degubbing, per cui è
praticamente impossible capire dove succede il problema.

Simo.




More information about the samba-it mailing list