Bug 218478 - Crash after partition selected [MainWindow::updateSelection, MainWindow::qt_metacall, QMetaObject::metacall]
Summary: Crash after partition selected [MainWindow::updateSelection, MainWindow::qt_m...
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Volker Lanz
URL:
Keywords:
: 220067 220436 220475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-13 10:39 UTC by Reiner Barth
Modified: 2009-12-29 02:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reiner Barth 2009-12-13 10:39:42 UTC
Application: partitionmanager-bin (1.0.0)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.32-7-generic i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I have two HDs (sda and sdb) with each have 5 partitions. The sdb is connected via USB. I selected on partition on sdb and the app crashed.

 -- Backtrace:
Application: KDE-Partitionsmanager (partitionmanager-bin), signal: Segmentation fault
[KCrash Handler]
#5  0x00000000 in ?? ()
#6  0x002c33b5 in ?? () from /usr/lib/libpartitionmanagerprivate.so
#7  0x002c9ba0 in MainWindow::updateSelection(Partition const*) () from /usr/lib/libpartitionmanagerprivate.so
#8  0x00278adf in MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpartitionmanagerprivate.so
#9  0x0593995a in QMetaObject::metacall (object=0x9597118, cl=2429888, idx=52, argv=0xbfa07c78) at kernel/qmetaobject.cpp:237
#10 0x059480db in QMetaObject::activate (sender=0x959a6d8, m=0x3193a4, local_signal_index=3, argv=0xbfa07c78) at kernel/qobject.cpp:3294
#11 0x00276423 in PartitionManagerWidget::selectionChanged(Partition const*) () from /usr/lib/libpartitionmanagerprivate.so
#12 0x002de458 in PartitionManagerWidget::on_m_PartTableWidget_itemSelectionChanged(PartWidget*) () from /usr/lib/libpartitionmanagerprivate.so
#13 0x002784dc in PartitionManagerWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpartitionmanagerprivate.so
#14 0x0593995a in QMetaObject::metacall (object=0x959a6d8, cl=2429888, idx=36, argv=0xbfa07e08) at kernel/qmetaobject.cpp:237
#15 0x059480db in QMetaObject::activate (sender=0x96a2db8, m=0x319394, local_signal_index=0, argv=0xbfa07e08) at kernel/qobject.cpp:3294
#16 0x00276583 in ?? () from /usr/lib/libpartitionmanagerprivate.so
#17 0x002da5f3 in ?? () from /usr/lib/libpartitionmanagerprivate.so
#18 0x014a5326 in QWidget::event (this=0x96a2db8, event=0xbfa08140) at kernel/qwidget.cpp:7970
#19 0x014481dc in QApplicationPrivate::notify_helper (this=0x94cf458, receiver=0x96a2db8, e=0xbfa08140) at kernel/qapplication.cpp:4242
#20 0x0144f7ab in QApplication::notify (this=0xbfa08c10, receiver=0x9801598, e=0xbfa083a0) at kernel/qapplication.cpp:3822
#21 0x0113e18a in KApplication::notify (this=0xbfa08c10, receiver=0x9801598, event=0xbfa083a0) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x059346fb in QCoreApplication::notifyInternal (this=0xbfa08c10, receiver=0x9801598, event=0xbfa083a0) at kernel/qcoreapplication.cpp:704
#23 0x0144e762 in QCoreApplication::sendEvent (receiver=0x9801598, event=0xbfa083a0, alienWidget=0x9801598, nativeWidget=0x96a2db8, buttonDown=0x1d84060, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x9801598, event=0xbfa083a0, alienWidget=0x9801598, nativeWidget=0x96a2db8, buttonDown=0x1d84060, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#25 0x014d7cc8 in QETWidget::translateMouseEvent (this=0x96a2db8, event=0xbfa088bc) at kernel/qapplication_x11.cpp:4368
#26 0x014d71b1 in QApplication::x11ProcessEvent (this=0xbfa08c10, event=0xbfa088bc) at kernel/qapplication_x11.cpp:3379
#27 0x0150607a in x11EventSourceDispatch (s=0x94d26a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00ad1fd8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00ad5880 in ?? () from /lib/libglib-2.0.so.0
#30 0x00ad59b3 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x059603f5 in QEventDispatcherGlib::processEvents (this=0x94bb2a8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#32 0x01505ba5 in QGuiEventDispatcherGlib::processEvents (this=0x94bb2a8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x05932d19 in QEventLoop::processEvents (this=0xbfa08bb4, flags=) at kernel/qeventloop.cpp:149
#34 0x0593316a in QEventLoop::exec (this=0xbfa08bb4, flags=...) at kernel/qeventloop.cpp:201
#35 0x0593735f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x01448277 in QApplication::exec () at kernel/qapplication.cpp:3570
#37 0x08048ae2 in _start ()

Reported using DrKonqi
Comment 1 Volker Lanz 2009-12-13 14:11:10 UTC
Thank you for reporting this crash. Can you reproduce it or was it a one-time incident? Also, if it ever happens again (on purpose or by accident), can you please install debug symbols for your distribution? See

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

for details.
Comment 2 Volker Lanz 2009-12-13 14:56:50 UTC
Never mind, I can reproduce it with Qt 4.6:

Thread 1 (Thread 0x7fabca52e7e0 (LWP 14901)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fabca0fa3ee in InfoPane::clear (this=0x2103420) at /home/kde-devel/kde-qt/include/QtCore/qalgorithms.h:322
#7  0x00007fabca0fb2ac in InfoPane::showPartition (this=0x23bcda0, p=@0x7fabc6e80528) at /home/kde-devel/dev/partitionmanager/trunk/src/gui/infopane.cpp:98
#8  0x00007fabca100f25 in MainWindow::updateSelection (this=0x20c5090, p=0x7fabc6e80528) at /home/kde-devel/dev/partitionmanager/trunk/src/gui/mainwindow.cpp:198
#9  0x00007fabca0b7dd7 in MainWindow::qt_metacall (this=0x20c5090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff890e76e0)
    at /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_mainwindow.cpp:90
#10 0x00007fabc7c4d073 in QMetaObject::metacall (object=0x20c5090, cl=QMetaObject::InvokeMetaMethod, idx=52, argv=0x7fff890e76e0)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
#11 0x00007fabc7c62511 in QMetaObject::activate (sender=0x20d49a0, m=0x7fabca34c340, local_signal_index=3, argv=0x7fff890e76e0)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qobject.cpp:3294
#12 0x00007fabca0b62f2 in PartitionManagerWidget::selectionChanged (this=0x23bcda0, _t1=0x22d4580) at /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_partitionmanagerwidget.cpp:178
#13 0x00007fabca113940 in PartitionManagerWidget::on_m_PartTableWidget_itemSelectionChanged (this=0x20d49a0, item=<value optimized out>)
    at /home/kde-devel/dev/partitionmanager/trunk/src/gui/partitionmanagerwidget.cpp:455
#14 0x00007fabca0b7c1c in PartitionManagerWidget::qt_metacall (this=0x20d49a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff890e7970)
    at /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_partitionmanagerwidget.cpp:130
#15 0x00007fabc7c4d073 in QMetaObject::metacall (object=0x20d49a0, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0x7fff890e7970)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
#16 0x00007fabc7c62511 in QMetaObject::activate (sender=0x21ffbf0, m=0x7fabca34c260, local_signal_index=0, argv=0x7fff890e7970)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qobject.cpp:3294
#17 0x00007fabca0b63bf in PartTableWidget::itemSelectionChanged (this=0x23bcda0, _t1=0x2326190) at /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_parttablewidget.cpp:89
#18 0x00007fabca10ffc6 in PartTableWidget::setActiveWidget (this=0x23bcda0, p=0x7fabc6e80528) at /home/kde-devel/dev/partitionmanager/trunk/src/gui/parttablewidget.cpp:86
Comment 3 Volker Lanz 2009-12-13 15:01:06 UTC
NT
Comment 4 Volker Lanz 2009-12-13 16:58:02 UTC
SVN commit 1062035 by vlanz:

Don't delete all the info pane's QWidget children on clear(). KDE SC 4.4's
Oxygen KStyle inserts children into widgets for its transition effects that
would get deleted that way.

Maybe this deserves some discussion some day if Oxygen is entitled to modify
the application's object tree? Anyway, this fix works around it and everyone is
happy for now.

BUG:218478
CCMAIL:hugo@oxygen-icons.org



 M  +3 -1      infopane.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1062035
Comment 5 Reiner Barth 2009-12-14 17:57:50 UTC
Hello,

it is an always problem. If you need further traces, tell me which dbg
packages i need to install.

Regards,
Reiner


Am Sonntag, den 13.12.2009, 14:56 +0100 schrieb Volker Lanz:

> https://bugs.kde.org/show_bug.cgi?id=218478
> 
> 
> 
> 
> 
> --- Comment #2 from Volker Lanz <vl fidra de>  2009-12-13 14:56:50 ---
> Never mind, I can reproduce it with Qt 4.6:
> 
> Thread 1 (Thread 0x7fabca52e7e0 (LWP 14901)):
> [KCrash Handler]
> #5  0x0000000000000000 in ?? ()
> #6  0x00007fabca0fa3ee in InfoPane::clear (this=0x2103420) at
> /home/kde-devel/kde-qt/include/QtCore/qalgorithms.h:322
> #7  0x00007fabca0fb2ac in InfoPane::showPartition (this=0x23bcda0,
> p=@0x7fabc6e80528) at
> /home/kde-devel/dev/partitionmanager/trunk/src/gui/infopane.cpp:98
> #8  0x00007fabca100f25 in MainWindow::updateSelection (this=0x20c5090,
> p=0x7fabc6e80528) at
> /home/kde-devel/dev/partitionmanager/trunk/src/gui/mainwindow.cpp:198
> #9  0x00007fabca0b7dd7 in MainWindow::qt_metacall (this=0x20c5090,
> _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff890e76e0)
>     at
> /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_mainwindow.cpp:90
> #10 0x00007fabc7c4d073 in QMetaObject::metacall (object=0x20c5090,
> cl=QMetaObject::InvokeMetaMethod, idx=52, argv=0x7fff890e76e0)
>     at
> /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
> #11 0x00007fabc7c62511 in QMetaObject::activate (sender=0x20d49a0,
> m=0x7fabca34c340, local_signal_index=3, argv=0x7fff890e76e0)
>     at
> /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qobject.cpp:3294
> #12 0x00007fabca0b62f2 in PartitionManagerWidget::selectionChanged
> (this=0x23bcda0, _t1=0x22d4580) at
> /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_partitionmanagerwidget.cpp:178
> #13 0x00007fabca113940 in
> PartitionManagerWidget::on_m_PartTableWidget_itemSelectionChanged
> (this=0x20d49a0, item=<value optimized out>)
>     at
> /home/kde-devel/dev/partitionmanager/trunk/src/gui/partitionmanagerwidget.cpp:455
> #14 0x00007fabca0b7c1c in PartitionManagerWidget::qt_metacall (this=0x20d49a0,
> _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff890e7970)
>     at
> /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_partitionmanagerwidget.cpp:130
> #15 0x00007fabc7c4d073 in QMetaObject::metacall (object=0x20d49a0,
> cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0x7fff890e7970)
>     at
> /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
> #16 0x00007fabc7c62511 in QMetaObject::activate (sender=0x21ffbf0,
> m=0x7fabca34c260, local_signal_index=0, argv=0x7fff890e7970)
>     at
> /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qobject.cpp:3294
> #17 0x00007fabca0b63bf in PartTableWidget::itemSelectionChanged
> (this=0x23bcda0, _t1=0x2326190) at
> /home/kde-devel/dev/partitionmanager/trunk/build/src/moc_parttablewidget.cpp:89
> #18 0x00007fabca10ffc6 in PartTableWidget::setActiveWidget (this=0x23bcda0,
> p=0x7fabc6e80528) at
> /home/kde-devel/dev/partitionmanager/trunk/src/gui/parttablewidget.cpp:86
> 




____________________________

Reiner Barth
Rotbachweg 45
88471 Obersulmetingen

Mobil: 0174/1658711
Fest:  07392/18881
Mail:  email@reiner-barth.de
Comment 6 Volker Lanz 2009-12-15 01:01:33 UTC
Reiner: thank you for your feedback. The crash has in the meantime been fixed in the source code repository. A new release of KDE Partition Manager including the fix will hopefully be available within the next couple of days. As a workaround on KDE SC 4.4 beta until then you can use any other KDE Style (System Settings -> Appearance -> Style) than Oxygen.
Comment 7 Volker Lanz 2009-12-25 19:51:56 UTC
*** Bug 220067 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-12-28 20:07:41 UTC
*** Bug 220436 has been marked as a duplicate of this bug. ***
Comment 9 Volker Lanz 2009-12-29 02:02:08 UTC
*** Bug 220475 has been marked as a duplicate of this bug. ***