samba 3.0.10: backtrace if reloaded with removed include

Ingo Steuwer steuwer at univention.de
Thu Jan 20 17:51:54 GMT 2005


Hi

my smb.conf includes a file called shares.conf, which includes some
share-definitions in several files. 

After removing an included share-definition (both in shares.conf and in
the filesystem), I'll do an /etc/init.d/samba reload (which calls
start-stop-daemon --stop --signal HUP --pidfile $SMBDPID) I can't reach
my shares, "smbclient -L localhost" says:

Anonymous login successful
Domain=[ISOM] OS=[Unix] Server=[Samba 3.0.10-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
Error returning browse list: Call returned zero bytes (EOF)
Anonymous login successful
Domain=[ISOM] OS=[Unix] Server=[Samba 3.0.10-Debian]

[ list of available servers ]

log.smbd gives me:

[2005/01/20 19:40:04, 0] lib/substitute.c:alloc_sub_basic(507)
  alloc_sub_basic: NULL source string!  This should not happen
[2005/01/20 19:40:04, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2005/01/20 19:40:04, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 387 (3.0.10-Debian)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/01/20 19:40:04, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2005/01/20 19:40:04, 0] lib/util.c:smb_panic2(1482)
  PANIC: internal error
[2005/01/20 19:40:04, 0] lib/util.c:smb_panic2(1490)
  BACKTRACE: 16 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81d94f1]
   #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81d93da]
   #2 /usr/sbin/smbd [0x81c6a68]
   #3 /lib/libc.so.6 [0x401a7528]
   #4 /usr/sbin/smbd(push_ascii+0x20) [0x81c4a40]
   #5 /usr/sbin/smbd(push_ascii_fstring+0x2a) [0x81c4afa]
   #6 /usr/sbin/smbd [0x80915d4]
   #7 /usr/sbin/smbd(api_reply+0x197) [0x8096387]
   #8 /usr/sbin/smbd(reply_trans+0x54e) [0x808d30e]
   #9 /usr/sbin/smbd [0x80d2056]
   #10 /usr/sbin/smbd [0x80d22e0]
   #11 /usr/sbin/smbd(process_smb+0x8c) [0x80d24ec]
   #12 /usr/sbin/smbd(smbd_process+0x168) [0x80d3228]
   #13 /usr/sbin/smbd(main+0x4ea) [0x824cb6a]
   #14 /lib/libc.so.6(__libc_start_main+0xc6) [0x40193db6]
   #15 /usr/sbin/smbd [0x8078e11]


This occurs with 3.0.9+Security Patches and 3.0.10 (which is nearly the
same AFAIK). We use this procedure for Month now, older versions (3.0.7
for example) reloaded without problems.

Any Suggestions ?

Regards
Ingo Steuwer


-- 
Ingo Steuwer       steuwer at univention.de         fon: +49 421 22 232- 0
Entwicklung        Linux for Your Business       
Univention GmbH    http://www.univention.de/     fax: +49 421 22 232-99



More information about the samba-technical mailing list