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

Crash-on-stop regression in 2.1 final

Tags: None
(comma "," separated)
jdong
Registered Member
Posts
358
Karma
0
I've had three instances today where stopping a torrent caused Signal 6 and ktorrent shutting down. There was no stacktrace that could be generated.


It is fairly reproducable. Start 5 torrents and let them go for 10 minutes. Try to stop them one by one.
Linder
Registered Member
Posts
35
Karma
0
jdong wrote:I've had three instances today where stopping a torrent caused Signal 6 and ktorrent shutting down. There was no stacktrace that could be generated.


It is fairly reproducable. Start 5 torrents and let them go for 10 minutes. Try to stop them one by one.

Couldn't reproduce at my system.
11 torrents stopped one by one - ktorrent has been running all day before the test and showed no sign of crash afterwards.

Ktorrent 2.1 final, Kubuntu 6.10, InfoWidget loaded with tab Status active. All torrents from private trackers, none of them added to a gruop.
George
Moderator
Posts
5421
Karma
1

Fri Feb 09, 2007 8:34 pm
A backtrace would be the best way to pinpoint the problem.
lucke
Registered Member
Posts
205
Karma
0

Fri Feb 09, 2007 8:50 pm
Run it in gdb, jdong.
jdong
Registered Member
Posts
358
Karma
0

Sat Feb 10, 2007 12:27 am
I'll try to put more time debugging it....

I had zeroconf on if that makes a difference (it did last time)
trueshanti
Registered Member
Posts
1
Karma
0

Tue Feb 27, 2007 1:51 am
i also experience regular crashes .. reproduceable at any time .. e.g. when I either start all or stop all (. or doing nothing :) there will be a crash :-)

here some output:

xsessions-error:

Code: Select all
arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file dbus-message.c line 1392.
This is normally a bug in some application using the D-Bus library.
KCrash: Application 'ktorrent' crashing...


and trace

Code: Select all
Überprüfung der Systemkonfiguration beim Start deaktiviert.

(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47697009218528 (LWP 14898)]
[New Thread 1132489024 (LWP 14994)]
[New Thread 1124096320 (LWP 14993)]
[New Thread 1115703616 (LWP 14992)]
[New Thread 1107310912 (LWP 14991)]
[New Thread 1098918208 (LWP 14990)]
[New Thread 1090525504 (LWP 14989)]
[New Thread 1082132800 (LWP 14988)]
[KCrash handler]
#5  0x00002b614f11dee5 in free () from /lib64/libc.so.6
#6  0x00002b6156c242b5 in dbus_malloc () from /usr/lib64/libdbus-1.so.3
#7  0x00002b6156c05bbe in dbus_address_unescape_value ()
   from /usr/lib64/libdbus-1.so.3
#8  0x00002b6156c060e9 in dbus_address_entries_free ()
   from /usr/lib64/libdbus-1.so.3
#9  0x00002b6156c0db19 in dbus_connection_close ()
   from /usr/lib64/libdbus-1.so.3
#10 0x00002b6156c096b4 in dbus_bus_register () from /usr/lib64/libdbus-1.so.3
#11 0x00002b61567e7da1 in avahi_client_new ()
   from /usr/lib64/libavahi-client.so.3
#12 0x00002b61565a42c3 in kt::AvahiService::startBrowsing ()
   from /opt/kde3/lib64/kde3/ktzeroconfplugin.so
#13 0x00002b61565a44f1 in kt::AvahiService::start ()
   from /opt/kde3/lib64/kde3/ktzeroconfplugin.so
#14 0x00002b614c98b4d1 in bt::PeerSourceManager::start ()
   from /opt/kde3/lib64/libktorrent-2.1.so
#15 0x00002b614c995c35 in bt::TorrentControl::continueStart ()
   from /opt/kde3/lib64/libktorrent-2.1.so
#16 0x00002b614c995eec in bt::TorrentControl::start ()
   from /opt/kde3/lib64/libktorrent-2.1.so
#17 0x00002b614c9753e7 in bt::QueueManager::startSafely ()
   from /opt/kde3/lib64/libktorrent-2.1.so
#18 0x00002b614c975ad1 in bt::QueueManager::start ()
   from /opt/kde3/lib64/libktorrent-2.1.so
#19 0x0000000000451e40 in QWidget::setUpdatesEnabled ()
#20 0x00002b614e471adc in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x000000000042aeb6 in QWidget::setUpdatesEnabled ()
#22 0x000000000042af45 in QWidget::setUpdatesEnabled ()
#23 0x00000000004349d5 in QWidget::setUpdatesEnabled ()
#24 0x0000000000434a30 in QWidget::setUpdatesEnabled ()
#25 0x000000000045d32e in QWidget::setUpdatesEnabled ()
#26 0x00002b614e471adc in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x00002b614e4727b3 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002b614d73249e in KAction::slotPopupActivated ()
   from /opt/kde3/lib64/libkdeui.so.4
#29 0x00002b614d732743 in KAction::qt_invoke ()
   from /opt/kde3/lib64/libkdeui.so.4
#30 0x00002b614e471adc in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#31 0x00002b614e755ed2 in QSignal::signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#32 0x00002b614e48a555 in QSignal::activate ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#33 0x00002b614e561c85 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#34 0x00002b614e4a47b7 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#35 0x00002b614e41aeb5 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#36 0x00002b614e41bdf1 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#37 0x00002b614dc20f88 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#38 0x00002b614e3c3c45 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#39 0x00002b614e3c23f3 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#40 0x00002b614e3d140f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#41 0x00002b614e42f963 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#42 0x00002b614e42f812 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#43 0x0000000000433628 in QWidget::setUpdatesEnabled ()
#44 0x00002b614f0cdae4 in __libc_start_main () from /lib64/libc.so.6
#45 0x00000000004232e9 in QWidget::setUpdatesEnabled ()
#46 0x00007fff5e67e358 in ?? ()
#47 0x0000000000000000 in ?? ()


tnx 4 support :-)
George
Moderator
Posts
5421
Karma
1

Wed Feb 28, 2007 6:15 pm
This is a crash in avahi, something we can do little about.

However, most people don't need zeroconf, so you could just unload the plugin.

We are going to dump avahi in 2.2 and replace it by KDE's zeroconf implementation.
jdong
Registered Member
Posts
358
Karma
0

Fri Mar 02, 2007 3:53 am
Surely enough turning off Zeroconf, KTorrent has been stable.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]