SMBD Crash

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Fri Sep 21 07:22:11 MDT 2012


On 19/09/12 19:05, David Rivera wrote:
> Hi Ricky,
>
> Yep you're right, it is a different panic than the one you had. I posted
> the info in my previous email but I should have included it again.
> Here is the backtrace:  http://pastebin.com/Z5R0sXHZ . Samba Version
> 4.1.0pre1-GIT-ea96d79.

Hi all,
I'm also experiencing smbd crashes (more less daily) using 
4.1.0pre1-GIT-ea96d79.

Here is an sniplet from the log file:
[2012/09/21 12:23:24.576002,  0] 
../lib/dbwrap/dbwrap.c:193(dbwrap_check_lock_order)
   Lock order violation: Trying 
/usr/local/samba/var/lock/smbXsrv_session_global.tdb at 1 while 
/usr/local/samba/var/lock/locking.tdb at 1 is locked
[2012/09/21 12:23:24.576148,  0] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
   lock order:  1:/usr/local/samba/var/lock/locking.tdb 2:<none> 3:<none>
[2012/09/21 12:23:24.576236,  0] ../source3/lib/util.c:810(smb_panic_s3)
   PANIC (pid 25048): invalid lock_order
[2012/09/21 12:23:24.577829,  0] ../source3/lib/util.c:921(log_stack_trace)
   BACKTRACE: 37 stack frames:
    #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x1f) 
[0x7f5a4b211007]
    #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x6d) 
[0x7f5a4b210e76]
    #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x28) 
[0x7f5a4d058c6a]
    #3 /usr/local/samba/lib/private/libdbwrap.so(+0x308d) [0x7f5a4758708d]
    #4 /usr/local/samba/lib/private/libdbwrap.so(+0x31cf) [0x7f5a475871cf]
    #5 
/usr/local/samba/lib/private/libdbwrap.so(dbwrap_fetch_locked+0x41) 
[0x7f5a475872d9]
    #6 
/usr/local/samba/lib/private/libsmbd_base.so(smbXsrv_session_logoff+0x126) 
[0x7f5a4c8442c9]
    #7 /usr/local/samba/lib/private/libsmbd_base.so(+0x194a78) 
[0x7f5a4c844a78]
    #8 /usr/local/samba/lib/private/libdbwrap.so(+0x59ff) [0x7f5a475899ff]
    #9 /usr/local/samba/lib/private/libdbwrap.so(+0x5ae5) [0x7f5a47589ae5]
    #10 /usr/local/samba/lib/private/libdbwrap.so(dbwrap_traverse+0x35) 
[0x7f5a475877b8]
    #11 
/usr/local/samba/lib/private/libsmbd_base.so(smbXsrv_session_logoff_all+0xb5) 
[0x7f5a4c84489f]
    #12 /usr/local/samba/lib/private/libsmbd_base.so(+0x19b08c) 
[0x7f5a4c84b08c]
    #13 
/usr/local/samba/lib/private/libsmbd_base.so(exit_server_cleanly+0) 
[0x7f5a4c84b45c]
    #14 /usr/local/samba/lib/private/libsmbd_base.so(+0x12af4d) 
[0x7f5a4c7daf4d]
    #15 /usr/local/samba/lib/private/libsmbd_base.so(+0x12b626) 
[0x7f5a4c7db626]
    #16 /usr/local/samba/lib/private/libsmbd_base.so(+0x12ca2a) 
[0x7f5a4c7dca2a]
    #17 /usr/local/samba/lib/private/libsmbd_base.so(+0x13041d) 
[0x7f5a4c7e041d]
    #18 
/usr/local/samba/lib/private/libsmbd_base.so(create_file_default+0x2f8) 
[0x7f5a4c7e0f33]
    #19 /usr/local/samba/lib/private/libsmbd_base.so(+0x24966a) 
[0x7f5a4c8f966a]
    #20 
/usr/local/samba/lib/private/libsmbd_base.so(smb_vfs_call_create_file+0xcb) 
[0x7f5a4c7ec77a]
    #21 /usr/local/samba/lib/private/libsmbd_base.so(+0x17e3e1) 
[0x7f5a4c82e3e1]
    #22 
/usr/local/samba/lib/private/libsmbd_base.so(smbd_smb2_request_process_create+0x7ae) 
[0x7f5a4c82b862]
    #23 
/usr/local/samba/lib/private/libsmbd_base.so(smbd_smb2_request_dispatch+0xf3a) 
[0x7f5a4c823493]
    #24 /usr/local/samba/lib/private/libsmbd_base.so(+0x17fd0e) 
[0x7f5a4c82fd0e]
    #25 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x262) 
[0x7f5a4b22dbb2]
    #26 /usr/local/samba/lib/libsmbconf.so.0(+0x4330a) [0x7f5a4b22e30a]
    #27 
/usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xe8) 
[0x7f5a4b47bee4]
    #28 
/usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x117e) 
[0x7f5a4c807e51]
    #29 /usr/local/samba/sbin/smbd() [0x409554]
    #30 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x71a) 
[0x7f5a4b22e06a]
    #31 /usr/local/samba/lib/libsmbconf.so.0(+0x4330a) [0x7f5a4b22e30a]
    #32 
/usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xe8) 
[0x7f5a4b47bee4]
    #33 /usr/local/samba/sbin/smbd() [0x40a0e4]
    #34 /usr/local/samba/sbin/smbd(main+0x15a1) [0x40b7d6]
    #35 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f5a49ae4cdd]
    #36 /usr/local/samba/sbin/smbd() [0x405209]
[2012/09/21 12:23:24.581183,  0] ../source3/lib/util.c:822(smb_panic_s3)
   smb_panic(): calling panic action [/bin/sleep 999999999]


Will provide a full backtrace when it happens again.

L


More information about the samba-technical mailing list