Bug 297416 - KTorrent crash with segfault
Summary: KTorrent crash with segfault
Status: RESOLVED DUPLICATE of bug 215288
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 20:15 UTC by Alex
Modified: 2012-08-08 01:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.06 KB, text/plain)
2012-04-03 22:19 UTC, Alex
Details
New crash information added by DrKonqi (8.32 KB, text/plain)
2012-08-08 01:10 UTC, Bernardo Donadio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2012-04-03 20:15:07 UTC
Application: ktorrent (4.2)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.9 i686
Distribution: Debian GNU/Linux testing-proposed-updates (sid)

-- Information about the crash:
- What I was doing when the application crashed:

I started application and saw a segfault message. I had a dbus errors but they disappeared after i reboot. Then ktorrent crash.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb31eab70 (LWP 5730)):
#0  0xb77d0424 in __kernel_vsyscall ()
#1  0xb56d5746 in *__GI___poll (fds=0xb576bff4, nfds=1, timeout=422) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb4b50f5b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4b4096f in ?? () from /lib/libglib-2.0.so.0
#4  0xb4b40ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb6557b27 in QEventDispatcherGlib::processEvents (this=0xa078048, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb65286dd in QEventLoop::processEvents (this=0xb31ea2e0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6528921 in QEventLoop::exec (this=0xb31ea2e0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb642b91b in QThread::exec (this=0xa0dff00) at thread/qthread.cpp:498
#9  0xb771357d in utp::UTPServerThread::run (this=0xa0dff00) at ../../src/utp/utpserverthread.cpp:41
#10 0xb642e7c3 in QThreadPrivate::start (arg=0xa0dff00) at thread/qthread_unix.cpp:331
#11 0xb4d70c39 in start_thread (arg=0xb31eab70) at pthread_create.c:304
#12 0xb56e312e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb42a0710 (LWP 5727)):
[KCrash Handler]
#7  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#8  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2343
#9  d_func (this=<optimized out>) at qdbusabstractinterface.h:156
#10 QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:406
#11 0xb294fc69 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#12 serverStateChanged (this=0xa231580, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#13 DNSSD::PublicServicePrivate::serverStateChanged (this=0xa231580, s=1) at ../../dnssd/avahi-publicservice.cpp:193
#14 0xb294fed1 in DNSSD::PublicService::publishAsync (this=0xa2315c8) at ../../dnssd/avahi-publicservice.cpp:230
#15 0xb3231b31 in kt::TorrentService::start (this=0xb277c68) at ../../../plugins/zeroconf/torrentservice.cpp:84
#16 0xb76ae47d in start (this=0xa21a218) at ../../src/torrent/peersourcemanager.cpp:81
#17 bt::PeerSourceManager::start (this=0xa21a218) at ../../src/torrent/peersourcemanager.cpp:73
#18 0xb76b9178 in bt::TorrentControl::continueStart (this=0xa21b1e0) at ../../src/torrent/torrentcontrol.cpp:461
#19 0xb76b9d66 in bt::TorrentControl::start (this=0xa21b1e0) at ../../src/torrent/torrentcontrol.cpp:432
#20 0xb75b5d0a in kt::QueueManager::startSafely (this=0xa10ca68, tc=0xa21b1e0) at ../../libktcore/torrent/queuemanager.cpp:731
#21 0xb75b5e8b in startInternal (tc=0xa21b1e0, this=0xa10ca68) at ../../libktcore/torrent/queuemanager.cpp:102
#22 kt::QueueManager::startInternal (this=0xa10ca68, tc=0xa21b1e0) at ../../libktcore/torrent/queuemanager.cpp:91
#23 0xb75b7d7c in kt::QueueManager::orderQueue (this=0xa10ca68) at ../../libktcore/torrent/queuemanager.cpp:614
#24 0x08074f48 in kt::Core::qt_metacall (this=0xa12ab08, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xb0a6fb8) at ./core.moc:194
#25 0xb652fa6d in metacall (argv=0xb0a6fb8, idx=49, cl=QMetaObject::InvokeMetaMethod, object=0xa12ab08) at kernel/qmetaobject.cpp:237
#26 QMetaObject::metacall (object=0xa12ab08, cl=QMetaObject::InvokeMetaMethod, idx=49, argv=0xb0a6fb8) at kernel/qmetaobject.cpp:232
#27 0xb653a585 in QMetaCallEvent::placeMetaCall (this=0xb0a6f50, object=0xa12ab08) at kernel/qobject.cpp:535
#28 0xb6541a9f in QObject::event (this=0xa12ab08, e=0xb0a6f50) at kernel/qobject.cpp:1217
#29 0xb59e4a64 in notify_helper (e=0xb0a6f50, receiver=0xa12ab08, this=0xa097228) at kernel/qapplication.cpp:4486
#30 QApplicationPrivate::notify_helper (this=0xa097228, receiver=0xa12ab08, e=0xb0a6f50) at kernel/qapplication.cpp:4458
#31 0xb59e9df2 in QApplication::notify (this=0xb0a6f50, receiver=0xa12ab08, e=0xb0a6f50) at kernel/qapplication.cpp:4233
#32 0x0807b897 in kt::App::notify (this=0xbfc20870, receiver=0xa12ab08, event=0xb0a6f50) at ../../ktorrent/app.cpp:99
#33 0xb65296be in QCoreApplication::notifyInternal (this=0xbfc20870, receiver=0xa12ab08, event=0xb0a6f50) at kernel/qcoreapplication.cpp:787
#34 0xb652ce84 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa04ad28) at kernel/qcoreapplication.cpp:1428
#36 0xb652cfcc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#37 0xb6557694 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0xa08fb88) at kernel/qeventdispatcher_glib.cpp:277
#39 0xb4b40252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0xb4b40a30 in ?? () from /lib/libglib-2.0.so.0
#41 0xb4b40ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0xb6557ac7 in QEventDispatcherGlib::processEvents (this=0xa04bc18, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0xb5a99c5a in QGuiEventDispatcherGlib::processEvents (this=0xa04bc18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb65286dd in QEventLoop::processEvents (this=0xbfc207e4, flags=...) at kernel/qeventloop.cpp:149
#45 0xb6528921 in QEventLoop::exec (this=0xbfc207e4, flags=...) at kernel/qeventloop.cpp:201
#46 0xb652d07a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#47 0xb59e28e4 in QApplication::exec () at kernel/qapplication.cpp:3760
#48 0x08069868 in main (argc=<error reading variable: Cannot access memory at address 0x74>, argv=<error reading variable: Cannot access memory at address 0x78>) at ../../ktorrent/main.cpp:177

Possible duplicates by query: bug 296028, bug 291606, bug 272318.

Reported using DrKonqi
Comment 1 Alex 2012-04-03 22:19:48 UTC
Created attachment 70129 [details]
New crash information added by DrKonqi

ktorrent (4.2) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

Additional information from console

Warning: QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
KCrash: Application 'ktorrent' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/varg/.kde/socket-legerald/kdeinit4__0

-- Backtrace (Reduced):
#7  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#10 QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:406
#11 0xb1f69c69 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#12 serverStateChanged (this=0xb0f91d18, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#13 DNSSD::PublicServicePrivate::serverStateChanged (this=0xb0f91d18, s=1) at ../../dnssd/avahi-publicservice.cpp:193
Comment 2 Joris Guisson 2012-04-05 19:49:01 UTC

*** This bug has been marked as a duplicate of bug 215288 ***
Comment 3 Joris Guisson 2012-04-05 19:49:31 UTC
Disable the zeroconf plugin
Comment 4 Bernardo Donadio 2012-08-08 01:10:20 UTC
Created attachment 73040 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Just tried to open the application. No update was issued (at least that I remember), which means that it worked sometime and now it's crashing with SEGFAULT.
It is reproducible everytime.

-- Backtrace (Reduced):
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:430
#10 0x00007f312cb61110 in Reset (this=0x0) at ../../dnssd/avahi_entrygroup_interface.h:94
#11 serverStateChanged (this=0x2a0da30, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#12 DNSSD::PublicServicePrivate::serverStateChanged (this=0x2a0da30, s=<optimized out>) at ../../dnssd/avahi-publicservice.cpp:193