Ralf Gross
2005-Dec-22 16:06 UTC
[Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c
Hi, yesterday I compiled an installed samba 3.0.21 on a solaris 8 box (gcc 3.4.2). Since then I frequently see this error message in the log. [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(36) ==============================================================[2005/12/22 15:55:39, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 10 in pid 27816 (3.0.21) Please read the Trouble-Shooting section of the Samba3-HOWTO [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(39) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(40) ==============================================================[2005/12/22 15:55:39, 0] lib/util.c:smb_panic2(1554) PANIC: internal error [2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273) vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1b9fdb8.TMP [2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273) vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls I compiled samba with the following configure settings: ./configure --with-acl-support --prefix=/usr/local/samba3021 --with-quotas --with-included-popt --without-ldap --with-vfs I already disabled the 'vfs objects' option for each share, because this was the only thing I changed in addition to move from 3.0.20b to 3.0.21. This didn't helt. There is no core file in any samba related directory (/usr/local/samba, /var/log/samba). With 3.0.21 I don't get this error, I just tried it again: [2005/12/22 16:49:11, 0] modules/vfs_extd_audit.c:audit_unlink(250) vfs_extd_audit: unlink tets-acl/moin-desktop-1.3.4-2.exe [2005/12/22 16:49:43, 0] modules/vfs_extd_audit.c:audit_unlink(250) vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1eb6ea4.TMP [2005/12/22 16:49:43, 0] modules/vfs_extd_audit.c:audit_unlink(250) vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1eb6ea4.TMP I can repproduce this with xls and doc files and 2 differnt Windows PCs runnung office. Any ideas? BTW: I switched back to 3.0.20b, because today is my last day in office until 01/02/2006. I'll read the list, but will not be able to debug any further. Have a nice Christmas! Ralf
Jeremy Allison
2005-Dec-22 18:18 UTC
[Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c
On Thu, Dec 22, 2005 at 05:05:47PM +0100, Ralf Gross wrote:> Hi, > > yesterday I compiled an installed samba 3.0.21 on a solaris 8 box (gcc > 3.4.2). Since then I frequently see this error message in the log. > > > [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(36) > ==============================================================> [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(37) > INTERNAL ERROR: Signal 10 in pid 27816 (3.0.21) > Please read the Trouble-Shooting section of the Samba3-HOWTO > [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(39) > > From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf > [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(40) > ==============================================================> [2005/12/22 15:55:39, 0] lib/util.c:smb_panic2(1554) > PANIC: internal error > [2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273) > vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls~RF1b9fdb8.TMP > [2005/12/22 15:55:43, 0] modules/vfs_extd_audit.c:audit_unlink(273) > vfs_extd_audit: unlink work/Zeiten/Zeiten_03_03.xls > > I compiled samba with the following configure settings: > ./configure --with-acl-support --prefix=/usr/local/samba3021 > --with-quotas --with-included-popt --without-ldap --with-vfs > > I already disabled the 'vfs objects' option for each share, because > this was the only thing I changed in addition to move from 3.0.20b to > 3.0.21. This didn't helt. There is no core file in any samba related > directory (/usr/local/samba, /var/log/samba).Try adding -g and do a full recompile - this will ensure the smbd binary has symbols embedded in it. Then add the line : panic action = /bin/sleep 999999 to the [global] section of your smb.conf and restart smbd. When the panic occurs you will have a frozen smbd process as the parent as a sleep process. Start gdb : gdb /usr/local/samba/sbin/smbd and then attach to the frozen smbd process via : attach <pid> Then type "bt" to get the backtrace that will show us where the problem lies. Thanks, Jeremy.
ryan punt
2005-Dec-22 20:19 UTC
[Samba] Samba 3.0.21 + PANIC: internal error + lib/fault.c
Is there a similar configure option (to the "-g" referenced below for Samba 3) for 2.2.x? I get lots of "signal 11"s in my samba logs. My current options: ./configure --prefix=$SAMBA_BASEDIR \ --with-netatalk \ --with-smbmount \ --with-syslog \ --with-sambabook \ --with-utmp \ --with-readline \ --with-libsmbclient \ --with-winbind \ --with-msdfs \ --with-automount \ --with-acl-support \ --with-profile \ --disable-static \ --with-ldapsam>>> Jeremy Allison <jra@samba.org> 12/22/2005 12:18 PM >>>On Thu, Dec 22, 2005 at 05:05:47PM +0100, Ralf Gross wrote:> Hi, > > yesterday I compiled an installed samba 3.0.21 on a solaris 8 box (gcc > 3.4.2). Since then I frequently see this error message in the log. > > > [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(36) > ==============================================================> [2005/12/22 15:55:39, 0] lib/fault.c:fault_report(37) > INTERNAL ERROR: Signal 10 in pid 27816 (3.0.21) > <snip>Try adding -g and do a full recompile - this will ensure the smbd binary has symbols embedded in it. Then add the line : <snip> -------------- next part -------------- ------------------------------------------------- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distributing or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. The Evangelical Lutheran Good Samaritan Society. ---------------------------------------------------------