[Samba] samba4 and cups problem

Alexandre Magnat alexandre.magnat at mecaprotec.fr
Mon Aug 4 02:43:33 MDT 2014


Hi,

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]:


Alex

Le 06/06/2014 18:03, Alexandre Magnat a écrit :
> Thanks Louis.
>
> But, I don't use a Kerberos auth.
> Perhaps, the bug not only affect cups / kerberos ?
>
> I'm going to test an upgrade on an test envirronment.
>
>
> Alex
>
>
> Le 06/06/2014 12:51, L.P.H. van Belle a écrit :
>> Hai,
>>
>> are you use-ing cups from debian with kerberos auth.
>> cups 1.5.3 has a bug, you need to get cups from jessie or sid to make 
>> that work.
>> see:
>>
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663995
>> fixed in 1.6.3
>> and
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703424
>> fixed in 1.6.2
>>
>> to fix this problem, i upgraded my print server from wheezy to jessie.
>> from here you can use the debian samba ( 4.1.7 ) package with cups 
>> 1.7.2.
>>
>> The fixes for above problems are done in 1.6.3 and up.
>> now you can use all you want with samba and cups.
>>
>> IF you using this on XEN server, you need to get XEN 6.2.5 beta to 
>> get debian jessie supported.
>>
>> Greetz,
>>
>> Louis
>>
>>> -----Oorspronkelijk bericht-----
>>> Van: alexandre.magnat at mecaprotec.fr
>>> [mailto:samba-bounces at lists.samba.org] Namens Alexandre Magnat
>>> Verzonden: vrijdag 6 juni 2014 12:21
>>> Aan: samba at lists.samba.org
>>> Onderwerp: Re: [Samba] samba4 and cups problem
>>>
>>> No body have an idea ?
>>>
>>> On Windows, when I refresh the printer list insallted on the
>>> serveur, I
>>> have randomly an "access refused" or "Could not connect"
>>> I have try to uninstall  / install the printers from Windows
>>> and on the
>>> samba server but still the same.
>>>
>>>
>>> Bouuu :-(
>>>
>>>
>>> Alex
>>>
>>>
>>> Le 04/06/2014 17:56, Alexandre Magnat a écrit :
>>>> Apparently, I have this error only with 4 printers. The 50
>>> other one,
>>>> no problem...
>>>> When I try to install one of this 4 printers on a 2008 server, I
>>>> reproduce the error
>>>>
>>>>
>>>> Alex
>>>>
>>>> Le 04/06/2014 17:03, Alexandre Magnat a écrit :
>>>>> Hello,
>>>>>
>>>>> My envirronement:
>>>>> Debian 7.5
>>>>> Samba version 4.1.7 from backport
>>>>> Cups 1.5.3-5
>>>>>
>>>>>
>>>>> I have upgrade from samba 3 to samba4 this morning. Since, I have
>>>>> some very strange error when I try to print or  list the shared
>>>>> printer from a windows Server:
>>>>>
>>>>> Here is my syslog log file when I try to refresh the printers list
>>>>> from a Windws 2008 server.
>>>>>
>>>>>
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]: [2014/06/04 17:00:24.700707,
>>>>> 0] ../source3/printing/printing.c:486(print_job_find)
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:   PANIC: assert failed at
>>>>> ../source3/printing/printing.c(486): pjob->jobid == jobid
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]: [2014/06/04 17:00:24.700896,
>>>>> 0] ../source3/lib/util.c:785(smb_panic_s3)
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:   PANIC (pid 22133): assert
>>>>> failed: pjob->jobid == jobid
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]: [2014/06/04 17:00:24.702305,
>>>>> 0] ../source3/lib/util.c:896(log_stack_trace)
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:   BACKTRACE: 28 stack frames:
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #0
>>>>> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1a)
>>>>> [0x7faabe18ad7a]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #1
>>>>> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20)
>>>>> [0x7faabe18ae50]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #2
>>>>> /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f)
>>>>> [0x7faabf6e91bf]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #3
>>>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x9020d)
>>>>> [0x7faabf23b20d]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #4
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(print_queue_s
>>> tatus+0x722)
>>>>> [0x7faabf241de2]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #5
>>>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1ba7ba)
>>>>> [0x7faabf3657ba]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #6
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(_spoolss_Rout
>>> erRefreshPrinterChangeNotify+0x2c7)
>>>>> [0x7faabf3680d7]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #7
>>>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1cca4c)
>>>>> [0x7faabf377a4c]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #8
>>>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1b1286)
>>>>> [0x7faabf35c286]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #9
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(process_compl
>>> ete_pdu+0x10fb)
>>>>> [0x7faabf35e17b]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #10
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(process_incom
>>> ing_data+0x118)
>>>>> [0x7faabf3598e8]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #11
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(np_write_send
>>> +0x150) [0x7faabf359fc0]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #12
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smb2_ioctl_na
>>> med_pipe+0x16a)
>>>>> [0x7faabf30129a]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #13
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smbd_smb2_req
>>> uest_process_ioctl+0x7ec)
>>>>> [0x7faabf3008dc]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #14
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smbd_smb2_req
>>> uest_dispatch+0xc66)
>>>>> [0x7faabf2f1456]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #15
>>>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x1470cb)
>>>>> [0x7faabf2f20cb]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #16
>>>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(+0x147394)
>>>>> [0x7faabf2f2394]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #17
>>>>> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x187)
>>>>> [0x7faabe1aa6d7]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #18
>>>>> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x47959) [0x7faabe1aa959]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #19
>>>>> /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d)
>>>>> [0x7faabcb5502d]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #20
>>>>>
>>> /usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so.0(smbd_process+0xb90)
>>>>> [0x7faabf2de0e0]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #21
>>> /usr/sbin/smbd(+0xa8a4)
>>>>> [0x7faabfd488a4]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #22
>>>>> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x187)
>>>>> [0x7faabe1aa6d7]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #23
>>>>> /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x47959) [0x7faabe1aa959]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #24
>>>>> /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d)
>>>>> [0x7faabcb5502d]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #25
>>>>> /usr/sbin/smbd(main+0x13ea) [0x7faabfd453ea]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #26
>>>>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)
>>> [0x7faabc7e4ead]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:    #27
>>> /usr/sbin/smbd(+0x7765)
>>>>> [0x7faabfd45765]
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]: [2014/06/04 17:00:24.704333,
>>>>> 0] ../source3/lib/dumpcore.c:317(dump_core)
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:   dumping core in
>>>>> /var/log/samba/cores/smbd
>>>>> Jun  4 17:00:24 daisy2k11 smbd[22133]:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thanks you in advance for any idea.
>>>>>
>>>>> Alex
>>> -- 
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>>
>



More information about the samba mailing list