[Samba] internal error: signal 11

Gerhard Vögel gjv at 4consult.de
Sun Nov 24 11:12:01 GMT 2002


Am 30.10.02, 17:56:54, schrieb jra at dp.samba.org zum Thema Re: [Samba] 
internal error: signal 11:

> On Wed, Oct 30, 2002 at 11:35:42AM +0000, Gerhard Vögel wrote:
> > Hello,
> >
> > we got the following error in the samba logs:
> >
> > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> > lib/fault.c:fault_report(38)
> > Oct 30 06:29:01 hornbill smbd[12783]:
> > ===============================================================
> > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> > lib/fault.c:fault_report(39)
> > Oct 30 06:29:01 hornbill smbd[12783]:   INTERNAL ERROR: Signal 11 in pid
> > 12783 (2.2.6-SuSE)
> > Oct 30 06:29:01 hornbill smbd[12783]:   Please read the file BUGS.txt in
> > the distribution
> > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> > lib/fault.c:fault_report(41)
> > Oct 30 06:29:01 hornbill smbd[12783]:
> > ===============================================================
> > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> > lib/util.c:smb_panic(1094)
> > Oct 30 06:29:01 hornbill smbd[12783]:   PANIC: internal error
> > Oct 30 06:29:01 hornbill smbd[12783]:
> >
> > The error is continuously repeated with increased pids until the machine
> > will be rebooted. Restart of smbd, nmbd and winbind has no effect.
> >
> > Clients can connect to samba but they cannot access files. File access on
> > NT clients is aborted with different messages.
> >
> > Samba version is 2.2.6 (Suse RPM) and linux kernel is 2.4.19, but it
> > already happened with 2.2.4 and kernel 2.4.16. I cannot reproduce the
> > error, but it happens once in a week.

> Can you add the following to the smb.conf file :
> In the [global] section add :

> panic action = /bin/sleep 99999

> and then when this occurs attach to the frozen smbd process
> with gdb. Once attached, type "bt" (backtrace) at the gdb
> prompt and then mail in the backtrace. Please ensure smbd is
> built with symbols.

> This will help us track down and fix the bug.

Today the signal 11 error occured again an I could take a backtrace. The 
log showed following lines:

Nov 24 10:20:05 hornbill smbd[29296]: [2002/11/24 10:20:05, 0] 
lib/fault.c:fault_report(38) 
Nov 24 10:20:05 hornbill smbd[29296]:   
=============================================================== 
Nov 24 10:20:05 hornbill smbd[29296]: [2002/11/24 10:20:05, 0] 
lib/fault.c:fault_report(39) 
Nov 24 10:20:05 hornbill smbd[29296]:   INTERNAL ERROR: Signal 11 in pid 
29296 (2.2.6-SuSE) 
Nov 24 10:20:05 hornbill smbd[29296]:   Please read the file BUGS.txt in 
the distribution 
Nov 24 10:20:05 hornbill smbd[29296]: [2002/11/24 10:20:05, 0] 
lib/fault.c:fault_report(41) 
Nov 24 10:20:05 hornbill smbd[29296]:   
=============================================================== 
Nov 24 10:21:15 hornbill smbd[29299]: [2002/11/24 10:21:15, 0] 
lib/fault.c:fault_report(38) 
Nov 24 10:21:15 hornbill smbd[29299]:   
=============================================================== 
Nov 24 10:21:15 hornbill smbd[29299]: [2002/11/24 10:21:15, 0] 
lib/fault.c:fault_report(39) 
Nov 24 10:21:15 hornbill smbd[29299]:   INTERNAL ERROR: Signal 11 in pid 
29299 (2.2.6-SuSE) 
Nov 24 10:21:15 hornbill smbd[29299]:   Please read the file BUGS.txt in 
the distribution 
Nov 24 10:21:15 hornbill smbd[29299]: [2002/11/24 10:21:15, 0] 
lib/fault.c:fault_report(41) 
Nov 24 10:21:15 hornbill smbd[29299]:   
=============================================================== 
Nov 24 10:22:25 hornbill smbd[29301]: [2002/11/24 10:22:25, 0] 
lib/fault.c:fault_report(38) 
Nov 24 10:22:25 hornbill smbd[29301]:   
=============================================================== 
Nov 24 10:22:25 hornbill smbd[29301]: [2002/11/24 10:22:25, 0] 
lib/fault.c:fault_report(39) 
Nov 24 10:22:25 hornbill smbd[29301]:   INTERNAL ERROR: Signal 11 in pid 
29301 (2.2.6-SuSE) 
Nov 24 10:22:25 hornbill smbd[29301]:   Please read the file BUGS.txt in 
the distribution 
Nov 24 10:22:25 hornbill smbd[29301]: [2002/11/24 10:22:25, 0] 
lib/fault.c:fault_report(41) 
Nov 24 10:22:25 hornbill smbd[29301]: 
=============================================================== 

Backtraces of all 3 pids were identical. 

hornbill:~ # gdb /usr/lib/samba/classic/smbd 29296
GNU gdb 5.0
Copyright 2000 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-suse-linux"...(no debugging symbols 
found)...
/root/29296: No such file or directory.
Attaching to program: /usr/lib/samba/classic/smbd, Pid 29296
Reading symbols from /lib/libdl.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libpam.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /usr/lib/libpopt.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libresolv.so.2
0x400f1299 in wait4 () from /lib/libc.so.6
(gdb) bt full
#0  0x400f1299 in wait4 () from /lib/libc.so.6
No symbol table info available.
#1  0x4015f2e8 in __DTOR_END__ () from /lib/libc.so.6
No symbol table info available.
#2  0x40092016 in system () from /lib/libc.so.6
No symbol table info available.
#3  0x8146cad in smb_panic ()
No symbol table info available.
#4  0x8134a63 in fault_report ()
No symbol table info available.
#5  0x8134ac2 in sig_fault ()
No symbol table info available.
#6  <signal handler called>
No symbol table info available.
#7  0x400b6b19 in fgets_unlocked () from /lib/libc.so.6
No symbol table info available.
#8  0x40115e11 in getmntent_r () from /lib/libc.so.6
No symbol table info available.
#9  0x40115d55 in getmntent () from /lib/libc.so.6
No symbol table info available.
#10 0x815d85f in disk_quotas ()
No symbol table info available.
#11 0x806ea2f in disk_free ()
No symbol table info available.
#12 0x806ec52 in sys_disk_free ()
No symbol table info available.
#13 0x809f334 in vfswrap_disk_free ()
No symbol table info available.
#14 0x8092561 in call_trans2qfsinfo ()
No symbol table info available.
#15 0x8096f99 in reply_trans2 ()
No symbol table info available.
#16 0x80a5f9f in switch_message ()
No symbol table info available.
#17 0x80a6040 in construct_reply ()
No symbol table info available.
#18 0x80a629e in process_smb ()
No symbol table info available.
#19 0x80a6c8c in smbd_process ()
No symbol table info available.
#20 0x806ad58 in main ()
No symbol table info available.
#21 0x40064c5f in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) quit

Thank you

Gerhard



More information about the samba mailing list