Bug 208593 - ktorrent crashes when playing a video preview
Summary: ktorrent crashes when playing a video preview
Status: RESOLVED DUPLICATE of bug 193050
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-26 13:37 UTC by Grégoire Paris
Modified: 2009-10-31 10:51 UTC (History)
3 users (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 Grégoire Paris 2009-09-26 13:37:48 UTC
Application that crashed: ktorrent
Version of the application: 3.2.3
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
When trying to see a video preview with the video module of ktorrent, it sometimes crashes.
Tested with a not totally downloaded video un avi format

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
[Current thread is 1 (Thread 0x7f4d79ca1820 (LWP 4197))]

Thread 12 (Thread 0x7f4d72eff910 (LWP 4199)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f4d712225c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f4d67657910 (LWP 4200)):
[KCrash Handler]
#5  0x00000035856750d0 in vtable for KNetwork::KSocketAddressData::QMixSocketAddressRef () from /usr/lib64/libkdecore.so.5
#6  0x00007f4d7121f4ac in ?? () from /usr/lib64/libxine.so.1
#7  0x00007f4d7121ff87 in xine_open () from /usr/lib64/libxine.so.1
#8  0x00007f4d714a8555 in Phonon::Xine::XineStream::xineOpen (this=0x7f4d6c002570, newstate=Phonon::StoppedState) at /usr/src/debug/phonon-4.3.1/xine/xinestream.cpp:262
#9  0x00007f4d714a9ac2 in Phonon::Xine::XineStream::getStreamInfo (this=0x7f4d6c002570) at /usr/src/debug/phonon-4.3.1/xine/xinestream.cpp:439
#10 0x00007f4d714ab96e in Phonon::Xine::XineStream::event (this=0x7f4d6c002570, ev=0x23a9220) at /usr/src/debug/phonon-4.3.1/xine/xinestream.cpp:1093
#11 0x0000003585d8f69c in QApplicationPrivate::notify_helper (this=0x1667f60, receiver=0x7f4d6c002570, e=0x23a9220) at kernel/qapplication.cpp:4056
#12 0x0000003585d968fe in QApplication::notify (this=0x7fffa1916c50, receiver=0x7f4d6c002570, e=0x23a9220) at kernel/qapplication.cpp:4021
#13 0x0000003586e11b56 in KApplication::notify (this=0x7fffa1916c50, receiver=0x7f4d6c002570, event=0x23a9220) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#14 0x000000358413f59c in QCoreApplication::notifyInternal (this=0x7fffa1916c50, receiver=0x7f4d6c002570, event=0x23a9220) at kernel/qcoreapplication.cpp:610
#15 0x00000035841401a2 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#16 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#17 0x0000003584167cc3 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#18 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#19 0x000000358303790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x000000358303b0e8 in ?? () from /lib64/libglib-2.0.so.0
#21 0x000000358303b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x0000003584167936 in QEventDispatcherGlib::processEvents (this=0x7f4d6c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#23 0x000000358413ded2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#24 0x000000358413e2a4 in QEventLoop::exec (this=0x7f4d67656f30, flags={i = 0}) at kernel/qeventloop.cpp:201
#25 0x0000003584056f8b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007f4d7149eb4e in Phonon::Xine::XineThread::run (this=0x1d83930) at /usr/src/debug/phonon-4.3.1/xine/xinethread.cpp:143
#27 0x0000003584059d45 in QThreadPrivate::start (arg=0x1d83930) at thread/qthread_unix.cpp:188
#28 0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#29 0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f4d66c56910 (LWP 4201)):
#0  0x0000003392cd50d3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4d67ef981b in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f4d67ee72d4 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f4d67ee7683 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f4d67ee76f6 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f4d67ef9898 in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f4d67caec4f in ?? () from /usr/lib64/libpulsecommon-0.9.15.so
#7  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f4d66255910 (LWP 4202)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4d71233493 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4d56abe910 (LWP 4209)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00000035840597d5 in thread_sleep (ti=0x7f4d56abdf30) at thread/qthread_unix.cpp:297
#2  0x0000003584059940 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x000000358964c653 in net::DownloadThread::update (this=0x162c720) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/downloadthread.cpp:110
#4  0x000000358964cde9 in net::NetworkThread::run (this=0x162c720) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/networkthread.cpp:48
#5  0x0000003584059d45 in QThreadPrivate::start (arg=0x162c720) at thread/qthread_unix.cpp:188
#6  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4d560bd910 (LWP 4210)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000358405adfb in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000358964bce8 in net::UploadThread::update (this=0x162cc70) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/uploadthread.cpp:73
#4  0x000000358964cde9 in net::NetworkThread::run (this=0x162cc70) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/networkthread.cpp:48
#5  0x0000003584059d45 in QThreadPrivate::start (arg=0x162cc70) at thread/qthread_unix.cpp:188
#6  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4d576c5910 (LWP 4309)):
#0  0x0000003392cd7102 in select () from /lib64/libc.so.6
#1  0x00007f4d7124aa85 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f4d71230289 in ?? () from /usr/lib64/libxine.so.1
#3  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4d580c6910 (LWP 4310)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4d71225f0b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f4d7122bf0d in ?? () from /usr/lib64/libxine.so.1
#3  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4d44eeb910 (LWP 4311)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4d71225f0b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f4d7122cf8d in ?? () from /usr/lib64/libxine.so.1
#3  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4d3ebea910 (LWP 4312)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4d712365bb in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00007f4d7123662e in ?? () from /usr/lib64/libxine.so.1
#3  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4d3cda7910 (LWP 4373)):
#0  0x0000003392cd7102 in select () from /lib64/libc.so.6
#1  0x00007f4d7124aa85 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f4d71230289 in ?? () from /usr/lib64/libxine.so.1
#3  0x000000339380686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003392cde3bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4d79ca1820 (LWP 4197)):
#0  0x0000003392cd50d3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000339400882a in ?? () from /usr/lib64/libxcb.so.1
#2  0x000000339400a19c in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#3  0x000000339484ca83 in _XReply () from /usr/lib64/libX11.so.6
#4  0x000000339482a097 in XGetWindowProperty () from /usr/lib64/libX11.so.6
#5  0x000000339482ae3b in XGetWMColormapWindows () from /usr/lib64/libX11.so.6
#6  0x0000003585e1625b in QWidgetPrivate::setParent_sys (this=0x2148800, parent=<value optimized out>, f=<value optimized out>) at kernel/qwidget_x11.cpp:1127
#7  0x0000003585de0a98 in QWidget::setParent (this=0x2ab59e0, parent=0x16f7960, f={i = 134279168}) at kernel/qwidget.cpp:9215
#8  0x0000003585de11b2 in QWidget::setParent (this=0x7fffa1913c30, parent=0x1) at kernel/qwidget.cpp:9172
#9  0x0000003585dbaf1d in QLayout::addChildWidget (this=<value optimized out>, w=0x2ab59e0) at kernel/qlayout.cpp:972
#10 0x0000003585dc8cf6 in QStackedLayout::insertWidget (this=0x7fffa1913c30, index=-1, widget=0xffffffffffffffff) at kernel/qstackedlayout.cpp:213
#11 0x00000035861a90b1 in QTabWidget::insertTab (this=0x16fad70, index=-1, w=0xffffffffffffffff, icon=@0x7fffa19142a0, label=@0x7fffa1914480) at widgets/qtabwidget.cpp:446
#12 0x0000000000487bcd in ideal::MainWindow::addTab (this=<value optimized out>, widget=0x2ab59e0, text=@0x7fffa1914480, icon=<value optimized out>, pos=<value optimized out>, 
    tooltip=@0x7fffa1914430) at /usr/src/debug/ktorrent-3.2.3/ideal/mainwindow.cpp:174
#13 0x0000000000433777 in kt::GUI::addTabPage (this=0x7fffa1913c30, page=0x1, icon=@0x1, caption=@0xffffffffffffffff, tooltip=<value optimized out>, ctl=<value optimized out>)
    at /usr/src/debug/ktorrent-3.2.3/ktorrent/gui.cpp:141
#14 0x00007f4d7190a574 in kt::MediaPlayerPlugin::openVideo (this=0x1d190d0) at /usr/src/debug/ktorrent-3.2.3/plugins/mediaplayer/mediaplayerplugin.cpp:171
#15 0x00007f4d71907f04 in kt::MediaPlayerPlugin::qt_metacall (this=0x1d190d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa19145f0)
    at /usr/src/debug/ktorrent-3.2.3/x86_64-redhat-linux-gnu/plugins/mediaplayer/moc_mediaplayerplugin.cpp:102
#16 0x00000035841547dc in QMetaObject::activate (sender=0x1f28520, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#17 0x0000003585d89892 in QAction::toggled (this=0x7fffa1913c30, _t1=true) at .moc/release-shared/moc_qaction.cpp:249
#18 0x0000003585d8abdb in QAction::setChecked (this=0x1f28520, b=true) at kernel/qaction.cpp:969
#19 0x0000003585d8aca1 in QAction::activate (this=0x1f28520, event=<value optimized out>) at kernel/qaction.cpp:1157
#20 0x00000035860f086a in QAbstractButtonPrivate::click (this=0x1f30e40) at widgets/qabstractbutton.cpp:525
#21 0x00000035860f0b05 in QAbstractButton::mouseReleaseEvent (this=0x1f30cf0, e=0x7fffa1914d60) at widgets/qabstractbutton.cpp:1115
#22 0x00000035861bed2a in QToolButton::mouseReleaseEvent (this=0x7fffa1913c30, e=0x1) at widgets/qtoolbutton.cpp:709
#23 0x0000003585dddd88 in QWidget::event (this=0x1f30cf0, event=0x7fffa1914d60) at kernel/qwidget.cpp:7549
#24 0x0000003585d8f69c in QApplicationPrivate::notify_helper (this=0x1667f60, receiver=0x1f30cf0, e=0x7fffa1914d60) at kernel/qapplication.cpp:4056
#25 0x0000003585d96741 in QApplication::notify (this=<value optimized out>, receiver=0x1f30cf0, e=0x7fffa1914d60) at kernel/qapplication.cpp:3758
#26 0x0000003586e11b56 in KApplication::notify (this=0x7fffa1916c50, receiver=0x1f30cf0, event=0x7fffa1914d60) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#27 0x000000358413f59c in QCoreApplication::notifyInternal (this=0x7fffa1916c50, receiver=0x1f30cf0, event=0x7fffa1914d60) at kernel/qcoreapplication.cpp:610
#28 0x0000003585d96030 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#29 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#30 0x0000003585dfba4e in QETWidget::translateMouseEvent (this=0x178f320, event=<value optimized out>) at kernel/qapplication_x11.cpp:4404
#31 0x0000003585dfab08 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa1916890) at kernel/qapplication_x11.cpp:3545
#32 0x0000003585e227dc in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x000000358303790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#34 0x000000358303b0e8 in ?? () from /lib64/libglib-2.0.so.0
#35 0x000000358303b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#36 0x0000003584167936 in QEventDispatcherGlib::processEvents (this=0x1629340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#37 0x0000003585e21f8e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa1913c30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x000000358413ded2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#39 0x000000358413e2a4 in QEventLoop::exec (this=0x7fffa1916bc0, flags={i = 0}) at kernel/qeventloop.cpp:201
#40 0x0000003584140439 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x0000000000422ba2 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/ktorrent-3.2.3/ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-26 15:44:07 UTC
Mh, this could be related to bug 193050 , but it doesn't have a XIOError...
Thanks
Comment 2 Joris Guisson 2009-10-31 10:51:47 UTC
It is a dupe of 193050

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