Bug 297239 - Ktorrent crash
Summary: Ktorrent crash
Status: RESOLVED DUPLICATE of bug 296560
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-01 11:56 UTC by Jannis Liapis
Modified: 2012-04-02 19:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.63 KB, text/plain)
2012-04-02 03:44 UTC, Fahad Al Mutairy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannis Liapis 2012-04-01 11:56:45 UTC
Application: ktorrent (4.1.3)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.9-zen-turbo+ i686
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed: The crash occurred on startup. I did not add any torrent since yesterday morning.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4271980 (LWP 2229))]

Thread 5 (Thread 0xb1c84b40 (LWP 2240)):
#0  0xb772b424 in __kernel_vsyscall ()
#1  0xb58d4380 in __GI___poll (fds=0xb1302148, nfds=2, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb75d7567 in net::Poll::poll(int) () from /usr/lib/libktorrent.so.3
#3  0xb7643ab9 in ?? () from /usr/lib/libktorrent.so.3
#4  0xb6606de0 in QThreadPrivate::start (arg=0x88811c8) at thread/qthread_unix.cpp:298
#5  0xb4eb0d4c in start_thread (arg=0xb1c84b40) at pthread_create.c:308
#6  0xb58e2ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xac1b0b40 (LWP 2245)):
#0  0xb772b424 in __kernel_vsyscall ()
#1  0xb4eb496b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb58f03dc in __pthread_cond_wait (cond=0xb09cea30, mutex=0xb09cea18) at forward.c:139
#3  0xb029d263 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb09c9940) at wtf/FastMalloc.cpp:2495
#4  0xb029d37f in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb09c9940) at wtf/FastMalloc.cpp:1618
#5  0xb4eb0d4c in start_thread (arg=0xac1b0b40) at pthread_create.c:308
#6  0xb58e2ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xab88fb40 (LWP 2289)):
#0  0xb772b424 in __kernel_vsyscall ()
#1  0xb58d4380 in __GI___poll (fds=0xaaf00df0, nfds=1, timeout=3970) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb4c60a8b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4c5306e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4c531c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb674e067 in QEventDispatcherGlib::processEvents (this=0xaaf00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6719c8d in QEventLoop::processEvents (this=0xab88f270, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6719f29 in QEventLoop::exec (this=0xab88f270, flags=...) at kernel/qeventloop.cpp:204
#8  0xb660394c in QThread::exec (this=0x8f2ae50) at thread/qthread.cpp:501
#9  0xb6603a3b in QThread::run (this=0x8f2ae50) at thread/qthread.cpp:568
#10 0xb6606de0 in QThreadPrivate::start (arg=0x8f2ae50) at thread/qthread_unix.cpp:298
#11 0xb4eb0d4c in start_thread (arg=0xab88fb40) at pthread_create.c:308
#12 0xb58e2ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaaeffb40 (LWP 2359)):
[KCrash Handler]
#7  0xb5918425 in __nscd_get_mapping (type=GETFDHST, key=0xb59565d5 "hosts", mappedp=0xb599dac4) at nscd_helper.c:417
#8  0xb5918643 in __nscd_get_map_ref (type=GETFDHST, name=0xb59565d5 "hosts", mapptr=0xb599dac0, gc_cyclep=0xaaefec8c) at nscd_helper.c:452
#9  0xb5915910 in nscd_gethst_r (key=0xaa5021d0 "tracker.openbittorrent.com", keylen=27, type=GETHOSTBYNAME, resultbuf=0xaaeff064, buffer=0xaaefed80 "", buflen=512, result=0xaaeff088, h_errnop=0xaaeff08c) at nscd_gethst_r.c:147
#10 0xb59161f3 in __nscd_gethostbyname2_r (name=0xaa5021d0 "tracker.openbittorrent.com", af=2, resultbuf=0xaaeff064, buffer=0xaaefed80 "", buflen=512, result=0xaaeff088, h_errnop=0xaaeff08c) at nscd_gethst_r.c:62
#11 0xb58fa740 in __gethostbyname2_r (name=0xaa5021d0 "tracker.openbittorrent.com", af=2, resbuf=0xaaeff064, buffer=0xaaefed80 "", buflen=512, result=0xaaeff088, h_errnop=0xaaeff08c) at ../nss/getXXbyYY_r.c:194
#12 0xb58bbb19 in gaih_inet (name=0xaa5021d0 "tracker.openbittorrent.com", service=<optimized out>, req=0xaaeff248, pai=0xaaeff1d4, naddrs=0xaaeff1e4) at ../sysdeps/posix/getaddrinfo.c:581
#13 0xb58bcd6d in __GI_getaddrinfo (name=0xaa5021d0 "tracker.openbittorrent.com", service=<optimized out>, hints=<optimized out>, pai=0xaaeff26c) at ../sysdeps/posix/getaddrinfo.c:2423
#14 0xb6a163da in (anonymous namespace)::GetAddrInfoThread::run (this=0xaa502170) at ../../kdecore/network/k3resolverstandardworkers.cpp:456
#15 0xb6a1444b in KNetwork::Internal::KResolverThread::run (this=0x876bd00) at ../../kdecore/network/k3resolvermanager.cpp:278
#16 0xb6606de0 in QThreadPrivate::start (arg=0x876bd00) at thread/qthread_unix.cpp:298
#17 0xb4eb0d4c in start_thread (arg=0xaaeffb40) at pthread_create.c:308
#18 0xb58e2ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4271980 (LWP 2229)):
#0  0xb772b424 in __kernel_vsyscall ()
#1  0xb58d4380 in __GI___poll (fds=0xbfc53c58, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb47fb120 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0xb47fb73c in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0xb47fb7f1 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#5  0xb4f94040 in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0xb4f9464a in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0xb4f79b1d in XGetWindowProperty () from /usr/lib/i386-linux-gnu/libX11.so.6
#8  0xb6ea87a0 in NETWinInfo::update (this=0x8f74e40, dirty_props=0x90a2648) at ../../kdeui/windowmanagement/netwm.cpp:3962
#9  0xb6eab4af in NETWinInfo::NETWinInfo (this=0x8f74e40, display=0x874f520, window=92274710, rootWindow=346, properties=0xbfc53fa8, properties_size=<optimized out>, role=NET::Client) at ../../kdeui/windowmanagement/netwm.cpp:2823
#10 0xb6e9f119 in KWindowInfo::KWindowInfo (this=0xbfc54078, _win=92274710, properties=134742016, properties2=0) at ../../kdeui/windowmanagement/kwindowinfo_x11.cpp:73
#11 0xb6e9980a in KWindowSystem::windowInfo (win=92274710, properties=524288, properties2=0) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:427
#12 0xb6e0e920 in KMainWindow::saveWindowSize (this=0x8887e50, _cg=...) at ../../kdeui/widgets/kmainwindow.cpp:867
#13 0xb6e121cc in KMainWindow::saveMainWindowSettings (this=0x8887e50, _cg=...) at ../../kdeui/widgets/kmainwindow.cpp:666
#14 0xb6e12260 in KMainWindow::saveAutoSaveSettings (this=0x8887e50) at ../../kdeui/widgets/kmainwindow.cpp:1014
#15 0xb6e12658 in qt_static_metacall (_a=0xbfc54230, _id=6, _o=0x8887e50, _c=<optimized out>) at ./kmainwindow.moc:78
#16 KMainWindow::qt_static_metacall (_o=0x8887e50, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfc54230) at ./kmainwindow.moc:66
#17 0xb6731e31 in QMetaObject::activate (sender=0x8faef18, m=0xb68794d8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#18 0xb6784bf5 in QTimer::timeout (this=0x8faef18) at .moc/release-shared/moc_qtimer.cpp:148
#19 0xb673ace6 in QTimer::timerEvent (this=0x8faef18, e=0xbfc5471c) at kernel/qtimer.cpp:280
#20 0xb6736244 in QObject::event (this=0x8faef18, e=0xbfc5471c) at kernel/qobject.cpp:1157
#21 0xb5c08d24 in notify_helper (e=0xbfc5471c, receiver=0x8faef18, this=0x875b468) at kernel/qapplication.cpp:4555
#22 QApplicationPrivate::notify_helper (this=0x875b468, receiver=0x8faef18, e=0xbfc5471c) at kernel/qapplication.cpp:4527
#23 0xb5c0e15d in QApplication::notify (this=0xbfc5471c, receiver=0x8faef18, e=0xbfc5471c) at kernel/qapplication.cpp:4284
#24 0x08079937 in ?? ()
#25 0xb671b0fe in QCoreApplication::notifyInternal (this=0xbfc54a10, receiver=0x8faef18, event=0xbfc5471c) at kernel/qcoreapplication.cpp:876
#26 0xb6750110 in sendEvent (event=0xbfc5471c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QTimerInfoList::activateTimers (this=0x872fed4) at kernel/qeventdispatcher_unix.cpp:611
#28 0xb674d878 in timerSourceDispatch (source=0x872fea0) at kernel/qeventdispatcher_glib.cpp:186
#29 timerSourceDispatch (source=0x872fea0) at kernel/qeventdispatcher_glib.cpp:180
#30 0xb4c52cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb4c530e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb4c531c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb674e007 in QEventDispatcherGlib::processEvents (this=0x870def0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0xb5cc189a in QGuiEventDispatcherGlib::processEvents (this=0x870def0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb6719c8d in QEventLoop::processEvents (this=0xbfc54984, flags=...) at kernel/qeventloop.cpp:149
#36 0xb6719f29 in QEventLoop::exec (this=0xbfc54984, flags=...) at kernel/qeventloop.cpp:204
#37 0xb671f63a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0xb5c068c4 in QApplication::exec () at kernel/qapplication.cpp:3816
#39 0x080678a8 in ?? ()
#40 0xb58114d3 in __libc_start_main (main=0x80655b0, argc=3, ubp_av=0xbfc54e34, init=0x80e25d0 <__libc_csu_init>, fini=0x80e2640 <__libc_csu_fini>, rtld_fini=0xb773b280 <_dl_fini>, stack_end=0xbfc54e2c) at libc-start.c:226
#41 0x08068a35 in _start ()

Possible duplicates by query: bug 296674, bug 296560.

Reported using DrKonqi
Comment 1 Fahad Al Mutairy 2012-04-02 03:44:32 UTC
Created attachment 70069 [details]
New crash information added by DrKonqi

ktorrent (4.1.3) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:
Starting up the system (ubuntu 12.04)
- Unusual behavior I noticed:
Crash with many other after I update to 12.04 but a lot became normal and this is the first time Ktorrent crash.. I do an update before restart system and have the crash.

-- Backtrace (Reduced):
#6  0x00007f2fb6dc19fe in __nscd_get_mapping (type=<optimized out>, key=0x7f2fb6e0f990 "hosts", mappedp=0x7f2fb70524a8) at nscd_helper.c:417
[...]
#8  0x00007f2fb6dbf072 in nscd_gethst_r (key=0x7f2f2c0018b8 "www.sharingcode.com", keylen=20, type=GETHOSTBYNAME, resultbuf=0x7f2f33363500, buffer=0x7f2f33363170 "P363/\177", buflen=512, result=0x7f2f33363550, h_errnop=0x7f2f33363570) at nscd_gethst_r.c:147
#9  0x00007f2fb6dbf957 in __nscd_gethostbyname2_r (name=0x7f2f2c0018b8 "www.sharingcode.com", af=<optimized out>, resultbuf=0x7f2f33363500, buffer=0x7f2f33363170 "P363/\177", buflen=512, result=0x7f2f33363550, h_errnop=0x7f2f33363570) at nscd_gethst_r.c:62
#10 0x00007f2fb6da196a in __gethostbyname2_r (name=0x7f2f2c0018b8 "www.sharingcode.com", af=2, resbuf=0x7f2f33363500, buffer=0x7f2f33363170 "P363/\177", buflen=512, result=0x7f2f33363550, h_errnop=0x7f2f33363570) at ../nss/getXXbyYY_r.c:194
#11 0x00007f2fb6d6060a in gaih_inet (name=0x7f2f2c0018b8 "www.sharingcode.com", service=<optimized out>, req=0x7f2f333636b0, pai=<optimized out>, naddrs=0x7f2f33363760) at ../sysdeps/posix/getaddrinfo.c:581
Comment 2 Joris Guisson 2012-04-02 19:57:42 UTC

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