Bug 285756

Summary: Printer Settings crash on adding or removing printers
Product: [Applications] systemsettings Reporter: Adam Gergely <admin>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: AMrosk, roy.daly
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Adam Gergely 2011-11-04 14:51:29 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

Adding a new printer using the printer settings window when it crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f36acfbd780 (LWP 12012))]

Thread 2 (Thread 0x7f36978c9700 (LWP 12013)):
#0  __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f36a7d43f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36a7d44429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36aabedf3e in QEventDispatcherGlib::processEvents (this=0x107e6f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f36aabc1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f36aabc1ef7 in QEventLoop::exec (this=0x7f36978c8dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f36aaad927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f36aaba4cbf in QInotifyFileSystemWatcherEngine::run (this=0x107dc00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f36aaadbd05 in QThreadPrivate::start (arg=0x107dc00) at thread/qthread_unix.cpp:331
#9  0x00007f36a8215efc in start_thread (arg=0x7f36978c9700) at pthread_create.c:304
#10 0x00007f36aa49189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f36acfbd780 (LWP 12012)):
[KCrash Handler]
#6  0x00007f3695c390f5 in QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#7  0x00007f36aaaf7637 in QHashData::detach_helper2 (this=0x16ed940, node_duplicate=0x7f3695c390f0 <QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x7f3695c390e0 <QHash<void*, PyQtProxy*>::deleteNode2(QHashData::Node*)>, nodeSize=<optimized out>, nodeAlign=8) at tools/qhash.cpp:235
#8  0x00007f3695c3dca7 in sipQtFindSipslot () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#9  0x00007f36958b071e in sipWrapper_traverse (arg=0x0, visit=0x7f3696af6620 <visit_decref>, self=0x163c200) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9648
#10 sipWrapper_traverse (self=0x163c200, visit=0x7f3696af6620 <visit_decref>, arg=0x0) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9629
#11 0x00007f3696af68c7 in subtract_refs (containers=0x7f3696e76c80) at ../Modules/gcmodule.c:345
#12 collect (generation=2) at ../Modules/gcmodule.c:874
#13 0x00007f3696af75e4 in PyGC_Collect () at ../Modules/gcmodule.c:1386
#14 0x00007f3696ae3aa6 in Py_Finalize () at ../Python/pythonrun.c:437
#15 Py_Finalize () at ../Python/pythonrun.c:393
#16 0x00007f3696ec39e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x10be740, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#17 0x00007f3696ec3a49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x10be740, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#18 0x00007f36aabdb926 in QObjectCleanupHandler::clear (this=0xf5b4c0) at kernel/qobjectcleanuphandler.cpp:140
#19 0x00007f36aabdb96b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0xf5b4c0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#20 0x00007f36aabdb9b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0xf5b4c0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#21 0x00007f36aa3eb821 in __run_exit_handlers (status=1, listp=0x7f36aa7485a8, run_list_atexit=true) at exit.c:78
#22 0x00007f36aa3eb8a5 in __GI_exit (status=<optimized out>) at exit.c:100
#23 0x00007f368b881b9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007f36a97ea06f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#25 0x00007f36a97e6e21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#26 0x00007f36a97e7d77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#27 0x00007f36a97cc34b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#28 0x00007f36ac69271b in NETWinInfo::update (this=0x7fffbaf31440, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#29 0x00007f36ac693ee6 in NETWinInfo::event (this=0x7fffbaf31440, event=0x7fffbaf314f0, properties=0x7fffbaf31410, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#30 0x00007f36ac688fc8 in KWindowSystemPrivate::x11Event (this=0x2506060, ev=0x7fffbaf314f0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#31 0x00007f36ac5790a6 in publicX11Event (e=0x7fffbaf314f0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#32 KSystemEventFilterPrivate::filterEvent (this=0x23d6820, message=0x7fffbaf314f0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#33 0x00007f36ab8e4388 in x11EventSourceDispatch (s=0xcb76c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#34 0x00007f36a7d43a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f36a7d44258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f36a7d44429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f36aabeded6 in QEventDispatcherGlib::processEvents (this=0xc88a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007f36ab8e407e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f36aabc1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f36aabc1ef7 in QEventLoop::exec (this=0x7fffbaf318c0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007f36aabc6789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0x000000000040a7c5 in main (argc=5, argv=0x7fffbaf31bf8) at ../../../systemsettings/app/main.cpp:49

This bug may be a duplicate of or related to bug 285755.

Possible duplicates by query: bug 285755, bug 285607, bug 285586, bug 285572, bug 285457.

Reported using DrKonqi
Comment 1 roy.daly 2011-11-04 15:12:52 UTC
Created attachment 65234 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

adding a printer.
(Also happens every time remove a printer .. although the printer does get removed)

-- Backtrace (Reduced):
#7  0x02bb630c in QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#8  0x0394bc99 in QHashData::detach_helper2 (this=0xa484540, node_duplicate=0x2bb6300 <QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x2bb62f0 <QHash<void*, PyQtProxy*>::deleteNode2(QHashData::Node*)>, nodeSize=16, nodeAlign=4) at tools/qhash.cpp:235
#9  0x02bbb30c in sipQtFindSipslot () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#10 0x057d2c00 in sipWrapper_traverse (arg=0x0, visit=0x2e9c720 <visit_decref>, self=0xa3d877c) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9648
#11 sipWrapper_traverse (self=0xa3d877c, visit=0x2e9c720 <visit_decref>, arg=0x0) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9629
Comment 2 AMrosk 2011-11-06 10:23:05 UTC
Created attachment 65287 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed: The Application crashed, when i was removed a printer.

-- Backtrace (Reduced):
#7  0x0342530c in QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#8  0x01b23c99 in QHashData::detach_helper2 (this=0x94358b8, node_duplicate=0x3425300 <QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x34252f0 <QHash<void*, PyQtProxy*>::deleteNode2(QHashData::Node*)>, nodeSize=16, nodeAlign=4) at tools/qhash.cpp:235
#9  0x0342a30c in sipQtFindSipslot () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#10 0x0246cc00 in sipWrapper_traverse (arg=0x0, visit=0x291a720 <visit_decref>, self=0xb477f77c) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9648
#11 sipWrapper_traverse (self=0xb477f77c, visit=0x291a720 <visit_decref>, arg=0x0) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9629
Comment 3 Christoph Feck 2011-11-07 20:54:34 UTC

*** This bug has been marked as a duplicate of bug 283611 ***