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

2.0-beta1 crashes, 1.2 now going haywire

Tags: None
(comma "," separated)
trejkaz
Registered Member
Posts
28
Karma
0
I just installed the 2.0 beta to see how it looks. It seems like the main issue has been fixed (that is, the bandwidth limits now works) but KTorrent now crashes extremely often.

I have KDE, Qt and KTorrent all built with debug turned on, but the stack trace doesn't show anything useful except that the crash is occurring from inside /lib/tls/libthread_db.

Anyway, I decided to give up for a while and roll back to 1.2, and that's where I find the next issue -- 1.2 doesn't respond for a few minutes, and begins chewing up disk space. Looking inside one of the torrent directories, I can see:

Code: Select all
[29] trejkaz@raven:~/.kde/share/apps/ktorrent> ls -la tor0
total 9732228
drwxr-xr-x  2 trejkaz users       4096 2006-06-07 21:30 .
drwx------ 19 trejkaz users       4096 2006-06-07 21:30 ..
lrwxrwxrwx  1 trejkaz users         93 2006-06-06 19:21 cache -> (somewhere)
-rw-r--r--  1 trejkaz users         58 2006-06-07 21:27 current_chunks
-rw-r--r--  1 trejkaz users 9956020224 2006-06-07 21:36 current_chunks.tmp
-rw-r--r--  1 trejkaz users       1704 2006-06-07 20:00 index
-rw-r--r--  1 trejkaz users        167 2006-06-07 21:27 stats
-rw-r--r--  1 trejkaz users      12897 2006-06-06 19:21 torrent
-rw-r--r--  1 trejkaz users          0 2006-06-07 21:27 trackers


The torrent in question is perhaps 200MB in size, but this temporary file is about to reach the 10GB mark! Good thing I caught it early, or it would have filled my entire hard drive. :-)

Looking in the logs:

Code: Select all
Loading /home/trejkaz/.kde3.5/share/apps/ktorrent/tor0/
Copying /home/trejkaz/.kde3.5/share/apps/ktorrent/tor0/ to /home/trejkaz/.kde3.5/share/apps/ktorrent/migrate-failed-tor0/
Migrating current_chunks file /home/trejkaz/.kde3.5/share/apps/ktorrent/tor0/current_chunks
Found 2882400000 chunks
Migrating chunk 2
Migrating chunk 0
Migrating chunk 0
Migrating chunk 0
Migrating chunk 0


Perhaps it should stop if the chunk number is 0.

In any case, deleting current_chunks made 1.2 proceed as usual, I guess I lost a little data but not much.


im:trejkaz@trypticon.org
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Jun 07, 2006 12:03 pm
v1.2 probably thought new chunks structure (introduced with 2.0beta1) was old one (<1.2) and started migration process which apparently screwed things up.

So, note to all users: be carefull when downgrading from 2.0beta1!

As for the crashes, there's not much we can do without backtraces. We are working on some crashes other people experienced so hopefully enough your problems will be solved.
trejkaz
Registered Member
Posts
28
Karma
0

Wed Jun 07, 2006 10:09 pm
Hopefully. In the meantime I'm remerging my whole system with debug turned on, so maybe I'll be able to find out which library caused the problem once that finishes.


im:trejkaz@trypticon.org
imported4-Ivan
Registered Member
Posts
819
Karma
0

Thu Jun 08, 2006 10:14 am
Ok. Let us know when if something comes up.


Bookmarks



Who is online

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