[Samba] samba4 and cups problem

David Disseldorp ddiss at suse.de
Tue Aug 5 06:21:16 MDT 2014


Hi Alex,

On Mon, 04 Aug 2014 10:43:33 +0200, Alexandre Magnat wrote:

> Just upgrade from Wheezy to Jessie but nothing better.
> Cups is now in 1.7.4-1
> Samba is in 4.1.7
> I have always the same error with 4 printers ( the 25 others printers 
> shared by samba4 works fine)....
> 
> Aug  4 10:00:10 daisy2k11 smbd[28889]: [2014/08/04 10:00:10.589004,  0] 
> ../source3/printing/printing.c:486(print_job_find)
> Aug  4 10:00:10 daisy2k11 smbd[28889]:   PANIC: assert failed at 
> ../source3/printing/printing.c(486): pjob->jobid == jobid
> Aug  4 10:00:10 daisy2k11 smbd[28889]: [2014/08/04 10:00:10.589118,  0] 
> ../source3/lib/util.c:785(smb_panic_s3)
> Aug  4 10:00:10 daisy2k11 smbd[28889]:   PANIC (pid 28889): assert 
> failed: pjob->jobid == jobid
> Aug  4 10:00:10 daisy2k11 smbd[28889]: [2014/08/04 10:00:10.590505,  0] 
> ../source3/lib/util.c:896(log_stack_trace)
> Aug  4 10:00:10 daisy2k11 smbd[28889]:   BACKTRACE: 27 stack frames:
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #0 
> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1a) 
> [0x7f6d8907ad7a]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #1 
> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) 
> [0x7f6d8907ae50]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #2 
> /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) 
> [0x7f6d8a5d91bf]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #3 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x9020d) [0x7f6d8a12b20d]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #4 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(print_queue_status+0x722) 
> [0x7f6d8a131de2]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #5 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(_spoolss_EnumJobs+0x172) 
> [0x7f6d8a25aea2]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #6 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1d701e) 
> [0x7f6d8a27201e]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #7 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1b1286) 
> [0x7f6d8a24c286]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #8 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(process_complete_pdu+0x10fb) 
> [0x7f6d8a24e17b]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #9 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(process_incoming_data+0x118) 
> [0x7f6d8a2498e8]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #10 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(np_write_send+0x150) 
> [0x7f6d8a249fc0]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #11 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smb2_ioctl_named_pipe+0x16a) 
> [0x7f6d8a1f129a]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #12 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smbd_smb2_request_process_ioctl+0x7ec) 
> [0x7f6d8a1f08dc]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #13 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smbd_smb2_request_dispatch+0xc66) 
> [0x7f6d8a1e1456]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #14 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1470cb) 
> [0x7f6d8a1e20cb]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #15 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x147394) 
> [0x7f6d8a1e2394]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #16 
> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x187) 
> [0x7f6d8909a6d7]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #17 
> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x47959) [0x7f6d8909a959]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #18 
> /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d) 
> [0x7f6d87a4502d]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #19 
> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smbd_process+0xb90) 
> [0x7f6d8a1ce0e0]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #20 /usr/sbin/smbd(+0xa8a4) 
> [0x7f6d8ac388a4]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #21 
> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x187) 
> [0x7f6d8909a6d7]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #22 
> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x47959) [0x7f6d8909a959]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #23 
> /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d) 
> [0x7f6d87a4502d]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #24 
> /usr/sbin/smbd(main+0x13ea) [0x7f6d8ac353ea]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #25 
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f6d876d4ead]
> Aug  4 10:00:10 daisy2k11 smbd[28889]:    #26 /usr/sbin/smbd(+0x7765) 
> [0x7f6d8ac35765]
> Aug  4 10:00:10 daisy2k11 smbd[28889]: [2014/08/04 10:00:10.592366,  0] 
> ../source3/lib/dumpcore.c:317(dump_core)
> Aug  4 10:00:10 daisy2k11 smbd[28889]:   dumping core in 
> /var/log/samba/cores/smbd
> Aug  4 10:00:10 daisy2k11 smbd[28889]:

Please raise a bug on bugzilla.samba.org, and attach level 10 logs and
a network trace captured across the time of this panic.
https://wiki.samba.org/index.php/Capture_Packets

Cheers, David


More information about the samba mailing list