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

crash (unhandled exception?) v 2.2.5 (ubuntu 7.04 x86)

Tags: None
(comma "," separated)
alteralter
Registered Member
Posts
5
Karma
0
It happens during start or running.
One can fetch backtrace here: http://disk.tom.ru/aggvt1l/1/65736/ktorrent.txt
George
Moderator
Posts
5421
Karma
1

Mon Mar 31, 2008 5:06 pm
It seems that allocating some memory failed. How much memory is KT using up ?
alteralter
Registered Member
Posts
5
Karma
0

Tue Apr 01, 2008 5:21 am
George wrote:It seems that allocating some memory failed. How much memory is KT using up ?


Right now according to top it uses virt: 84304 res: 47m
Total amount of virtual memory is pretty big: 1,5GB RAM + 1,5GB SWAP. At least 1GB of virt memory (according to top) is free.

KTorrent's options: memory usage: low.
number of torrents seeded: ~60
number of torrents paused: ~10
George
Moderator
Posts
5421
Karma
1

Tue Apr 01, 2008 10:29 am
So no shortage of memory. Then some bug must be causing KT to try to allocate to much memory. Looking at the code, we must be getting the size of one chunk wrong.

Can you send me all the torrents you are currently running ?

You can find them in ~/.kde/share/apps/ktorrent/

For each torrent there will be a subdirectory named tor0, tor1, tor2 ... These subdirectories contain a file named torrent, which is the torrent. Send all of those to me, then I can load each one of them and check the size of each chunk.

My e-mail address is joris DOT guisson AT gmail DOT com.
alteralter
Registered Member
Posts
5
Karma
0

Thu Apr 03, 2008 7:44 am
The files were sent from email box @rambler.ru
George
Moderator
Posts
5421
Karma
1

Thu Apr 03, 2008 8:57 am
I have got them, I will take at look at them this evening.
alteralter
Registered Member
Posts
5
Karma
0

Tue Apr 08, 2008 2:00 pm
George wrote:I have got them, I will take at look at them this evening.


George, is there any results or something?
George
Moderator
Posts
5421
Karma
1

Wed Apr 09, 2008 9:04 am
Other stuff has gotten in the way, but I have nearly checked out all torrents, so far no weird sizes or other anomalies. There are still some left to do, but I'm beginning to think that the moment this happens there is no free memory left.
alteralter
Registered Member
Posts
5
Karma
0

Thu Apr 10, 2008 3:36 pm
George wrote:Other stuff has gotten in the way, but I have nearly checked out all torrents, so far no weird sizes or other anomalies. There are still some left to do, but I'm beginning to think that the moment this happens there is no free memory left.


Thanks a lot for information. Is it possible to add check(s) for new[]/new or other allocators?


Bookmarks



Who is online

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