foomatic-rip crashed with SIGSEGV

Bug #318614 reported by Bill Gjestvang
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foomatic-filters (Ubuntu)
Fix Released
Medium
Unassigned
Intrepid
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: foomatic-filters

Printing from firefox, through a firewall with open ipp port.

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/foomatic-rip
NonfreeKernelModules: nvidia
Package: foomatic-filters 4.0.0~bzr177-0ubuntu1
ProcAttrCurrent: /usr/sbin/cupsd (enforce)
ProcCmdline: f335 1 bill alphabet-750px.jpg\ (JPEG\ Image,\ 750x433\ pixels) 1 PrintoutMode=Normal\ PageSize=Letter\ job-priority=50\ Quality=FromPrintoutMode\ job-sheets=none,none\ number-up=1\ job-uuid=urn:uuid:04219472-2428-34d6-6b8d-ecb2931c6c0c\ job-hold-until=no-hold
ProcEnviron:
 PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin
 LANG=en_US.UTF8
Signal: 11
SourcePackage: foomatic-filters
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: foomatic-rip crashed with SIGSEGV
Uname: Linux 2.6.27-9-generic x86_64
UserGroups:

Revision history for this message
Bill Gjestvang (bgjestvang) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:option_get_command (cmd=0x259a460, opt=0x2587e50,
build_commandline (optset=3, cmdline=0x259a410,
render_pages (
print_pdf (s=<value optimized out>,
print_file (filename=0x2584120 "<STDIN>",

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in foomatic-filters:
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote :

Should be fixed in Jaunty in the 4.0.0 final release.

Changed in foomatic-filters:
status: New → Fix Released
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted foomatic-filters into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This is perhaps solved by the final release of Foomatic 4.0. If you use Jaunty, please do a full update of your system, if you use Intrepid, try the proposed SRU for bug 318818, bug 318816, bug 303691, and bug 299918. To do so, please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Report your results here. Thank you in advance!

Revision history for this message
Carey Underwood (cwillu) wrote :

Regression caused by foomatic-filters 4.0.0-0ubuntu0.1 from intrepid-proposed, causes all printing to fail on my system, reverting to 4.0.0~bzr177-0ubuntu1 from intrepid restores functionality.

Error log is attached.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Your problem is related to an old-generation (Foomatic 3) PPD file, similar to bug 302935. Please return to foomatic-filters 4.0.0-0ubuntu0.1 and proceed as described here:

Start system-config-printer, right-click the icon for your Brother HL-2060 ("BrotherLaser") and choose "Copy" to make a copy of your print queue, Enter a new name, like "BrotherLaser-debug". Then right-click the "BrotherLaser" again and choose "Properties". You should be in the "Settings" section of the properties dialog. There click the "Change" button in the "Make and Model" line. After loading the driver list system-config-printer lets you choose manufacturer, model, and driver. Go with the default settings by simply clicking "Forward" several times and "Apply" in the end. This should update your PPD. Try to print. It should work now.

Now you have two print queues. Your old one should be in a working state now for daily printing. The new one is a copy of the state of your old queue as it did not work. Use it for the further steps needed to fix this bug.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you please also attach your old PPD file (/etc/cups/ppd/BrotherLaser-debug.ppd)?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Carey Underwood, your problem is already reported as bug 321164, so please post your answer to my previous two postings there. Thanks.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Bill Gjestvang, please check whether the update of foomatic-filters in -proposed fixes your segmentation fault problem. Thanks.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have fixed the problem reported by Carey Underwood now both upstream (BZR rev 196) and for Intrepid. The Intrepid package I have uploaded to -proposed. It contains all fixes of the original SRU plus the fix for Carey's problem. A debdiff between the old and the new SRU (to add the fix of Carey's problem) is attached.

Revision history for this message
Martin Pitt (pitti) wrote :

This should be fixed by:

 foomatic-filters (4.0.0-0ubuntu0.2) intrepid-proposed; urgency=low
 .
   * debian/patches/foomatic-rip-segfault-on-jcl-merging.patch: Fixed
     segfault of the JCL merging process on long JCL command lists
     (LP: #321164). This was also reported on the Intrepid SRU
     4.0.0-0ubuntu0.1 in LP: #318614.

Can you please test if this version fixes the crash, and report back here? Thank you!

Revision history for this message
Martin Pitt (pitti) wrote :

There is an updated version which fixes a regression:

 foomatic-filters (4.0.0-0ubuntu0.2) intrepid-proposed; urgency=low
 .
   * debian/patches/foomatic-rip-segfault-on-jcl-merging.patch: Fixed
     segfault of the JCL merging process on long JCL command lists
     (LP: #321164). This was also reported on the Intrepid SRU
     4.0.0-0ubuntu0.1 in LP: #318614.

Can you please test this version instead/again, and report back here? Thank you!

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Carey Underwood tells in bug 321164 that his problem got fixed by foomatic-filters 4.0.0-0ubuntu0.2.

Revision history for this message
Martin Pitt (pitti) wrote :

Till uploaded a new version. Can you please test this again? (Sorry for all the trouble):

 foomatic-filters (4.0.0-0ubuntu3) intrepid-proposed; urgency=low
 .
   * debian/patches/02-foomatic-rip-binary-data-after-pjl-options-corrupted.patch:
     Binary job data got corrupted after reading PJL options from the driver
     output. This should finally fix LP: #318614.
 .
   * debian/patches/foomatic-rip-segfault-on-jcl-merging.patch,
     debian/patches/01-foomatic-rip-segfault-on-jcl-merging.patch: Renamed patch
     to make the patches getting applied in the correct order.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-filters - 4.0.0-0ubuntu3

---------------
foomatic-filters (4.0.0-0ubuntu3) intrepid-proposed; urgency=low

  * debian/patches/02-foomatic-rip-binary-data-after-pjl-options-corrupted.patch:
    Binary job data got corrupted after reading PJL options from the driver
    output. This should finally fix LP: #318614.

  * debian/patches/foomatic-rip-segfault-on-jcl-merging.patch,
    debian/patches/01-foomatic-rip-segfault-on-jcl-merging.patch: Renamed patch
    to make the patches getting applied in the correct order.

 -- Till Kamppeter <email address hidden> Mon, 2 Feb 2009 19:18:49 +0100

Changed in foomatic-filters:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.