Oh, I'm sorry STU, I was quite careless in my debugging session and lost the backtrace. I'm really sorry about my newbie error of not saving the backtrace before proceed to actually debugging the application. So this is why I didn't post my backtrace.
However, the backtrace itself showed that Xlib was being called from two different threads. The codepath both in aMule, GTK+ and WX were perfect. Every variable was right, the bug lied in the use of Xlib.
I must admit I said 99% of probability meaning "it is really likely the bug is a multithreading bug", look, no user action, just some race condition and bang!
aMule is not the only app affected, For instance see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513829 (In particular, note how the bug is not distro-specific, as Fedora is also affected, and how the XInitThreads() call must be placed *before* gtk_init() )
I said 99% percent because with the superficial debugging I did there's no way to prove it. However I'm 28 hours uptime and aMule is now rock-solid with patch.
Regards, Billkaos