Bug 287151 - Printer settings crashes when I delete a printer
Summary: Printer settings crashes when I delete a printer
Status: RESOLVED DUPLICATE of bug 283611
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 11:55 UTC by Tim Swait
Modified: 2011-11-24 11:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.92 KB, text/plain)
2011-11-24 09:43 UTC, Martin Tlustos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Swait 2011-11-21 11:55:42 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
When I click "Remove printer" the window always crashes. It sometimes also crashes adding a printer. I also can't get it to work reliably with a HP CP2025dn, it worked fine in ubuntu, but won't work with kubuntu.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f45e46b2780 (LWP 2936))]

Thread 2 (Thread 0x7f45c59de700 (LWP 2977)):
#0  0x00007f45e3fec773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f45dea7ef68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45dea7f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45e2c22f3e in QEventDispatcherGlib::processEvents (this=0x1b36ab0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f45e2bf6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f45e2bf6ef7 in QEventLoop::exec (this=0x7f45c59dddd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f45e2b0e27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f45e2bd9cbf in QInotifyFileSystemWatcherEngine::run (this=0x1e6fd40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f45e2b10d05 in QThreadPrivate::start (arg=0x1e6fd40) at thread/qthread_unix.cpp:331
#9  0x00007f45df9a5efc in start_thread (arg=0x7f45c59de700) at pthread_create.c:304
#10 0x00007f45e3ff889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f45e46b2780 (LWP 2936)):
[KCrash Handler]
#6  0x00007f45d3ab50f5 in QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#7  0x00007f45e2b2c637 in QHashData::detach_helper2 (this=0xece750, node_duplicate=0x7f45d3ab50f0 <QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x7f45d3ab50e0 <QHash<void*, PyQtProxy*>::deleteNode2(QHashData::Node*)>, nodeSize=<optimized out>, nodeAlign=8) at tools/qhash.cpp:235
#8  0x00007f45d3ab9ca7 in sipQtFindSipslot () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#9  0x00007f45d372c71e in sipWrapper_traverse (arg=0x0, visit=0x7f45d48b1620 <visit_decref>, self=0xf24200) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9648
#10 sipWrapper_traverse (self=0xf24200, visit=0x7f45d48b1620 <visit_decref>, arg=0x0) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9629
#11 0x00007f45d48b18c7 in subtract_refs (containers=0x7f45d4c31c80) at ../Modules/gcmodule.c:345
#12 collect (generation=2) at ../Modules/gcmodule.c:874
#13 0x00007f45d48b25e4 in PyGC_Collect () at ../Modules/gcmodule.c:1386
#14 0x00007f45d489eaa6 in Py_Finalize () at ../Python/pythonrun.c:437
#15 Py_Finalize () at ../Python/pythonrun.c:393
#16 0x00007f45d4c7e9e5 in KPythonPluginFactory::~KPythonPluginFactory (this=0x99cea0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:262
#17 0x00007f45d4c7ea49 in KPythonPluginFactory::~KPythonPluginFactory (this=0x99cea0, __in_chrg=<optimized out>) at ../../kpythonpluginfactory/kpythonpluginfactory.cpp:268
#18 0x00007f45e2c10926 in QObjectCleanupHandler::clear (this=0x9f28f0) at kernel/qobjectcleanuphandler.cpp:140
#19 0x00007f45e2c1096b in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x9f28f0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:86
#20 0x00007f45e2c109b9 in QObjectCleanupHandler::~QObjectCleanupHandler (this=0x9f28f0, __in_chrg=<optimized out>) at kernel/qobjectcleanuphandler.cpp:87
#21 0x00007f45e3f52821 in __run_exit_handlers (status=1, listp=0x7f45e42af5a8, run_list_atexit=true) at exit.c:78
#22 0x00007f45e3f528a5 in __GI_exit (status=<optimized out>) at exit.c:100
#23 0x00007f45cd596b9e in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007f45e138e06f in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#25 0x00007f45e138ae21 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#26 0x00007f45e138bd77 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#27 0x00007f45e137034b in XGetWindowProperty () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#28 0x00007f45e39e871b in NETWinInfo::update (this=0x7fff45b36160, dirty_props=<optimized out>) at ../../kdeui/windowmanagement/netwm.cpp:3962
#29 0x00007f45e39e9ee6 in NETWinInfo::event (this=0x7fff45b36160, event=0x7fff45b36210, properties=0x7fff45b36130, properties_size=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#30 0x00007f45e39defc8 in KWindowSystemPrivate::x11Event (this=0x3be5f60, ev=0x7fff45b36210) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#31 0x00007f45e38cf0a6 in publicX11Event (e=0x7fff45b36210, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#32 KSystemEventFilterPrivate::filterEvent (this=0x24c0670, message=0x7fff45b36210) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#33 0x00007f45e2050388 in x11EventSourceDispatch (s=0x7c6190, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#34 0x00007f45dea7ea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f45dea7f258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f45dea7f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f45e2c22ed6 in QEventDispatcherGlib::processEvents (this=0x7a6cd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007f45e205007e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f45e2bf6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f45e2bf6ef7 in QEventLoop::exec (this=0x7fff45b365e0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007f45e245f216 in QDialog::exec (this=0x983480) at dialogs/qdialog.cpp:552
#42 0x00007f45e42bdc6c in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:292
#43 0x00007f45e3f3830d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=2, ubp_av=0x7fff45b36ea8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff45b36e98) at libc-start.c:226
#44 0x0000000000400671 in _start ()

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

Possible duplicates by query: bug 286983, bug 286975, bug 286491, bug 286478, bug 286454.

Reported using DrKonqi
Comment 1 Martin Tlustos 2011-11-24 09:43:19 UTC
Created attachment 66027 [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:

I tried to delete a printer and then systemsettings crashed.

-- Backtrace (Reduced):
#7  0x02f1930c in QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#8  0x03bc5c99 in QHashData::detach_helper2 (this=0x8a243f8, node_duplicate=0x2f19300 <QHash<void*, PyQtProxy*>::duplicateNode(QHashData::Node*, void*)>, node_delete=0x2f192f0 <QHash<void*, PyQtProxy*>::deleteNode2(QHashData::Node*)>, nodeSize=16, nodeAlign=4) at tools/qhash.cpp:235
#9  0x02f1e30c in sipQtFindSipslot () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#10 0x0224dc00 in sipWrapper_traverse (arg=0x0, visit=0x43c6720 <visit_decref>, self=0xb474b77c) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9648
#11 sipWrapper_traverse (self=0xb474b77c, visit=0x43c6720 <visit_decref>, arg=0x0) at /build/buildd/sip4-4.12.4/siplib/siplib.c:9629
Comment 2 Christoph Feck 2011-11-24 11:45:06 UTC

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