eatmonkey keeps segfaulting

Liviu Andronic landronimirc at gmail.com
Sun Aug 15 12:02:45 CEST 2010


Dear all
After (another) failed search for a download manager that fits my
tastes, I've (once again) reverted to eatmonkey, only to find it still
segfaulting. I very much like its clean interface and would like to
get it up and going on my system. 

I am on Debian testing, with ruby-gnome2-dev 0.19.3-2, aria2
1.10.0-2 and eatmonkey 0.1.4. The programme configures and compiles
just fine, but segfauls either when starting download or when starting
up. 

On a clean start-up (with no config files and after re-install) and
immediate shutdown initiated with the Quit toolbar button, I'm getting
the following: 
liviu at debian-liv:~$ eatmonkey 
["connect"]
./eatmanager.rb: line 27
   Gtk-CRITICAL **:gtk_radio_menu_item_set_group: assertion
`!g_slist_find (group, radio_menu_item)' failed ["ECONNREFUSED",
#<Errno::ECONNREFUSED: Connection refused - connect(2)>] ["waiting for
a first response..."] ["started server",
 "aria2c --disable-ipv6=true --enable-xml-rpc
--xml-rpc-listen-port=6801
--conf-path=/home/liviu/.config/eatmonkey/aria2.conf
--log=/home/liviu/.config/eatmonkey/aria2.log --log-level=notice
--dht-file-path=/home/liviu/.config/eatmonkey/dht.dat", 19498] Started
aria2 XML-RPC Server (pid 19498)... ["shutdown", 19498] ./eat.rb:26:
[BUG] Segmentation fault ruby 1.8.7 (2010-06-23 patchlevel 299)
[x86_64-linux]

Aborted


When using the wm to close the app, the shutdown is fine. 
liviu at debian-liv:~$ eatmonkey 
["connect"]
./eatmanager.rb: line 27
   Gtk-CRITICAL **:gtk_radio_menu_item_set_group: assertion
`!g_slist_find (group, radio_menu_item)' failed ["ECONNREFUSED",
#<Errno::ECONNREFUSED: Connection refused - connect(2)>] ["waiting for
a first response..."] ["started server",
 "aria2c --disable-ipv6=true --enable-xml-rpc
--xml-rpc-listen-port=6801
--conf-path=/home/liviu/.config/eatmonkey/aria2.conf
--log=/home/liviu/.config/eatmonkey/aria2.log --log-level=notice
--dht-file-path=/home/liviu/.config/eatmonkey/dht.dat", 19686] Started
aria2 XML-RPC Server (pid 19686)... ["shutdown", 19686]


However I am more concerned with the following. Using the same  clean
start-up, trying to download the xubuntu image results in a segfault: 
liviu at debian-liv:~$ eatmonkey 
["connect"]
./eatmanager.rb: line 27
   Gtk-CRITICAL **:gtk_radio_menu_item_set_group: assertion
`!g_slist_find (group, radio_menu_item)' failed ["ECONNREFUSED",
#<Errno::ECONNREFUSED: Connection refused - connect(2)>] ["waiting for
a first response..."] ["started server",
 "aria2c --disable-ipv6=true --enable-xml-rpc
--xml-rpc-listen-port=6801
--conf-path=/home/liviu/.config/eatmonkey/aria2.conf
--log=/home/liviu/.config/eatmonkey/aria2.log --log-level=notice
--dht-file-path=/home/liviu/.config/eatmonkey/dht.dat", 19816] Started
aria2 XML-RPC Server (pid 19816)... ./eatmanager.rb: line 133
Gtk-CRITICAL **:gtk_widget_grab_default: assertion
`gtk_widget_get_can_default (widget)' failed download uri:
ftp://ftp.free.fr/mirrors/ftp.xubuntu.com/releases/10.04/release/xubuntu-10.04-desktop-i386.iso
gid: 1 ./eatmanager.rb:351:in `add_new_download': undefined method
`append' for #<#<Class:0x7f5369607cf0>:0x7f536425b5e8 ptr=0x29bf8b0>
from ./eatmanager.rb:414:in `action_add' from ./eatmanager.rb:71:in
`initialize' from ./eat.rb:26:in `call' from ./eat.rb:26:in `main'
from ./eat.rb:26 /usr/lib/ruby/1.8/glib2.rb:38: [BUG] Segmentation fault
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]

Aborted


Subsequently, trying to relaunch eatmonkey also results in
(intermittent) segfaults (presumably because it retries to download): 
liviu at debian-liv:~$ eatmonkey 
["connect"]
./eatmanager.rb: line 27
   Gtk-CRITICAL **:gtk_radio_menu_item_set_group: assertion
`!g_slist_find (group, radio_menu_item)' failed ./eatmanager.rb:195:in
`update_row': undefined method `append' for
#<#<Class:0x7f3c23b6d170>:0x7f3c1e7c0a90 ptr=0x16a18b0>
from ./eatmanager.rb:65:in `initialize' from ./eataria2.rb:473:in
`call' from ./eataria2.rb:473:in `signal_emit'
from ./eataria2.rb:473:in `start' from ./eataria2.rb:469:in `each'
	 from ./eataria2.rb:469:in `start'
	 from ./eat.rb:26:in `call'
	 from ./eat.rb:26:in `main'
	 from ./eat.rb:26


I cannot start it from root, either. 
debian-liv:/home/liviu# eatmonkey 
./eatsettings.rb:52:in `default_values': undefined method `exists?' for
Dir:Class (NoMethodError) from ./eatsettings.rb:74:in `parse'
	from ./eatsettings.rb:28:in `initialize'
	from /usr/lib/ruby/1.8/singleton.rb:94:in `new'
	from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
	from ./eat.rb:17

I am attaching my config and log files.

In all, Eatmonkey reliably segfaults when initiating a download. Any
ideas on what's going wrong? 
Liviu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aria2.conf
Type: application/octet-stream
Size: 1777 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20100815/c1157ef6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aria2.log
Type: text/x-log
Size: 371 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20100815/c1157ef6/attachment.bin>


More information about the Xfce mailing list