[Samba] Re: Bug#219197: PANIC: internal error

Mike Fedyk mfedyk at matchmail.com
Fri Jan 23 04:19:19 GMT 2004

On Thu, Jan 22, 2004 at 03:02:59PM -0800, Mike Fedyk wrote:
> On Thu, Jan 22, 2004 at 12:16:29PM -0800, Mike Fedyk wrote:
> > I have a custom smb.conf file which I'm attaching, and have just added:
> > 
> > panic action = "/usr/share/samba/panic-action"
> Well, I figured out it should have been
> panic action = "/usr/share/samba/panic-action %d"

Got one! (This is after switching back to a 2.4 kernel -- I was on 2.6.1 for
the last week or so, and that was the entire time I had the debugging
version of samba runing too, so there's some kind of "child exiting before
parent notification" that is happening in 2.6)

Hmm, do I need to compile my libc non-stripped, or is the problem in

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 2214 (/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.

0x40258528 in waitpid () from /lib/libc.so.6
#0  0x40258528 in waitpid () from /lib/libc.so.6
#1  0x402e0290 in sys_sigabbrev () from /lib/libc.so.6
#2  0x081bdc16 in smb_panic (why=0x827addd "internal error") at lib/util.c:1391
#3  0x081ac097 in fault_report (sig=11) at lib/fault.c:41
#4  0x401da498 in __libc_sigaction () from /lib/libc.so.6
#5  0x40222b48 in mallopt () from /lib/libc.so.6
#6  0x40221d33 in malloc () from /lib/libc.so.6
#7  0x081d1b98 in tdb_store (tdb=0x83bd788, key=
      {dptr = 0xbfffd600 "¦\b", dsize = 264}, dbuf=
      {dptr = 0xbfffd4b0 "g\002(", dsize = 332}, flag=1) at tdb/tdb.c:1498
#8  0x08082f65 in claim_connection (conn=0x83daf50, name=0x83d9cb8 "IPC$", 
    max_connections=0, Clear=0, msg_flags=0) at smbd/connection.c:194
#9  0x080ca171 in make_connection_snum (snum=24, vuser=0x83d5230, password=
      {data = 0x83d8ed8 "", length = 1, free = 0x81bb420 <free_data_blob>}, 
    pdev=0xbffff340 "?????", status=0xbffff58c) at smbd/service.c:596
#10 0x080cb3ff in make_connection (service_in=0xbffffaa0 "IPC$", password=
      {data = 0x83d8ed8 "", length = 1, free = 0x81bb420 <free_data_blob>}, 
    pdev=0xbffff990 "?????", vuid=101, status=0xbffff58c) at smbd/service.c:871
#11 0x0809bf1c in reply_tcon_and_X (conn=0x0, inbuf=0x4038f008 "", 
    outbuf=0x403b0008 "", length=90, bufsize=131072) at smbd/reply.c:280
#12 0x080c7dca in switch_message (type=117, inbuf=0x4038f008 "", 
    outbuf=0x403b0008 "", size=90, bufsize=131072) at smbd/process.c:767
#13 0x080c8030 in construct_reply (inbuf=0x4038f008 "", outbuf=0x403b0008 "", 
    size=90, bufsize=131072) at smbd/process.c:797
#14 0x080c823c in process_smb (inbuf=0x4038f008 "", outbuf=0x403b0008 "")
    at smbd/process.c:897
#15 0x080c8eb8 in smbd_process () at smbd/process.c:1328
#16 0x08228d4c in main (argc=2, argv=0xbffffe44) at smbd/server.c:887

More information about the samba mailing list