Bug 324112

Summary: Printer applet: crash on login
Product: [I don't know] kde Reporter: Dave Gilbert <gilbertd+kde>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: cfeck, rcampos03
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Dave Gilbert 2013-08-27 11:07:23 UTC
Application: python2 (1.9)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.11.0-3-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
This happens during login; has happened for the last few days.
I don't have any printer connected

The crash can be reproduced every time.

-- Backtrace:
Application: Printer Applet (python2), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  indexOfMethodRelative<4> (normalizeStringData=<optimized out>, method=0x7fae9e456fd2 "aboutToQuit()", baseObject=0x7fff677d7750) at kernel/qmetaobject.cpp:525
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=baseObject@entry=0x7fff677d7750, signal=signal@entry=0x7fae9e456fd2 "aboutToQuit()", normalizeStringData=normalizeStringData@entry=false) at kernel/qmetaobject.cpp:628
#8  0x00007faea65c4b64 in QObject::connect (sender=0x25909e0, signal=0x7fae9e456fd2 "aboutToQuit()", signal@entry=0x7fae9e456fd1 "2aboutToQuit()", receiver=0x2ba9140, method=method@entry=0x7fae9e460705 "1_k_shuttingDown()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2553
#9  0x00007fae9e3a53f6 in KMainWindowPrivate::init (this=this@entry=0x2bae4e0, _q=_q@entry=0x2ba9140) at ../../kdeui/widgets/kmainwindow.cpp:256
#10 0x00007fae9e3a5923 in KMainWindow::KMainWindow (this=0x2ba9140, dd=..., parent=<optimized out>, f=...) at ../../kdeui/widgets/kmainwindow.cpp:226
#11 0x00007fae9e3df41a in KXmlGuiWindow::KXmlGuiWindow (this=0x2ba9140, __vtt_parm=0x7fae9f15dee8 <VTT for sipKXmlGuiWindow+8>, parent=0x0, f=..., __in_chrg=<optimized out>) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:89
#12 0x00007fae9ea390bd in sipKXmlGuiWindow::sipKXmlGuiWindow (this=this@entry=0x2ba9140, a0=0x0, a1=a1@entry=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at sip/kdeui/sipkdeuipart1.cpp:5520
#13 0x00007fae9ea39274 in init_KXmlGuiWindow (sipSelf=0x28c0c30, sipArgs=<optimized out>, sipKwds=<optimized out>, sipUnused=<optimized out>, sipOwner=<optimized out>, sipParseErr=<optimized out>) at sip/kdeui/sipkdeuipart1.cpp:9826
#14 0x00007faea55bb87a in sipSimpleWrapper_init (self=self@entry=0x28c0c30, args=args@entry=0x7faea8246050, kwds=kwds@entry=0x0) at /build/buildd/sip4-4.15/siplib/siplib.c:9481
#15 0x00000000004e854b in type_call.25489 (type=<optimized out>, args=0x7faea8246050, kwds=0x0) at ../Objects/typeobject.c:745
#16 0x00000000004fe720 in PyObject_Call (kw=0x0, arg=0x7faea8246050, func=0x28849c0) at ../Objects/abstract.c:2529
#17 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7fff677d7b30, func=0x28849c0) at ../Python/ceval.c:4239
#18 call_function (oparg=<optimized out>, pp_stack=0x7fff677d7b30) at ../Python/ceval.c:4044
#19 PyEval_EvalFrameEx (f=f@entry=0x2b999f0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#20 0x000000000052c47a in PyEval_EvalCodeEx (closure=<optimized out>, defcount=<optimized out>, defs=0x29773a8, kwcount=<optimized out>, kws=<optimized out>, argcount=45718000, args=<optimized out>, locals=0x0, globals=<optimized out>, co=<optimized out>) at ../Python/ceval.c:3253
#21 function_call (func=func@entry=0x2930d70, arg=arg@entry=0x2977490, kw=kw@entry=0x0) at ../Objects/funcobject.c:526
#22 0x00000000004e20a4 in PyObject_Call (kw=0x0, arg=0x2977490, func=0x2930d70) at ../Objects/abstract.c:2529
#23 instancemethod_call.8798 (func=0x2930d70, arg=0x2977490, kw=0x0) at ../Objects/classobject.c:2602
#24 0x00000000004e68a6 in PyObject_Call (func=0x7faea8226c80, arg=<optimized out>, kw=<optimized out>) at ../Objects/abstract.c:2529
#25 0x00000000004cbaaa in slot_tp_init.25825 (self=self@entry=0x28c0b00, args=args@entry=0x7faea8246050, kwds=kwds@entry=0x0) at ../Objects/typeobject.c:5692
#26 0x00000000004e854b in type_call.25489 (type=<optimized out>, args=0x7faea8246050, kwds=0x0) at ../Objects/typeobject.c:745
#27 0x00000000004fe720 in PyObject_Call (kw=0x0, arg=0x7faea8246050, func=0x2964a20) at ../Objects/abstract.c:2529
#28 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7fff677d80c0, func=0x2964a20) at ../Python/ceval.c:4239
#29 call_function (oparg=<optimized out>, pp_stack=0x7fff677d80c0) at ../Python/ceval.c:4044
#30 PyEval_EvalFrameEx (f=f@entry=0x245bb50, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#31 0x000000000056c414 in PyEval_EvalCodeEx (co=0x2237e30, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#32 0x00000000005ba3b2 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:667
#33 0x00000000005abe1b in run_mod.42564 (mod=<optimized out>, filename=<optimized out>, globals=0x215a690, locals=0x215a690, flags=<optimized out>, arena=<optimized out>) at ../Python/pythonrun.c:1365
#34 0x000000000045270b in PyRun_FileExFlags (fp=fp@entry=0x226c240, filename=filename@entry=0x7fff677d99c5 "/usr/bin/printer-applet", start=start@entry=257, globals=globals@entry=0x215a690, locals=locals@entry=0x215a690, closeit=closeit@entry=1, flags=flags@entry=0x7fff677d8300) at ../Python/pythonrun.c:1351
#35 0x0000000000452f05 in PyRun_SimpleFileExFlags (fp=fp@entry=0x226c240, filename=<optimized out>, filename@entry=0x7fff677d99c5 "/usr/bin/printer-applet", closeit=closeit@entry=1, flags=flags@entry=0x7fff677d8300) at ../Python/pythonrun.c:943
#36 0x0000000000453001 in PyRun_AnyFileExFlags (fp=fp@entry=0x226c240, filename=filename@entry=0x7fff677d99c5 "/usr/bin/printer-applet", closeit=closeit@entry=1, flags=flags@entry=0x7fff677d8300) at ../Python/pythonrun.c:747
#37 0x0000000000453b6a in Py_Main (argc=<optimized out>, argv=0x7fff677d84b8) at ../Modules/main.c:640
#38 0x00007faea71b8de5 in __libc_start_main (main=0x453c28 <main>, argc=2, ubp_av=0x7fff677d84b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff677d84a8) at libc-start.c:260
#39 0x000000000057a701 in _start ()

Possible duplicates by query: bug 307476, bug 293426.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-08-27 17:18:02 UTC
Please report this to the bug tracker of your distribution. Since KDE 4.10, we switched to C++ based printer-manager. The old Python-based printer-applet should no longer be used.

If you find bugs in the new printer-manager, or missing features (e.g. compared to printer-applet), please report those.
Comment 2 Dave Gilbert 2013-08-30 15:19:18 UTC
Ok, thanks Christoph.
Comment 3 rcampos03 2013-11-12 23:23:02 UTC
Created attachment 83537 [details]
New crash information added by DrKonqi

python2 (1.8) on KDE Platform 4.10.5 using Qt 4.8.6

- What I was doing when the application crashed:

I only had reboot the system, when it stated, I logged and when I clicked the initial button had the crash.

-- Backtrace (Reduced):
#6  indexOfMethodRelative<4> (normalizeStringData=<optimized out>, method=0x7f9a65146a52 "aboutToQuit()", baseObject=0x7fff84096f70) at kernel/qmetaobject.cpp:525
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=baseObject@entry=0x7fff84096f70, signal=signal@entry=0x7f9a65146a52 "aboutToQuit()", normalizeStringData=normalizeStringData@entry=false) at kernel/qmetaobject.cpp:628
#8  0x00007f9a6d119614 in QObject::connect (sender=0x1a8a7a0, signal=0x7f9a65146a52 "aboutToQuit()", signal@entry=0x7f9a65146a51 "2aboutToQuit()", receiver=0x1ce82f0, method=method@entry=0x7f9a65150185 "1_k_shuttingDown()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2557
#9  0x00007f9a650946d6 in KMainWindowPrivate::init (this=this@entry=0x1cfc370, _q=_q@entry=0x1ce82f0) at ../../kdeui/widgets/kmainwindow.cpp:256
#10 0x00007f9a65094c03 in KMainWindow::KMainWindow (this=0x1ce82f0, dd=..., parent=<optimized out>, f=...) at ../../kdeui/widgets/kmainwindow.cpp:226