implicitclass crashed with SIGABRT in __malloc_assert()

Bug #1845548 reported by Ken VanDine
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
cups-filters (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This crashed when attempting to print from firefox

ProblemType: Crash
DistroRelease: Ubuntu 19.10
Package: cups-browsed 1.25.6-0ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
Uname: Linux 5.3.0-10-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Thu Sep 26 14:23:48 2019
ExecutablePath: /usr/lib/cups/backend/implicitclass
InstallationDate: Installed on 2019-09-11 (14 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
Lpstat: device for HP_OfficeJet_Pro_8720_BA2C6F_: implicitclass://HP_OfficeJet_Pro_8720_BA2C6F_/
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0bda:c024 Realtek Semiconductor Corp. Bluetooth Radio
 Bus 001 Device 003: ID 04ca:7070 Lite-On Technology Corp. Integrated Camera
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 4810CT0100
Papersize: letter
PpdFiles: HP_OfficeJet_Pro_8720_BA2C6F_: OfficeJet Pro 8720 - IPP Everywhere
ProcCmdline: implicitclass://HP_OfficeJet_Pro_8720_BA2C6F_/ 2 ken VanDine\ Family\ Mail\ -\ Your\ Crucial.com\ Return\ Instructions 1 ColorModel=RGB\ cupsPrintQuality=Normal\ MediaType=Stationery\ number-up=1\ noCollate\ PageSize=Letter\ Duplex=None\ job-uuid=urn:uuid:011f0db5-151a-337b-78c0-2af327efcc22\ cups-browsed\ cups-browsed-dest-printer=\\"1\\\ ipps://HP1062E5BA2C6F.local:443/ipp/print\\\ raster\\\ 300dpi\\"\ job-originating-host-name=localhost\ date-time-at-creation=\ date-time-at-processing=\ time-at-creation=1569522228\ time-at-processing=1569522228\ print-quality=4
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-10-generic root=UUID=f9d6b524-56b4-475b-a2a2-97e20145f088 ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: cups-filters
StacktraceTop:
 __malloc_assert (assertion=assertion@entry=0x7f9b1a1512d8 "(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)", file=file@entry=0x7f9b1a14d43f "malloc.c", line=line@entry=2379, function=function@entry=0x7f9b1a151a60 <__PRETTY_FUNCTION__.13032> "sysmalloc") at malloc.c:298
 sysmalloc (nb=nb@entry=384, av=av@entry=0x7f9b1a180b80 <main_arena>) at malloc.c:2379
 _int_malloc (av=av@entry=0x7f9b1a180b80 <main_arena>, bytes=bytes@entry=375) at malloc.c:4141
 __GI___libc_malloc (bytes=bytes@entry=375) at malloc.c:3058
 __GI___strdup (s=0x55ed9340a050 "ColorModel=RGB cupsPrintQuality=Normal MediaType=Stationery number-up=1 noCollate PageSize=Letter Duplex=None job-uuid=urn:uuid:011f0db5-151a-337b-78c0-2af327efcc22 cups-browsed job-originating-host-n"...) at strdup.c:42
Title: implicitclass crashed with SIGABRT in __malloc_assert()
UpgradeStatus: Upgraded to eoan on 2019-09-12 (14 days ago)
UserGroups:

dmi.bios.date: 09/07/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: R0RET08L (0.08 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4810CT0100
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrR0RET08L(0.08):bd09/07/2017:svnLENOVO:pn4810CT0100:pvrThinkPad133rdGen:rvnLENOVO:rn4810CT0100:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad 13 3rd Gen
dmi.product.name: 4810CT0100
dmi.product.sku: LENOVO_MT_4810_BU_Think_FM_ThinkPad 13 3rd Gen
dmi.product.version: ThinkPad 13 3rd Gen
dmi.sys.vendor: LENOVO
separator:

Revision history for this message
Ken VanDine (ken-vandine) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 raise () from /tmp/apport_sandbox_wdms9auk/lib/x86_64-linux-gnu/libc.so.6
 abort () from /tmp/apport_sandbox_wdms9auk/lib/x86_64-linux-gnu/libc.so.6
 ?? () from /tmp/apport_sandbox_wdms9auk/lib/x86_64-linux-gnu/libc.so.6
 ?? () from /tmp/apport_sandbox_wdms9auk/lib/x86_64-linux-gnu/libc.so.6
 ?? () from /tmp/apport_sandbox_wdms9auk/lib/x86_64-linux-gnu/libc.so.6

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: added: apport-failed-retrace
tags: removed: need-amd64-retrace
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem was already identified to be caused by a recent bug fix commit and a fix is on the way.

Changed in cups-filters (Ubuntu):
status: New → In Progress
Revision history for this message
Paul Menzel (paulmenzel) wrote :

The same issues exists with cups-filters 1.25.6 in Debian Sid/unstable.

From `/var/log/cups/error_log`:

```
D [01/Oct/2019:11:15:54 +0200] [Job 168] Removing cups-browsed-dest-printer option from argumentsmalloc.c:2389: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)\' failed.
D [01/Oct/2019:11:15:54 +0200] [Job 168] PID 14123 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [01/Oct/2019:11:15:54 +0200] [Job 168] PID 14124 (/usr/lib/cups/backend/implicitclass) crashed on signal 6.
D [01/Oct/2019:11:15:54 +0200] [Job 168] Hint: Try setting the LogLevel to "debug" to find out more.
D [01/Oct/2019:11:15:54 +0200] [Job 168] Backend returned status -134 (crashed)
```

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

I have uploaded a possible fix to my PPA now:

https://launchpad.net/~till-kamppeter/+archive/ubuntu/ppa/+packages

cups-filters_1.25.6+git20191002-0ubuntu1~ppa1

Anyone who suffers this problem, please test.

Note that we could not reproduce the crash and this is simply an attempt to fix it.

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

This bug was fixed in the package cups-filters - 1.25.7-0ubuntu1

---------------
cups-filters (1.25.7-0ubuntu1) eoan; urgency=medium

  * New upstream bug fix release
    - Several bug fixes in pdftoraster (crash, monochrome jobs, ...,
      LP: #1845286)
    - Fixes on printing intp queues generated by cups-browsed, especially
      also Apple Raster output (LP: #1845286)
    - Crash in implicitclass backend (LP: #1845548, upstream issue #162).
    - Added 1 new symbol to libcupsfilters1

 -- Till Kamppeter <email address hidden> Mon, 07 Oct 2019 16:38:58 +0200

Changed in cups-filters (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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