aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: GLib-CRITICAL **: g_source_attach: assertion `!SOURCE_DESTROYED (source)' failed  (Read 2578 times)

under_score

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5

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
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming

You have to use wxWidgets 2.8.12.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

under_score

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5

My resolution  before your reply is to lanch amule with a script, in this post, but now I will try your solution.

Code: [Select]
#!/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

Logged

under_score

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5

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!
Logged