Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 165809
Alias:
Product:
Component:
Status: RESOLVED
Resolution: UPSTREAM
Assigned To: Ioannis Aslanidis <deathwing00@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Oleksa <art.root@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 165809 depends on: 165674 Show dependency tree
Bug 165809 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-07 19:21 0000
I started Ktorrent about midnight, it takes 3-4% memory (i have 1GB + 2GB swap
:) ), when i woke up, memory usage was about 53%, and after killall ktorrent it
grows to 93% and almost hangs my system.
Previous versions works correct, but 2.1_rc1 takes too much memory each time
when it's works a little longer.

Reproducible: Always

Steps to Reproduce:
1. Run Ktorrent on default config
2. Keep it working for a few hours :)

Actual Results:  
Memory leaking :]

Expected Results:  
Memory usage about 3-4%

Gentoo with _very_ safe cflags, no ldflags, arch i686, gcc 4.1.1-r3, kde-3.5.6,
gentoo-sources-2.6.17-r5, xorg-server-1.2.0
Sempron2800+@2400, 1024DDR, GF 66GT, 2xSATAn Hdd's :)

------- Comment #1 From Ioannis Aslanidis 2007-02-07 22:27:54 0000 -------
I'll have a good look at this one this weekend.

------- Comment #2 From Tim Cole 2007-02-10 02:48:01 0000 -------
I have also experienced this bug. When killing the application, it begins to
chew memory at an extremely fast pace. Exhausting main memory and swap in less
than a minute. It does not happen every time for me so it is hard to get any
debugging info.

------- Comment #3 From Ioannis Aslanidis 2007-02-10 23:08:00 0000 -------
Is the leak reproducible under net-p2p/ktorrent-2.1?

------- Comment #4 From Thomas Oleksa 2007-02-19 13:57:09 0000 -------
Yes, morning I launched Ktorrent-2.1, as always I took 3% of ram. About midday
grews to 11% and CPU usage was 99%. Fortunely killall ktorrent didn't hang comp
:)

------- Comment #5 From Ioannis Aslanidis 2007-02-19 15:43:21 0000 -------
Reopening on confirmation.

------- Comment #6 From Ioannis Aslanidis 2007-02-19 15:49:11 0000 -------
Please, check that this bug does not correspond to:

http://bugs.kde.org/show_bug.cgi?id=141483


Otherwise, please, fill a bug with all the information gathered and a detailed
description of how it happens at http://bugs.kde.org/

Once done, please provide the bug URL.

All reported memory leaks were presumably fixed already.

Thank you.

------- Comment #7 From Thomas Oleksa 2007-02-19 23:11:43 0000 -------
One more thing, I tested some versions, 2.0.2 is ok, but in 2.0.3 also grows
mem. usage.

------- Comment #8 From Ioannis Aslanidis 2007-03-03 15:31:17 0000 -------
Upstream will handle that.

------- Comment #9 From Thomas Oleksa 2007-03-07 19:29:29 0000 -------
I've changed kernel to 2.6.20-morph6 and done huge sys-upgrade, after this
Ktorrent takes 5-9% (it changes up and down but not more than 9%)

I'll test it for a few days, but after upgrade everything works fine since 2
days :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug