Page 1 of 1

Samba: Internal Error 11 in pid...

Posted: Tue Nov 29, 2005 1:08 am
by ^rooker
[PROBLEM]
When trying to run samba (compiled on SAME machine as trying to start on),
it simply does nothing and drops an error in the logs - something like this:

Code: Select all

===============================================================
[2005/11/28 15:30:07, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 29134 (3.0.5)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/11/28 15:30:07, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2005/11/28 15:30:07, 0] lib/util.c:smb_panic2(1398)
  PANIC: internal error
[2005/11/28 15:30:07, 0] lib/util.c:smb_panic2(1406)
  BACKTRACE: 19 stack frames:
   #0 ./smbd(smb_panic2+0x1a2) [0x81906c2]
   #1 ./smbd(smb_panic+0x14) [0x8190514]
   #2 ./smbd [0x817f3ec]
   #3 ./smbd [0x817f462]
   #4 /lib/libc.so.6 [0x400a73a8]
   #5 /lib/libc.so.6 [0x40094a10]
   #6 /lib/libc.so.6(iconv+0xf2) [0x400940e2]
   #7 ./smbd [0x819b6af]
   #8 ./smbd(smb_iconv+0x3b) [0x819b6fb]
   #9 ./smbd [0x817cc59]
   #10 ./smbd(convert_string+0x138) [0x817d008]
   #11 ./smbd [0x818c3af]
   #12 ./smbd(init_doschar_table+0x25) [0x818c3f5]
   #13 ./smbd(init_iconv+0x2aa) [0x817cb4a]
   #14 ./smbd(lp_load+0x26e) [0x807a61e]
   #15 ./smbd(reload_services+0xbd) [0x81e246d]
   #16 ./smbd(main+0x2c9) [0x81e2bf9]
   #17 /lib/libc.so.6(__libc_start_main+0xc7) [0x40093857]
   #18 ./smbd(chroot+0x35) [0x8073631]
when running smbd like this:
smbd -F -S -d 10 > debug.txt
you end up with a lot of info in debug.txt, ending like this:

Code: Select all

Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
Substituting charset 'ISO-8859-1' for LOCALE
===============================================================
INTERNAL ERROR: Signal 11 in pid 9584 (3.0.6)
Please read the appendix Bugs of the Samba HOWTO collection
===============================================================
PANIC: internal error
BACKTRACE: 19 stack frames:
 #0 ./smbd(smb_panic2+0x1a2) [0x8197422]
 #1 ./smbd(smb_panic+0x14) [0x8197274]
 #2 ./smbd [0x818603c]
 #3 ./smbd [0x81860b2]
 #4 /lib/libc.so.6 [0x400b13a8]

solution?

Posted: Tue Nov 29, 2005 1:12 am
by ^rooker
Well, I haven't solved this one yet, but here's some nice-to-know stuff in order to debug it:

1) the system's based on SuSE 7.3
2) samba version 3.0.5, 3.0.6 and 3.0.20b show the exact same error.
(have only tried those)
3) when trying to start other samba-apps (e.g. bin/testparm), they exit with "Segmentation fault"