This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[3.1beta1] crash when right clicking on the torrent folder

Tags: None
(comma "," separated)
MoDaX
Registered Member
Posts
241
Karma
0
OS
Hi,

Tested on 3.1beta1. It does not look like later commits fix this bug. To reproduce (always here):

Selected a torrent with folders, go to the InfoWidget -> Files, right click on the folder and ktorrent crashes. The backtrace below:

Code: Select all
Application: KTorrent (ktorrent), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x2b335aebaaa0 (LWP 22928)]
[New Thread 0x4600b950 (LWP 22971)]
[New Thread 0x45009950 (LWP 22969)]
[New Thread 0x44808950 (LWP 22968)]
[New Thread 0x44007950 (LWP 22967)]
[New Thread 0x43806950 (LWP 22966)]
[New Thread 0x43005950 (LWP 22964)]
[New Thread 0x42804950 (LWP 22963)]
[New Thread 0x42003950 (LWP 22962)]
[New Thread 0x41802950 (LWP 22959)]
[New Thread 0x41001950 (LWP 22936)]
[New Thread 0x40800950 (LWP 22935)]
[KCrash handler]
#5  kt::TorrentFileTreeModel::dirPath (this=<value optimized out>,
    idx=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:123
#6  0x00002aaab1d7f7ae in kt::FileView::showContextMenu (this=0x75f220,
    p=@0x7fff5931e4d8)
    at /tmp/buildd/ktorrent-3.1~beta1+dfsg.1/plugins/infowidget/fileview.cpp:201
#7  0x00002aaab1d80d8d in kt::FileView::qt_metacall (this=0x75f220,
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
    _a=0x7fff5931d800)
    at /tmp/buildd/ktorrent-3.1~beta1+dfsg.1/obj-x86_64-linux-gnu/plugins/infowidget/fileview.moc:83
#8  0x00002b335370e636 in QMetaObject::activate (sender=0x75f220,
    from_signal_index=<value optimized out>, to_signal_index=4,
    argv=0x22c8e2a) at kernel/qobject.cpp:3010
#9  0x00002b3353bf0532 in QWidget::customContextMenuRequested (
    this=0x22c8e2a, _t1=<value optimized out>)
    at .moc/release-shared/moc_qwidget.cpp:348
#10 0x00002b3353bffb81 in QWidget::event (this=0x75f220, event=0x7fff5931e4c0)
    at kernel/qwidget.cpp:7079
#11 0x00002b3353efc816 in QFrame::event (this=0x75f220, e=0x7fff5931e4c0)
    at widgets/qframe.cpp:657
#12 0x00002b3353f80e89 in QAbstractScrollArea::viewportEvent (this=0x22c8e2a,
    e=0x22c8e10) at widgets/qabstractscrollarea.cpp:938
#13 0x00002b335401b615 in QAbstractItemView::viewportEvent (this=0x75f220,
    event=0x7fff5931e4c0) at itemviews/qabstractitemview.cpp:1426
#14 0x00002b335404f73b in QTreeView::viewportEvent (this=0x75f220,
    event=0x7fff5931e4c0) at itemviews/qtreeview.cpp:1241
#15 0x00002b3353f82028 in QAbstractScrollAreaFilter::eventFilter (
    this=<value optimized out>, o=<value optimized out>, e=0x0)
    at widgets/qabstractscrollarea_p.h:102
#16 0x00002b33536fa81f in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1a77540, event=0x7fff5931e4c0)
    at kernel/qcoreapplication.cpp:694
#17 0x00002b3353bb0840 in QApplicationPrivate::notify_helper (this=0x6d6b30,
    receiver=0x1a77540, e=0x7fff5931e4c0) at kernel/qapplication.cpp:3762
#18 0x00002b3353bb5e81 in QApplication::notify (this=0x7fff5931f000,
    receiver=0x1a77540, e=0x7fff5931e4c0) at kernel/qapplication.cpp:3580
#19 0x00002b335280467b in KApplication::notify () from /usr/lib/libkdeui.so.5
#20 0x00002b33536fa519 in QCoreApplication::notifyInternal (
    this=0x7fff5931f000, receiver=0x1a77540, event=0x7fff5931e4c0)
    at kernel/qcoreapplication.cpp:587
#21 0x00002b3353c14efb in QETWidget::translateMouseEvent (this=0x79dab0,
    event=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 0x00002b3353c13802 in QApplication::x11ProcessEvent (this=0x188,
    event=0x7fff5931ec60) at kernel/qapplication_x11.cpp:3244
#23 0x00002b3353c391e3 in x11EventSourceDispatch (s=0x6da3a0, callback=0,
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#24 0x00002b3357fa00f2 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#25 0x00002b3357fa3396 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00002b3357fa382f in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#27 0x00002b335372375f in QEventDispatcherGlib::processEvents (this=0x6ca420,
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#28 0x00002b3353c3902f in QGuiEventDispatcherGlib::processEvents (
    this=0x22c8e2a, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00002b33536f9995 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fff5931ef30)
    at kernel/qeventloop.cpp:149
#30 0x00002b33536f9aeb in QEventLoop::exec (this=0x7fff5931ef70,
    flags=@0x7fff5931ef80) at kernel/qeventloop.cpp:200
#31 0x00002b33536fbb49 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#32 0x00000000004210d2 in main (argc=5, argv=0x7fff5931fbe8)
    at /tmp/buildd/ktorrent-3.1~beta1+dfsg.1/ktorrent/main.cpp:145
#0  0x00002b3354fca241 in nanosleep () from /lib/libc.so.6
George
Moderator
Posts
5421
Karma
1

Sun May 04, 2008 10:41 am
I can reproduce it, so it should not take long to fix.
George
Moderator
Posts
5421
Karma
1

Sun May 04, 2008 3:15 pm
It is fixed


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]