Package: samba Version: 2.2.3a-14.2 Followup-For: Bug #302378 Hi, it seems this is the same bug I'm encountering. Since the security update, smbd occasionally exited with an internal error. Turning on debugging revealed a preceding SIGHUP, and sure enough, sending smbd a SIGHUP makes it segfault. (I have no idea where the SIGHUPs came from, however: the server was idle and I certainly didn't modify the config file.) Log and gdb backtrace follow:
[2005/04/10 19:09:17, 0] smbd/server.c:sig_hup(384) Got SIGHUP [2005/04/10 19:09:17, 3] smbd/sec_ctx.c:set_sec_ctx(314) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/04/10 19:09:17, 5] smbd/uid.c:change_to_root_user(216) change_to_root_user: now uid=(0,0) gid=(0,0) [2005/04/10 19:09:17, 1] smbd/server.c:open_sockets(220) Reloading services after SIGHUP [2005/04/10 19:09:17, 5] param/loadparm.c:free_service(1786) free_service: Freeing service cdrom [2005/04/10 19:09:17, 5] param/loadparm.c:free_service(1786) free_service: Freeing service IPC$ [2005/04/10 19:09:17, 5] param/loadparm.c:free_service(1786) free_service: Freeing service ADMIN$ [2005/04/10 19:09:17, 3] param/loadparm.c:init_globals(1227) Initialising global parameters [2005/04/10 19:09:17, 3] param/params.c:pm_process(577) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2005/04/10 19:09:17, 3] param/loadparm.c:do_section(2955) Processing section "[global]" doing parameter bind interfaces only = yes doing parameter interfaces = 127.0.0.1 eth1 192.168.0.0/16 [2005/04/10 19:09:22, 0] lib/fault.c:fault_report(38) =============================================================== [2005/04/10 19:09:23, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 20491 (2.2.3a-14.2 for Debian) Please read the file BUGS.txt in the distribution [2005/04/10 19:09:23, 0] lib/fault.c:fault_report(41) =============================================================== [2005/04/10 19:09:23, 0] lib/util.c:smb_panic(1105) PANIC: internal error Program received signal SIGHUP, Hangup. 0x4011a7ee in select () from /lib/libc.so.6 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x400bebd4 in free () from /lib/libc.so.6 (gdb) bt #0 0x400bebd4 in free () from /lib/libc.so.6 #1 0x400beaa3 in free () from /lib/libc.so.6 #2 0x081147c2 in chroot () #3 0x081147e7 in chroot () #4 0x0808ce54 in chroot () #5 0x0808cfd0 in chroot () #6 0x0808e7fc in chroot () #7 0x0808e86e in chroot () #8 0x0808ea59 in chroot () #9 0x0808dbaf in chroot () #10 0x0804c0b1 in chroot () #11 0x0804bde6 in chroot () #12 0x0804cc7b in chroot () #13 0x4006914f in __libc_start_main () from /lib/libc.so.6 (gdb) c Continuing. Program received signal SIGABRT, Aborted. 0x40079781 in kill () from /lib/libc.so.6 (gdb) bt #0 0x40079781 in kill () from /lib/libc.so.6 #1 0x40079464 in raise () from /lib/libc.so.6 #2 0x4007abe1 in abort () from /lib/libc.so.6 #3 0x0811a42f in chroot () #4 0x08109e42 in chroot () #5 0x08109e95 in chroot () #6 0x400796b8 in sigaction () from /lib/libc.so.6 #7 0x400beaa3 in free () from /lib/libc.so.6 #8 0x081147c2 in chroot () #9 0x081147e7 in chroot () #10 0x0808ce54 in chroot () #11 0x0808cfd0 in chroot () #12 0x0808e7fc in chroot () #13 0x0808e86e in chroot () #14 0x0808ea59 in chroot () #15 0x0808dbaf in chroot () #16 0x0804c0b1 in chroot () #17 0x0804bde6 in chroot () #18 0x0804cc7b in chroot () #19 0x4006914f in __libc_start_main () from /lib/libc.so.6 (gdb) c Continuing. Program terminated with signal SIGABRT, Aborted. The program no longer exists. (gdb) Please tell me if you need more info. regards, Jan -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux fera 2.4.18fera.4 #1 Mon Apr 19 22:19:59 CEST 2004 i586 Locale: LANG=C, LC_CTYPE=C Versions of packages samba depends on: ii debconf 1.2.35 Debian configuration management sy ii libc6 2.2.5-11.8 GNU C Library: Shared libraries an ii libcupsys2 1.1.14-5woody12 Common UNIX Printing System(tm) - ii libpam0g 0.72-35 Pluggable Authentication Modules l ii logrotate 3.5.9-8 Log rotation utility ii netbase 4.07 Basic TCP/IP networking system ii samba-common 2.2.3a-14.2 Samba common files used by both th -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]