Bug 231842 - kget crashes when working with metalink files
Summary: kget crashes when working with metalink files
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 22:38 UTC by Aioanei Rares
Modified: 2010-05-26 16:31 UTC (History)
0 users

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 Aioanei Rares 2010-03-22 22:38:37 UTC
Application that crashed: kget
Version of the application: 2.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-3-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.4 (lenny)

What I was doing when the application crashed:
I was trying to download a iso image when kget crashed.

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fe1a5670727 in kt::TrackerModel::changeTC (this=0x161f090, tc=<value optimized out>) at ../../../../kget/transfer-plugins/bittorrent/advanceddetails/trackermodel.cpp:43
#6  0x00007fe1a566c347 in kt::TrackerView::torrentChanged (this=0x1610a00, ti=0x14ea8c0) at ../../../../kget/transfer-plugins/bittorrent/advanceddetails/trackerview.cpp:243
#7  0x00007fe1a566cdc6 in kt::TrackerView::changeTC (this=0x1610a00, ti=0x14ea8c0) at ../../../../kget/transfer-plugins/bittorrent/advanceddetails/trackerview.cpp:165
#8  0x00007fe1a5658cc0 in BTAdvancedDetailsWidget::init (this=0x15fb980) at ../../../../kget/transfer-plugins/bittorrent/advanceddetails/btadvanceddetailswidget.cpp:73
#9  0x00007fe1a5659106 in BTAdvancedDetailsWidget (this=0x15fb980, transfer=0x14d11f0) at ../../../../kget/transfer-plugins/bittorrent/advanceddetails/btadvanceddetailswidget.cpp:40
#10 0x00007fe1a5652523 in BTTransferHandler::createAdvancedDetails (this=0x14d11f0) at ../../../../kget/transfer-plugins/bittorrent/bttransferhandler.cpp:37
#11 0x00007fe1a564be88 in BTTransferHandler::qt_metacall (this=0x14d11f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_bttransferhandler.cpp:73
#12 0x00007fe1b2beddf2 in QMetaObject::activate (sender=0x154eb40, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x10) at kernel/qobject.cpp:3112
#13 0x00007fe1b37a3147 in QAction::triggered (this=0x14ea8c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#14 0x00007fe1b37a45c0 in QAction::activate (this=0x154eb40, event=<value optimized out>) at kernel/qaction.cpp:1167
#15 0x00007fe1b3b9f15d in QMenuPrivate::activateCausedStack (this=0x14e0190, causedStack=..., action=0x154eb40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#16 0x00007fe1b3ba508f in QMenuPrivate::activateAction (this=0x14e0190, action=0x154eb40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1060
#17 0x00007fe1b580cece in KMenu::mouseReleaseEvent (this=0x14f0f30, e=0x0) at ../../kdeui/widgets/kmenu.cpp:456
#18 0x00007fe1b37f937f in QWidget::event (this=0x14f0f30, event=0x7fff9f4cfaa0) at kernel/qwidget.cpp:7554
#19 0x00007fe1b3ba77eb in QMenu::event (this=0x14f0f30, e=0x7fff9f4cfaa0) at widgets/qmenu.cpp:2358
#20 0x00007fe1b37a901d in QApplicationPrivate::notify_helper (this=0xe49d60, receiver=0x14f0f30, e=0x7fff9f4cfaa0) at kernel/qapplication.cpp:4065
#21 0x00007fe1b37b17ca in QApplication::notify (this=<value optimized out>, receiver=0x14f0f30, e=0x7fff9f4cfaa0) at kernel/qapplication.cpp:3767
#22 0x00007fe1b573bde6 in KApplication::notify (this=0x7fff9f4d4820, receiver=0x14f0f30, event=0x7fff9f4cfaa0) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007fe1b2bd8c9c in QCoreApplication::notifyInternal (this=0x7fff9f4d4820, receiver=0x14f0f30, event=0x7fff9f4cfaa0) at kernel/qcoreapplication.cpp:610
#24 0x00007fe1b37b0a78 in QCoreApplication::sendSpontaneousEvent (receiver=0x14f0f30, event=0x7fff9f4cfaa0, alienWidget=0x0, nativeWidget=0x14f0f30, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#25 QApplicationPrivate::sendMouseEvent (receiver=0x14f0f30, event=0x7fff9f4cfaa0, alienWidget=0x0, nativeWidget=0x14f0f30, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#26 0x00007fe1b3819814 in QETWidget::translateMouseEvent (this=0x14f0f30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4345
#27 0x00007fe1b381840f in QApplication::x11ProcessEvent (this=0x7fff9f4d4820, event=0x7fff9f4d1470) at kernel/qapplication_x11.cpp:3552
#28 0x00007fe1b384076c in x11EventSourceDispatch (s=0xe43f00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007fe1ae46f90e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007fe1ae4732c8 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007fe1ae4733f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007fe1b2c0139c in QEventDispatcherGlib::processEvents (this=0xe1b330, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#33 0x00007fe1b383ff1f in QGuiEventDispatcherGlib::processEvents (this=0x14ea8c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x00007fe1b2bd7562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fe1b2bd7934 in QEventLoop::exec (this=0x7fff9f4d17a0, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007fe1b3ba7665 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:1998
#37 0x0000000000434657 in TransfersViewDelegate::editorEvent (this=0x10445c0, event=<value optimized out>, model=0xfcf820, option=<value optimized out>, index=<value optimized out>)
    at ../../kget/ui/transfersviewdelegate.cpp:447
#38 0x00007fe1b3c903e7 in QAbstractItemViewPrivate::sendDelegateEvent (this=0x1039f60, index=..., event=0x7fff9f4d2a80) at itemviews/qabstractitemview.cpp:3858
#39 0x00007fe1b3c906b7 in QAbstractItemView::edit (this=0x1039f20, index=..., trigger=QAbstractItemView::NoEditTriggers, event=0x7fff9f4d2a80) at itemviews/qabstractitemview.cpp:2327
#40 0x00007fe1b3c8e840 in QAbstractItemView::mousePressEvent (this=0x1039f20, event=0x7fff9f4d2a80) at itemviews/qabstractitemview.cpp:1506
#41 0x00007fe1b37f9556 in QWidget::event (this=0x1039f20, event=0x7fff9f4d2a80) at kernel/qwidget.cpp:7550
#42 0x00007fe1b3b6192b in QFrame::event (this=0x1039f20, e=0x7fff9f4d2a80) at widgets/qframe.cpp:559
#43 0x00007fe1b3c9398b in QAbstractItemView::viewportEvent (this=0x1039f20, event=0x7fff9f4d2a80) at itemviews/qabstractitemview.cpp:1476
#44 0x00007fe1b3ccb689 in QTreeView::viewportEvent (this=0x1039f20, event=0x7fff9f4d2a80) at itemviews/qtreeview.cpp:1266
#45 0x00007fe1b2bd7fb8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1039d70, event=0x7fff9f4d2a80) at kernel/qcoreapplication.cpp:726
#46 0x00007fe1b37a8fec in QApplicationPrivate::notify_helper (this=0xe49d60, receiver=0x1039d70, e=0x7fff9f4d2a80) at kernel/qapplication.cpp:4061
#47 0x00007fe1b37b17ca in QApplication::notify (this=<value optimized out>, receiver=0x1039d70, e=0x7fff9f4d2a80) at kernel/qapplication.cpp:3767
#48 0x00007fe1b573bde6 in KApplication::notify (this=0x7fff9f4d4820, receiver=0x1039d70, event=0x7fff9f4d2a80) at ../../kdeui/kernel/kapplication.cpp:302
#49 0x00007fe1b2bd8c9c in QCoreApplication::notifyInternal (this=0x7fff9f4d4820, receiver=0x1039d70, event=0x7fff9f4d2a80) at kernel/qcoreapplication.cpp:610
#50 0x00007fe1b37b0a78 in QCoreApplication::sendSpontaneousEvent (receiver=0x1039d70, event=0x7fff9f4d2a80, alienWidget=0x1039d70, nativeWidget=0xe4d260, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#51 QApplicationPrivate::sendMouseEvent (receiver=0x1039d70, event=0x7fff9f4d2a80, alienWidget=0x1039d70, nativeWidget=0xe4d260, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#52 0x00007fe1b3819659 in QETWidget::translateMouseEvent (this=0xe4d260, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#53 0x00007fe1b381840f in QApplication::x11ProcessEvent (this=0x7fff9f4d4820, event=0x7fff9f4d4450) at kernel/qapplication_x11.cpp:3552
#54 0x00007fe1b384076c in x11EventSourceDispatch (s=0xe43f00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007fe1ae46f90e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0x00007fe1ae4732c8 in ?? () from /lib/libglib-2.0.so.0
#57 0x00007fe1ae4733f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0x00007fe1b2c0139c in QEventDispatcherGlib::processEvents (this=0xe1b330, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#59 0x00007fe1b383ff1f in QGuiEventDispatcherGlib::processEvents (this=0x14ea8c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007fe1b2bd7562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007fe1b2bd7934 in QEventLoop::exec (this=0x7fff9f4d4780, flags=...) at kernel/qeventloop.cpp:201
#62 0x00007fe1b2bd9ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#63 0x000000000045cb8c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kget/main.cpp:173

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-03-22 22:51:25 UTC
This is not related to Metalinks, but Bittorrent's Advanced Details...

Anyway, are you able to test with a more recent version of KGet (aka 4.4)?

Lukas
Comment 2 Aioanei Rares 2010-03-22 23:47:48 UTC
Will report any changes when kget 4.4 will reach my Debian system. I'm running testing/unstable, and experimental doesn't have a kget package [1]. Is kget moved to kdenetwork or so since 4.4? 

[1] http://packages.debian.org/search?keywords=kget&searchon=names&suite=experimental&section=all
Comment 3 Lukas Appelhans 2010-03-23 12:53:57 UTC
KGet2 is in kdenetwork since 4.0 already...

Lukas
Comment 4 Aioanei Rares 2010-03-23 13:34:05 UTC
What is odd is that it is a fresh kget install and the only file opened with it is a .metalink file, no .torrent files whatsoever. kdenetwork in experimental is uninstallable ATM, so I'll have to wait.
Comment 5 Lukas Appelhans 2010-03-23 13:53:19 UTC
Oha... well the backtrace indicates that you clicked on the "Advanced Details" in the rmb-menu of a torrent transfer...

Lukas
Comment 6 Aioanei Rares 2010-03-23 13:55:40 UTC
I noticed that too...that's what makes this weirder. After a bit of googling it seems that KDE 4.4.1 will land in experimental soon, so I will keep you updated.
Comment 7 Lukas Appelhans 2010-05-26 16:14:54 UTC
Any news here?

Lukas
Comment 8 Aioanei Rares 2010-05-26 16:29:16 UTC
Works ok now. Thank you.