![]() Registered Member ![]()
|
Hi,
I have a problem with large torrentfiles. If i use a torrent with only 3 files, all works perfect. When i try to open a larger torrentfile with more files, ktorrent crashes....it quits without any message. If i restart Ktorrent, no file was in the downloadlist. I use Ktorrent 2.2.5 (same problem with 2.2.6) and KDE 3.5.8 on Gentoo Sparc64. Here the last debug output from the shell: Loading file /root/Desktop/SomeBigTorrent.torrent Encoding : UTF-8 Multi file torrent Thanks for help |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
no. it only quits...
here is the full log: Wed Apr 30 20:45:29 2008: Bound to port 50000 Wed Apr 30 20:45:30 2008: DHT: Starting on port 6881 Wed Apr 30 20:45:30 2008: Plugin ktscanfolderplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:30 2008: Plugin ktlogviewerplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:30 2008: Plugin ktupnpplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:30 2008: Plugin ktinfowidgetplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: Plugin ktsearchplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: Plugin ktwebinterfaceplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: Plugin ktschedulerplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: Plugin ktipfilterplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: IP 0.0.0.0 banned. Wed Apr 30 20:45:31 2008: Plugin ktrssfeedplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: Plugin ktstatsplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:31 2008: Plugin ktpartfileimportplugin version does not match KTorrent version, unloading it. Wed Apr 30 20:45:32 2008: File limit allready at maximum Wed Apr 30 20:45:32 2008: Data limit allready at maximum Wed Apr 30 20:46:13 2008: Loading file /root/Orbital_4_albums_v2.3728186.TPB.torrent Wed Apr 30 20:46:13 2008: Encoding : UTF-8 Wed Apr 30 20:46:13 2008: Multi file torrent |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
i reinstalled all:
Sat May 3 01:10:57 2008: Bound to port 50000 Sat May 3 01:10:58 2008: DHT: Starting on port 6881 Sat May 3 01:10:58 2008: Loading plugin Scan Folder Sat May 3 01:10:59 2008: Loading plugin Log Viewer Sat May 3 01:10:59 2008: Loading plugin UPnP Sat May 3 01:11:00 2008: Trying to find UPnP devices on the local network Sat May 3 01:11:00 2008: Loading plugin Info Widget Sat May 3 01:11:00 2008: Loading plugin Search Sat May 3 01:11:01 2008: Loading plugin Web Interface Sat May 3 01:11:01 2008: WWW Root Directory /usr/kde/3.5/share/apps/ktorrent/www/ Sat May 3 01:11:01 2008: Web server listen on port 8080 Sat May 3 01:11:01 2008: Loading plugin Bandwith Scheduler Sat May 3 01:11:01 2008: Loading plugin IP Filter Sat May 3 01:11:01 2008: IP 0.0.0.0 banned. Sat May 3 01:11:01 2008: Loading plugin RSS Feeds Sat May 3 01:11:02 2008: Loading plugin Statistics Sat May 3 01:11:02 2008: Loading plugin Import Sat May 3 01:11:03 2008: Starting minimized Sat May 3 01:11:03 2008: File limit allready at maximum Sat May 3 01:11:03 2008: Data limit allready at maximum Sat May 3 01:11:31 2008: Trying to find UPnP devices on the local network Sat May 3 01:11:59 2008: Loading file /root/Orbital_4_albums_v2.3728186.TPB.torrent Sat May 3 01:12:00 2008: Encoding : UTF-8 Sat May 3 01:12:00 2008: Multi file torrent same thing... |
![]() Moderator ![]()
|
|
![]() Moderator ![]()
|
OK, I tried your link and the torrent loads without crashing.
Would it be possible to run ktorrent under gdb ? gdb /usr/bin/ktorrent In gdb do : run --nofork Wait for the window to show, if it doesn't and the gdb prompt returns, type continue and press enter. Then open the torrent. Then it should crash, and then type in bt and press enter, and that should hopefully print a good backtrace. |
![]() Registered Member ![]()
|
ok, here is the output :
Starting program: /usr/kde/3.5/bin/ktorrent --nofork [Thread debugging using libthread_db enabled] [New Thread 0xf74f28f0 (LWP 6799)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] kdevelop (core): [virtual void DDockWindow::addWidget(const QString&, QWidget*, bool)] Program received signal SIGBUS, Bus error. [Switching to Thread 0xf74f28f0 (LWP 6799)] 0xf7dfe2dc in bt::SHA1HashGen::processChunk (this=0xff8e3bf4, chunk=0x5c14d7 "d5:filesld6:lengthi53477e4:pathl24:In_The_Middle_Of_Nowhere1 2:lf_bkgnd.jpge10:path.utf-8l24:In_The_Middle_Of_Nowhere12:lf_bkgnd.jpgeed6:leng thi7679472e4:pathl24:In_The_Middle_Of_Nowhere44:Orbital-The_"...) at sha1hashgen.cpp:142 142 w[i] = ntohl(*(const Uint32*)(chunk + (4 *i))); (gdb) |
![]() Moderator ![]()
|
Interesting, after some googling and finding some similar problems, I think I have found the solution :
libktorrent/util/sha1hashgen.cpp around line 142 :
Change this block of code into :
Then recompile and it should no longer crash. I don't have a sparc, so I cannot test this.[/code] |
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
Registered users: Bing [Bot], Google [Bot]