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 AdunanzA 3.11b works only as root  (Read 3206 times)

maxbld

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
aMule AdunanzA 3.11b works only as root
« on: July 24, 2008, 04:21:16 PM »

Hi all,

I just compiled this aMule mod for fastweb.net users and i can only run it as root, if i'm not root, the program loads the servers list and when it's time to connect it just crashes. The backtrace follows:

Code: [Select]
bash-3.1$ gdb amule
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread -1220421936 (LWP 15073)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread -1220998256 (LWP 15078)]
Loading temp files from /home/cippa/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/cippa/.aMule/Incoming/ shared
[New Thread -1229386864 (LWP 15079)]
[New Thread -1237775472 (LWP 15080)]
[Thread -1229386864 (LWP 15079) exited]
HTTP download thread started
[New Thread -1246164080 (LWP 15081)]
[New Thread -1229386864 (LWP 15082)]
HTTP download thread started
Host: update.adunanza.net:80
URL: http://update.adunanza.net/adu_nodes.dat
Response: 404 (Error: 6)
HTTP download thread ended
[Thread -1237775472 (LWP 15080) exited]
Host: update.adunanza.net:80
URL: http://update.adunanza.net/3-10/adu_remote.conf
Response: 200 (Error: 0)
Download size: 611
HTTP download thread ended
[Thread -1229386864 (LWP 15082) exited]
---------------- After update -----------------
[New Thread -1254708336 (LWP 15083)]
HTTP download thread started
Host: corpo.free.fr:80
URL: http://corpo.free.fr/server.met
Response: 404 (Error: 6)
HTTP download thread ended

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1254708336 (LWP 15083)]
0xb7f612a0 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0xb7f612a0 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb7ab70ac in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#2  0xb7ab7125 in wxMutex::Lock () from /usr/lib/libwx_base-2.6.so.0
#3  0xb7ab7b14 in wxThread::Exit () from /usr/lib/libwx_base-2.6.so.0
#4  0xb7ab866f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0xb7ab86bc in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#6  0xb7f5f1b3 in start_thread () from /lib/libpthread.so.0
#7  0xb786c03e in clone () from /lib/libc.so.6
(gdb) bt full
#0  0xb7f612a0 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb7ab70ac in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#2  0xb7ab7125 in wxMutex::Lock () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#3  0xb7ab7b14 in wxThread::Exit () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#4  0xb7ab866f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#5  0xb7ab86bc in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#6  0xb7f5f1b3 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb786c03e in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) thread apply all bt

Thread 7 (Thread -1254708336 (LWP 15083)):
#0  0xb7f612a0 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb7ab70ac in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#2  0xb7ab7125 in wxMutex::Lock () from /usr/lib/libwx_base-2.6.so.0
#3  0xb7ab7b14 in wxThread::Exit () from /usr/lib/libwx_base-2.6.so.0
#4  0xb7ab866f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0xb7ab86bc in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#6  0xb7f5f1b3 in start_thread () from /lib/libpthread.so.0
#7  0xb786c03e in clone () from /lib/libc.so.6

Thread 5 (Thread -1246164080 (LWP 15081)):
#0  0xb7f63622 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0xb7ab7398 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#2  0xb7ab7409 in wxCondition::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#3  0xb7ab7fe0 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_base-2.6.so.0
#4  0xb7ab8069 in wxSemaphore::WaitTimeout () from /usr/lib/libwx_base-2.6.so.0
#5  0x082d0a58 in CTimerThread::Entry (this=0x870d9d8) at Timer.cpp:66
#6  0xb7ab862f in wxThreadInternal::PthreadStart ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_base-2.6.so.0
#7  0xb7ab86bc in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8  0xb7f5f1b3 in start_thread () from /lib/libpthread.so.0
#9  0xb786c03e in clone () from /lib/libc.so.6

Thread 2 (Thread -1220998256 (LWP 15078)):
#0  0xb7f6640c in ?? () from /lib/libpthread.so.0
#1  0xb7abdf16 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#2  0xb7abdf48 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#3  0xb7ab6a3c in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#4  0x0817aa0c in UploadBandwidthThrottler::Entry (this=0x883b310)
    at UploadBandwidthThrottler.cpp:370
#5  0xb7ab862f in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#6  0xb7ab86bc in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#7  0xb7f5f1b3 in start_thread () from /lib/libpthread.so.0
#8  0xb786c03e in clone () from /lib/libc.so.6

Thread 1 (Thread -1220421936 (LWP 15073)):
#0  0xb7862529 in poll () from /lib/libc.so.6
#1  0xb7c1634a in wxapp_poll_func () from /usr/lib/libwx_gtk_core-2.6.so.0
#2  0xb760235c in ?? () from /usr/lib/libglib-1.2.so.0
#3  0x08868788 in ?? ()
---Type <return> to continue, or q <return> to quit---
#4  0x00000006 in ?? ()
#5  0xb76027ef in g_main_run () from /usr/lib/libglib-1.2.so.0
#6  0xb76f21bf in gtk_main () from /usr/lib/libgtk-1.2.so.0
#7  0xb7c2e89e in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
#8  0xb7cb042a in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
#9  0xb7cafac2 in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
#10 0xb7a6584b in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x081d28c5 in main (argc=Cannot access memory at address 0x6
) at amule-gui.cpp:143
#0  0xb7f612a0 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb)

Thank you for any help, BR,
Max.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMule AdunanzA 3.11b works only as root
« Reply #1 on: July 24, 2008, 04:28:11 PM »

3.11b is based on an old aMule version we do not support anymore. You should report this bug at the AdunanzA bug tracker.
Logged
concordia cum veritate