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

[BUG] Ktorrent crash with video preview

Tags: None
(comma "," separated)
okias
Registered Member
Posts
9
Karma
0
gdb ktorrent
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(gdb) run --nofork
Starting program: /usr/bin/ktorrent --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0x7fbcbebe8750 (LWP 11263)]
[New Thread 0x7fbcb1e7e950 (LWP 11271)]
[Thread 0x7fbcb1e7e950 (LWP 11271) exited]
[New Thread 0x7fbcb1e7e950 (LWP 11281)]
[New Thread 0x7fbca87c9950 (LWP 11282)]
[New Thread 0x7fbca7dbe950 (LWP 11283)]
[New Thread 0x7fbca759c950 (LWP 11284)]
[Thread 0x7fbca759c950 (LWP 11284) exited]
[Thread 0x7fbca7dbe950 (LWP 11283) exited]
[New Thread 0x7fbca7dbe950 (LWP 11294)]
[New Thread 0x7fbca759c950 (LWP 11295)]
[New Thread 0x7fbca6d9b950 (LWP 11296)]
[New Thread 0x7fbca6394950 (LWP 11306)]
[New Thread 0x7fbca5b93950 (LWP 11307)]
[New Thread 0x7fbca4d6d950 (LWP 11317)]
[New Thread 0x7fbca4183950 (LWP 11318)]
[New Thread 0x7fbca37b5950 (LWP 11319)]
[New Thread 0x7fbca2fb4950 (LWP 11320)]
[New Thread 0x7fbca0364950 (LWP 11321)]
[New Thread 0x7fbc9e96d950 (LWP 11322)]
[Thread 0x7fbca0364950 (LWP 11321) exited]
[New Thread 0x7fbca0364950 (LWP 11350)]
[h264 @ 0x1736440]no frame!
Last message repeated 581 times
[h264 @ 0x1736440]number of reference frames exceeds max (probably corrupt input), discarding one
[Thread 0x7fbca0364950 (LWP 11350) exited]
[New Thread 0x7fbca0364950 (LWP 11396)]
[New Thread 0x7fbc9d542950 (LWP 11397)]
Last message repeated 16 times
[h264 @ 0x1db9360]no frame!
Last message repeated 581 times
[h264 @ 0x1db9360]number of reference frames exceeds max (probably corrupt input), discarding one
[Thread 0x7fbc9e96d950 (LWP 11322) exited]
[Thread 0x7fbca0364950 (LWP 11396) exited]
[Thread 0x7fbca6d9b950 (LWP 11296) exited]
[Thread 0x7fbc9d542950 (LWP 11397) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fbca87c9950 (LWP 11282)]
0x0000000000000000 in ?? ()
(gdb) thread apply all backtrace

Thread 15 (Thread 0x7fbca2fb4950 (LWP 11320)):
#0 0x00007fbcbc101d99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007fbcabc0067b in listener_loop (queue_gen=<value optimized out>) at events.c:56
#2 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#3 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fbca37b5950 (LWP 11319)):
#0 0x00007fbcbc101d99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007fbcabbef0db in fifo_buffer_get (fifo=0x16ff8a0) at buffer.c:230
#2 0x00007fbcabbf676f in audio_decoder_loop (stream_gen=<value optimized out>) at audio_decoder.c:66
#3 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#4 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fbca4183950 (LWP 11318)):
#0 0x00007fbcbc101d99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007fbcabbef0db in fifo_buffer_get (fifo=0x12bca70) at buffer.c:230
#2 0x00007fbcabbf56bf in video_decoder_loop (stream_gen=<value optimized out>) at video_decoder.c:130
#3 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#4 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fbca4d6d950 (LWP 11317)):
#0 0x00007fbcbabcefc2 in select () from /lib/libc.so.6
#1 0x00007fbcabc173b4 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2 0x00007fbcabbf9ae0 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#4 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fbca5b93950 (LWP 11307)):
#0 0x00007fbcbc10201d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007fbcbc36d355 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2 0x00007fbcbc36d4ae in QThread::msleep () from /usr/lib64/qt4/libQtCore.so.4
#3 0x00007fbcbe724804 in net::UploadThread::update (this=0xa0b660) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/libbtcore/net/uploadthread.cpp:77
#4 0x00007fbcbe7257ae in net::NetworkThread::run (this=0xa0b660) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/libbtcore/net/networkthread.cpp:48
#5 0x00007fbcbc36da79 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#6 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#7 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#8 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fbca6394950 (LWP 11306)):
#0 0x00007fbcbabccf86 in poll () from /lib/libc.so.6
#1 0x00007fbcbe724ed8 in net::DownloadThread::waitForSocketReady (this=0xa0ad40, timeout=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/libbtcore/net/downloadthread.cpp:188
#2 0x00007fbcbe724f0c in net::DownloadThread::update (this=0x1269d90) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/libbtcore/net/downloadthread.cpp:53
#3 0x00007fbcbe7257ae in net::NetworkThread::run (this=0xa0ad40) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/libbtcore/net/networkthread.cpp:48
#4 0x00007fbcbc36da79 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#5 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#6 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fbca759c950 (LWP 11295)):
#0 0x00007fbcbc101d99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007fbcabbfd643 in ao_loop (this_gen=<value optimized out>) at audio_out.c:348
#2 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#3 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fbca7dbe950 (LWP 11294)):
#0 0x00007fbcbabccf86 in poll () from /lib/libc.so.6
#1 0x00007fbca7dc3ab8 in ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:150
#2 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#3 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbca87c9950 (LWP 11282)):
#0 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#1 0x00007fbcabbe8472 in close_internal (stream=0x12bee30) at xine.c:451
#2 0x00007fbcabbe84f4 in xine_close (stream=0x12bee30) at xine.c:500
#3 0x00007fbcabe55c57 in Phonon::Xine::XineStream::event (this=0xfa6930, ev=<value optimized out>) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/xine/xinestream.cpp:1241
#4 0x00007fbcbb79cbbd in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#5 0x00007fbcbb7a457a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#6 0x00007fbcbd9618f4 in KApplication::notify (this=0x7fffc6c24ff0, receiver=0xfa6930, event=0x1d97e20) at /var/tmp/portage/kde-base/kdelibs-4.2.70-r1/work/kdelibs-4.2.70/kdeui/kernel/kapplication.cpp:307
#7 0x00007fbcbc441a7b in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#8 0x00007fbcbc4423d7 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#9 0x00007fbcbc467273 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fbcb6b574ce in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00007fbcb6b59235 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00007fbcb6b5940b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#13 0x00007fbcbc466f0f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fbcbc440432 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fbcbc4405c5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fbcbc36aefc in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fbcabe49458 in Phonon::Xine::XineThread::run (this=0xf14860) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/xine/xinethread.cpp:143
#18 0x00007fbcbc36da79 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#20 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbcb1e7e950 (LWP 11281)):
#0 0x00007fbcbc10201d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007fbcabbeb2be in metronom_sync_loop (this=0x1014500) at metronom.c:870
#2 0x00007fbcbc0fe017 in start_thread () from /lib/libpthread.so.0
#3 0x00007fbcbabd580d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbcbebe8750 (LWP 11263)):
#0 0x00007fbcbabccf86 in poll () from /lib/libc.so.6
#1 0x00007fbcb46c4b0a in ?? () from /usr/lib/libxcb.so.1
#2 0x00007fbcb46c6760 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3 0x00007fbcb8b39e14 in _XReply () from /usr/lib64/libX11.so.6
#4 0x00007fbcb8b241ee in XQueryPointer () from /usr/lib64/libX11.so.6
#5 0x00007fbcbb808a9c in QCursor::pos () from /usr/lib64/qt4/libQtGui.so.4
#6 0x00007fbcbb7b3465 in QMouseEvent::QMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#7 0x00007fbcb7251c85 in Phonon::SeekSliderPrivate::_k_currentSourceChanged (this=0x1165820) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/phonon/seekslider.cpp:148
#8 0x00007fbcb7252073 in Phonon::SeekSlider::qt_metacall (this=0x11638c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc6c23180) at /var/tmp/portage/media-sound/phonon-9999/work/phonon_build/phonon/moc_seekslider.cpp:101
#9 0x00007fbcbc453e5d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fbcb7239f7f in Phonon::MediaObject::currentSourceChanged (this=0x7fffc6c22d60, _t1=<value optimized out>) at /var/tmp/portage/media-sound/phonon-9999/work/phonon_build/phonon/moc_mediaobject.cpp:228
#11 0x00007fbcb723b753 in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=0xf92fb0, source=@0xb5dde0) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/phonon/mediaobject.cpp:446
#12 0x00007fbcb723c2c7 in Phonon::MediaObject::qt_metacall (this=0xc975c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc6c23370) at /var/tmp/portage/media-sound/phonon-9999/work/phonon_build/phonon/moc_mediaobject.cpp:138
#13 0x00007fbcbc453e5d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fbcabe5f17d in Phonon::Xine::MediaObject::currentSourceChanged (this=0x7fffc6c22d60, _t1=<value optimized out>) at /var/tmp/portage/media-sound/phonon-9999/work/phonon_build/xine/mediaobject.moc:209
#15 0x00007fbcabe614ae in Phonon::Xine::MediaObject::setSourceInternal (this=0xb5dd80, source=@0xf93030, how=Phonon::Xine::MediaObject::HardSwitch) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/xine/mediaobject.cpp:424
#16 0x00007fbcabe614fa in Phonon::Xine::MediaObject::setSource (this=0x7fffc6c22d60, source=@0x1) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/xine/mediaobject.cpp:317
#17 0x00007fbcb723be04 in Phonon::MediaObject::setCurrentSource (this=0xc975c0, newSource=@0x7fffc6c23770) at /var/tmp/portage/media-sound/phonon-9999/work/phonon-9999/phonon/mediaobject.cpp:260
#18 0x00007fbcac7fbb45 in kt::MediaPlayer::play (this=0xe10b90, file=@0x7fffc6c237c0) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/plugins/mediaplayer/mediaplayer.cpp:76
#19 0x00007fbcac7f3872 in kt::MediaPlayerPlugin::onDoubleClicked (this=0xf9bda0, idx=@0x7fffc6c237f0) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/plugins/mediaplayer/mediaplayerplugin.cpp:213
#20 0x00007fbcac7f3981 in kt::MediaPlayerPlugin::play (this=0xf9bda0) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/plugins/mediaplayer/mediaplayerplugin.cpp:202
#21 0x00007fbcac7f2db0 in kt::MediaPlayerPlugin::qt_metacall (this=0xf9bda0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc6c23950) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent_build/plugins/mediaplayer/moc_mediaplayerplugin.cpp:89
#22 0x00007fbcbc453e5d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007fbcbb7977a7 in QAction::triggered () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fbcbb798a40 in QAction::activate () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fbcbbaebf1a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fbcbbaec195 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fbcbbbaae1a in QToolButton::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fbcbb7ea230 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fbcbb79cbbd in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007fbcbb7a4cdb in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fbcbd9618f4 in KApplication::notify (this=0x7fffc6c24ff0, receiver=0x11a64f0, event=0x7fffc6c242b0) at /var/tmp/portage/kde-base/kdelibs-4.2.70-r1/work/kdelibs-4.2.70/kdeui/kernel/kapplication.cpp:307
#32 0x00007fbcbc441a7b in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fbcbb7a61f8 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007fbcbb7ff99c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007fbcbb7fe87d in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007fbcbb8232ac in ?? () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007fbcb6b574ce in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00007fbcb6b59235 in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#39 0x00007fbcb6b5940b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0x00007fbcbc466f0f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007fbcbb822b6f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007fbcbc440432 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007fbcbc4405c5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#44 0x00007fbcbc44263c in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#45 0x0000000000425d9b in main (argc=2, argv=0x7fffc6c25c28) at /var/tmp/portage/net-p2p/ktorrent-3.2.1/work/ktorrent-3.2.1/ktorrent/main.cpp:170
#0 0x0000000000000000 in ?? ()

Try circa 10x run video, minimalize to tray, open, play video, stop video....

KDE 4.2.70, Qt 4.5.0, kernel 2.6.29, Ktorrent 3.2.1
George
Moderator
Posts
5421
Karma
1

Tue Apr 28, 2009 11:47 am
Looks like a problem in xine or phonon, but will have to investigate more closely.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft