[Pkg-samba-maint] Bug#431696: samba: segfault when adding a printer driver
Dietrich Clauss
dc2 at clauss.dyndns.org
Wed Jul 4 10:56:57 UTC 2007
Package: samba
Version: 3.0.25b-1+b1
Severity: normal
Samba segfaulted when installing a printer driver into the print$ share
from within a windows client. There was already a driver there. I
exchanged the printer and said "new driver" in the windows client.
After copying the driver files to print$, samba crashed. The .tdb files
seem OK. This is reproducible, i can reproduce it with higher log
levels if necessary.
The syslog:
Jul 4 09:44:42 clauss smbd[5572]: [2007/07/04 09:44:42, 1] smbd/service.c:close_cnum(1230)
Jul 4 09:44:42 clauss smbd[5572]: oben (10.2.1.3) closed connection to service print$
Jul 4 09:44:48 clauss smbd[5572]: [2007/07/04 09:44:48, 1] smbd/service.c:make_connection_snum(1033)
Jul 4 09:44:48 clauss smbd[5572]: oben (10.2.1.3) connect to service print$ initially as user dc2 (uid=1000, gid=104) (pid 5572)
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 1] smbd/service.c:make_connection_snum(1033)
Jul 4 09:45:03 clauss smbd[5572]: oben (10.2.1.3) connect to service print$ initially as user dc2 (uid=1000, gid=104) (pid 5572)
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 1] smbd/service.c:close_cnum(1230)
Jul 4 09:45:03 clauss smbd[5572]: oben (10.2.1.3) closed connection to service print$
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 1] smbd/service.c:make_connection_snum(1033)
Jul 4 09:45:03 clauss smbd[5572]: oben (10.2.1.3) connect to service print$ initially as user dc2 (uid=1000, gid=104) (pid 5572)
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/fault.c:fault_report(41)
Jul 4 09:45:03 clauss smbd[5572]: ===============================================================
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/fault.c:fault_report(42)
Jul 4 09:45:03 clauss smbd[5572]: INTERNAL ERROR: Signal 11 in pid 5572 (3.0.25b)
Jul 4 09:45:03 clauss smbd[5572]: Please read the Trouble-Shooting section of the Samba3-HOWTO
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/fault.c:fault_report(44)
Jul 4 09:45:03 clauss smbd[5572]:
Jul 4 09:45:03 clauss smbd[5572]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/fault.c:fault_report(45)
Jul 4 09:45:03 clauss smbd[5572]: ===============================================================
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/util.c:smb_panic(1632)
Jul 4 09:45:03 clauss smbd[5572]: PANIC (pid 5572): internal error
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/util.c:log_stack_trace(1736)
Jul 4 09:45:03 clauss smbd[5572]: BACKTRACE: 22 stack frames:
Jul 4 09:45:03 clauss smbd[5572]: #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x827c5cd]
Jul 4 09:45:03 clauss smbd[5572]: #1 /usr/sbin/smbd(smb_panic+0x5d) [0x827c6fd]
Jul 4 09:45:03 clauss smbd[5572]: #2 /usr/sbin/smbd [0x82675ba]
Jul 4 09:45:03 clauss smbd[5572]: #3 /lib/i686/cmov/libpthread.so.0 [0xb7da1648]
Jul 4 09:45:03 clauss smbd[5572]: #4 /usr/sbin/smbd(close_file+0x3ab) [0x80f85ab]
Jul 4 09:45:03 clauss smbd[5572]: #5 /usr/sbin/smbd [0x82aac1f]
Jul 4 09:45:03 clauss smbd[5572]: #6 /usr/sbin/smbd(move_driver_to_download_area+0x78c) [0x82ade9c]
Jul 4 09:45:03 clauss smbd[5572]: #7 /usr/sbin/smbd(_spoolss_addprinterdriver+0x12f) [0x819080f]
Jul 4 09:45:03 clauss smbd[5572]: #8 /usr/sbin/smbd(_spoolss_addprinterdriverex+0xc1) [0x8190ee1]
Jul 4 09:45:03 clauss smbd[5572]: #9 /usr/sbin/smbd [0x818514e]
Jul 4 09:45:03 clauss smbd[5572]: #10 /usr/sbin/smbd(api_rpcTNP+0x188) [0x81c40a8]
Jul 4 09:45:03 clauss smbd[5572]: #11 /usr/sbin/smbd(api_pipe_request+0x19e) [0x81c46ee]
Jul 4 09:45:03 clauss smbd[5572]: #12 /usr/sbin/smbd [0x81be26f]
Jul 4 09:45:03 clauss smbd[5572]: #13 /usr/sbin/smbd(write_to_pipe+0x71) [0x81bbf71]
Jul 4 09:45:03 clauss smbd[5572]: #14 /usr/sbin/smbd [0x80b10de]
Jul 4 09:45:03 clauss smbd[5572]: #15 /usr/sbin/smbd [0x80b1616]
Jul 4 09:45:03 clauss smbd[5572]: #16 /usr/sbin/smbd(reply_trans+0x6cf) [0x80b244f]
Jul 4 09:45:03 clauss smbd[5572]: #17 /usr/sbin/smbd [0x810ace0]
Jul 4 09:45:03 clauss smbd[5572]: #18 /usr/sbin/smbd(smbd_process+0x836) [0x810c076]
Jul 4 09:45:03 clauss smbd[5572]: #19 /usr/sbin/smbd(main+0xbdd) [0x834ffad]
Jul 4 09:45:03 clauss smbd[5572]: #20 /lib/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7bc7ebc]
Jul 4 09:45:03 clauss smbd[5572]: #21 /usr/sbin/smbd [0x8093f31]
Jul 4 09:45:03 clauss smbd[5572]: [2007/07/04 09:45:03, 0] lib/util.c:smb_panic(1637)
Jul 4 09:45:03 clauss smbd[5572]: smb_panic(): calling panic action [/usr/share/samba/panic-action 5572]
Jul 4 09:45:04 clauss smbd[5572]: [2007/07/04 09:45:04, 0] lib/util.c:smb_panic(1645)
Jul 4 09:45:04 clauss smbd[5572]: smb_panic(): action returned status 0
Jul 4 09:45:04 clauss smbd[5572]: [2007/07/04 09:45:04, 0] lib/fault.c:dump_core(181)
Jul 4 09:45:04 clauss smbd[5572]: dumping core in /var/log/samba/cores/smbd
Jul 4 09:45:04 clauss smbd[5572]:
Jul 4 09:45:04 clauss smbd[5581]: [2007/07/04 09:45:04, 1] smbd/service.c:make_connection_snum(1033)
Jul 4 09:45:04 clauss smbd[5581]: oben (10.2.1.3) connect to service print$ initially as user dc2 (uid=1000, gid=104) (pid 5581)
Jul 4 09:45:11 clauss smbd[5581]: [2007/07/04 09:45:11, 1] smbd/service.c:close_cnum(1230)
Jul 4 09:45:11 clauss smbd[5581]: oben (10.2.1.3) closed connection to service print$
Jul 4 09:45:16 clauss smbd[5581]: [2007/07/04 09:45:16, 1] smbd/service.c:make_connection_snum(1033)
Jul 4 09:45:16 clauss smbd[5581]: oben (10.2.1.3) connect to service print$ initially as user dc2 (uid=1000, gid=104) (pid 5581)
Jul 4 09:45:27 clauss smbd[5581]: [2007/07/04 09:45:27, 1] smbd/service.c:close_cnum(1230)
Jul 4 09:45:27 clauss smbd[5581]: oben (10.2.1.3) closed connection to service print$
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-1-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages samba depends on:
ii debconf 1.5.13 Debian configuration management sy
ii libacl1 2.2.42-1 Access control list shared library
ii libattr1 1:2.4.32-1.1 Extended attribute shared library
ii libc6 2.5-11 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2007.04.07+dfsg-2 common error description library
ii libcupsy 1.2.11-3 Common UNIX Printing System(tm) -
ii libgnutl 1.6.3-1 the GNU TLS library - runtime libr
ii libkrb53 1.6.dfsg.1-4 MIT Kerberos runtime libraries
ii libldap2 2.1.30-13.4 OpenLDAP libraries
ii libpam-m 0.79-4 Pluggable Authentication Modules f
ii libpam-r 0.79-4 Runtime support for the PAM librar
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii logrotat 3.7.1-3 Log rotation utility
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
ii procps 1:3.2.7-3 /proc file system utilities
ii samba-co 3.0.25b-1+b1 Samba common files used by both th
ii update-i 4.27-0.5 inetd.conf updater
ii zlib1g 1:1.2.3.3.dfsg-3 compression library - runtime
Versions of packages samba recommends:
ii smbldap-tools 0.9.2-3 Scripts to manage Unix and Samba a
-- debconf information:
samba/nmbd_from_inetd:
* samba/log_files_moved:
samba/tdbsam: false
* samba/generate_smbpasswd: true
* samba/run_mode: daemons
More information about the Pkg-samba-maint
mailing list