LOG.SMBD ENTRY: Fatal error: Cannot allocate memory [2004/05/24 22:43:44, 0] lib/fault.c:fault_report(36) =============================================================== [2004/05/24 22:43:44, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 6 in pid 1409 (3.0.4-Debian) Please read the appendix Bugs of the Samba HOWTO collection [2004/05/24 22:43:44, 0] lib/fault.c:fault_report(39) =============================================================== [2004/05/24 22:43:44, 0] lib/util.c:smb_panic2(1388) smb_panic(): calling panic action [/usr/share/samba/panic-action 1409] 2004-05-24 22:43:45 Failed to open configuration file /etc/exim/exim.conf Can't send mail: sendmail process failed with error code 1 [2004/05/24 22:43:45, 0] lib/util.c:smb_panic2(1396) smb_panic(): action returned status 0 [2004/05/24 22:43:45, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/05/24 22:43:45, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 20 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81cd0d1] #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81ccfba] #2 /usr/sbin/smbd [0x81babe8] #3 [0xffffe420] #4 /usr/lib/libgcrypt.so.7 [0x40391c95] #5 /usr/lib/libgcrypt.so.7 [0x403c2558] #6 /usr/lib/libgcrypt.so.7 [0x403c244e] #7 /usr/lib/libgcrypt.so.7(gcry_mpi_scan+0x2a1) [0x403c7741] #8 /usr/lib/libgnutls.so.7(_gnutls_mpi_scan+0x39) [0x40358e29] #9 /usr/lib/libgnutls.so.7(_gnutls_dh_calc_mpis+0x7b) [0x4036089b] #10 /usr/lib/libgnutls.so.7(gnutls_global_init+0xc2) [0x4035ad82] #11 /usr/lib/libcups.so.2(httpInitialize+0x5d) [0x4011db3d] #12 /usr/lib/libcups.so.2(httpConnectEncrypt+0x22) [0x4011dcb2] #13 /usr/lib/libcups.so.2(httpConnect+0x38) [0x4011dc88] #14 /usr/sbin/smbd(cups_printer_fn+0x41) [0x81b23b1] #15 /usr/sbin/smbd(pcap_printer_fn+0x8b) [0x81b1fbb] #16 /usr/sbin/smbd(add_all_printers+0x22) [0x81b7712] #17 /usr/sbin/smbd(reload_services+0x6a) [0x823a0ca] #18 /usr/sbin/smbd(main+0x26e) [0x823a89e] #19 /lib/tls/libc.so.6(__libc_start_main+0x108) [0x401a57f8] No corefile was created
Hello, It's seems to be specific to Debian package. After a while searching a response on the internet I have found this message : --- begining of mail ---- debian unstable 3.0.4-3 panics * To: <debian-testing@lists.debian.org> * Subject: debian unstable 3.0.4-3 panics * From: "Lewis Shobbrook" <lshobbrook@fasttrack.net.au> * Date: Mon, 24 May 2004 10:50:11 +1000 * Cc: <samba@lists.samba.org> * Message-id: <0C8098CA7F09CE419F0C2B68EB8358761EB969@exchange.fasttrack.net.au> * Old-return-path: <lshobbrook@fasttrack.net.au> * Thread-index: AcRBKRFuW/cnZA55QM2C/FdIwdU66g== * Thread-topic: debian unstable 3.0.4-3 panics Hi All, I had been doing some testing with the Debian 3.0.4-x versions of samba. On two sepearte systems, running different configs, I've found that smbd panics unless the [printers] section is removed from smb.conf. Errors generated as follows... (System #1) Server role: ROLE_DOMAIN_MEMBER Smb.conf... [Global] security = DOMAIN printcap name = cups printing = cups [printers] comment = All Printers path = /tmp printer admin = root, MYDOMAIN/lewis guest ok = Yes printable = Yes browseable = No Smbd.log... [2004/05/24 09:37:23, 0] smbd/server.c:main(757) smbd version 3.0.4-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2004 Fatal error: Cannot allocate memory [2004/05/24 09:37:23, 0] lib/fault.c:fault_report(36) =============================================================== [2004/05/24 09:37:23, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 6 in pid 6729 (3.0.4-Debian) Please read the appendix Bugs of the Samba HOWTO collection [2004/05/24 09:37:23, 0] lib/fault.c:fault_report(39) =============================================================== [2004/05/24 09:37:23, 0] lib/util.c:smb_panic2(1388) smb_panic(): calling panic action [/usr/share/samba/panic-action 6729] /etc/samba/gdbcommands:1: Error in sourced command file: Previous frame inner to this frame (corrupt stack?) [2004/05/24 09:52:15, 0] lib/util.c:smb_panic2(1396) smb_panic(): action returned status 0 [2004/05/24 09:52:15, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/05/24 09:52:15, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 23 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81cd0d1] #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81ccfba] #2 /usr/sbin/smbd [0x81babe8] #3 /lib/libc.so.6 [0x401b44a8] #4 /lib/libc.so.6(abort+0x178) [0x401b5838] #5 /usr/lib/libgcrypt.so.7 [0x40383f37] #6 /usr/lib/libgcrypt.so.7 [0x40384c95] #7 /usr/lib/libgcrypt.so.7 [0x403b5558] #8 /usr/lib/libgcrypt.so.7 [0x403b544e] #9 /usr/lib/libgcrypt.so.7(gcry_mpi_scan+0x2a1) [0x403ba741] #10 /usr/lib/libgnutls.so.7(_gnutls_mpi_scan+0x39) [0x4034be29] #11 /usr/lib/libgnutls.so.7(_gnutls_dh_calc_mpis+0x7b) [0x4035389b] #12 /usr/lib/libgnutls.so.7(gnutls_global_init+0xc2) [0x4034dd82] #13 /usr/lib/libcups.so.2(httpInitialize+0x5d) [0x40118bad] #14 /usr/lib/libcups.so.2(httpConnectEncrypt+0x22) [0x40118d22] #15 /usr/lib/libcups.so.2(httpConnect+0x38) [0x40118cf8] #16 /usr/sbin/smbd(cups_printer_fn+0x41) [0x81b23b1] #17 /usr/sbin/smbd(pcap_printer_fn+0x8b) [0x81b1fbb] #18 /usr/sbin/smbd(add_all_printers+0x22) [0x81b7712] #19 /usr/sbin/smbd(reload_services+0x6a) [0x823a0ca] #20 /usr/sbin/smbd(main+0x26e) [0x823a89e] #21 /lib/libc.so.6(__libc_start_main+0xc6) [0x401a0dc6] #22 /usr/sbin/smbd(ldap_msgfree+0x89) [0x80780c1] (System 2) Server role: ROLE_DOMAIN_PDC Smb.conf... [Global] domain logons = Yes os level = 33 preferred master = Yes domain master = Yes local master = Yes printcap name = cups printing = cups [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No guest ok = Yes printer admin = root Smbd.log... [2004/05/16 15:16:52, 0] smbd/server.c:main(757) smbd version 3.0.4 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section "[homes]" [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section "[printers]" [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section "[print$]" [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section "[HPLaser1200]" [2004/05/16 15:16:52, 2] param/loadparm.c:do_section(3400) Processing section "[OMA_Share]" Fatal error: Cannot allocate memory [2004/05/16 15:16:53, 0] lib/fault.c:fault_report(36) =============================================================== [2004/05/16 15:16:53, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 6 in pid 24143 (3.0.4) Please read the appendix Bugs of the Samba HOWTO collection [2004/05/16 15:16:53, 0] lib/fault.c:fault_report(39) =============================================================== [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1388) smb_panic(): calling panic action [/usr/share/samba/panic-action 24143] [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1396) smb_panic(): action returned status 127 [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/05/16 15:16:53, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 25 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x176) [0x8192bb6] #1 /usr/sbin/smbd(smb_panic+0x13) [0x8192a3b] #2 /usr/sbin/smbd [0x8183133] #3 /usr/sbin/smbd [0x8183195] #4 /lib/libc.so.6 [0x401b94a8] #5 /lib/libc.so.6(abort+0x178) [0x401ba838] #6 /usr/lib/libgcrypt.so.7 [0x40384f37] #7 /usr/lib/libgcrypt.so.7 [0x40385c95] #8 /usr/lib/libgcrypt.so.7 [0x403b6558] #9 /usr/lib/libgcrypt.so.7 [0x403b644e] #10 /usr/lib/libgcrypt.so.7(gcry_mpi_scan+0x2a1) [0x403bb741] #11 /usr/lib/libgnutls.so.7(_gnutls_mpi_scan+0x39) [0x40351e29] #12 /usr/lib/libgnutls.so.7(_gnutls_dh_calc_mpis+0x7b) [0x4035989b] #13 /usr/lib/libgnutls.so.7(gnutls_global_init+0xc2) [0x40353d82] #14 /usr/lib/libcups.so.2(httpInitialize+0x5d) [0x4010eb3d] #15 /usr/lib/libcups.so.2(httpConnectEncrypt+0x22) [0x4010ecb2] #16 /usr/lib/libcups.so.2(httpConnect+0x38) [0x4010ec88] #17 /usr/sbin/smbd(cups_printer_fn+0x62) [0x817c50a] #18 /usr/sbin/smbd(pcap_printer_fn+0x81) [0x817c1b1] #19 /usr/sbin/smbd(add_all_printers+0x27) [0x81806b7] #20 /usr/sbin/smbd(load_printers+0x19) [0x8180785] #21 /usr/sbin/smbd(reload_services+0xc7) [0x81ede07] #22 /usr/sbin/smbd(main+0x2a3) [0x81ee4c7] #23 /lib/libc.so.6(__libc_start_main+0xc6) [0x401a5dc6] #24 /usr/sbin/smbd(ldap_msgfree+0x71) [0x8078221] Looks like a bug to me... Anyone not got this issue with 3.0.4 sharing printers? Cheers, Lewis Shobbrook ---- End of mail ----- I also use Debian and I have the same problem and after removinh [printer] section samba was working OK. It's seems to be a problem related to printer support on the debian package (perhaps a missing dependancy, ...) See you Blaise
debian issue based on reports, although I would recommend testing 3.0.11. Thanks.