Bug 120932

Summary: crash on startup durning initialisation
Product: [Applications] ktorrent Reporter: Pawel Pekala <c0rn>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pawel Pekala 2006-01-28 20:31:58 UTC
Version:           1.2.r2 (using KDE KDE 3.5.0)
Installed from:    FreeBSD Ports
Compiler:          gcc version 3.4.2 [FreeBSD] 20040728 
OS:                FreeBSD

Program window never shows. It looks like I could have corrupted downloading files info.
Removing ~/.kde/share/apps/ktorrent solves this.

#0  0x2948b67b in wait4 () from /lib/libc.so.5  
#1  0x2947cadb in waitpid () from /lib/libc.so.5
#2  0x29420095 in waitpid () from /usr/lib/libpthread.so.1
#3  0x28a41d75 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#4  0x294268fc in sigaction () from /usr/lib/libpthread.so.1
#5  0xbfbfff94 in ?? ()
#6  0x00000006 in ?? ()
#7  0xbfbfd660 in ?? ()
#8  0xbfbfd3a0 in ?? ()
#9  0x00000000 in ?? ()
#10 0x29426560 in sigaction () from /usr/lib/libpthread.so.1
#11 0x294f2c1b in abort () from /lib/libc.so.5
#12 0x28274b69 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.4
#13 0x282792ba in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.4
#14 0x282792f0 in std::terminate () from /usr/lib/libstdc++.so.4
#15 0x282792a3 in __cxa_rethrow () from /usr/lib/libstdc++.so.4
#16 0x28153250 in bt::MultiFileCache::downloadStatusChanged ()
   from /usr/local/lib/libktorrent.so.0
#17 0x281290b8 in bt::ChunkManager::downloadStatusChanged ()
   from /usr/local/lib/libktorrent.so.0
#18 0x2812935b in bt::ChunkManager::qt_invoke ()
   from /usr/local/lib/libktorrent.so.0
#19 0x28e843ba in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28159a2e in bt::TorrentFile::downloadStatusChanged ()
   from /usr/local/lib/libktorrent.so.0
#21 0x281596da in bt::TorrentFile::setDoNotDownload ()
   from /usr/local/lib/libktorrent.so.0
#22 0x28128dbc in bt::ChunkManager::loadFileInfo ()
   from /usr/local/lib/libktorrent.so.0
#23 0x28127101 in bt::ChunkManager::loadIndexFile ()
   from /usr/local/lib/libktorrent.so.0
#24 0x281376a8 in bt::TorrentControl::init ()
   from /usr/local/lib/libktorrent.so.0
#25 0x08075226 in KTorrentCore::loadExistingTorrent ()
#26 0x0807567d in KTorrentCore::loadTorrents ()
#27 0x0806640a in KTorrent::KTorrent ()
#28 0x0807a1fd in KTorrentApp::newInstance ()
#29 0x28a6073c in KUniqueApplication::processDelayed ()
   from /usr/local/lib/libkdecore.so.6
#30 0x28a60ae1 in KUniqueApplication::qt_invoke ()
   from /usr/local/lib/libkdecore.so.6
#31 0x0807a40c in KTorrentApp::qt_invoke ()
#32 0x28e843ba in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#33 0x291814b1 in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#34 0x28e9c214 in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#35 0x28ea3603 in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#36 0x28e2b941 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#37 0x28e2ad6e in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#38 0x289b0451 in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#39 0x28e1bdbe in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#40 0x28ddb71c in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#41 0x28e3cb2f in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#42 0x28e3ca88 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#43 0x28e2ba98 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#44 0x08065630 in main ()
Comment 1 Joris Guisson 2006-01-29 21:14:06 UTC
Did something unusual happen before this happened at startup ?
Comment 2 Pawel Pekala 2006-01-30 14:22:58 UTC
I forgot to mention that ktorrent hangs sometimes, especially when it downloads 2-3 or more files in the same time.It becomes inresponsible and the only way to solve this issue is to kill() it. This may be the cause of this corruption.
Comment 3 Joris Guisson 2006-01-30 18:47:51 UTC
You should limit the number of connections per torrent, to many connections will probably cause significant performance loss.
Comment 4 Joris Guisson 2006-04-25 19:48:10 UTC
Haven't heard anymore reports of startup crashes and all exceptions should be caught now, so I will close this bug.