Bug 10225 - Odd panic with useless backtrace
Odd panic with useless backtrace
Status: RESOLVED INVALID
Product: Samba 4.0
Classification: Unclassified
Component: File services
4.0.10
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-23 20:45 UTC by Nick Semenkovich
Modified: 2015-04-20 18:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Semenkovich 2013-10-23 20:45:43 UTC
Running from: > winbind3: Fix CID 1107229 Uninitialized pointer read (with Volker's manual patch for bug 10216)

I've seen this (rare) panic twice now in the past week, with an uninformative backtrace from the process:

===
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.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f656dd5d94a in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:79
#0  0x00007f656dd5d94a in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:79
        oldval = <optimized out>
        pid = <optimized out>
        allp = 0xfffffffffffffe00
        runp = 0x1
        ppid = <optimized out>
        parentpid = <optimized out>
        __PRETTY_FUNCTION__ = " %p %#lx\n\000! "
#1  0x61702f6f6b6e656d in ?? ()
No symbol table info available.
#2  0x697463612d63696e in ?? ()
No symbol table info available.
#3  0x3336373133206e6f in ?? ()
No symbol table info available.
#4  0x0000fc0400000000 in ?? ()
No symbol table info available.
#5  0x00063e5200000000 in ?? ()
No symbol table info available.
#6  0x0000fc0300000000 in ?? ()
No symbol table info available.
#7  0x002a0ec800000000 in ?? ()
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
A debugging session is active.

        Inferior 1 [process 31763] will be detached.

===




Oct 23 15:40:59 runway smbd[8114]: [2013/10/23 15:40:59.992034,  0] ../source3/smbd/oplock.c:359(oplock_timeout_handler)
Oct 23 15:40:59 runway smbd[8114]:   Oplock break failed for file Administrator/Start Menu/startscreen.lnk -- replying anyway
Oct 23 15:40:59 runway smbd[31763]: [2013/10/23 15:40:59.992569,  0] ../source3/smbd/open.c:1576(defer_open_done)
Oct 23 15:40:59 runway smbd[31763]:   PANIC: assert failed at ../source3/smbd/open.c(1576): ret
Oct 23 15:40:59 runway smbd[31763]: [2013/10/23 15:40:59.992745,  0] ../source3/lib/util.c:785(smb_panic_s3)
Oct 23 15:40:59 runway smbd[31763]:   PANIC (pid 31763): assert failed: ret
Oct 23 15:40:59 runway smbd[31763]: [2013/10/23 15:40:59.993466,  0] ../source3/lib/util.c:896(log_stack_trace)
Oct 23 15:40:59 runway smbd[31763]:   BACKTRACE: 25 stack frames:
Oct 23 15:40:59 runway smbd[31763]:    #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x1f) [0x7f656f45dcee]
Oct 23 15:40:59 runway smbd[31763]:    #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x6c) [0x7f656f45db41]
Oct 23 15:40:59 runway smbd[31763]:    #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x28) [0x7f6570ee6c7d]
Oct 23 15:40:59 runway smbd[31763]:    #3 /usr/local/samba/lib/private/libsmbd_base.so(+0x131245) [0x7f6570a4a245]
Oct 23 15:40:59 runway smbd[31763]:    #4 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a) [0x7f657070cb00]
Oct 23 15:40:59 runway smbd[31763]:    #5 /usr/local/samba/lib/private/libtevent.so.0(+0x5b32) [0x7f657070cb32]
Oct 23 15:40:59 runway smbd[31763]:    #6 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) [0x7f657070cb59]
Oct 23 15:40:59 runway smbd[31763]:    #7 /usr/local/samba/lib/libsmbconf.so.0(+0x2ddb7) [0x7f656f466db7]
Oct 23 15:40:59 runway smbd[31763]:    #8 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a) [0x7f657070cb00]
Oct 23 15:40:59 runway smbd[31763]:    #9 /usr/local/samba/lib/private/libtevent.so.0(+0x5b32) [0x7f657070cb32]
Oct 23 15:40:59 runway smbd[31763]:    #10 /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25) [0x7f657070cb59]
Oct 23 15:40:59 runway smbd[31763]:    #11 /usr/local/samba/lib/libsmbconf.so.0(+0x359c6) [0x7f656f46e9c6]
Oct 23 15:40:59 runway smbd[31763]:    #12 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_immediate+0x1f5) [0x7f657070c038]
Oct 23 15:40:59 runway smbd[31763]:    #13 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x56) [0x7f656f47ebdb]
Oct 23 15:40:59 runway smbd[31763]:    #14 /usr/local/samba/lib/libsmbconf.so.0(+0x4629f) [0x7f656f47f29f]
Oct 23 15:40:59 runway smbd[31763]:    #15 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf4) [0x7f657070b172]
Oct 23 15:40:59 runway smbd[31763]:    #16 /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x12ef) [0x7f6570a78e40]
Oct 23 15:40:59 runway smbd[31763]:    #17 /usr/local/samba/sbin/smbd(+0xa15a) [0x7f657155215a]
Oct 23 15:40:59 runway smbd[31763]:    #18 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x55f) [0x7f656f47f0e4]
Oct 23 15:40:59 runway smbd[31763]:    #19 /usr/local/samba/lib/libsmbconf.so.0(+0x463b0) [0x7f656f47f3b0]
Oct 23 15:40:59 runway smbd[31763]:    #20 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf4) [0x7f657070b172]
Oct 23 15:40:59 runway smbd[31763]:    #21 /usr/local/samba/sbin/smbd(+0xadc4) [0x7f6571552dc4]
Oct 23 15:40:59 runway smbd[31763]:    #22 /usr/local/samba/sbin/smbd(main+0x1769) [0x7f657155467e]
Oct 23 15:40:59 runway smbd[31763]:    #23 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f656dcbeea5]
Oct 23 15:40:59 runway smbd[31763]:    #24 /usr/local/samba/sbin/smbd(+0x5859) [0x7f657154d859]
Oct 23 15:40:59 runway smbd[31763]: [2013/10/23 15:40:59.994049,  0] ../source3/lib/util.c:797(smb_panic_s3)
Oct 23 15:40:59 runway smbd[31763]:   smb_panic(): calling panic action [/home/semenko/panic-action 31763]