Bug 270269

Summary: crash
Product: [Applications] ktorrent Reporter: Brunno Prego <brunno>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED UPSTREAM    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brunno Prego 2011-04-07 02:40:09 UTC
Application: ktorrent (4.1.0)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.38-18-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
It's downloading some files, and ktorrent is minimized.
Others applications are active (Firefox 4, Kopete)

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc2b8e30760 (LWP 3912))]

Thread 7 (Thread 0x7fc2a4530700 (LWP 4402)):
#0  0x00007fc2b638c38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc2b6615b93 in QMutexPrivate::wait (this=0x14dcdc0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fc2b6612525 in QMutex::lock (this=0x14ee2e8) at thread/qmutex.cpp:204
#3  0x00007fc2a089e287 in QMutexLocker (this=0x14ee260, line=..., arg=19) at /usr/include/QtCore/qmutex.h:102
#4  kt::LogViewer::message (this=0x14ee260, line=..., arg=19) at /usr/src/debug/ktorrent-4.1.0/plugins/logviewer/logviewer.cpp:67
#5  0x00007fc2b892dc30 in bt::endl(bt::Log&) () from /usr/lib64/libktorrent.so.3
#6  0x00007fc2b892ea7c in ?? () from /usr/lib64/libktorrent.so.3
#7  0x00007fc2b660e84e in qt_message_output (msgType=QtWarningMsg, buf=<value optimized out>) at global/qglobal.cpp:2228
#8  0x00007fc2b660ea6d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtWarningMsg, msg=0x7fc2b67bd9b0 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0x7fc2a452fb70) at global/qglobal.cpp:2328
#9  0x00007fc2b660f275 in qWarning (msg=<value optimized out>) at global/qglobal.cpp:2410
#10 0x00007fc2b672a39c in socketNotifierSourceCheck (source=0x7fc29c001370) at kernel/qeventdispatcher_glib.cpp:90
#11 0x00007fc2b000484c in g_main_context_check () from /lib64/libglib-2.0.so.0
#12 0x00007fc2b0005132 in ?? () from /lib64/libglib-2.0.so.0
#13 0x00007fc2b0005650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#14 0x00007fc2b672a91f in QEventDispatcherGlib::processEvents (this=0x8292a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#15 0x00007fc2b66ff052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#16 0x00007fc2b66ff265 in QEventLoop::exec (this=0x7fc2a452fe20, flags=...) at kernel/qeventloop.cpp:201
#17 0x00007fc2b66141e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#18 0x00007fc2b6616a5e in QThreadPrivate::start (arg=0x829c40) at thread/qthread_unix.cpp:285
#19 0x00007fc2b6387a3f in start_thread () from /lib64/libpthread.so.0
#20 0x00007fc2b4cd567d in clone () from /lib64/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc2a3d2f700 (LWP 4425)):
#0  0x00007fc2b893f167 in net::Poll::reset() () from /usr/lib64/libktorrent.so.3
#1  0x00007fc2b89a1606 in ?? () from /usr/lib64/libktorrent.so.3
#2  0x00007fc2b6616a5e in QThreadPrivate::start (arg=0x830a40) at thread/qthread_unix.cpp:285
#3  0x00007fc2b6387a3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc2b4cd567d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc298a7e700 (LWP 4655)):
#0  0x00007fc2b638c38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc299e3a084 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fc2b6387a3f in start_thread () from /lib64/libpthread.so.0
#3  0x00007fc2b4cd567d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc295050700 (LWP 4852)):
#0  0x00007fc2b638c38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc2b6615b93 in QMutexPrivate::wait (this=0x713330, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fc2b6612525 in QMutex::lock (this=0x713310) at thread/qmutex.cpp:204
#3  0x00007fc2b892d39e in bt::Out(unsigned int) () from /usr/lib64/libktorrent.so.3
#4  0x00007fc2b893e5a9 in net::WakeUpPipe::wakeUp() () from /usr/lib64/libktorrent.so.3
#5  0x00007fc2b89d4318 in utp::UTPServer::preparePolling(net::Poll*, net::Poll::Mode, QSharedPointer<utp::Connection>) () from /usr/lib64/libktorrent.so.3
#6  0x00007fc2b89dc303 in utp::UTPSocket::prepare(net::Poll*, net::Poll::Mode) () from /usr/lib64/libktorrent.so.3
#7  0x00007fc2b893be46 in ?? () from /usr/lib64/libktorrent.so.3
#8  0x00007fc2b893bf46 in ?? () from /usr/lib64/libktorrent.so.3
#9  0x00007fc2b893c149 in ?? () from /usr/lib64/libktorrent.so.3
#10 0x00007fc2b6616a5e in QThreadPrivate::start (arg=0x6e92b0) at thread/qthread_unix.cpp:285
#11 0x00007fc2b6387a3f in start_thread () from /lib64/libpthread.so.0
#12 0x00007fc2b4cd567d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc296853700 (LWP 4853)):
#0  0x00007fc2b638c38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc2b6615b93 in QMutexPrivate::wait (this=0x6e9230, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fc2b6612505 in QMutex::lock (this=0x6e8870) at thread/qmutex.cpp:167
#3  0x00007fc2b893b52a in ?? () from /usr/lib64/libktorrent.so.3
#4  0x00007fc2b893b796 in ?? () from /usr/lib64/libktorrent.so.3
#5  0x00007fc2b893c149 in ?? () from /usr/lib64/libktorrent.so.3
#6  0x00007fc2b6616a5e in QThreadPrivate::start (arg=0x6e97d0) at thread/qthread_unix.cpp:285
#7  0x00007fc2b6387a3f in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc2b4cd567d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc296052700 (LWP 4854)):
#0  0x00007fc2b638c38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc2b661714b in wait (this=<value optimized out>, mutex=0x1313870, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1313870, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc2b893ed12 in ?? () from /usr/lib64/libktorrent.so.3
#4  0x00007fc2b6616a5e in QThreadPrivate::start (arg=0x1313860) at thread/qthread_unix.cpp:285
#5  0x00007fc2b6387a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fc2b4cd567d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc2b8e30760 (LWP 3912)):
[KCrash Handler]
#6  QTextLayout::lineCount (this=0x1fc6390) at text/qtextlayout.cpp:797
#7  0x00007fc2b5b41e84 in QTextDocumentLayoutPrivate::layoutBlock (this=0x1504050, bl=<value optimized out>, blockPosition=5175, blockFormat=..., layoutStruct=0x7fffbde49aa0, layoutFrom=0, layoutTo=0, previousBlockFormat=0x7fffbde49980) at text/qtextdocumentlayout.cpp:2669
#8  0x00007fc2b5b4a3e3 in QTextDocumentLayoutPrivate::layoutFlow (this=0x1504050, it=..., layoutStruct=0x7fffbde49aa0, layoutFrom=0, layoutTo=0, width=<value optimized out>) at text/qtextdocumentlayout.cpp:2404
#9  0x00007fc2b5b48bea in QTextDocumentLayoutPrivate::layoutFrame (this=0x1504050, f=0x14eac70, layoutFrom=0, layoutTo=0, frameWidth=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2145
#10 0x00007fc2b5b493e1 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1504050, f=0x14eac70, layoutFrom=0, layoutTo=0, parentY=...) at text/qtextdocumentlayout.cpp:2051
#11 0x00007fc2b5b4bfaa in QTextDocumentLayout::doLayout (this=0x164e960, from=0, oldLength=<value optimized out>, length=0) at text/qtextdocumentlayout.cpp:2914
#12 0x00007fc2b5b4d75d in QTextDocumentLayout::documentChanged (this=0x164e960, from=0, oldLength=68, length=0) at text/qtextdocumentlayout.cpp:2877
#13 0x00007fc2b5b28c2a in QTextDocumentPrivate::finishEdit (this=0x16cba90) at text/qtextdocument_p.cpp:1216
#14 0x00007fc2b5b29101 in QTextDocumentPrivate::ensureMaximumBlockCount (this=0x16cba90) at text/qtextdocument_p.cpp:1700
#15 0x00007fc2b5b28de1 in QTextDocumentPrivate::finishEdit (this=0x16cba90) at text/qtextdocument_p.cpp:1223
#16 0x00007fc2b5aed4f0 in QTextControlPrivate::append (this=<value optimized out>, text=..., format=Qt::AutoText) at text/qtextcontrol.cpp:2822
#17 0x00007fc2b5d11c46 in QTextEdit::append (this=<value optimized out>, text=...) at widgets/qtextedit.cpp:2620
#18 0x00007fc2a089e197 in kt::LogViewer::processPending (this=0x14ee260) at /usr/src/debug/ktorrent-4.1.0/plugins/logviewer/logviewer.cpp:88
#19 0x00007fc2b869dc88 in kt::PluginManager::updateGuiPlugins (this=0x82b9b0) at /usr/src/debug/ktorrent-4.1.0/libktcore/plugin/pluginmanager.cpp:202
#20 0x00000000004394ca in kt::GUI::update (this=0x819220) at /usr/src/debug/ktorrent-4.1.0/ktorrent/gui.cpp:475
#21 0x000000000043bf64 in kt::GUI::qt_metacall (this=0x819220, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbde4a250) at /usr/src/debug/ktorrent-4.1.0/build/ktorrent/gui.moc:125
#22 0x00007fc2b6714def in QMetaObject::activate (sender=0x819278, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#23 0x00007fc2b6713799 in QObject::event (this=0x819278, e=<value optimized out>) at kernel/qobject.cpp:1175
#24 0x00007fc2b58aed14 in QApplicationPrivate::notify_helper (this=0x736e50, receiver=0x819278, e=0x7fffbde4a9d0) at kernel/qapplication.cpp:4445
#25 0x00007fc2b58b722a in QApplication::notify (this=<value optimized out>, receiver=0x819278, e=0x7fffbde4a9d0) at kernel/qapplication.cpp:4324
#26 0x000000000043c4d1 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at /usr/src/debug/ktorrent-4.1.0/ktorrent/app.cpp:97
#27 0x00007fc2b66ffbfc in QCoreApplication::notifyInternal (this=0x7fffbde4ad80, receiver=0x819278, event=0x7fffbde4a9d0) at kernel/qcoreapplication.cpp:732
#28 0x00007fc2b672d4d8 in sendEvent (this=0x738160) at kernel/qcoreapplication.h:215
#29 QTimerInfoList::activateTimers (this=0x738160) at kernel/qeventdispatcher_unix.cpp:618
#30 0x00007fc2b672a268 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#31 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#32 0x00007fc2b0004bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007fc2b00053b0 in ?? () from /lib64/libglib-2.0.so.0
#34 0x00007fc2b0005650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007fc2b672a91f in QEventDispatcherGlib::processEvents (this=0x6e7050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007fc2b5953d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fc2b66ff052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fc2b66ff265 in QEventLoop::exec (this=0x7fffbde4ace0, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007fc2b67036ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x000000000042bf45 in main (argc=3, argv=0x7fffbde4bbf8) at /usr/src/debug/ktorrent-4.1.0/ktorrent/main.cpp:177

Reported using DrKonqi
Comment 1 Joris Guisson 2011-04-08 11:24:07 UTC
This is a Qt problem