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

Bug#961345: marked as done (cups: daemon crashes with invalid free())



Your message dated Sat, 28 Nov 2020 10:00:03 +0100
with message-id <2123588.iZASKD2KPV@odyx.org>
and subject line Re: Bug#961345: cups: daemon crashes with invalid free()
has caused the Debian Bug report #961345,
regarding cups: daemon crashes with invalid free()
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
961345: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961345
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 2.2.10-6+deb10u3
Severity: normal

After upgrading to Debian 10, the CUPS daemon keeps crashing when I try to
print. This did not happen with the version in Debian 9.

$ journalctl -u cups
-- Logs begin at Thu 2020-05-21 14:59:37 CET, end at Sat 2020-05-23 14:52:11 CET. --
maj 21 14:59:38 perkele systemd[1]: Started CUPS Scheduler.
maj 21 19:47:12 perkele cupsd[931]: free(): invalid pointer
maj 21 19:47:12 perkele systemd[1]: cups.service: Main process exited, code=killed, status=6/ABRT
maj 21 19:47:12 perkele systemd[1]: cups.service: Failed with result 'signal'.
maj 21 19:47:13 perkele systemd[1]: cups.service: Service RestartSec=100ms expired, scheduling restart.
maj 21 19:47:13 perkele systemd[1]: cups.service: Scheduled restart job, restart counter is at 1.
maj 21 19:47:13 perkele systemd[1]: Stopped CUPS Scheduler.
maj 21 19:47:13 perkele systemd[1]: Started CUPS Scheduler.
maj 21 23:00:06 perkele systemd[1]: Stopping CUPS Scheduler...
maj 21 23:00:06 perkele systemd[1]: cups.service: Succeeded.
maj 21 23:00:06 perkele systemd[1]: Stopped CUPS Scheduler.
maj 21 23:00:06 perkele systemd[1]: Started CUPS Scheduler.
maj 22 23:00:07 perkele systemd[1]: Stopping CUPS Scheduler...
maj 22 23:00:07 perkele systemd[1]: cups.service: Succeeded.
maj 22 23:00:07 perkele systemd[1]: Stopped CUPS Scheduler.
maj 22 23:00:07 perkele systemd[1]: Started CUPS Scheduler.
maj 23 14:46:08 perkele cupsd[32076]: free(): invalid pointer
maj 23 14:46:08 perkele systemd[1]: cups.service: Main process exited, code=killed, status=6/ABRT
maj 23 14:46:38 perkele systemd[1]: cups.service: Failed with result 'signal'.
maj 23 14:46:39 perkele systemd[1]: cups.service: Service RestartSec=100ms expired, scheduling restart.
maj 23 14:46:39 perkele systemd[1]: cups.service: Scheduled restart job, restart counter is at 1.
maj 23 14:46:39 perkele systemd[1]: Stopped CUPS Scheduler.
maj 23 14:46:39 perkele systemd[1]: Started CUPS Scheduler.
maj 23 14:47:35 perkele cupsd[5698]: free(): invalid pointer
maj 23 14:47:35 perkele systemd[1]: cups.service: Main process exited, code=killed, status=6/ABRT
maj 23 14:47:35 perkele systemd[1]: cups.service: Failed with result 'signal'.
maj 23 14:47:35 perkele systemd[1]: cups.service: Service RestartSec=100ms expired, scheduling restart.
maj 23 14:47:35 perkele systemd[1]: cups.service: Scheduled restart job, restart counter is at 2.
maj 23 14:47:35 perkele systemd[1]: Stopped CUPS Scheduler.
maj 23 14:47:35 perkele systemd[1]: Started CUPS Scheduler.
maj 23 14:47:38 perkele cupsd[5797]: free(): invalid pointer
maj 23 14:47:38 perkele systemd[1]: cups.service: Main process exited, code=killed, status=6/ABRT
maj 23 14:48:02 perkele systemd[1]: cups.service: Failed with result 'signal'.
maj 23 14:48:03 perkele systemd[1]: cups.service: Service RestartSec=100ms expired, scheduling restart.
maj 23 14:48:03 perkele systemd[1]: cups.service: Scheduled restart job, restart counter is at 3.
maj 23 14:48:03 perkele systemd[1]: Stopped CUPS Scheduler.
maj 23 14:48:03 perkele systemd[1]: Started CUPS Scheduler.
maj 23 14:49:12 perkele cupsd[5838]: free(): invalid pointer
maj 23 14:49:12 perkele systemd[1]: cups.service: Main process exited, code=killed, status=6/ABRT
maj 23 14:50:42 perkele systemd[1]: cups.service: State 'stop-sigterm' timed out. Killing.
maj 23 14:50:42 perkele systemd[1]: cups.service: Killing process 5845 (pdftops) with signal SIGKILL.
maj 23 14:50:42 perkele systemd[1]: cups.service: Killing process 5846 (http) with signal SIGKILL.
maj 23 14:50:42 perkele systemd[1]: cups.service: Killing process 5850 (pstops) with signal SIGKILL.
maj 23 14:50:42 perkele systemd[1]: cups.service: Failed with result 'signal'.
maj 23 14:50:42 perkele systemd[1]: cups.service: Service RestartSec=100ms expired, scheduling restart.
maj 23 14:50:42 perkele systemd[1]: cups.service: Scheduled restart job, restart counter is at 4.
maj 23 14:50:42 perkele systemd[1]: Stopped CUPS Scheduler.
maj 23 14:50:42 perkele systemd[1]: Started CUPS Scheduler.
$ cupsctl
_debug_logging=0
_remote_admin=0
_remote_any=0
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=dnssd
DefaultAuthType=Basic
JobPrivateAccess=default
JobPrivateValues=default
MaxLogSize=0
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
WebInterface=Yes

-- System Information:
Debian Release: 10.4
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=sv, LC_CTYPE=sv (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.utf8), LANGUAGE=sv_SE.utf8:sv:nb_NO.utf8:nb:da_DK.utf8:da:nn_NO.utf8:nn:en_GB.utf8:en_US.utf8:en (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups depends on:
ii  cups-client            2.2.10-6+deb10u3
ii  cups-common            2.2.10-6+deb10u3
ii  cups-core-drivers      2.2.10-6+deb10u3
ii  cups-daemon            2.2.10-6+deb10u3
ii  cups-filters           1.21.6-5
ii  cups-ppdc              2.2.10-6+deb10u3
ii  cups-server-common     2.2.10-6+deb10u3
ii  debconf [debconf-2.0]  1.5.71
ii  ghostscript            9.27~dfsg-2+deb10u3
ii  libavahi-client3       0.7-4+b1
ii  libavahi-common3       0.7-4+b1
ii  libc6                  2.28-10
ii  libcups2               2.2.10-6+deb10u3
ii  libcupsimage2          2.2.10-6+deb10u3
ii  libgcc1                1:8.3.0-6
ii  libstdc++6             8.3.0-6
ii  libusb-1.0-0           2:1.0.22-2
ii  poppler-utils          0.71.0-5
ii  procps                 2:3.3.15-2

Versions of packages cups recommends:
ii  avahi-daemon                     0.7-4+b1
ii  colord                           1.4.3-4
ii  cups-filters [ghostscript-cups]  1.21.6-5
ii  printer-driver-gutenprint        5.3.1-7

Versions of packages cups suggests:
ii  cups-bsd                                   2.2.10-6+deb10u3
pn  cups-pdf                                   <none>
ii  foomatic-db-compressed-ppds [foomatic-db]  20181217-2
ii  hplip                                      3.18.12+dfsg0-2
ii  printer-driver-hpcups                      3.18.12+dfsg0-2
pn  smbclient                                  <none>
ii  udev                                       241-7~deb10u4

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: lpd, socket, usb, snmp, dnssd

--- End Message ---
--- Begin Message ---
Version: 2.3.3op1-1

Le jeudi, 3 septembre 2020, 14.42:20 h CET Bernhard Übelacker a écrit :
> Am 02.09.20 um 10:20 schrieb Ronny Adsetts:
> > Hi Bernhard,
> > 
> > 
> > Good news. I don't see any "invalid free" reports.
> > 
> > Can I thank you again for your time and energy in solving this. It really
> > is appreciated.
> > 
> > Let me know if there's anything I can do to help get this patch
> > upstreamed.
> > 
> > Ronny
> 
> Hello Ronny,
> that's great, I have opened an issue upstream,
> let's see what they think.

Thanks a lot Ronny, Bernhard and Peter for the followup and hunt on this bug!

Thanks to the upstream report, this got fixed in the OpenPrinting repository, 
was made part of the 2.3.3op1 release, and reached unstable yesterday.

I'll see whether I can backport this for a future stable update.

Best  regards,
-- 
    OdyX

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: