[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370611: marked as done (SIGSEGV in cupsd 1.2.1-2)



Your message dated Wed, 21 Jun 2006 08:17:07 -0700
with message-id <E1Ft4S3-000328-QA@spohr.debian.org>
and subject line Bug#370611: fixed in cupsys 1.2.1-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys
Version: 1.2.1-2

I tried upgrading, and other than the massive config file changes,

(WHY does the CUPS documentation have to be SO BAD?  Just for example,
the "Order" directive docs say it defined whether Allow or Deny rules are
searched first.  Fine, but I don't care which is matched first, but which
takes precedence: if both an Allow and a Deny rule match, WHICH ONE WINS?
It appears that the LAST match wins, which is not explained ANYWHERE.
And why is there an Order directive in config file sections where there
ARE no Allow or Deny lines?  And what's this @OWNER and @SYSTEM stuff?
And what is this "PTAL hpjd:<address>" thing I'm being prompted to add as
a new printer?  That doesn't look like a valid DeviceURI to me.  And why
does the new config file say "Allow <address>" while the old one said
"Allow from <address>".  Is there any semantic difference, or is "from"
just syntactic noise?  Etc., etc., etc.)

er... as I was saying, after dealing with the config file overhaul,
I was noticing that the daemon would disappear at frequent intervals.

Tracing it revealed that it was dying on SIGSEGV.  Here's an
example while browing the web interface (just after the execve of
/usr/lib/cups/cgi-bin/printers.cgi completed) with "LogLevel debug" set:

22344 send(10, "\27\3\1\0@:_\376\243\250\177\335\326\272\346g\27\t\277\0\263\345\257\261<\35\361\31\3_\205\223\244\273\276\3674\227S\361\361IM\271\240c\201=b\270\351K\207d\21\232\274\310E\31\330\300\"XR\341[S-", 69, 0) = 69
22344 select(1024, [0 1 3 5 10], [10], NULL, {1, 0}) = 3 (in [3 5], out [10], left {1, 0})
22344 time(NULL)                        = 1149553429
22344 read(3, " \':\'...\nDEBUG:     Skip second part...\nDEBUG:       Starting at file position 197...\nDEBUG:       \"{printer_state_message}\" at 2"..., 967) = 967
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Returning at file position 197 on character \':\'...\n", 88) = 88
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Skip second part...\n", 57) = 57
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting at file position 197...\n", 70) = 70
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] \"{printer_state_message}\" at 243...\n", 73) = 73
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Returning at file position 252 on character \'}\'...\n", 88) = 88
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Finished \"{?printer_state_message=\", out=0x466765e0...\n", 92) = 92
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] \"{printer_name}\" at 349...\n", 64) = 64
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] \"{printer_uri_supported}\" at 406...\n", 73) = 73
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting \"{printer_state=3\" at 452, result=1...\n", 85) = 85
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Output first part...\n", 58) = 58
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting at file position 452...\n", 70) = 70
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Returning at file position 457 on character \':\'...\n", 88) = 88
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Skip second part...\n", 57) = 57
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting at file position 457...\n", 70) = 70
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting \"{printer_state=4\" at 474, result=0...\n", 85) = 85
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Skip first part...\n", 56) = 56
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting at file position 474...\n", 70) = 70
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Returning at file position 485 on character \':\'...\n", 88) = 88
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Output second part...\n", 59) = 59
22344 time(NULL)                        = 1149553429
22344 write(2, "D [05/Jun/2006:20:23:49 -0400] [CGI] Starting at file position 485...\n", 70) = 70
22344 time(NULL)                        = 1149553429
22344 time(NULL)                        = 1149553429
22344 time(NULL)                        = 1149553429
22344 time(NULL)                        = 1149553429
22344 --- SIGSEGV (Segmentation fault) @ 0 (0) ---

I have no idea what the [CGI] messages are talking about, but perhaps
they will be of some use to a scholar of such arcana.

The local configuration is unremarkable, with a few Allow lines added
to cupsd.conf for the local /24 network, and one directly connected
printer and a few HP JetDirect (socket://hostname:9100/) connections.
x86_32 server with 2.6.16 kernel.

No printing was happening at the time of the crash.  1.1.23-15 ran fine.


I'm reverting to 1.1.23-15 for a while.

Anyway, thanks for struggling with this hideous monstrosity.


--- End Message ---
--- Begin Message ---
Source: cupsys
Source-Version: 1.2.1-3

We believe that the bug you reported is fixed in the latest version of
cupsys, which is due to be installed in the Debian FTP archive:

cupsys-bsd_1.2.1-3_i386.deb
  to pool/main/c/cupsys/cupsys-bsd_1.2.1-3_i386.deb
cupsys-client_1.2.1-3_i386.deb
  to pool/main/c/cupsys/cupsys-client_1.2.1-3_i386.deb
cupsys_1.2.1-3.diff.gz
  to pool/main/c/cupsys/cupsys_1.2.1-3.diff.gz
cupsys_1.2.1-3.dsc
  to pool/main/c/cupsys/cupsys_1.2.1-3.dsc
cupsys_1.2.1-3_i386.deb
  to pool/main/c/cupsys/cupsys_1.2.1-3_i386.deb
libcupsimage2-dev_1.2.1-3_i386.deb
  to pool/main/c/cupsys/libcupsimage2-dev_1.2.1-3_i386.deb
libcupsimage2_1.2.1-3_i386.deb
  to pool/main/c/cupsys/libcupsimage2_1.2.1-3_i386.deb
libcupsys2-dev_1.2.1-3_i386.deb
  to pool/main/c/cupsys/libcupsys2-dev_1.2.1-3_i386.deb
libcupsys2-gnutls10_1.2.1-3_all.deb
  to pool/main/c/cupsys/libcupsys2-gnutls10_1.2.1-3_all.deb
libcupsys2_1.2.1-3_i386.deb
  to pool/main/c/cupsys/libcupsys2_1.2.1-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 370611@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kenshi Muto <kmuto@debian.org> (supplier of updated cupsys package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 11 Jun 2006 11:51:01 +0000
Source: cupsys
Binary: cupsys-bsd libcupsys2-dev cupsys libcupsys2 libcupsys2-gnutls10 libcupsimage2-dev libcupsimage2 cupsys-client
Architecture: source i386 all
Version: 1.2.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Changed-By: Kenshi Muto <kmuto@debian.org>
Description: 
 cupsys     - Common UNIX Printing System(tm) - server
 cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
 cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
 libcupsimage2 - Common UNIX Printing System(tm) - image libs
 libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
 libcupsys2 - Common UNIX Printing System(tm) - libs
 libcupsys2-dev - Common UNIX Printing System(tm) - development files
 libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy libs for transition
Closes: 345973 365300 370611 371170 372198 372256 372291 372586 372696 372714 372727 373722 373839
Changes: 
 cupsys (1.2.1-3) unstable; urgency=low
 .
   [Kenshi Muto]
   * Apply upstream svn change r5673.
     - Remove unnecessary %s from dirsvc.c and will solve a mysterious
       cupsd crash. Thanks Neil. (closes: #372696, #370611)
     - Support again * character as IP address. (closes: #372291)
     - Fixes wrong command line arguments to backend. (closes: #372586, #373839)
   * Improve the wording of NEWS file, thanks Tomas (closes: #372256)
   * 53_usr_share_ppd_support: Use /usr/share/ppd as PPD path.
     (closes: #365300, #373722)
     Make symlink /usr/share/ppd/cups-transitional-dir -> /usr/share/cups/ppd
     for keeping a compatibility. We'll migrate all of PPD files to
     /usr/share/ppd in the future.
   * Revert to use single /etc/cups/cupsd.conf file for the configuration
     instead of using separate files in /etc/cups/cups.d. The migration will
     be done automatically. (closes: #345973, #372727)
   * Apply correct permission modes to the files under /etc/cups at postinst
     stage.
   * Update debconf translations:
     - Danish (closes: #371170)
     - French (closes: #372714)
     - Italian (closes: #372198)
Files: 
 fb7a7d04b5e739a49ef360e74c142e4e 1045 net optional cupsys_1.2.1-3.dsc
 79f8eebcbbc378ec8bff05b1fa25cba4 130917 net optional cupsys_1.2.1-3.diff.gz
 018ffe16e54923a935d94008977e3047 26352 libs optional libcupsys2-gnutls10_1.2.1-3_all.deb
 dc4a1dc1f7afe1c76670c60be5f5fcd2 149584 libs optional libcupsys2_1.2.1-3_i386.deb
 0305aba58a113f2091de63d4b93e4284 67494 libs optional libcupsimage2_1.2.1-3_i386.deb
 8bd7d76314398ce4483243d7d379d0f5 2189880 net optional cupsys_1.2.1-3_i386.deb
 68c8746af9c2123d2ff989f4047e257e 79434 net optional cupsys-client_1.2.1-3_i386.deb
 b759b92b1111c8a7953b1304df68c4ba 25724 libdevel optional libcupsys2-dev_1.2.1-3_i386.deb
 e36529fbc12b34eb475969272bb60e5e 6084 libdevel optional libcupsimage2-dev_1.2.1-3_i386.deb
 f86fae2991ac513bc4bbbea1ee56dcfc 35926 net extra cupsys-bsd_1.2.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iEYEARECAAYFAkSZX8gACgkQQKW+7XLQPLGNHwCePQv1aj7i+5OX/c8qsip40UHZ
YggAnAtlHaNlqMb4i/+9KZZVYw5w83yz
=xfEI
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: