scp-dbus-service.py crashed with SIGSEGV in _PyObject_GC_UNTRACK_impl()

Bug #1867480 reported by Hans van Wyk
56
This bug affects 9 people
Affects Status Importance Assigned to Milestone
System Config Printer
Fix Released
Unknown
python-cups (Ubuntu)
Fix Released
High
Till Kamppeter
system-config-printer (Ubuntu)
Invalid
High
Till Kamppeter

Bug Description

not sure what it is I just saw there was n bug - I am new to Linux

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: system-config-printer-common 1.5.12-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu20
Architecture: amd64
CurrentDesktop: Budgie:GNOME
Date: Sun Mar 15 02:22:17 2020
ExecutablePath: /usr/share/system-config-printer/scp-dbus-service.py
InstallationDate: Installed on 2020-03-14 (0 days ago)
InstallationMedia: Ubuntu-Budgie 20.04 LTS "Focal Fossa" - Alpha amd64 (20200312)
InterpreterPath: /usr/bin/python3.8
Lpstat: device for L365: dnssd://EPSON%20L365%20Series._pdl-datastream._tcp.local/
MachineType: Universal Exports Group Limited ITL 1403-I3 128
PackageArchitecture: all
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/L365.ppd'] failed with exit code 2: grep: /etc/cups/ppd/L365.ppd: Permission denied
ProcCmdline: /usr/bin/python3 /usr/share/system-config-printer/scp-dbus-service.py
ProcEnviron:
 LANGUAGE=en_ZA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-14-generic root=UUID=464449a8-03b3-4536-9504-744640ef4b27 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu1
PythonDetails: N/A
SegvAnalysis:
 Segfault happened at: 0x506f57: mov %rcx,(%rdx)
 PC (0x00506f57) ok
 source "%rcx" ok
 destination "(%rdx)" (0x00000004) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: system-config-printer
StacktraceTop:
 ?? ()
 ?? () from /usr/lib/python3/dist-packages/cups.cpython-38-x86_64-linux-gnu.so
 __nptl_deallocate_tsd () at pthread_create.c:301
 __nptl_deallocate_tsd () at pthread_create.c:256
 start_thread (arg=<optimized out>) at pthread_create.c:488
Title: scp-dbus-service.py crashed with SIGSEGV in __nptl_deallocate_tsd()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
dmi.bios.date: 04/29/2019
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 0429
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Default
dmi.board.vendor: Default
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnINSYDECorp.:bvr0429:bd04/29/2019:svnUniversalExportsGroupLimited:pnITL1403-I3128:pvrTBDbyOEM:rvnDefault:rnDefault:rvrType2-BoardVersion:cvnChassisManufacture:ct10:cvrChassisVersion:
dmi.product.family: Notepad
dmi.product.name: ITL 1403-I3 128
dmi.product.sku: ITL 1403-I3 128
dmi.product.version: TBD by OEM
dmi.sys.vendor: Universal Exports Group Limited
separator:

Revision history for this message
Hans van Wyk (hansjvanwyk) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _PyObject_GC_UNTRACK_impl (filename=0x6ccecb "../Objects/classobject.c", lineno=250, op=0x7fcd7a23e3c0) at ../Include/internal/pycore_object.h:69
 method_dealloc (im=0x7fcd7a23e3c0) at ../Objects/classobject.c:250
 _Py_DECREF (filename=<synthetic pointer>, lineno=541, op=<optimized out>) at /usr/include/python3.8/object.h:478
 _Py_XDECREF (op=<optimized out>) at /usr/include/python3.8/object.h:541
 destroy_TLS (value=0x7fcd5c002ad0) at cupsmodule.c:67

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 : scp-dbus-service.py crashed with SIGSEGV in __nptl_deallocate_tsd()

StacktraceTop:
 _PyObject_GC_UNTRACK_impl (filename=0x6ccecb "../Objects/classobject.c", lineno=250, op=0x7fcd7a23e3c0) at ../Include/internal/pycore_object.h:69
 method_dealloc (im=0x7fcd7a23e3c0) at ../Objects/classobject.c:250
 _Py_DECREF (filename=<synthetic pointer>, lineno=541, op=<optimized out>) at /usr/include/python3.8/object.h:478
 _Py_XDECREF (op=<optimized out>) at /usr/include/python3.8/object.h:541
 destroy_TLS (value=0x7fcd5c002ad0) at cupsmodule.c:67

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
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
summary: - scp-dbus-service.py crashed with SIGSEGV in __nptl_deallocate_tsd()
+ scp-dbus-service.py crashed with SIGSEGV in _PyObject_GC_UNTRACK_impl()
tags: removed: need-amd64-retrace
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Till, could you investigate this one? It's getting quite some error reports on focal

https://errors.ubuntu.com/problem/6d7bfea86d67824d5688cd0732fb5c85ab5e05bc

Changed in system-config-printer (Ubuntu):
importance: Medium → High
assignee: nobody → Till Kamppeter (till-kamppeter)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Changed in system-config-printer:
status: Unknown → New
tags: added: groovy
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Actually a python-cups problem, solved in the newest (2.0.1) upstream release:

https://github.com/OpenPrinting/system-config-printer/issues/176#issuecomment-627738281

Asked Debian maintainers to update python-cups so that it syncs into Ubuntu.

Changed in python-cups (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in system-config-printer (Ubuntu):
status: Confirmed → Invalid
Changed in system-config-printer:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Till, could you work on the python-cups fix (update or cherry pick of the commit) and the SRU for focal?

Changed in python-cups (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
tags: added: desktop-lts-wishlist
tags: added: need-amd64-retrace
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

python3-cups 2.0.1 is already in Groovy.

Changed in python-cups (Ubuntu):
status: Triaged → Fix Released
tags: removed: need-amd64-retrace
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.