[Pkg-samba-maint] Bug#844637: samba: assertion failed error when accepting print jobs

David Lee Lambert davidl at lmert.com
Thu Nov 17 12:56:13 UTC 2016


Package: samba
Version: 2:4.1.17+dfsg-2+deb8u2
Severity: normal

Trying to use samba to accept print jobs from Windows clients over a 
local network from various Windows systems. The printer is an HP DeskJet.
The Windows workstation says printing was successful, but nothing gets
printed, and `lpq` says "no entries", can CUPS logs show no activity.

The following excertpt from the "/var/log/samba/log._worksation_name_"
file looks like it might be relevant:

[2016/11/17 06:29:50.796827,  0] ../source3/smbd/posix_acls.c:2088(create_canon_ace_lists)
  create_canon_ace_lists: unable to map SID S-1-5-21-2553801787-3262791988-912283195-3048 to uid or gid.
[2016/11/17 06:29:50.884889,  0] ../source3/smbd/posix_acls.c:2088(create_canon_ace_lists)
  create_canon_ace_lists: unable to map SID S-1-5-21-2553801787-3262791988-912283195-3048 to uid or gid.
[2016/11/17 06:30:21.364833,  0] ../source3/printing/printing.c:486(print_job_find)
  PANIC: assert failed at ../source3/printing/printing.c(486): pjob->jobid == jobid
[2016/11/17 06:30:21.367319,  0] ../source3/lib/util.c:785(smb_panic_s3)
  PANIC (pid 30540): assert failed: pjob->jobid == jobid
[2016/11/17 06:30:21.913379,  0] ../source3/lib/util.c:896(log_stack_trace)
  BACKTRACE: 27 stack frames:
   #0 /usr/lib/i386-linux-gnu/libsmbconf.so.0(log_stack_trace+0x21) [0xb7097f61]
   #1 /usr/lib/i386-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x25) [0xb7098055]
   #2 /usr/lib/i386-linux-gnu/libsamba-util.so.0(smb_panic+0x3b) [0xb76e1d1b]
   #3 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(+0x66de5) [0xb73a1de5]
   #4 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(print_queue_status+0x636) [0xb73a8536]
   #5 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(_spoolss_EnumJobs+0x162) [0xb74deb82]
   #6 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(+0x1bae7c) [0xb74f5e7c]
   #7 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(+0x1931be) [0xb74ce1be]
   #8 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(process_complete_pdu+0x183d) [0xb74d053d]
   #9 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(process_incoming_data+0x121) [0xb74cc1c1]
   #10 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(np_write_send+0x16e) [0xb74cc8ae]
   #11 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(smb2_ioctl_named_pipe+0x8e) [0xb747095e]
   #12 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(smbd_smb2_request_process_ioctl+0x7bd) [0xb747005d]
   #13 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(smbd_smb2_request_dispatch+0xbb7) [0xb745fc97]
   #14 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(+0x1256cc) [0xb74606cc]
   #15 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(+0x1267cf) [0xb74617cf]
   #16 /usr/lib/i386-linux-gnu/libsmbconf.so.0(run_events_poll+0x150) [0xb70b8ec0]
   #17 /usr/lib/i386-linux-gnu/libsmbconf.so.0(+0x3d11a) [0xb70b911a]
   #18 /usr/lib/i386-linux-gnu/libtevent.so.0(_tevent_loop_once+0x88) [0xb6bae3d8]
   #19 /usr/lib/i386-linux-gnu/samba/libsmbd_base.so.0(smbd_process+0xe6c) [0xb744b7fc]
   #20 /usr/sbin/smbd(+0x9145) [0xb7767145]
   #21 /usr/lib/i386-linux-gnu/libsmbconf.so.0(run_events_poll+0x150) [0xb70b8ec0]


-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser                              3.113+nmu3
ii  dpkg                                 1.17.27
ii  libasn1-8-heimdal                    1.6~rc2+dfsg-9
ii  libbsd0                              0.7.0-2
ii  libc6                                2.19-18+deb8u6
ii  libcomerr2                           1.42.12-2
ii  libhdb9-heimdal [heimdal-hdb-api-8]  1.6~rc2+dfsg-9
ii  libkdc2-heimdal                      1.6~rc2+dfsg-9
ii  libkrb5-26-heimdal                   1.6~rc2+dfsg-9
ii  libldb1                              2:1.1.17-2+deb8u1
ii  libpam-modules                       1.1.8-3.1+deb8u1+b1
ii  libpam-runtime                       1.1.8-3.1+deb8u1
ii  libpopt0                             1.16-10
ii  libpython2.7                         2.7.9-2+deb8u1
ii  libroken18-heimdal                   1.6~rc2+dfsg-9
ii  libtalloc2                           2.1.2-0+deb8u1
ii  libtdb1                              1.3.6-0+deb8u1
ii  libtevent0                           0.9.25-0+deb8u1
ii  lsb-base                             4.1+Debian13+nmu1
ii  multiarch-support                    2.19-18+deb8u6
ii  procps                               2:3.3.9-9
ii  python                               2.7.9-1
ii  python-dnspython                     1.12.0-1
ii  python-ntdb                          1.0-5
ii  python-samba                         2:4.1.17+dfsg-2+deb8u2
pn  python2.7:any                        <none>
ii  samba-common                         2:4.1.17+dfsg-2+deb8u2
ii  samba-common-bin                     2:4.1.17+dfsg-2+deb8u2
ii  samba-dsdb-modules                   2:4.1.17+dfsg-2+deb8u2
ii  samba-libs                           2:4.1.17+dfsg-2+deb8u2
ii  tdb-tools                            1.3.6-0+deb8u1
ii  update-inetd                         4.43

Versions of packages samba recommends:
ii  attr               1:2.4.47-2
ii  logrotate          3.8.7-1+b1
ii  samba-vfs-modules  2:4.1.17+dfsg-2+deb8u2

Versions of packages samba suggests:
pn  bind9          <none>
pn  bind9utils     <none>
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.6.p5+dfsg-7+deb8u2
pn  smbldap-tools  <none>
ii  winbind        2:4.1.17+dfsg-2+deb8u2

-- debconf information:
  samba/generate_smbpasswd: true
  samba/run_mode: daemons
  samba-common/title:



More information about the Pkg-samba-maint mailing list