Bug 202139 - KDE Partition Manager : Clicked on a partition and it crashed
Summary: KDE Partition Manager : Clicked on a partition and it crashed
Status: RESOLVED DUPLICATE of bug 199485
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Volker Lanz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-31 22:10 UTC by Bruno Vernay
Modified: 2010-10-27 23:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Vernay 2009-07-31 22:10:34 UTC
Application that crashed: partitionmanager
Version of the application: 1.0.0-BETA1
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

 -- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Segmentation fault
[KCrash Handler]
#5  QMetaObject::activate (sender=0x7fff00000025, m=<value optimized out>, local_signal_index=1, argv=0x7fff5d96ca20) at kernel/qobject.cpp:3139
#6  0x00007fff51b1cbaa in QDBusConnectionPrivate::callWithCallbackFailed (this=0x7fff51d32ba0, _t1=<value optimized out>, _t2=<value optimized out>)
    at .moc/release-shared/moc_qdbusconnection_p.cpp:112
#7  0x00007fff51ae4600 in QDBusConnectionPrivate::processFinishedCall (call=0x7e14e0) at qdbusintegrator.cpp:1694
#8  0x00007fff51ae9ecb in QDBusConnectionPrivate::sendWithReplyAsync (this=0x726660, message=<value optimized out>, receiver=0x7e0130, returnMethod=0x7fff542788c7 "1slotReceivedId(int)", 
    errorMethod=0x7fff54278988 "1slotReceivedIdError(QDBusError)", timeout=<value optimized out>) at qdbusintegrator.cpp:1904
#9  0x00007fff51ad356a in QDBusConnection::callWithCallback (this=0x7e6ae0, message=@0x5, receiver=0x0, returnMethod=0x4 <Address 0x4 out of bounds>, errorMethod=0x899300 "`j�T�\177", 
    timeout=1422813696) at qdbusconnection.cpp:461
#10 0x00007fff51af1329 in QDBusAbstractInterface::callWithCallback (this=<value optimized out>, method=@0x7fff5d96ce50, args=@0x7fff5d96cea0, receiver=0x7e0130, 
    returnMethod=0x7fff542788c7 "1slotReceivedId(int)", errorMethod=0x7fff54278988 "1slotReceivedIdError(QDBusError)") at qdbusabstractinterface.cpp:471
#11 0x00007fff5417b9ae in KNotificationManager::notify (this=0x9b5f50, n=0x7e0130, pix=<value optimized out>, actions=@0x7df728, contexts=<value optimized out>, appname=@0x7fff5d96cf70)
    at /build/buildd/kde4libs-4.2.98a/kdeui/util/knotificationmanager.cpp:143
#12 0x00007fff5417974b in KNotification::sendEvent (this=0x7e0130) at /build/buildd/kde4libs-4.2.98a/kdeui/util/knotification.cpp:341
#13 0x00007fff5417a8d0 in KNotification::qt_metacall (this=0x7e0130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5d96d050)
    at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kdeui/knotification.moc:103
#14 0x00007fff517dc1f2 in QMetaObject::activate (sender=0x7330d0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x4) at kernel/qobject.cpp:3069
#15 0x00007fff517e152f in QSingleShotTimer::timerEvent (this=0x7330d0) at kernel/qtimer.cpp:298
#16 0x00007fff517d64d3 in QObject::event (this=0x7330d0, e=0x5) at kernel/qobject.cpp:1082
#17 0x00007fff5349978d in QApplicationPrivate::notify_helper (this=0x6c9410, receiver=0x7330d0, e=0x7fff5d96d710) at kernel/qapplication.cpp:4084
#18 0x00007fff534a197a in QApplication::notify (this=0x7fff5d9714f0, receiver=0x7330d0, e=0x7fff5d96d710) at kernel/qapplication.cpp:4049
#19 0x00007fff5410c71b in KApplication::notify (this=0x7fff5d9714f0, receiver=0x7330d0, event=0x7fff5d96d710) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#20 0x00007fff517c675c in QCoreApplication::notifyInternal (this=0x7fff5d9714f0, receiver=0x7330d0, event=0x7fff5d96d710) at kernel/qcoreapplication.cpp:602
#21 0x00007fff517f37f6 in QTimerInfoList::activateTimers (this=0x6cd080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 0x00007fff517eff0d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#23 0x00007fff4eb1b20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007fff4eb1e8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007fff4eb1ea7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007fff517efe6f in QEventDispatcherGlib::processEvents (this=0x6b10e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#27 0x00007fff53531bef in QGuiEventDispatcherGlib::processEvents (this=0x7fff51d32ba0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x00007fff517c5002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1570167168}) at kernel/qeventloop.cpp:149
#29 0x00007fff517c53cd in QEventLoop::exec (this=0x7fff5d96d9c0, flags={i = 1570167264}) at kernel/qeventloop.cpp:200
#30 0x00007fff5395710e in QDialog::exec (this=0x81fce0) at dialogs/qdialog.cpp:498
#31 0x00007fff54092092 in KMessageBox::createKMessageBox (dialog=0x81fce0, icon=<value optimized out>, text=@0x7fff5d96e130, strlist=@0x7fff5d96e000, ask=@0x7fff5d96dff0, checkboxReturn=0x0, options=
      {i = 1570168656}, details=@0x7fff5d96dfe0, notifyType=QMessageBox::Warning) at /build/buildd/kde4libs-4.2.98a/kdeui/dialogs/kmessagebox.cpp:331
#32 0x00007fff54093227 in KMessageBox::createKMessageBox (dialog=0x81fce0, icon=QMessageBox::Warning, text=@0x7fff5d96e130, strlist=@0x7fff5d96e000, ask=@0x7fff5d96dff0, checkboxReturn=0x0, options=
      {i = 1570168912}, details=@0x7fff5d96dfe0) at /build/buildd/kde4libs-4.2.98a/kdeui/dialogs/kmessagebox.cpp:151
#33 0x00007fff54093946 in KMessageBox::sorryWId (parent_id=65011737, text=@0x7fff5d96e130, caption=@0x7fff5d96e120, options={i = 1570169024})
    at /build/buildd/kde4libs-4.2.98a/kdeui/dialogs/kmessagebox.cpp:927
#34 0x00007fff54093a5c in KMessageBox::sorry (parent=0x899300, text=@0x7fff5d96e130, caption=@0x7fff5d96e120, options=<value optimized out>)
    at /build/buildd/kde4libs-4.2.98a/kdeui/dialogs/kmessagebox.cpp:904
#35 0x00007fff5550addd in ?? () from /usr/lib/libpartitionmanagerprivate.so
#36 0x00007fff5550af17 in MainWindow::onNewPartition () from /usr/lib/libpartitionmanagerprivate.so
#37 0x00007fff554ba835 in MainWindow::qt_metacall () from /usr/lib/libpartitionmanagerprivate.so
#38 0x00007fff517dc1f2 in QMetaObject::activate (sender=0x8a7840, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x4) at kernel/qobject.cpp:3069
#39 0x00007fff534937e7 in QAction::triggered (this=0x7fff51d32ba0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#40 0x00007fff53494c60 in QAction::activate (this=0x8a7840, event=<value optimized out>) at kernel/qaction.cpp:1160
#41 0x00007fff538c2a3c in QMenuPrivate::activateCausedStack (this=0x1757f40, causedStack=@0x7fff5d96e520, action=0x8a7840, action_e=QAction::Trigger, self=false) at widgets/qmenu.cpp:962
#42 0x00007fff538c8a0e in QMenuPrivate::activateAction (this=0x1757f40, action=0x8a7840, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058
#43 0x00007fff541dfca1 in KMenu::mouseReleaseEvent (this=0x7fff5d96fd90, e=0x7fff5d96eec0) at /build/buildd/kde4libs-4.2.98a/kdeui/widgets/kmenu.cpp:456
#44 0x00007fff534ea8cf in QWidget::event (this=0x7fff5d96fd90, event=0x7fff5d96eec0) at kernel/qwidget.cpp:7516
#45 0x00007fff538cb1cb in QMenu::event (this=0x7fff5d96fd90, e=0x7fff5d96eec0) at widgets/qmenu.cpp:2351
#46 0x00007fff5349978d in QApplicationPrivate::notify_helper (this=0x6c9410, receiver=0x7fff5d96fd90, e=0x7fff5d96eec0) at kernel/qapplication.cpp:4084
#47 0x00007fff534a20da in QApplication::notify (this=<value optimized out>, receiver=0x7fff5d96fd90, e=0x7fff5d96eec0) at kernel/qapplication.cpp:3786
#48 0x00007fff5410c71b in KApplication::notify (this=0x7fff5d9714f0, receiver=0x7fff5d96fd90, event=0x7fff5d96eec0) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#49 0x00007fff517c675c in QCoreApplication::notifyInternal (this=0x7fff5d9714f0, receiver=0x7fff5d96fd90, event=0x7fff5d96eec0) at kernel/qcoreapplication.cpp:602
#50 0x00007fff534a1328 in QApplicationPrivate::sendMouseEvent (receiver=0x7fff5d96fd90, event=0x7fff5d96eec0, alienWidget=0x0, nativeWidget=0x7fff5d96fd90, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fff53efdeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#51 0x00007fff5350afd4 in QETWidget::translateMouseEvent (this=0x7fff5d96fd90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4359
#52 0x00007fff53509a88 in QApplication::x11ProcessEvent (this=0x7fff5d9714f0, event=0x7fff5d96fa00) at kernel/qapplication_x11.cpp:3543
#53 0x00007fff53532464 in x11EventSourceDispatch (s=0x6cd0e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x00007fff4eb1b20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0x00007fff4eb1e8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#56 0x00007fff4eb1ea7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0x00007fff517efe6f in QEventDispatcherGlib::processEvents (this=0x6b10e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#58 0x00007fff53531bef in QGuiEventDispatcherGlib::processEvents (this=0x7fff51d32ba0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#59 0x00007fff517c5002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1570176240}) at kernel/qeventloop.cpp:149
#60 0x00007fff517c53cd in QEventLoop::exec (this=0x7fff5d96fd30, flags={i = 1570176336}) at kernel/qeventloop.cpp:200
#61 0x00007fff538cb025 in QMenu::exec (this=<value optimized out>, p=@0x7fff5d96fe70, action=0x0) at widgets/qmenu.cpp:1991
#62 0x00007fff555017c8 in MainWindow::showPartitionContextMenu () from /usr/lib/libpartitionmanagerprivate.so
#63 0x00007fff55501970 in MainWindow::on_m_PartTableWidget_customContextMenuRequested () from /usr/lib/libpartitionmanagerprivate.so
#64 0x00007fff554ba8c1 in MainWindow::qt_metacall () from /usr/lib/libpartitionmanagerprivate.so
#65 0x00007fff517dc1f2 in QMetaObject::activate (sender=0x867dc0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x4) at kernel/qobject.cpp:3069
#66 0x00007fff534dd022 in QWidget::customContextMenuRequested (this=0x7fff51d32ba0, _t1=<value optimized out>) at .moc/release-shared/moc_qwidget.cpp:350
#67 0x00007fff534ead2a in QWidget::event (this=0x867dc0, event=0x7fff5d970330) at kernel/qwidget.cpp:7678
#68 0x00007fff5349978d in QApplicationPrivate::notify_helper (this=0x6c9410, receiver=0x867dc0, e=0x7fff5d970330) at kernel/qapplication.cpp:4084
#69 0x00007fff534a1e1a in QApplication::notify (this=<value optimized out>, receiver=0xa7f3e0, e=0x7fff5d970600) at kernel/qapplication.cpp:3873
#70 0x00007fff5410c71b in KApplication::notify (this=0x7fff5d9714f0, receiver=0xa7f3e0, event=0x7fff5d970600) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#71 0x00007fff517c675c in QCoreApplication::notifyInternal (this=0x7fff5d9714f0, receiver=0xa7f3e0, event=0x7fff5d970600) at kernel/qcoreapplication.cpp:602
#72 0x00007fff5350b45a in QETWidget::translateMouseEvent (this=0x7faff0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4431
#73 0x00007fff53509a88 in QApplication::x11ProcessEvent (this=0x7fff5d9714f0, event=0x7fff5d971170) at kernel/qapplication_x11.cpp:3543
#74 0x00007fff53532464 in x11EventSourceDispatch (s=0x6cd0e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#75 0x00007fff4eb1b20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#76 0x00007fff4eb1e8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#77 0x00007fff4eb1ea7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#78 0x00007fff517efe6f in QEventDispatcherGlib::processEvents (this=0x6b10e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#79 0x00007fff53531bef in QGuiEventDispatcherGlib::processEvents (this=0x7fff51d32ba0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#80 0x00007fff517c5002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1570182240}) at kernel/qeventloop.cpp:149
#81 0x00007fff517c53cd in QEventLoop::exec (this=0x7fff5d9714a0, flags={i = 1570182320}) at kernel/qeventloop.cpp:200
#82 0x00007fff517c7694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#83 0x0000000000400d56 in _start ()

Reported using DrKonqi
Comment 1 Volker Lanz 2009-08-01 12:18:48 UTC
Bruno, thank you for taking the time to report this crash! Can you give some additional information on how to reproduce this? That would be very helpful.

You say you "clicked on a partition". I suppose you meant you right-clicked a partition and selected (maybe accidentally?) "Create" from the context menu? That's what the backtrace seems to indicate. Is that so?

The backtrace also suggests that Partition Manager was trying to tell you that there already were the max number of allowed primary partitions on the selected device. Was that the case? And did you see that message box saying that? Probably not?

Also, were you running Partition Manager under a Gnome desktop environment?

Would it be possible for you to install a newer version of KDE Partition Manager? You can find download links for current versions (packaged for Ubuntu and others) here: 

http://www.kde-apps.org/content/show.php/?content=89595

Could you try to reproduce the problem with a newer version?

Thank you again for helping to improve KDE Partition Manager.
Comment 2 Bruno Vernay 2009-08-08 23:28:26 UTC
> You say you "clicked on a partition". I suppose you meant you right-clicked a
> partition and selected (maybe accidentally?) "Create" from the context menu?
> That's what the backtrace seems to indicate. Is that so?
YES

> The backtrace also suggests that Partition Manager was trying to tell you that
> there already were the max number of allowed primary partitions on the selected
> device. Was that the case? And did you see that message box saying that?
> Probably not?
I think I saw this but, I probably tried to create it anyway.

> Also, were you running Partition Manager under a Gnome desktop environment?
No: Standard KUbuntu Jaunty.

I will try to reproduce it with your new version.
Bruno
Comment 3 Mark 2009-12-26 18:56:58 UTC
Hi Volker, 
i'm running kde 4.4beta2 and partitionmanager is now at 1.0.0 and i think i have the same bug:) 
I start up martitionmanager with sudo, then a window appears, I select the disk (sda) and partition table in a graphical form is shown. Whenever i just (left)click any partition, it crashes. 
Here's a log from console: 
partitionmanager(17584) TreeLog::onNewLogMessage: "Rescanning devices..."                                    
partitionmanager(17584) TreeLog::onNewLogMessage: "Device found: ATA HITACHI HTS54321"                       
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda1’ does not start at a cylinder boundary (first sector: 2 048, modulo: 2 048)."                                                                     
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda1’ does not end at a cylinder boundary (last sector: 61 448 191, modulo: 15 632)."                                                                  
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda2’ does not end at a cylinder boundary (last sector: 61 753 856, modulo: 16 062)."                                                                  
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda6’ does not end at a cylinder boundary (last sector: 205 101 848, modulo: 16 059)."                                                                 
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda7’ does not end at a cylinder boundary (last sector: 207 158 173, modulo: 16 064)."
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda9’ does not end at a cylinder boundary (last sector: 219 447 892, modulo: 16 058)."
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda10’ does not end at a cylinder boundary (last sector: 262 453 898, modulo: 16 059)."
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda4’ does not start at a cylinder boundary (first sector: 305 465 344, modulo: 5 434)."
partitionmanager(17584) TreeLog::onNewLogMessage: "Partition ‘/dev/sda4’ does not end at a cylinder boundary (last sector: 312 578 047, modulo: 1 343)."
partitionmanager(17584) TreeLog::onNewLogMessage: "Rescan finished."
partitionmanager(17584)/kdeui (kdelibs): Attempt to use QAction "toggleDockDevices" with KXMLGUIFactory!
partitionmanager(17584)/kdeui (kdelibs): Attempt to use QAction "toggleDockOperations" with KXMLGUIFactory!
partitionmanager(17584)/kdeui (kdelibs): Attempt to use QAction "toggleDockInformation" with KXMLGUIFactory!
partitionmanager(17584)/kdeui (kdelibs): Attempt to use QAction "toggleDockLog" with KXMLGUIFactory!
KCrash: Application 'partitionmanager-bin' crashing...
sock_file=/home/marek/.kdemod4/socket-beruska/kdeinit4__0



Version: 
$ partitionmanager -v
partitionmanager(17737): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)"
partitionmanager(17737): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)"
Qt: 4.6.0
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
KDE Partition Manager: 1.0.0


Thank you and merry Christmas to you :o)
Comment 4 Christoph Feck 2010-10-27 23:46:43 UTC

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