Summary: | (patch) printer-applet crash booting start [PyDict_GetItem, PyQt/SIP, QApplicationPrivate::notify_helper] | ||
---|---|---|---|
Product: | [Unmaintained] printer-applet | Reporter: | Buschert <hbuschert> |
Component: | general | Assignee: | Jonathan Riddell <jr> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | adrianots, andresbajotierra, andy.reddy, bruno, cjgermany, claudio_ps06, drankinatty, e.kunig, gorgonz, janowski.m, kde, kde, linux, madlena.nicola, mecirt, mwilhelm, nicco.ts, null, ralf, regi.hops, swestrup, tim_wootton, tom |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | crash fix |
Description
Buschert
2009-10-01 13:58:03 UTC
*** Bug 209038 has been marked as a duplicate of this bug. *** *** Bug 209137 has been marked as a duplicate of this bug. *** Bug 209137 got more information too. This could be an OpenSuse issue (4 reports for OpenSuSe) *** Bug 209157 has been marked as a duplicate of this bug. *** (In reply to comment #3) > Bug 209137 got more information too. Good, Now I know how you reference duplicate bug reports that contain additional information. I always worry when I see a bug marked as a duplicate that somehow the attachments I have submitted will be lost and never looked at. Now I know "got more information too." Hopefully the python debug files I submitted will help. If you need those as test cases from other users, then make sure they know they will need to change the permissions on /usr/share/kde4/apps/printer-applet/ to make it writable by the user unless running: python -v -d /usr/bin/printer-applet as root. (sudo may work) *** Bug 209287 has been marked as a duplicate of this bug. *** Same here after update today (4.10.09). printer-applet crashes reproduceable on login/KDE-session-start. Application: Drucker-Miniprogramm (printer-applet), signal: Segmentation fault [KCrash Handler] #6 0xb7f91e87 in PyDict_GetItem () from /usr/lib/libpython2.6.so.1.0 #7 0xb7b16d20 in ?? () from /usr/lib/python2.6/site-packages/sip.so #8 0xb7c5240f in ?? () from /usr/lib/python2.6/site-packages/PyQt4/QtCore.so #9 0xb655f7fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #10 0xb6567aee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #11 0xb52fa72d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #12 0xb58e23ee in sipKApplication::notify(QObject*, QEvent*) () from /usr/lib/python2.6/site-packages/PyKDE4/kdeui.so #13 0xb7a0916b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #14 0xb7a2131e in QCoreApplication::sendEvent(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #15 0xb7a18c1a in QObjectPrivate::setParent_helper(QObject*) () from /usr/lib/libQtCore.so.4 #16 0xb7a18cf7 in QObject::setParent(QObject*) () from /usr/lib/libQtCore.so.4 #17 0xb7a1d2c4 in QObject::QObject(QObject*) () from /usr/lib/libQtCore.so.4 #18 0xb7a249d9 in QTimer::QTimer(QObject*) () from /usr/lib/libQtCore.so.4 #19 0xb7b8e939 in ?? () from /usr/lib/python2.6/site-packages/PyQt4/QtCore.so #20 0xb7b8ea14 in ?? () from /usr/lib/python2.6/site-packages/PyQt4/QtCore.so #21 0xb7b16127 in ?? () from /usr/lib/python2.6/site-packages/sip.so #22 0xb7fad9b5 in ?? () from /usr/lib/libpython2.6.so.1.0 #23 0xb7f5cc1c in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #24 0xb7fe7d20 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #25 0xb7fecd7f in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #26 0xb7f81a29 in ?? () from /usr/lib/libpython2.6.so.1.0 #27 0xb7f5cc1c in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #28 0xb7f6a9fe in ?? () from /usr/lib/libpython2.6.so.1.0 #29 0xb7f5cc1c in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #30 0xb7fafc55 in ?? () from /usr/lib/libpython2.6.so.1.0 #31 0xb7fad9b5 in ?? () from /usr/lib/libpython2.6.so.1.0 #32 0xb7f5cc1c in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #33 0xb7fe7d20 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #34 0xb7fecd7f in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #35 0xb7fe4c73 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0 #36 0xb8006adc in ?? () from /usr/lib/libpython2.6.so.1.0 #37 0xb8006b9b in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0 #38 0xb800758f in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.6.so.1.0 #39 0xb8007818 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.6.so.1.0 #40 0xb8013e12 in Py_Main () from /usr/lib/libpython2.6.so.1.0 #41 0x08048692 in main () Created attachment 37379 [details]
crash fix
This patch fixes the problem for me - apparently the crash is caused by QTimer(self) being called in a constructor, although I do not know why.
Ok to commit?
Tomas Mecir schrieb: > https://bugs.kde.org/show_bug.cgi?id=209095 > > > > > > --- Comment #9 from Tomas Mecir <mecirt gmail com> 2009-10-05 12:14:04 --- > Created an attachment (id=37379) > --> (http://bugs.kde.org/attachment.cgi?id=37379) > crash fix > > This patch fixes the problem for me - apparently the crash is caused by > QTimer(self) being called in a constructor, although I do not know why. > > Ok to commit? > > After updating file /usr/share/kde4/apps/printer-applet/printer-applet.py with (http://bugs.kde.org/attachment.cgi?id=37379) PC boots without error message. OK! Regards H. Buschert Same here. :-) Patch from comment #9 did it. THX *** Bug 209567 has been marked as a duplicate of this bug. *** *** Bug 209543 has been marked as a duplicate of this bug. *** *** Bug 209658 has been marked as a duplicate of this bug. *** *** Bug 210046 has been marked as a duplicate of this bug. *** *** Bug 210130 has been marked as a duplicate of this bug. *** *** Bug 210290 has been marked as a duplicate of this bug. *** Hi Dario, I've just try the patch. Work here also ... related to #210299 Thanks, now the maintainer should look at it.. *** Bug 210606 has been marked as a duplicate of this bug. *** *** Bug 210961 has been marked as a duplicate of this bug. *** *** Bug 211289 has been marked as a duplicate of this bug. *** From bug 210196 comment 2: I installed a snapshot of the upcoming sip 4.9.1 and the crashes are fixed. It fixes bug 209095 too by the way. - Could anyone check this too ? Regards *** Bug 211374 has been marked as a duplicate of this bug. *** I can confirm this is caused by sip, in Kubuntu we updated to 4.9.1-snapshot-20091015 which fixes it. *** Bug 211428 has been marked as a duplicate of this bug. *** I've e-mailed kde-packagers suggesting they update to sip 4.9+snapshot and pointing them at the patch in Comment No 9 as an alternative. Thanks to Dario for handling this bug in his usual excellent way. after update to kde4-printer-applet-4.3.2-1.5 from opensuse 11.1 repositorie 4.2 fix this bug for me. thanks *** Bug 214027 has been marked as a duplicate of this bug. *** *** Bug 216072 has been marked as a duplicate of this bug. *** *** Bug 218382 has been marked as a duplicate of this bug. *** *** Bug 219891 has been marked as a duplicate of this bug. *** *** Bug 223021 has been marked as a duplicate of this bug. *** As Bug 230507 might be related to this bug, and could still be observed in version 4:4.3.4-2, it might be wise to re-open this bug? @ ralfgesellensetter : what is your "sip" package version ? it should work with 4.9.1+ (comment 25) *** Bug 235025 has been marked as a duplicate of this bug. *** Okay, I'll try, thanks. This is how I applied the patch from #9: Save patch file as /tmp/patch Become root in a shell (su -) # cd /usr/share/kde4/apps/printer-applet/ (This path was found by "locate printer-applet.py" - you don't need sources or compilers - the applet is a plain ascii coded python script) # patch -p0 </tmp/patch Done. Then I run printer-applet from a user shell (well, we'll see at next login, but I am quite positive that this patch works out). When will this patch go into Debian sid? @Dario (#35): Ah, thanks. I don't know what sip package is needed (Debian sid), I didn't find installed packages named like this: $ dpkg -l sip* No packages found matching sip*. $ dpkg -l libsip* No packages found matching libsip*. $ apt-cache search sip |grep sip |grep -v SIP pidgin-sipe - Pidgin protocol plugin to connect to MS Office Communicator python-socksipy - Python SOCKS client module python-sip-dbg - Python/C++ bindings generator runtime library (debug extension) python-sip-dev - Python/C++ bindings generator development files python-sip4-dbg - Python/C++ bindings generator runtime library (debug, transitional package) python-sip4-dev - Python/C++ bindings generator development files (transitional package) python-sip4 - Python/C++ bindings generator runtime library (transitional package) python-sip - Python/C++ bindings generator runtime library sip4 - Python/C++ bindings generator (transitional package) sipcalc - Advanced console-based ip subnet calculator Okay: $ dpkg -l python-sip* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-===============-===============-============================================== ii python-sip4 4.9-1 Python/C++ bindings generator runtime library ii python-sip4-dbg 4.9-1 Python/C++ bindings generator runtime library So, 4.9.1 is there. |