Package: samba
Version: 3.0.10-1
Severity: normal

It looks like #277047. It is probably due to I've upgraded samba or cupsys
recently, but I cannot figure out when since I rarely print.

Whenever I tried to open the network printer (on samba) or the printer
installed in "printers and faxes" in WinXP, I got the following e-mail.

---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 6080 ().

This means there was a problem with the program, such as a segfault.
However, the executable could not be found for process 6080.
It may have died unexpectedly, or you may not have permission to
debug the process.
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---

/var/log/samba/log.MACHINE_NAME shows:
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
[2005/01/18 23:43:23, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2005/01/18 23:43:23, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 14227 (3.0.10-Debian)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/01/18 23:43:23, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2005/01/18 23:43:23, 0] lib/util.c:smb_panic2(1472)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 14227]
[2005/01/18 23:43:24, 0] lib/util.c:smb_panic2(1480)
  smb_panic(): action returned status 0
[2005/01/18 23:43:25, 0] lib/util.c:smb_panic2(1482)
  PANIC: internal error
[2005/01/18 23:43:25, 0] lib/util.c:smb_panic2(1490)
  BACKTRACE: 29 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81e05e1]
   #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81e04ca]
   #2 /usr/sbin/smbd [0x81cc8e8]
   #3 [0xffffe420]
   #4 /usr/sbin/smbd(talloc_memdup+0x37) [0x81e5e57]
   #5 /usr/sbin/smbd(regval_ctr_addvalue+0xb5) [0x819acc5]
   #6 /usr/sbin/smbd [0x8208df6]
   #7 /usr/sbin/smbd [0x8209968]
   #8 /usr/sbin/smbd(get_a_printer+0x18f) [0x820ad9f]
   #9 /usr/sbin/smbd [0x813306e]
   #10 /usr/sbin/smbd [0x8134521]
   #11 /usr/sbin/smbd(_spoolss_getprinter+0x13b) [0x8134a3b]
   #12 /usr/sbin/smbd [0x81271af]
   #13 /usr/sbin/smbd(api_rpcTNP+0x16c) [0x815ab2c]
   #14 /usr/sbin/smbd(api_pipe_request+0xba) [0x815a8da]
   #15 /usr/sbin/smbd [0x81542a8]
   #16 /usr/sbin/smbd [0x815461f]
   #17 /usr/sbin/smbd [0x8154814]
   #18 /usr/sbin/smbd [0x8154a73]
   #19 /usr/sbin/smbd(write_to_pipe+0xfb) [0x81549bb]
   #20 /usr/sbin/smbd [0x808ceea]
   #21 /usr/sbin/smbd(reply_trans+0x54e) [0x808d8fe]
   #22 /usr/sbin/smbd [0x80d3306]
   #23 /usr/sbin/smbd [0x80d3590]
   #24 /usr/sbin/smbd(process_smb+0x8c) [0x80d379c]
   #25 /usr/sbin/smbd(smbd_process+0x168) [0x80d44d8]
   #26 /usr/sbin/smbd(main+0x4ea) [0x82579ba]
   #27 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0x401a4904]
   #28 /usr/sbin/smbd [0x8078b41]
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---

/var/log/cups/error.log (when debug2 mode is turned on):
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
d [18/Jan/2005:23:43:23 +0800] AcceptClient(lis=0x808d7b8) 0 NumClients = 0
D [18/Jan/2005:23:43:23 +0800] AcceptClient: 5 from localhost:631.
d [18/Jan/2005:23:43:23 +0800] AcceptClient: Adding fd 5 to InputSet...
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=0, file=-1
D [18/Jan/2005:23:43:23 +0800] ReadClient: 5 POST / HTTP/1.1
d [18/Jan/2005:23:43:23 +0800] decode_auth(0x4041f008): Authorization string = 
""
d [18/Jan/2005:23:43:23 +0800] decode_auth: 5 username=""
d [18/Jan/2005:23:43:23 +0800] IsAuthorized: con->uri = "/"
d [18/Jan/2005:23:43:23 +0800] FindBest: uri = "/"...
d [18/Jan/2005:23:43:23 +0800] FindBest: Location / Limit 7f
d [18/Jan/2005:23:43:23 +0800] FindBest: Location /jobs Limit 7f
d [18/Jan/2005:23:43:23 +0800] FindBest: Location /admin Limit 7f
d [18/Jan/2005:23:43:23 +0800] FindBest: best = "/"
d [18/Jan/2005:23:43:23 +0800] IsAuthorized: auth = 0, satisfy=0...
d [18/Jan/2005:23:43:23 +0800] POST /
d [18/Jan/2005:23:43:23 +0800] CONTENT_TYPE = application/ipp
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5 con->data_encoding = length, 
con->data_remaining = 156, con->file = -1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=0, file=-1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5 con->data_encoding = length, 
con->data_remaining = 148, con->file = -1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=0, file=-1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5 con->data_encoding = length, 
con->data_remaining = 119, con->file = -1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=0, file=-1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5 con->data_encoding = length, 
con->data_remaining = 82, con->file = -1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=44, file=-1
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5 con->data_encoding = length, 
con->data_remaining = 45, con->file = -1
d [18/Jan/2005:23:43:23 +0800] ProcessIPPRequest(0x4041f008[5]): operation_id = 
4002
d [18/Jan/2005:23:43:23 +0800] get_printers(0x4041f008[5], 0)
d [18/Jan/2005:23:43:23 +0800] add_printer_state_reasons(0x4041f008[5], 
0x80982b8[1350W])
d [18/Jan/2005:23:43:23 +0800] add_queued_job_count(0x4041f008[5], 
0x80982b8[1350W])
d [18/Jan/2005:23:43:23 +0800] copy_attrs(0x81922d0, 0x8094fa0, (nil), 0)
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8094fc8[printer-uri-supported,4,45])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095040[uri-authentication-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80950b0[uri-security-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095108[printer-name,4,42])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095158[printer-location,4,41])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80951a8[printer-info,4,41])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095208[printer-more-info,4,45])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095278[job-quota-period,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80952b8[job-k-limit,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80952f0[job-page-limit,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095330[job-sheets-default,4,42])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095398[device-uri,4,45])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80a8f90[color-supported,4,22])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80a8fb8[pages-per-minute,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8095680[printer-make-and-model,4,41])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x809fd98[media-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80a92a0[media-default,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80973f8[finishings-supported,4,23])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x809c548[finishings-default,4,23])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80a9198[printer-type,4,23])
d [18/Jan/2005:23:43:23 +0800] copy_attrs(0x81922d0, 0x8091ae8, (nil), 0)
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8099380[pdl-override-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098f20[ipp-versions-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8091ba8[operations-supported,4,23])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8099210[multiple-document-jobs-supported,4,22])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80991e8[multiple-operation-time-out,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098ce0[multiple-document-handling-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80990a0[charset-configured,4,47])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80988f0[charset-supported,4,47])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8099060[natural-language-configured,4,48])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8099020[generated-natural-language-supported,4,48])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098fd8[document-format-default,4,49])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80a8c70[document-format-supported,4,80000049])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8091b38[compression-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098f90[job-priority-supported,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098d20[job-priority-default,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098cb8[copies-supported,4,33])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098c60[copies-default,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80988b0[page-ranges-supported,4,22])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80a8310[number-up-supported,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8098888[number-up-default,4,21])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80991a0[orientation-requested-supported,4,23])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8091d28[orientation-requested-default,4,23])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8099260[job-hold-until-supported,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x8091b10[job-hold-until-default,4,44])
d [18/Jan/2005:23:43:23 +0800] copy_attribute(0x81922d0, 
0x80993d8[job-sheets-supported,4,42])
D [18/Jan/2005:23:43:23 +0800] ProcessIPPRequest: 5 status_code=0
d [18/Jan/2005:23:43:23 +0800] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [18/Jan/2005:23:43:23 +0800] select_timeout: 25 seconds to send browse update
d [18/Jan/2005:23:43:23 +0800] WriteClient: Removing fd 5 from OutputSet...
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=0, file=-1
D [18/Jan/2005:23:43:23 +0800] ReadClient: 5 POST / HTTP/1.1
d [18/Jan/2005:23:43:23 +0800] decode_auth(0x4041f008): Authorization string = 
""
d [18/Jan/2005:23:43:23 +0800] decode_auth: 5 username=""
d [18/Jan/2005:23:43:23 +0800] IsAuthorized: con->uri = "/"
d [18/Jan/2005:23:43:23 +0800] FindBest: uri = "/"...
d [18/Jan/2005:23:43:23 +0800] FindBest: Location / Limit 7f
d [18/Jan/2005:23:43:23 +0800] FindBest: Location /jobs Limit 7f
d [18/Jan/2005:23:43:23 +0800] FindBest: Location /admin Limit 7f
d [18/Jan/2005:23:43:23 +0800] FindBest: best = "/"
d [18/Jan/2005:23:43:23 +0800] IsAuthorized: auth = 0, satisfy=0...
d [18/Jan/2005:23:43:23 +0800] POST /
d [18/Jan/2005:23:43:23 +0800] CONTENT_TYPE = application/ipp
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5 con->data_encoding = length, 
con->data_remaining = 156, con->file = -1
d [18/Jan/2005:23:43:23 +0800] ProcessIPPRequest(0x4041f008[5]): operation_id = 
4005
d [18/Jan/2005:23:43:23 +0800] get_printers(0x4041f008[5], 1)
D [18/Jan/2005:23:43:23 +0800] ProcessIPPRequest: 5 status_code=0
d [18/Jan/2005:23:43:23 +0800] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [18/Jan/2005:23:43:23 +0800] WriteClient: Removing fd 5 from OutputSet...
d [18/Jan/2005:23:43:23 +0800] ReadClient: 5, used=0, file=-1
d [18/Jan/2005:23:43:23 +0800] ReadClient: httpGets returned EOF...
D [18/Jan/2005:23:43:23 +0800] CloseClient: 5
d [18/Jan/2005:23:43:23 +0800] CloseClient: Removing fd 5 from InputSet and 
OutputSet...
d [18/Jan/2005:23:43:24 +0800] select_timeout: 24 seconds to send browse update
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---

/etc/samba/smb.conf is something like:
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
...
        load printers = Yes
        printcap cache time = 0
        printcap name = cups
        addprinter command =
        deleteprinter command =
        show add printer wizard = Yes
        printer admin = sltam, tky
        min print space = 0
        max reported print jobs = 0
        max print jobs = 1000
        printable = No
        printing = cups
        print command =
        printer name =
        force printername = No
...

[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        printable = Yes
        force printername = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
        write list = sltam
        read only = Yes
---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (985, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages samba depends on:
ii  cupsys                      1.1.23-2     Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  libacl1                     2.2.23-1     Access control list shared library
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libcomerr2                  1.35-6       The Common Error Description libra
ii  libcupsys2-gnutls10         1.1.23-2     Common UNIX Printing System(tm) - 
ii  libkrb53                    1.3.6-1      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libpam-modules              0.76-22      Pluggable Authentication Modules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  logrotate                   3.7-2        Log rotation utility
ii  netbase                     4.19         Basic TCP/IP networking system
ii  samba-common                3.0.10-1     Samba common files used by both th

-- debconf information:
  samba/nmbd_from_inetd:
* samba/run_mode: daemons
  samba/log_files_moved:
  samba/tdbsam: false
* samba/generate_smbpasswd: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to