![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Find the Best VPN | Today's Posts | Search |
| Open Discussion topics Discuss the time of day, whatever you want to. This is the hangout area. If you have LimeWire problems, post them here too. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Thanks.
2.3.4 has a bug where all your inprogress/uncompleted transfers will be lost if you close the program. |
|
#2
|
|||
|
|||
|
Maybe you could try finding that bug and send a patch to [email protected]. I believe there is a problem with interpreting the downloads.dat in the DownloadManager.
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
Okay, I've got something for you. Deleting lines 98 to 104 of core/com/limegroup/gnutella/DownloadManager.java solves the bug.
Runnable checkpointer=new Runnable() { public void run() { if (downloadsInProgress()>0) //optimization writeSnapshot(); } }; backend.schedule(checkpointer, 0, SNAPSHOT_CHECKPOINT_TIME); Those lines cause all the trouble. |
|
#5
|
|||
|
|||
|
Cool thanks. Did you forward that info to the developers?
|
|
#6
|
|||
|
|||
|
No, cause I believe it is funny, to let them solve their bugs themselves. They are probably looking through the code right now, wondering where the error could be and wasting valuable time they could use to implement new features.
HARHARHAR |
|
#7
|
|||
|
|||
|
Very funny. Why is that code there if it is useless? I mean does it possibly disable some other functionality or cause a new bug if you remove it?
|
|
#8
|
|||
|
|||
|
This is a new feature which saves the downloads.dat every 30 seconds (a bit often for my taste), so if LimeWire crashes, the downloads won't be lost.
However it is called before the downloads.dat is read after starting LimeWire and it blocks that file, so if LimeWire tries to read downloads.dat it fails, because another thread is blocking the file. A better solution is, to move that code to another function, so it is called after the downloads.dat is read. That's what I did with my copy of the LimeWire sources. P.S. I was only kidding before, when I said I didn't send the developers the changes. Of course I sent them some code which solves the bug, - after planting a malicious trojan into it, that will allow me to access your computer. |
|
#9
|
|||
|
|||
|
Thanks for the explanation. I know you were kidding I was just wondering if you'd alreayd told them or if I should send a followup to my previous e-mail.
|
|
#10
|
|||
|
|||
|
Doesn't seem to work for me
Hope they fix it soon.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Clean?!? | lichhi-lichii | LimeWire+WireShare Tips and Tricks | 1 | February 27th, 2007 09:17 PM |
| Please include build system in sourceforge source zip files | Betelgeuse | General Discussion | 4 | December 19th, 2005 04:11 AM |
| Trying to build from source | Cornholio | General Windows Support | 2 | August 28th, 2002 12:10 PM |
| Clean LW 2.1.3 is out | VTOLfreak | Open Discussion topics | 2 | January 27th, 2002 09:51 AM |
| Clean LW 2.1.3 is out | VTOLfreak | Open Discussion topics | 0 | January 26th, 2002 07:27 AM |