scp-dbus-service.py crashed with SIGSEGV
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-cups (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
I printed something, afterwards I wanted to print again, but the printer did not receive the print job, so I cancelled the job and tried to start it yet again. Unfortunately it did not resolve the situation.
So I cancelled the print job and while at it, I changed the driver from driverless to hpcups to allow me a more precise paper selection.
Afterwards I succeeded to print. Somewhere in the middle of all that a crash happened (this is the relevant excerpt of the .crash file after running apport-retrace):
SegvAnalysis:
Segfault happened at: 0x506bd7: mov %rcx,(%rdx)
PC (0x00506bd7) 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-
Stacktrace:
#0 0x0000000000506bd7 in ()
#1 0x00007fde3b6819f5 in _Py_DECREF (filename=
tls = 0x7fde30002ad0
#2 _Py_XDECREF (op=<optimized out>) at /usr/include/
tls = 0x7fde30002ad0
#3 destroy_TLS (value=
tls = 0x7fde30002ad0
#4 0x00007fde4c4795a1 in __nptl_
data = <optimized out>
level2 = 0x7fde3a3aba10
idx = <optimized out>
cnt = 0
#5 0x00007fde4c47a62a in __nptl_
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592436393728, -34991836232277
#6 start_thread (arg=<optimized out>) at pthread_
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592436393728, -34991836232277
#7 0x00007fde4c5b6103 in clone () at ../sysdeps/
StacktraceAddre
StacktraceSource:
#0 0x0000000000506bd7 in ()
#1 0x00007fde3b6819f5 in _Py_DECREF (filename=
[Error: object.h was not found in source tree]
#2 _Py_XDECREF (op=<optimized out>) at /usr/include/
[Error: object.h was not found in source tree]
#3 destroy_TLS (value=
[Error: cupsmodule.c was not found in source tree]
#4 0x00007fde4c4795a1 in __nptl_
[Error: pthread_create.c was not found in source tree]
#5 0x00007fde4c47a62a in __nptl_
[Error: pthread_create.c was not found in source tree]
#6 start_thread (arg=<optimized out>) at pthread_
[Error: pthread_create.c was not found in source tree]
#7 0x00007fde4c5b6103 in clone () at ../sysdeps/
[Error: clone.S was not found in source tree]
StacktraceTop:
()
_Py_DECREF (filename=
_Py_XDECREF (op=<optimized out>) at /usr/include/
destroy_TLS (value=
__nptl_
Tags: focal wayland-session
ThreadStacktrace:
.
Thread 5 (Thread 0x7fde489b8700 (LWP 55391)):
warning: Unexpected size of section `.reg-xstate/55391' in core file.
#0 0x00007fde4c5a996f in __GI___poll (fds=0x233d3a0, nfds=1, timeout=-1) at ../sysdeps/
resultvar = 184467440737095
#1 0x00007fde4b8c21ae in g_main_context_poll (priority=
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7fde4b8d1f10 <g_poll>
timeout = -1
some_ready = <optimized out>
nfds = 1
fds = 0x233d3a0
#2 g_main_
timeout = -1
some_ready = <optimized out>
nfds = 1
fds = 0x233d3a0
#3 0x00007fde4b8c22e3 in g_main_
retval = <optimized out>
#4 0x00007fde4a53699d in () at /usr/lib/
#5 0x00007fde4b8eb931 in g_thread_proxy (data=0x2341120) at ../../.
thread = 0x2341120
__func__ = "g_thread_proxy"
#6 0x00007fde4c47a609 in start_thread (arg=<optimized out>) at pthread_
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592677619456, -34991836232277
#7 0x00007fde4c5b6103 in clone () at ../sysdeps/
.
Thread 4 (Thread 0x7fde491c4700 (LWP 55390)):
warning: Unexpected size of section `.reg-xstate/55390' in core file.
#0 0x00007fde4c5a996f in __GI___poll (fds=0x7fde3c01
resultvar = 184467440737095
#1 0x00007fde4b8c21ae in g_main_context_poll (priority=
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7fde4b8d1f10 <g_poll>
timeout = -1
some_ready = <optimized out>
nfds = 2
fds = 0x7fde3c0101e0
#2 g_main_
timeout = -1
some_ready = <optimized out>
nfds = 2
fds = 0x7fde3c0101e0
#3 0x00007fde4b8c2533 in g_main_loop_run (loop=0x7fde3c0
__func__ = "g_main_loop_run"
#4 0x00007fde4b702eda in gdbus_shared_
data = 0x7fde3c00e1f0
#5 0x00007fde4b8eb931 in g_thread_proxy (data=0x7fde3c0
thread = 0x7fde3c002000
__func__ = "g_thread_proxy"
#6 0x00007fde4c47a609 in start_thread (arg=<optimized out>) at pthread_
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592686057216, -34991836232277
#7 0x00007fde4c5b6103 in clone () at ../sysdeps/
.
Thread 3 (Thread 0x7fde4c2c8740 (LWP 55387)):
warning: Unexpected size of section `.reg-xstate/55387' in core file.
#0 0x00000000004ec3ca in ()
#1 0x000000000066babb in _PyGC_CollectNoFail ()
#2 0x000000000067dd60 in PyImport_Cleanup ()
#3 0x0000000000678450 in Py_FinalizeEx ()
#4 0x00000000006aeab9 in Py_RunMain ()
#5 0x00000000006aed29 in Py_BytesMain ()
#6 0x00007fde4c4bb0b3 in __libc_start_main (main=0x4ebd20 <main>, argc=2, argv=0x7ffd0fc0
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {7007552, -34991836232277
#7 0x00000000005f62ee in _start ()
.
Thread 2 (Thread 0x7fde4a1ef700 (LWP 55388)):
warning: Unexpected size of section `.reg-xstate/55388' in core file.
#0 0x00007fde4c5a996f in __GI___poll (fds=0x2329d90, nfds=1, timeout=-1) at ../sysdeps/
resultvar = 184467440737095
#1 0x00007fde4b8c21ae in g_main_context_poll (priority=
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7fde4b8d1f10 <g_poll>
timeout = -1
some_ready = <optimized out>
nfds = 1
fds = 0x2329d90
#2 g_main_
timeout = -1
some_ready = <optimized out>
nfds = 1
fds = 0x2329d90
#3 0x00007fde4b8c22e3 in g_main_
retval = <optimized out>
#4 0x00007fde4b8c2331 in glib_worker_main (data=<optimized out>) at ../../.
#5 0x00007fde4b8eb931 in g_thread_proxy (data=0x231a6a0) at ../../.
thread = 0x231a6a0
__func__ = "g_thread_proxy"
#6 0x00007fde4c47a609 in start_thread (arg=<optimized out>) at pthread_
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592703010560, -34991836232277
#7 0x00007fde4c5b6103 in clone () at ../sysdeps/
.
Thread 1 (Thread 0x7fde3a3ab700 (LWP 55392)):
#0 0x0000000000506bd7 in ()
#1 0x00007fde3b6819f5 in _Py_DECREF (filename=
tls = 0x7fde30002ad0
#2 _Py_XDECREF (op=<optimized out>) at /usr/include/
tls = 0x7fde30002ad0
#3 destroy_TLS (value=
tls = 0x7fde30002ad0
#4 0x00007fde4c4795a1 in __nptl_
data = <optimized out>
level2 = 0x7fde3a3aba10
idx = <optimized out>
cnt = 0
#5 0x00007fde4c47a62a in __nptl_
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592436393728, -34991836232277
#6 start_thread (arg=<optimized out>) at pthread_
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140592436393728, -34991836232277
#7 0x00007fde4c5b6103 in clone () at ../sysdeps/
| tags: | added: focal |
| affects: | system-config-printer (Ubuntu) → python-cups (Ubuntu) |
| Changed in python-cups (Ubuntu): | |
| status: | Fix Committed → Fix Released |

Thanks for the hint to https:/ /github. com/OpenPrintin g/system- config- printer/ issues/ 176. If this is actually the cause of your problem an updated of the python3-cups (pycups) package should solve the problem. I have synced version 2.0.1 from Debian into Ubuntu Groovy (20.10) now. As soon as it arrives please test.