johnh@primebuchholz.com
2007-Apr-24 19:56 UTC
[Samba] smbd segfaults when trying to browse printers folder
Greetings, I just set up another samba server just for serving print queues. Setting everything worked fine, including point-n-print, until I shut down the machine and put it in the rack. Now, if you browse to the box, the printers are listed, and you can connect to them, print to them, etc. no problem. If you click on the printers folder in the browse list, however, to view more detailed information, smbd segfaults. Specs: Samba 3.0.24, on Fedora Core 6 x86_64 (compiled myself). Here's my very simple smb.conf and the log entry that is left behind when this happens. # Global Samba Settings [global] netbios name = prn1 workgroup = WORKGROUP server string = PRN1 [Samba 3.0.24] hosts allow = 192.168.0. 127. log file = /usr/local/samba/var/log.%m printing = cups printcap name = cups load printers = yes security = domain password server = FS1 domain master = no preferred master = no os level = 0 domain logons = no encrypt passwords = yes enable privileges = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 wins support = no wins server = 192.168.0.2 # Shares [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes [print$] comment = Printer Drivers path = /var/samba/drivers guest ok = no read only = yes write list = administrator writable = no browseable = yes -------8<------ LOG ENTRY [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(41) ==============================================================[2007/04/24 15:10:52, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 2151 (3.0.24) Please read the Trouble-Shooting section of the Samba3-HOWTO [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(44) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(45) ==============================================================[2007/04/24 15:10:52, 0] lib/util.c:smb_panic(1599) PANIC (pid 2151): internal error [2007/04/24 15:10:52, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 25 stack frames: #0 ../sbin/smbd(log_stack_trace+0x1a) [0x5555557447c9] #1 ../sbin/smbd(smb_panic+0x55) [0x5555557448cd] #2 ../sbin/smbd [0x5555557338ff] #3 /lib64/libpthread.so.0 [0x2aaaac7e2de0] #4 /lib64/libc.so.6(memcpy+0x34) [0x2aaaad541ed4] #5 ../sbin/smbd(_talloc_memdup+0x3a) [0x55555574a6d6] #6 ../sbin/smbd(regval_ctr_addvalue+0x120) [0x5555556f523a] #7 ../sbin/smbd [0x5555557674ff] #8 ../sbin/smbd(get_a_printer+0x7a1) [0x55555576801d] #9 ../sbin/smbd [0x555555680bd2] #10 ../sbin/smbd(_spoolss_rfnpcnex+0x319) [0x55555568b469] #11 ../sbin/smbd [0x55555567dad3] #12 ../sbin/smbd(api_rpcTNP+0x253) [0x5555556ae98a] #13 ../sbin/smbd(api_pipe_request+0x1c4) [0x5555556aede6] #14 ../sbin/smbd [0x5555556a911f] #15 ../sbin/smbd [0x5555556a978c] #16 ../sbin/smbd(write_to_pipe+0x10f) [0x5555556a7ae8] #17 ../sbin/smbd [0x5555555c8b37] #18 ../sbin/smbd [0x5555555c91bb] #19 ../sbin/smbd(reply_trans+0x6bf) [0x5555555c9e68] #20 ../sbin/smbd [0x555555615c27] #21 ../sbin/smbd(smbd_process+0x81f) [0x555555616ee7] #22 ../sbin/smbd(main+0x1565) [0x5555557d3780] #23 /lib64/libc.so.6(__libc_start_main+0xf4) [0x2aaaad4e8a44] #24 ../sbin/smbd [0x5555555b1959] [2007/04/24 15:10:52, 0] lib/fault.c:dump_core(168) unable to change to /usr/local/samba/var/cores/smbdrefusing to dump core [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(41) ============================================================== Thanks in advance, -John
Charles Marcus
2007-Apr-25 11:43 UTC
[Samba] smbd segfaults when trying to browse printers folder
On 4/24/2007 johnh@primebuchholz.com (johnh@primebuchholz.com) wrote:> [printers]<snip>> browseable = noIf you want to browse them, shouldn't this be yes? That doesn't answer why it segfaults, though... -- Best regards, Charles
Gerald (Jerry) Carter
2007-Apr-25 13:28 UTC
[Samba] smbd segfaults when trying to browse printers folder
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 johnh@primebuchholz.com wrote:> [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(41) > ==============================================================> [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(42) > INTERNAL ERROR: Signal 11 in pid 2151 (3.0.24) > Please read the Trouble-Shooting section of the Samba3-HOWTO > [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(44) > > From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf > [2007/04/24 15:10:52, 0] lib/fault.c:fault_report(45) > ==============================================================> [2007/04/24 15:10:52, 0] lib/util.c:smb_panic(1599) > PANIC (pid 2151): internal error > [2007/04/24 15:10:52, 0] lib/util.c:log_stack_trace(1706) > BACKTRACE: 25 stack frames: > #0 ../sbin/smbd(log_stack_trace+0x1a) [0x5555557447c9] > #1 ../sbin/smbd(smb_panic+0x55) [0x5555557448cd] > #2 ../sbin/smbd [0x5555557338ff] > #3 /lib64/libpthread.so.0 [0x2aaaac7e2de0] > #4 /lib64/libc.so.6(memcpy+0x34) [0x2aaaad541ed4] > #5 ../sbin/smbd(_talloc_memdup+0x3a) [0x55555574a6d6] > #6 ../sbin/smbd(regval_ctr_addvalue+0x120) [0x5555556f523a]Have you initialized the printer? We shouldn't segv none the less I admit. Would you mind opening a bug report and including the full, zgipped level 10 debug log ? Thanks. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGL1dgIR7qMdg1EfYRAhsZAKCA68Kwi7rSBPBEGeqg07ir5QRgTwCgw48b JSiYfU8FFoZISUDl7IFZg+U=fjeF -----END PGP SIGNATURE-----