Bug 7371 - smbd seg faults when windows client tries to print
Summary: smbd seg faults when windows client tries to print
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.4.5
Hardware: x86 FreeBSD
: P3 major
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 14:06 UTC by phil
Modified: 2011-05-18 14:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phil 2010-04-19 14:06:24 UTC
Using FreeBSD 8.0, Samba 3.4.5 freshly compiled out of the ports. (Everything is working correctly at 3.0.37, so I think the OS stuff is setup and working correctly).

Trying to setup the print driver auto downloads. Upload the drivers correctly and touch the printing defaults to validate the tdb entries. Then on Windows client, add the new printer queue and try to print test page. I get the test print failed dialog box, and this in my /var/log/messages:

Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/fault.c:50(fault_report)
Apr 18 16:25:08 mail smbd[96641]:   ===============================================================
Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/fault.c:51(fault_report)
Apr 18 16:25:08 mail smbd[96641]:   INTERNAL ERROR: Signal 11 in pid 96641 (3.4.5)
Apr 18 16:25:08 mail smbd[96641]:   Please read the Trouble-Shooting section of the Samba3-HOWTO
Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/fault.c:53(fault_report)
Apr 18 16:25:08 mail smbd[96641]:   
Apr 18 16:25:08 mail smbd[96641]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/fault.c:54(fault_report)
Apr 18 16:25:08 mail smbd[96641]:   ===============================================================
Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/util.c:1480(smb_panic)
Apr 18 16:25:08 mail smbd[96641]:   PANIC (pid 96641): internal error
Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/util.c:1584(log_stack_trace)
Apr 18 16:25:08 mail smbd[96641]:   BACKTRACE: 21 stack frames:
Apr 18 16:25:08 mail smbd[96641]:    #0 0x12eff0d <smb_panic+93> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #1 0x12dda8f <dump_core_setup+2511> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #2 0xbfbfffb4
Apr 18 16:25:08 mail smbd[96641]:    #3 0x123ded7 <rpc_spoolss_init+16647> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #4 0x127a1c0 <api_pipe_request+896> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #5 0x12734e2 <np_read_send+6274> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #6 0x1273c15 <np_write_send+1781> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #7 0x109c5de <send_trans_reply+2670> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #8 0x109cbf1 <send_trans_reply+4225> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #9 0x109d618 <reply_trans+1464> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #10 0x10f904e <remove_deferred_open_smb_message+1854> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #11 0x10fba00 <chain_reply+1472> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #12 0x10fbd30 <chain_reply+2288> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #13 0x12ffb51 <run_events+385> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #14 0x10fb208 <smbd_process+1784> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #15 0x15b2bbc <main+5452> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #16 0x12ffb51 <run_events+385> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #17 0x12ffd7e <event_add_to_select_args+526> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #18 0x1300395 <_tevent_loop_once+149> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #19 0x15b27c7 <main+4439> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]:    #20 0x107e549 <_start+137> at /usr/local/sbin/smbd
Apr 18 16:25:08 mail smbd[96641]: [2010/04/18 16:25:08,  0] lib/fault.c:370(dump_core)
Apr 18 16:25:08 mail smbd[96641]:   dumping core in /var/log/samba34/cores/smbd
Apr 18 16:25:08 mail kernel: pid 96641 (smbd), uid 0: exited on signal 6
Apr 18 16:25:08 mail smbd[96641]: 
 
Everytime I hit the print test page, it drops core.
Comment 1 Guenther Deschner 2010-06-07 07:43:30 UTC
Can you please try with the latest bugfix release of the 3.4.x series ? There have been many fixes around printing.
Comment 2 Guenther Deschner 2011-05-18 14:28:46 UTC
No feedback, and we never saw this happen anymore.