aMule Forum
English => en_Bugs => Topic started by: xyzzy on April 17, 2004, 03:41:20 AM
-
I think I may have experimentally identified a condition for losing display of certain widgets.
I have seen this with v1.2.6, v2.0.0rc1 and now v2.0.0rc2.
Visable effects of the bug are that the button widgets cease being visible, but can be clicked on, Pop-up menus are similarly invisible but present and the ability to go from queue screen to upload screen is lost, but not the other way round. In preferances click boxes are present and the ticks are visible, but numeric entry boxes have invisible text. (Get the picture?) The server log window is blank until scrolled. It then works fine, however it is not repainted on window refresh.
This has been seen with various versions of wxGTK and the current version is 2.4.2 linked against GTK1.
I think one of the activations is completing a file. The temporary and saved directories are on the same filesystem, but different directories. Not sure if this will make any difference but it might do if there is a race condition going on.
Running on Linux, basically Gentoo. If you need me to test something then just ask.
-
hiya.. well u are not the only one having probs with gentoo & amule ..
some users said after they leave amule running and switch to the search window (during the runtime) everything was ok .. try it plz
greets
-
I can switch between windows fine. They all have lost widgets. The search window is a mess. It appears to be missing the result display window. Switch back and forth between different windows does't seem to make any difference.
The newish thing that was one of the triggers for the bad behaviour looked like it was completing a download. I'm not sure whether that will help identify the bug.
-
Sorry, just to clarify, did you mean to switch to the search window while leaving it running or to switch to it to regain the widgets?
Thanks.
-
O.k. I restarted aMule and left it running mainly in the search pane. It still lost some widgets and the last thing that is displayed is the completion of a file. (I wasn't at the machine when it happened.) I haven't had the chance to carefully watch a file finish but it does seem likely that this is part of the cause.
Hope this help in tracking down the bug.
-
oki, thanky
for rc3 we rewrote the completion thread .. should help a lot ;)
greets
-
I think one of the activations is completing a file. The temporary and saved directories are on the same filesystem, but different directories. Not sure if this will make any difference but it might do if there is a race condition going on.
3 times he said it before someone told him that the completion was bugged and we rewrote it for rc3 :PPPPPPP
-
Thanks. Any idea when rc3 is going to come out or do I need to start using CVS?
-
cvs = rc2 ..
rc3 .. depend to our time & bugs we found ;)
-
Just to confuse things: I've just had two file completed without widgets getting lost.
-
Because it's a very complex bug that int4
eracts amule, wxGTK and GTK itself... and has something to do with reinstaling an idle handler that gtk seems to try for some unknown reason ;)
-
Is this idle handler dealt with from wxGTK? Or is the main amule code doing it? I've used gtk a bit (via perl) and have had to deal with idle handlers, so if you can point me at the place to look at first, unless you've already fixed it, then I'll have a look.
-
Originally posted by xyzzy
Just to confuse things: I've just had two file completed without widgets getting lost.
it's a very complex bug
it happens when amule is in the transfer window AND amule completes a file AND the file is being uploaded to someone (so program suspends upload and restarts after the file is been moved to incoming directory)
-
Originally posted by GhePeU
Originally posted by xyzzy
Just to confuse things: I've just had two file completed without widgets getting lost.
it's a very complex bug
it happens when amule is in the transfer window AND amule completes a file AND the file is being uploaded to someone (so program suspends upload and restarts after the file is been moved to incoming directory)
The condition on being in the transfer window is not necessary. I've seen it occur twice when in the searches pane.
-
Make sure you don't have wx linked against GTK2. I've had the same bug, but it disappeared when I reemerged wxGTK with USE=-gtk2.
-
Originally posted by ender
Make sure you don't have wx linked against GTK2. I've had the same bug, but it disappeared when I reemerged wxGTK with USE=-gtk2.
I've reemerged wxGTK with USE=-gtk2 and it doesn't make any difference. The bug still seems to be there. I'll have another go at it later when I've got some time. It is just crashing on me rather a lot at the moment and not getting to the "losing widgets" stage.
-
Do you use wxGTK 2.4.1 or 2.4.2? Try emerging 2.4.2, that's what I use (since you probably don't want to set ACCEPT_KEYWORDS [that would try to upgrade too much unrelated things], do a emerge -u /usr/portage/x11-libs/wxGTK/wxGTK-2.4.2.ebuild which will only upgrade wxGTK).
-
Originally posted by ender
Do you use wxGTK 2.4.1 or 2.4.2? Try emerging 2.4.2, that's what I use (since you probably don't want to set ACCEPT_KEYWORDS [that would try to upgrade too much unrelated things], do a emerge -u /usr/portage/x11-libs/wxGTK/wxGTK-2.4.2.ebuild which will only upgrade wxGTK).
I've already emerged 2.4.2. I have my own shadow tree that has modified ebuilds in it.
Still isn't happy.
I haven't had time to recompile everything again. Possibly tomorrow, but tomorrow may well be rather busy.
-
Originally posted by xyzzy
Originally posted by GhePeU
Originally posted by xyzzy
Just to confuse things: I've just had two file completed without widgets getting lost.
it's a very complex bug
it happens when amule is in the transfer window AND amule completes a file AND the file is being uploaded to someone (so program suspends upload and restarts after the file is been moved to incoming directory)
The condition on being in the transfer window is not necessary. I've seen it occur twice when in the searches pane.
I reported this bug in january and in 4 month it never occurred when during all the completing process amule isn't in transfer window. it happens if you switch for a moment in transfer windows too during completion, but not in other windows.
there's a similar bug that occurs randomly, but in this case program doesn't work anymore and upload and downloads stop too.
-
Having messed around with wxWidgets some more I think that it is a bug in that, and I've managed to work around it. It does seem to be working more reliably now.
Is there any way to compile amule without it using wxWidgets?
-
No, thre's no way to compile it without wx
And the bug is fixed on developers cvs afaik, will be on rc3
-
I can confirm, on rc3 this bug doesn't occur
-
Great :)