aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 3 [4] 5 6 ... 37

Author Topic: RRM's epic struggle for a better aMule on high-speed connections  (Read 165728 times)

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #45 on: February 28, 2009, 08:18:31 PM »

Dear Bill, I trust you.
And, i have nothing to lose; i have 2 machines
and everything is also saved on multiple external hard drives,
so i can safely mess up this system. Im not in a hurry either.
Whatever you think is best, thats what we do.
I'll do my best to learn and follow your instructions carefully.
« Last Edit: February 28, 2009, 10:02:24 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #46 on: March 01, 2009, 07:58:33 AM »

I got this, but amule didnt crash yet (upload and downloadlimits have been set)
Code: [Select]
CAUGHT DEAD SOCKET IN SENDPACKET()

(amule:17953): GLib-WARNING **: /build/buildd/glib2.0-2.18.2/glib/giounix.c:400Error while getting flags for FD: Bad file descriptor (9)

CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()
CAUGHT DEAD SOCKET IN SENDPACKET()


The weird thing is; uploading goes beyond the limit that i had set in amule! ::)
and when it does, amule is responding veeeerrry sloooooooowly to my commands...
(it takes many seconds to go from 'transfers' to 'stats' for example)
« Last Edit: March 01, 2009, 05:43:49 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #47 on: March 01, 2009, 04:55:51 PM »

What proceeded the latest crash:

Code: [Select]
(amule:17953): GLib-WARNING **: /build/buildd/glib2.0-2.18.2/glib/giounix.c:400Error while getting flags for FD: Bad file descriptor (9)

[Thread 0xb5000b90 (LWP 22955) exited]
[New Thread 0xb5000b90 (LWP 23055)]
[Thread 0xb5000b90 (LWP 23055) exited]

(amule:17953): GLib-WARNING **: /build/buildd/glib2.0-2.18.2/glib/giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


(amule:17953): GLib-WARNING **: /build/buildd/glib2.0-2.18.2/glib/giounix.c:400Error while getting flags for FD: Bad file descriptor (9)


Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb6983700 (LWP 17953)]
0x09e10839 in ?? ()

bt
Code: [Select]
#0  0x09e10839 in ?? ()
#1  0xb6fa84af in gdk_io_invoke (source=0xae5dbb8,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
#2  0xb6d456fd in g_io_unix_dispatch (source=0xa371310,
    callback=0xb6fa8450 <gdk_io_invoke>, user_data=0xa389680)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
#3  0xb6d0e6f8 in IA__g_main_context_dispatch (context=0x9cec7f0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#4  0xb6d11da3 in g_main_context_iterate (context=0x9cec7f0, block=1,
    dispatch=1, self=0x9cedd70)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#5  0xb6d122c2 in IA__g_main_loop_run (loop=0xa3f8bf8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#6  0xb71403a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#7  0xb7915e95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0xb79ac5ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb79ac1a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb76e4a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb76e4c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x0815bc30 in ?? ()
---Type <return> to continue, or q <return> to quit---
#13 0xb73d1685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#14 0x08085c21 in ?? ()
bt full
Code: [Select]
#0  0x09e10839 in ?? ()
No symbol table info available.
#1  0xb6fa84af in gdk_io_invoke (source=0xae5dbb8,
    condition=<value optimized out>, data=0x2)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkevents.c:1013
gdk_cond = 165742640
#2  0xb6d456fd in g_io_unix_dispatch (source=0xa371310,
    callback=0xb6fa8450 <gdk_io_invoke>, user_data=0xa389680)
    at /build/buildd/glib2.0-2.18.2/glib/giounix.c:162
buffer_condition = 0
#3  0xb6d0e6f8 in IA__g_main_context_dispatch (context=0x9cec7f0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
No locals.
#4  0xb6d11da3 in g_main_context_iterate (context=0x9cec7f0, block=1,
    dispatch=1, self=0x9cedd70)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
max_priority = 0
timeout = 0
some_ready = 1
nfds = 387
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xad9f7970
__PRETTY_FUNCTION__ = "g_main_context_iterate"
---Type <return> to continue, or q <return> to quit---
#5  0xb6d122c2 in IA__g_main_loop_run (loop=0xa3f8bf8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
self = (GThread *) 0x9cedd70
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#6  0xb71403a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
tmp_list = (GList *) 0x0
functions = (GList *) 0x0
init = (GtkInitFunction *) 0xa3ecbc0
loop = (GMainLoop *) 0xa3f8bf8
#7  0xb7915e95 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0xb79ac5ce in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0xb79ac1a1 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#10 0xb76e4a7a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb76e4c77 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x0815bc30 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#13 0xb73d1685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#14 0x08085c21 in ?? ()
No symbol table info available.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #48 on: March 01, 2009, 07:19:56 PM »


your crash is highly likely caused by more traffic than amule can handle right now.

I tested this, and it might be true; i evoked amule to crash
every few minutes by simply adding a few popular downloads.
« Last Edit: March 01, 2009, 07:23:06 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #49 on: March 01, 2009, 09:29:52 PM »


your crash is highly likely caused by more traffic than amule can handle right now.

I tested this, and it might be true; i evoked amule to crash
every few minutes by simply adding a few popular downloads.
Ok, I'll try to reproduce it.

On the other hand, could you compile aMule using the instructions on the wiki http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian#Compile_and_install_aMule ?

If you have any doubt ask here, I use

Code: [Select]
$ ./configure --prefix=/usr/local/stow/amule-debug/ --enable-debug --enable-optimize --disable-upnp --enable-geoip
$ make -j 6
$ sudo make install
$ cd /usr/local/stow
$ sudo stow amule-debug

Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #50 on: March 01, 2009, 11:43:59 PM »

Aha, in Ubuntu you have to pass configure

Code: [Select]
--with-wxdebug

and install the libwx*-dbg packages, then you have debug info. So the configure line you should use is:
Code: [Select]
./configure  --prefix=/usr/local/stow/amule-debug/ --enable-debug --enable-optimize --disable-upnp --enable-geoip --with-wxdebug
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #51 on: March 11, 2009, 08:50:02 PM »

Im sorry that it takes so long. Please dont think that im ungrateful; its just that im reading up on the "compiling amule" info, and so far its still seems so complicated.
I think i need an entire day dedicated to it, so that i can finally make some sense of it and actually give it a try.
I need a little more time.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #52 on: March 13, 2009, 09:50:19 PM »

Phew..., at least i got something done... ::)
Installed packages and checked wxWidgets.
Installing the wxGTK gives me more headaches though
 (changing /etc/apt/sources.list file ?)
, so i save that one for later...  ;D
« Last Edit: March 13, 2009, 09:59:16 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #53 on: March 14, 2009, 01:08:08 PM »

Phew..., at least i got something done... ::)
Installed packages and checked wxWidgets.
Installing the wxGTK gives me more headaches though
 (changing /etc/apt/sources.list file ?)
, so i save that one for later...  ;D

RRM, if you are with Ubuntu 8.10 I'd suggest to use stock ubuntu packages (use $sudo apt-get build-dep amule)

Install also all the libwx-*-dbg packages and compile amule snapshot with --enable-debug --with-wxdebug
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #54 on: March 14, 2009, 06:57:36 PM »

Thank you btkaos!

Quote from: btkaos
RRM, if you are with Ubuntu 8.10 I'd suggest to use stock ubuntu packages (use $sudo apt-get build-dep amule)

Ok, done.

Quote
Install also all the libwx-*-dbg packages

Do you mean:
libwxgtk2.4-dbg
libwxgtk2.6-dbg and
libwxgtk2.8-dbg

and also:

libwxbase2.4-dbg
libwxbase2.6-dbg
libwxbase2.8-dbg
?
even though (only) libwxgtk2.8-dbg and libwxbase2.8-dbg are already installed?
and I should ignore this?:
Code: [Select]
To compile aMule, You need to have a current version of wxWidgets installed.
To achieve that: Uninstall every possibly previously installed wxwidgets stuff
and this:
Code: [Select]
#  Download current wxwidgets wxGTK stable release source code tar ball from http://www.wxwidgets.org/downloads/
# $ tar xvzf wxgtk-version.tar.gz
# $ cd wxGTK-version
and this?:
Code: [Select]
wxGTK Debian and Ubuntu packages for 2.8.9 are available. To use them you will need to make a small change to your /etc/apt/sources.list file.
Information about this change, the available packages, platforms, and releases is documented on this page in the wxPython wiki
Im only asking because im confused.  :) (hence the headaches  ??? )

Quote
and compile amule snapshot with --enable-debug --with-wxdebug

Ok, i get that. Thanks.
« Last Edit: March 14, 2009, 07:23:09 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #55 on: March 15, 2009, 10:51:45 PM »

Do you mean:
libwxgtk2.4-dbg
libwxgtk2.6-dbg and
libwxgtk2.8-dbg

and also:

libwxbase2.4-dbg
libwxbase2.6-dbg
libwxbase2.8-dbg
?
No, sorry. Just install the 2.8 packages. The correct expression is libwx*2.8*
Quote
and I should ignore this?:
Code: [Select]
To compile aMule, You need to have a current version of wxWidgets installed.
To achieve that: Uninstall every possibly previously installed wxwidgets stuff
and this:
Code: [Select]
#  Download current wxwidgets wxGTK stable release source code tar ball from http://www.wxwidgets.org/downloads/
# $ tar xvzf wxgtk-version.tar.gz
# $ cd wxGTK-version
and this?:
Code: [Select]
wxGTK Debian and Ubuntu packages for 2.8.9 are available. To use them you will need to make a small change to your /etc/apt/sources.list file.
Information about this change, the available packages, platforms, and releases is documented on this page in the wxPython wiki
Im only asking because im confused.  :) (hence the headaches  ??? )

Yes, I think you should first try with stock Ubuntu wx. Previous Ubuntu releases shipped a buggy libwx, but I find 8.10 to ship a good wxversion. I think compiling wxwidgets is not necessary to debug your bug.

You can also try the excellent packages by Festor:
http://www.amule.org/amule/index.php?topic=16648.0
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #56 on: March 16, 2009, 06:24:45 PM »

Thank you.
2.8 is installed.
Do i need the aMule source code tar ball?
When i type:
Code: [Select]
./configure  --prefix=/usr/local/stow/amule-debug/ --enable-debug --enable-optimize --disable-upnp --enable-geoip --with-wxdebugI get:
Code: [Select]
bash: ./configure: No such file or directory
Quote
You can also try the excellent packages by Festor:
http://www.amule.org/amule/index.php?topic=16648.0

Instead of the packages already installed?
or additionally?
« Last Edit: March 16, 2009, 09:05:07 PM by RRM »
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
RRM's epic struggle for a better aMule on high-speed connections
« Reply #57 on: March 17, 2009, 12:47:20 AM »

Thank you.
2.8 is installed.
Do i need the aMule source code tar ball?
When i type:
Code: [Select]
./configure  --prefix=/usr/local/stow/amule-debug/ --enable-debug --enable-optimize --disable-upnp --enable-geoip --with-wxdebugI get:
Code: [Select]
bash: ./configure: No such file or directory
Yes of course, get the latest snapshot. You should type configure in the unpacked tarball.

Quote
Quote
You can also try the excellent packages by Festor:
http://www.amule.org/amule/index.php?topic=16648.0

Instead of the packages already installed?
or additionally?
What you will find there is a new aMule compiled with the right options for you.

RRM, I recommend you to stop trying to compile aMule (for now) and install Festor's packages.

If you install those packages, start using aMule (under gdb), you don't need to compile anything and you will hopefully get a good backtrace.
« Last Edit: March 17, 2009, 12:52:07 AM by btkaos »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #58 on: March 17, 2009, 03:29:43 PM »

Thank you.
Quote
stop trying to compile aMule (for now) and install Festor's packages. ...
you will hopefully get a good backtrace.

Ok. Done.
However, amule starts with the usual "no debugging symbols found"
Is that ok, or should it be configured differently?
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
RRM's epic struggle for a better aMule on high-speed connections
« Reply #59 on: March 17, 2009, 04:39:07 PM »

Thank you.
Quote
stop trying to compile aMule (for now) and install Festor's packages. ...
you will hopefully get a good backtrace.

Ok. Done.
However, amule starts with the usual "no debugging symbols found"
Is that ok, or should it be configured differently?

It's strange, I'm working on it now.
Pages: 1 2 3 [4] 5 6 ... 37