smb panic with win2k+sp2

Agent Drek drek at smashpow.net
Mon Jun 18 20:59:56 GMT 2001


On Mon, 18 Jun 2001, Agent Drek wrote:

> On Mon, 18 Jun 2001, Jeremy Allison wrote:
> 
> > Agent Drek wrote:
> > > 
> > > 
> > > if you would really like the backtrace let me know. attached find the log
> > > debug level 10.
> > 
> > I'm looking at the log at the moment, but the backtrace would
> > be really useful also. Make sure you compiled smbd with -g
> > (debug symbols) turned on.
> > 
 
here you go:

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
Attaching to program: /home/samba/sbin/smbd, process 2418
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
0x281c6bf4 in wait4 () from /usr/lib/libc.so.4
#0  0x281c6bf4 in wait4 () from /usr/lib/libc.so.4
#1  0x2819f45f in system () from /usr/lib/libc.so.4
#2  0x81028e1 in smb_panic (why=0x814d6b4 "internal error") at lib/util.c:1156
#3  0x80f38b6 in fault_report (sig=11) at lib/fault.c:45
#4  0x80f390d in sig_fault (sig=11) at lib/fault.c:65
#5  0xbfbfffac in ?? ()
#6  0x80a2004 in _api_samr_create_user (p=0x81f4000, q_u=0xbfbff55c, 
    r_u=0xbfbff53c) at rpc_server/srv_samr_nt.c:1828
#7  0x809d8ed in api_samr_create_user (p=0x81f4000)
    at rpc_server/srv_samr.c:503
#8  0x80aa6ba in api_rpcTNP (p=0x81f4000, rpc_name=0x813348c "api_samr_rpc", 
    api_rpc_cmds=0x815db08) at rpc_server/srv_pipe.c:1214
#9  0x809e927 in api_samr_rpc (p=0x81f4000) at rpc_server/srv_samr.c:1292
#10 0x80aa4f2 in api_pipe_request (p=0x81f4000) at rpc_server/srv_pipe.c:1165
#11 0x809bac1 in process_request_pdu (p=0x81f4000, rpc_in_p=0xbfbff7ac)
    at rpc_server/srv_pipe_hnd.c:537
#12 0x809bc89 in process_complete_pdu (p=0x81f4000)
    at rpc_server/srv_pipe_hnd.c:609
#13 0x809bebf in process_incoming_data (p=0x81f4000, data=0x8199110 "@", n=72)
    at rpc_server/srv_pipe_hnd.c:705
#14 0x809c011 in write_to_pipe (p=0x81f4000, data=0x8199100 "\005", n=88)
    at rpc_server/srv_pipe_hnd.c:734
#15 0x8054b7b in api_fd_reply (conn=0x819ae00, vuid=100, outbuf=0x81d7001 "", 
    setup=0x8195360, data=0x8199100 "\005", params=0x0, suwcnt=2, tdscnt=88, 
    tpscnt=0, mdrcnt=1024, mprcnt=0) at smbd/ipc.c:308
#16 0x8054d5c in named_pipe (conn=0x819ae00, vuid=100, outbuf=0x81d7001 "", 
    name=0xbfbff966 "", setup=0x8195360, data=0x8199100 "\005", params=0x0, 
    suwcnt=2, tdscnt=88, tpscnt=0, msrcnt=0, mdrcnt=1024, mprcnt=0)
    at smbd/ipc.c:352
#17 0x80554ba in reply_trans (conn=0x819ae00, inbuf=0x81c6001 "", 
    outbuf=0x81d7001 "", size=168, bufsize=65535) at smbd/ipc.c:497
#18 0x807c4b6 in switch_message (type=37, inbuf=0x81c6001 "", 
    outbuf=0x81d7001 "", size=168, bufsize=65535) at smbd/process.c:733
#19 0x807c552 in construct_reply (inbuf=0x81c6001 "", outbuf=0x81d7001 "", 
    size=168, bufsize=65535) at smbd/process.c:762
#20 0x807c756 in process_smb (inbuf=0x81c6001 "", outbuf=0x81d7001 "")
    at smbd/process.c:850
#21 0x807cf5b in smbd_process () at smbd/process.c:1231
#22 0x804bdb1 in main (argc=2, argv=0xbfbffbf4) at smbd/server.c:809
#23 0x804a985 in _start ()
(gdb) Detaching from program: /home/samba/sbin/smbd, process 2418


snagged it with:
panic action = "gdb -x /home/samba/.gdb /home/samba/sbin/smbd %d > /tmp/gdb.out"

.gdb:
bt

cheers,

Derek





More information about the samba-technical mailing list