aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule 2.2.6 crash on ubuntu 10.4 lucid  (Read 4295 times)

undrline

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
amule 2.2.6 crash on ubuntu 10.4 lucid
« on: May 24, 2011, 03:55:31 AM »

Ubuntu Lucid 10.04 LTE
aMule 2.2.6 from repo

Sometimes aMule window freezes.  Most of the time I simply come back to it having quit altogether.  Sometimes it will be days sometimes it'll be minutes.  Seems to be more frequent lately.

amule -o yielded the following line of note, over and over:
Code: [Select]
** (amule:2742): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failedThen, when it crashed, the backtrace showed nothing.  I used System Monitor to look at my processes and saw that aMule was still active.  I waited and it remained active.  I tried to end the process, and it would not end.  I killed the process successfully, at which point, backtrace showed "Killed"

I installed gdm to get a more meaningful backtrace.  I continued with the repo version of amule (the instructions on changing the config to debug without reinstalling didn't make sense to me).  This crash was a window freeze rather than a quit.  I think I did it right:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) bt
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014b52d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x014b795c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x011ca18d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0076f067 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x009b57bd in GSocket::Disable(GSocketEvent) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x009b7ac0 in GSocket::Detected_Write() ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x0076eeb7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x011ca32c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#9  0x014f9efb in ?? () from /lib/libglib-2.0.so.0
#10 0x014b55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#11 0x014b92d8 in ?? () from /lib/libglib-2.0.so.0
#12 0x014b9817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#13 0x00f0f3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x0076d708 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x008004de in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x008000d1 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00a4179a in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#18 0x00a41977 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x0815a5db in ?? ()
#20 0x00c94bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#21 0x08083a31 in ?? ()
(gdb) bt full
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#1  0x014b52d7 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x014b795c in g_source_remove () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x011ca18d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0x0076f067 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#5  0x009b57bd in GSocket::Disable(GSocketEvent) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#6  0x009b7ac0 in GSocket::Detected_Write() ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#7  0x0076eeb7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x011ca32c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#9  0x014f9efb in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x014b55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#11 0x014b92d8 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#12 0x014b9817 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00f0f3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x0076d708 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#15 0x008004de in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0x008000d1 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#17 0x00a4179a in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#18 0x00a41977 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x0815a5db in ?? ()
No symbol table info available.
#20 0x00c94bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#21 0x08083a31 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 7 (Thread 0xb52fdb70 (LWP 5132)):
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x00138342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00aa36c4 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00aa371f in wxCondition::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00aa4934 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00aa49bf in wxSemaphore::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08230ed2 in ?? ()
#7  0x00aa5138 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00aa519d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x00d4ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb7417b70 (LWP 5128)):
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x00ca8777 in ?? () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
#2  0x00ca85e0 in ssignal () from /lib/tls/i686/cmov/libc.so.6
#3  0x009b680e in GSocket::Send_Stream(char const*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#4  0x009b6b56 in GSocket::Write(char const*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0x009b1dd6 in wxSocketBase::_Write(void const*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x009b1f47 in wxSocketBase::Write(void const*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x081fa1cd in ?? ()
#8  0x080dc92c in ?? ()
#9  0x080db9c7 in ?? ()
#10 0x080afdc4 in ?? ()
#11 0x0811f00b in ?? ()
#12 0x00aa5138 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0x00aa519d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#14 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x00d4ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7fd5760 (LWP 5114)):
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014b52d7 in ?? () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x014b795c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x011ca18d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0076f067 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x009b57bd in GSocket::Disable(GSocketEvent) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x009b7ac0 in GSocket::Detected_Write() ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x0076eeb7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x011ca32c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#9  0x014f9efb in ?? () from /lib/libglib-2.0.so.0
#10 0x014b55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#11 0x014b92d8 in ?? () from /lib/libglib-2.0.so.0
#12 0x014b9817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#13 0x00f0f3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x0076d708 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x008004de in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x008000d1 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00a4179a in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0x00a41977 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x0815a5db in ?? ()
---Type <return> to continue, or q <return> to quit---
#20 0x00c94bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#21 0x08083a31 in ?? ()
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #1 on: May 24, 2011, 09:09:36 PM »

Is it consuming a lot of memory?
Then try building it with 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

undrline

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #2 on: May 25, 2011, 05:23:19 AM »

Is it consuming a lot of memory?
Then try building it with wxWidgets 2.8.12 .

No, it doesn't appear to be using that much memory ... <30 MiB of 2 GiB
but it does appear to use a *lot* of CPU ... >80% on Dual Processor Intel Pentium 4 3GHz
(not sure how that percentage plays out with a dual processor, but it is way more than any other process)

Forgot to mention my kernel: Linux 2.6.32-31-generic

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #3 on: May 25, 2011, 10:20:18 PM »

Can you try the 2.3 rc1 with wx 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

undrline

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #4 on: May 26, 2011, 11:58:49 AM »

Thanks for keeping on it and trying to help me out.
I barely have a handle on what svn and git even is, so please treat me like a noob when it comes to compiling.  I don't suppose there's a nice pre-compiled-for-Lucid .deb or .rpm package you can point me to, or even a ppa I can add to Synaptic?  if I have to compile my own, which tarball do I grab that would match the version(s) your referring to?
Again, I appreciate the help.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
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

undrline

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #6 on: June 03, 2011, 08:13:11 PM »

Grab a tarball from http://amule.sourceforge.net/tarballs/tarballs.xml
To compile look at the wiki: http://wiki.amule.org/index.php/HowTo_Compile_In_Ubuntu

That second link was more helpful than the first.  The first I already knew about, but wanted to know if there was a particular one to work off of ... I chose what appears to be the most recent (Rev 10573).

When all was said and done, I had issues.  After restarting aMule, it said that I was still using 2.2.6.  So I checked out /usr/bin/amule --version and ~/.aMule/bin/amule --version
both still say "aMule 2.2.6 using wxGTK2 v2.8.10 (OS: Linux)"

Here's what I did ... ("username" is not real)
Code: [Select]
installed libcrypto++-utils via Synaptic

md /usr/share/amule/wx
cd /usr/share/amule/wx
tar xzf wxWidgets-2.8.12.tar.gz
cd /usr/share/amule/wx/wxWidgets-2.8.12
./configure --with-gtk --without-libtiff --without-subdirs --enable-unicode --enable-optimise
make

cd /usr/share/amule
tar xzf amule-a3c9abbc7736d5c2bb90652f39a2abe0d79b868f.tar.gz
cd /usr/share/amule/amule
./configure --prefix=/home/username/.aMule/bin --enable-debug --enable-optimize --with-denoise-level=3 --enable-upnp --enable-geoip --enable-nls --enable-amule-gui --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-alcc --enable-alc --enable-cas --enable-wxcas --enable-mmap --with-wxdir=/usr/share/amule/wx/wxWidgets-2.8.12
make
Lots of UPNP warnings, but no others that I could see.
make install

I must've put in an incorrect path somewhere ... where?  I don't have to uninstall aMule first, do I?
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 579
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #7 on: June 04, 2011, 09:19:00 AM »

Try to uninstall the 2.2.6 from synaptic. Then after compiling do simply
 make
and
 sudo make install
and it'll install in: /usr/local/bin/amule
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 579
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #8 on: June 04, 2011, 09:21:06 AM »

Typo: Make is compiling as well...lol...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #9 on: June 04, 2011, 12:44:43 PM »

Just start amule with /home/username/.aMule/bin/amule or change your path accordingly.
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

undrline

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #10 on: June 10, 2011, 10:03:05 PM »

I've tried over and over, using different working directories and tarballs, but the version number is still the same.
Still looking for some inspiration.
Logged

jrk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #11 on: June 11, 2011, 01:23:35 PM »

Still looking for some inspiration.

Hello.

I compiled aMule in Ubuntu 10.04 (Lucid Lynx) from tarball aMule-2.3.1rc1.tar.bz2.

First I couldn't compile it by simply running ./configure && make because I had unresolved dependencies. (Another problem was, that "configure" script has no execute bit set, so I had to run sh ./configure.) To find out what packages are needed, I run dpkg-buildpackage -us -uc -b -rfakeroot. It gave a message:
Quote
dpkg-checkbuilddeps: Unmet build dependencies: libgtk2.0-dev libgd2-xpm-dev bison flex libreadline5-dev libgeoip-dev libupnp-dev (>> 1.6.6) binutils-dev autoconf libqt4-dev kdelibs5-dev
I installed these packages and then run sh ./configure, make and sudo make install. It put everything in "/usr/local/" directory (You should run /usr/local/bin/amule). I uninstalled previous 2.2.6 version, but I don't know if it is necessary.
Logged

undrline

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #12 on: June 16, 2011, 05:48:13 AM »

Though I haven't had the time to follow that last bit of advice, something to note is that I haven't had one crash since all my downloads have completed, even though I've closed and opened amule a few times just in the course of working on the machine.  Is it possible that there were some file handling issues?  I was downloading files that had some Asian characters in the file names ...
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: amule 2.2.6 crash on ubuntu 10.4 lucid
« Reply #13 on: June 16, 2011, 02:55:53 PM »

Though I haven't had the time to follow that last bit of advice, something to note is that I haven't had one crash since all my downloads have completed, even though I've closed and opened amule a few times just in the course of working on the machine.  Is it possible that there were some file handling issues?  I was downloading files that had some Asian characters in the file names ...
Most crashes are load-related, so if you have a high load again they will reappear. Hopefully we'll have fixed amule and wx in distros soon.
Logged