Bug 242306 - Ktorrent crash after problem with download (opening ktorrent twice)
Summary: Ktorrent crash after problem with download (opening ktorrent twice)
Status: RESOLVED UPSTREAM
Alias: None
Product: ktorrent
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Packages Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-20 23:54 UTC by bloodsplatteredgoremaniac
Modified: 2010-06-21 18:12 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 bloodsplatteredgoremaniac 2010-06-20 23:54:58 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I wanted to download 4 torrents, the first 2 got opened in 1 window of Ktorrent, the other 2 got opened in a new (second)window of Ktorrent (app running twice) 
None of the downloads started, but Ktorrent crashed (1st time)
So I tried to open Ktorrent again, and I got the bug report window. So first I used the restart application button
Ktorrent crashed again
So I tried to open it again, and now I am filling out this form, because of the bug.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb7871710 (LWP 3378))]

Thread 4 (Thread 0xb0b6eb70 (LWP 3402)):
#0  0x00223422 in __kernel_vsyscall ()
#1  0x07e95b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x00949982 in net::DownloadThread::waitForSocketReady (this=0x9c3a000) at ../../libbtcore/net/downloadthread.cpp:188
#3  0x00949a4f in net::DownloadThread::update (this=0x9c3a000) at ../../libbtcore/net/downloadthread.cpp:53
#4  0x0094a6b8 in net::NetworkThread::run (this=0x9c3a000) at ../../libbtcore/net/networkthread.cpp:48
#5  0x095fd32e in QThreadPrivate::start (arg=0x9c3a000) at thread/qthread_unix.cpp:248
#6  0x0018e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x07ea3a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb036db70 (LWP 3403)):
#0  0x00223422 in __kernel_vsyscall ()
#1  0x00193015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x095fe287 in QWaitConditionPrivate::wait (this=0x9c3a398, mutex=0x9c3a39c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9c3a398, mutex=0x9c3a39c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x009493a9 in net::UploadThread::update (this=0x9c3a360) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x0094a6b8 in net::NetworkThread::run (this=0x9c3a360) at ../../libbtcore/net/networkthread.cpp:48
#6  0x095fd32e in QThreadPrivate::start (arg=0x9c3a360) at thread/qthread_unix.cpp:248
#7  0x0018e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x07ea3a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xafb6cb70 (LWP 3404)):
#0  0x00223422 in __kernel_vsyscall ()
#1  0x00193015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x095fe287 in QWaitConditionPrivate::wait (this=0xa846ddc, mutex=0xa846dd8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa846ddc, mutex=0xa846dd8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0094dbaa in net::ReverseResolverThread::run (this=0xa846dd0) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x095fd32e in QThreadPrivate::start (arg=0xa846dd0) at thread/qthread_unix.cpp:248
#6  0x0018e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x07ea3a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7871710 (LWP 3378)):
[KCrash Handler]
#6  0x00223422 in __kernel_vsyscall ()
#7  0x07e00651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x07e03a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x07df9718 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0x04dacc29 in _XAllocID (dpy=0x9c722f0) at ../../src/xcb_io.c:385
#11 0x04d821a8 in XCreatePixmap (dpy=0x9c722f0, d=254, width=600, height=64, depth=24) at ../../src/CrPixmap.c:58
#12 0x01b184f4 in QX11PixmapData::resize (this=0xa9e2d70, width=600, height=64) at image/qpixmap_x11.cpp:368
#13 0x01b0b239 in QPixmapData::create (w=600, h=64, type=QPixmapData::PixmapType) at image/qpixmapdata.cpp:63
#14 0x01b03780 in QPixmap::init (this=0xa8bec68, w=3378, h=0, type=6) at image/qpixmap.cpp:117
#15 0x01b03b16 in QPixmap (this=0xa8bec68, w=600, h=64) at image/qpixmap.cpp:171
#16 0x0170e5ec in OxygenHelper::radialGradient (this=0x9e024d8, color=..., width=600, height=64) at ../../../kstyles/oxygen/lib/helper.cpp:278
#17 0x0170b5ba in OxygenHelper::renderWindowBackground (this=0x9e024d8, p=0xbf89f0c0, clipRect=..., widget=0x9deb8f0, window=0x9deb8f0, pal=..., y_shift=-23, gradientHeight=64)
    at ../../../kstyles/oxygen/lib/helper.cpp:125
#18 0x017464cf in OxygenHelper::renderWindowBackground (this=0x9e024d8, p=0x6, clipRect=..., widget=0x9deb8f0, pal=..., gradientHeight=<value optimized out>, y_shift=<value optimized out>)
    at ../../../kstyles/oxygen/lib/helper.h:69
#19 0x01754296 in OxygenStyle::eventFilter (this=0x9df7e10, obj=0x9deb8f0, ev=0xbf89f5b4) at ../../../kstyles/oxygen/oxygen.cpp:6369
#20 0x096fecda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9c5d7e0, receiver=0x9deb8f0, event=0xbf89f5b4) at kernel/qcoreapplication.cpp:819
#21 0x01a0d4b9 in QApplicationPrivate::notify_helper (this=0x9c5d7e0, receiver=0x9deb8f0, e=0xbf89f5b4) at kernel/qapplication.cpp:4296
#22 0x01a140f9 in QApplication::notify (this=0xbf8a0b64, receiver=0x9deb8f0, e=0xbf89f5b4) at kernel/qapplication.cpp:4265
#23 0x00c1bf2a in KApplication::notify (this=0xbf8a0b64, receiver=0x9deb8f0, event=0xbf89f5b4) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x096ffa3b in QCoreApplication::notifyInternal (this=0xbf8a0b64, receiver=0x9deb8f0, event=0xbf89f5b4) at kernel/qcoreapplication.cpp:704
#25 0x01a749d6 in QCoreApplication::sendSpontaneousEvent (this=0x9e06dd0, pdev=0x9e65abc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9e659a0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x9e06dd0, pdev=0x9e65abc, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x9e659a0) at kernel/qwidget.cpp:5339
#27 0x01c4b890 in QWidgetBackingStore::sync (this=0x9e659a0) at painting/qbackingstore.cpp:1291
#28 0x01a64b93 in QWidgetPrivate::syncBackingStore (this=0x9e06dd0) at kernel/qwidget.cpp:1672
#29 0x01a6be76 in QWidget::event (this=0x9deb8f0, event=0xbf89ff94) at kernel/qwidget.cpp:8291
#30 0x01e86bc7 in QMainWindow::event (this=0x9deb8f0, event=0xbf89ff94) at widgets/qmainwindow.cpp:1433
#31 0x00d0db04 in KMainWindow::event (this=0x9deb8f0, ev=0xbf89ff94) at ../../kdeui/widgets/kmainwindow.cpp:1103
#32 0x00d5588f in KXmlGuiWindow::event (this=0x9deb8f0, ev=0xbf89ff94) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#33 0x01a0d4dc in QApplicationPrivate::notify_helper (this=0x9c5d7e0, receiver=0x9deb8f0, e=0xbf89ff94) at kernel/qapplication.cpp:4300
#34 0x01a140f9 in QApplication::notify (this=0xbf8a0b64, receiver=0x9deb8f0, e=0xbf89ff94) at kernel/qapplication.cpp:4265
#35 0x00c1bf2a in KApplication::notify (this=0xbf8a0b64, receiver=0x9deb8f0, event=0xbf89ff94) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x096ffa3b in QCoreApplication::notifyInternal (this=0xbf8a0b64, receiver=0x9deb8f0, event=0xbf89ff94) at kernel/qcoreapplication.cpp:704
#37 0x01c48877 in QCoreApplication::sendEvent (widget=0x9deb8f0, updateImmediately=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 sendUpdateRequest (widget=0x9deb8f0, updateImmediately=<value optimized out>) at painting/qbackingstore.cpp:503
#39 0x01c4c204 in QWidgetBackingStore::markDirty (this=0x9e659a0, rect=..., widget=0x9f632b0, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:667
#40 0x01a67689 in QWidget::repaint (this=0x9f632b0, rect=...) at kernel/qwidget.cpp:10034
#41 0x01ed530b in QStatusBar::hideOrShow (this=0x9f632b0) at widgets/qstatusbar.cpp:695
#42 0x01ed6b8c in QStatusBar::clearMessage (this=0x9f632b0) at widgets/qstatusbar.cpp:633
#43 0x0213e996 in QStatusBar::clear (this=0x9f632b0, _c=QMetaObject::InvokeMetaMethod, _id=-4, _a=0xbf8a02dc) at .moc/release-shared/../../widgets/qstatusbar.h:89
#44 QStatusBar::qt_metacall (this=0x9f632b0, _c=QMetaObject::InvokeMetaMethod, _id=-4, _a=0xbf8a02dc) at .moc/release-shared/moc_qstatusbar.cpp:93
#45 0x00d30d9a in KStatusBar::qt_metacall (this=0x9f632b0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8a02dc) at ./kstatusbar.moc:68
#46 0x080a1a8f in kt::StatusBar::qt_metacall (this=0x9f632b0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8a02dc) at ./statusbar.moc:69
#47 0x09704c9a in QMetaObject::metacall (object=0x9f632b0, cl=3378, idx=30, argv=0xbf8a02dc) at kernel/qmetaobject.cpp:237
#48 0x097133d5 in QMetaObject::activate (sender=0xa8b43a0, m=0x98135a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#49 0x09764aa7 in QTimer::timeout (this=0xa8b43a0) at .moc/release-shared/moc_qtimer.cpp:134
#50 0x0971b60e in QTimer::timerEvent (this=0xa8b43a0, e=0xbf8a0810) at kernel/qtimer.cpp:271
#51 0x09710254 in QObject::event (this=0xa8b43a0, e=0x6) at kernel/qobject.cpp:1212
#52 0x01a0d4dc in QApplicationPrivate::notify_helper (this=0x9c5d7e0, receiver=0xa8b43a0, e=0xbf8a0810) at kernel/qapplication.cpp:4300
#53 0x01a1405e in QApplication::notify (this=0xbf8a0b64, receiver=0xa8b43a0, e=0xbf8a0810) at kernel/qapplication.cpp:3704
#54 0x00c1bf2a in KApplication::notify (this=0xbf8a0b64, receiver=0xa8b43a0, event=0xbf8a0810) at ../../kdeui/kernel/kapplication.cpp:302
#55 0x096ffa3b in QCoreApplication::notifyInternal (this=0xbf8a0b64, receiver=0xa8b43a0, event=0xbf8a0810) at kernel/qcoreapplication.cpp:704
#56 0x0972ed66 in QCoreApplication::sendEvent (this=0x9c61ecc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QTimerInfoList::activateTimers (this=0x9c61ecc) at kernel/qeventdispatcher_unix.cpp:603
#58 0x0972b8e4 in timerSourceDispatch (source=0x9c61e98) at kernel/qeventdispatcher_glib.cpp:184
#59 0x040e85e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x040ec2d8 in ?? () from /lib/libglib-2.0.so.0
#61 0x040ec4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x0972b5d5 in QEventDispatcherGlib::processEvents (this=0x9c38e78, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#63 0x01acd135 in QGuiEventDispatcherGlib::processEvents (this=0x9c38e78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x096fe059 in QEventLoop::processEvents (this=0xbf8a0ad4, flags=) at kernel/qeventloop.cpp:149
#65 0x096fe4aa in QEventLoop::exec (this=0xbf8a0ad4, flags=...) at kernel/qeventloop.cpp:201
#66 0x0970269f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#67 0x01a0d577 in QApplication::exec () at kernel/qapplication.cpp:3579
#68 0x08067a51 in main (argc=1, argv=0xbf8a0f34) at ../../ktorrent/main.cpp:172

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-21 18:12:33 UTC
This is a bug in X:

http://bugs.freedesktop.org/show_bug.cgi?id=27552

Nothing we can do about, the X people have to figure this one out.