Found seemingly this bug already reported:
[1]
amule rev 10395 crashes on Unbuntu lucid.[2]
amd x64 ubuntu -24 kernel running svn 10424[3]
Crashes aMule 2.3.1 compiled with wxGTK2 v2.9.3More reports may exists, I didn't bother looking deeper. So the bug is not new and also is not resolved, unfortunately.
However, one thing hit my eyes while looking through these old reports: In [1] and [2] there are these lines:
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true) at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
and
#8 0x000000000051e4d8 in CEMSocket::Send (this=0x823bfa0, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true) at EMSocket.cpp:572
#9 0x00000000004bd6a8 in CEMSocket::SendControlData (this=0x823bfa0, maxNumberOfBytesToSend=7, minFragSize=536) at EMSocket.h:69
which is quite interesting, knowing that CEMSocket::SendControlData does nothing but passes on its arguments to CEMSocket::Send.
69 virtual SocketSentBytes SendControlData(uint32 maxNumberOfBytesToSend, uint32 minFragSize) { return Send(maxNumberOfBytesToSend, minFragSize, true); };
This cannot be checked in the debian backtrace, because the value is optimized out...
[1] and [2] is crashing on a __pthread_mutex_lock call, where the mutex value is plain garbage
Program received signal SIGSEGV, Segmentation fault.
__pthread_mutex_lock (mutex=0x7) at pthread_mutex_lock.c:50
and
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe6ca5700 (LWP 19703)]
__pthread_mutex_lock (mutex=0x545345445f45435a) at pthread_mutex_lock.c:50
(in the latter case the mutex value is an ASCII string reading 'ZCE_DEST')
I guess the different place for the crash is the consequence of the time elapsed and the libraries changed since. I'm not sure where the actual bug lies, in aMule, in wxWidgets, in glib or somewhere else (note that for [1] a kernel change seemingly solved the problem).