aMule Forum
English => aMule crashes => Topic started by: under_score on January 08, 2012, 11:25:13 AM
-
It' time to update...
Many time of this:
** (amule:18110): CRITICAL **: smooth_draw_box_gap: assertion `height >= -1' failed
Follow by one of:
(amule:18110): GLib-CRITICAL **: g_source_attach: assertion `!SOURCE_DESTROYED (source)' failed
At the end:
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.32-5-686 i686
[2] ?? in amule[0x8084a01]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb6dd1936]
[4] ?? in [0xb770d400]
[5] pthread_mutex_lock in /lib/i686/cmov/libpthread.so.0[0xb76e4e2d]
[6] ?? in /lib/libglib-2.0.so.0[0xb62fabe8]
[7] g_io_add_watch_full in /lib/libglib-2.0.so.0[0xb62f29a0]
[8] gdk_input_add_full in /usr/lib/libgdk-x11-2.0.so.0[0xb65db18b]
[9] gdk_input_add in /usr/lib/libgdk-x11-2.0.so.0[0xb65db1de]
[10] GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb6fa6765]
[11] GSocket::Enable(GSocketEvent) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e5657d]
[12] GSocket::Write(char const*, int) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e5792a]
[13] wxSocketBase::_Write(void const*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e52be6]
[14] wxSocketBase::Write(void const*, unsigned int) in /usr/lib/libwx_baseu_net-2.8.so.0[0xb6e52d57]
[15] ?? in amule[0x81f913d]
[16] ?? in amule[0x80dca7c]
[17] ?? in amule[0x80dbb37]
[18] ?? in amule[0x80b0394]
[19] ?? in amule[0x811e81b]
[20] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0xb6dcbe88]
[21] wxPthreadStart in /usr/lib/libwx_baseu-2.8.so.0[0xb6dcbeed]
[22] ?? in /lib/i686/cmov/libpthread.so.0[0xb76e2955]
[23] clone in /lib/i686/cmov/libc.so.6[0xb6af5e7e]
--------------------------------------------------------------------------------
Abortito
-
You have to use wxWidgets 2.8.12.
-
My resolution before your reply is to lanch amule with a script, in this post, but now I will try your solution.
#!/bin/sh
# aMule watchdog
# Checks on aMule every 5 (configurable parameter) minutes
# and restarts it if aMule does not respond.
# Requires Netcat
#
# Created by Demiurg - sasha.sirotkin [AT] gmail.com
# Have fun.
MULENAME=amule
MULE=`which ${MULENAME}`
NC=`which nc`
TCPPORT=4642
SLEEP=300
test -e ${MULE} || (echo "${MULE} not found. Dying" ; exit 1)
test -e ${NC} || (echo "Netcat not found. Dying" ; exit 1)
FIRSTLOOP=1
rm ~/.aMule/muleLock
while true; do
# echo "Waiting"
test ${FIRSTLOOP} || sleep ${SLEEP}
unset FIRSTLOOP
# echo "Checking"
nc localhost ${TCPPORT} < /dev/null && continue
echo "Restarting"
date
killall -9 ${MULENAME}
sleep 1
${MULE} &
# echo "Running"
done
-
SOLVED! Don't crash anymore.
You have to use wxWidgets 2.8.12.
Updating to wxWidgets 2.8.12.
The question is: "why now? which upgrade do this?" Running on Debian 6.0.3 is Debian update?
I dont Know.
Many thanks to
Stu Redman.
Have you a nice day!