aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleD crashes so soon !  (Read 3773 times)

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
amuleD crashes so soon !
« on: May 12, 2005, 07:15:23 AM »

Hi All,

Thanks for the new release .
"Really putting out a new release IS a hard work"

Anyway , does anybody have any idea for the following backtrace ?
amuled crashes so soon , sometimes at the time you start it , and sometimes some minutes later.

os: slackware 10.1


tnx

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.0.0 using wxGTK2 v2.6.0
Running on: Linux 2.6.11.6 i686

[2] wxFatalSignalHandler in /usr/lib/libwx_base-2.6.so.0[0xb7f4b0c8]
[3] ?? in /lib/libpthread.so.0 [0xb7f8fc85]
[4] ?? in [0xffffe420]
[5] wxSocketBase::_Wait(long, long, int) in /usr/lib/libwx_base_net-2.6.so.0[0xb7e23615]
[6] wxSocketClient::WaitOnConnect(long, long) in /usr/lib/libwx_base_net-2.6.so.0[0xb7e24540]
[7] ?? in /usr/local/bin/amuled [0x814c1e8]
[8] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_base-2.6.so.0[0xb7f419fb]
[9] wxPthreadStart in /usr/lib/libwx_base-2.6.so.0[0xb7f418cf]
[10] ?? in /lib/libpthread.so.0 [0xb7f8a54e]
[11] __clone in /lib/libc.so.6[0xb7cafb8a]

--------------------------------------------------------------------------------
Killed
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4236
Re: amuleD crashes so soon !
« Reply #1 on: May 12, 2005, 08:14:10 AM »

hum

can you run it in gdb?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuleD crashes so soon !
« Reply #2 on: May 12, 2005, 09:37:25 AM »

sure , i will post the results on crash ASAP

tnx
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuleD crashes so soon !
« Reply #3 on: May 12, 2005, 09:50:05 AM »

here is the backtrace , but , actually i have installed the amule 2.0.0 by the package.
i have not compiled it.  i  don't know if the --enable-debug option is enabled by default in the package or not.
please let me know if i have to compile it.

tnx



[New Thread 147465 (LWP 4736)]
CServerSocket: destroying socket 0x8a2e5f8
CServerSocket: connection refused or timed out
[Thread 98311 (LWP 4730) exited]
[New Thread 163847 (LWP 4737)]
CServerSocket: destroying socket 0x8443a30

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 147465 (LWP 4736)]
0xb7e27d95 in GSocket::Select () from /usr/lib/libwx_base_net-2.6.so.0
(gdb) bt
#0  0xb7e27d95 in GSocket::Select () from /usr/lib/libwx_base_net-2.6.so.0
#1  0xb7e23615 in wxSocketBase::_Wait () from /usr/lib/libwx_base_net-2.6.so.0
#2  0xb7e24540 in wxSocketClient::WaitOnConnect ()
   from /usr/lib/libwx_base_net-2.6.so.0
#3  0x0814c1e8 in CServerSocketHandler::Entry (this=0x8443b58)
    at ServerSocket.cpp:127
#4  0xb7f419fb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0xb7f418cf in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#6  0xb7f8a54e in pthread_start_thread () from /lib/libpthread.so.0
#7  0xb7f8a5df in pthread_start_thread_event () from /lib/libpthread.so.0
#8  0xb7cafb8a in clone () from /lib/libc.so.6
(gdb)



(gdb) bt full
#0  0xb7e27d95 in GSocket::Select () from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
#1  0xb7e23615 in wxSocketBase::_Wait () from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
#2  0xb7e24540 in wxSocketClient::WaitOnConnect ()
   from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
#3  0x0814c1e8 in CServerSocketHandler::Entry (this=0x8443b58)
    at ServerSocket.cpp:127
No locals.
#4  0xb7f419fb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#5  0xb7f418cf in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#6  0xb7f8a54e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb7f8a5df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb7cafb8a in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4236
Re: amuleD crashes so soon !
« Reply #4 on: May 12, 2005, 10:02:31 AM »

well compile with --enable-debug --disable-optimize would be better...

if you dont do "make install" in the end, it wont hurt your current installed amule-version, you can simple run it from within the src-directory

thnx
stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuleD crashes so soon !
« Reply #5 on: May 12, 2005, 10:20:10 AM »

i compiled with
 ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --enable-debug --disable-optimise

and started
gdb ~/aMule-2.0.0/src/amuled

any idea ?

tnx



[New Thread 557068 (LWP 12998)]
CServerSocket: destroying socket 0xb7a0dc30
CServerSocket: connection refused or timed out
[Thread 507914 (LWP 12995) exited]
[New Thread 573450 (LWP 12999)]
CServerSocket: destroying socket 0xb7a1c110

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 557068 (LWP 12998)]
0xb7e27d95 in GSocket::Select () from /usr/lib/libwx_base_net-2.6.so.0
(gdb) bt
#0  0xb7e27d95 in GSocket::Select () from /usr/lib/libwx_base_net-2.6.so.0
#1  0xb7e23615 in wxSocketBase::_Wait () from /usr/lib/libwx_base_net-2.6.so.0
#2  0xb7e24540 in wxSocketClient::WaitOnConnect ()
   from /usr/lib/libwx_base_net-2.6.so.0
#3  0x0814c1e8 in CServerSocketHandler::Entry (this=0xb7a007d0)
    at ServerSocket.cpp:127
#4  0xb7f419fb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
#5  0xb7f418cf in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#6  0xb7f8a54e in pthread_start_thread () from /lib/libpthread.so.0
#7  0xb7f8a5df in pthread_start_thread_event () from /lib/libpthread.so.0
#8  0xb7cafb8a in clone () from /lib/libc.so.6

(gdb) bt full
#0  0xb7e27d95 in GSocket::Select () from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
#1  0xb7e23615 in wxSocketBase::_Wait () from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
#2  0xb7e24540 in wxSocketClient::WaitOnConnect ()
   from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
#3  0x0814c1e8 in CServerSocketHandler::Entry (this=0xb7a007d0)
    at ServerSocket.cpp:127
No locals.
#4  0xb7f419fb in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#5  0xb7f418cf in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#6  0xb7f8a54e in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb7f8a5df in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb7cafb8a in clone () from /lib/libc.so.6
No symbol table info available.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4236
Re: amuleD crashes so soon !
« Reply #6 on: May 12, 2005, 10:53:49 AM »

i tell lfroen, thnx for the bts :)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lfroen

  • Guest
Re: amuleD crashes so soon !
« Reply #7 on: May 12, 2005, 04:01:01 PM »

It looks like "1024 sockets" issue. Weird that it happens right on the start.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amuleD crashes so soon !
« Reply #8 on: May 13, 2005, 06:00:32 AM »

atash, do you have many downloads in your download queue?  In other words, do you have many .part files in your ~/.aMule/Temp directory?

Similarly, are you sharing a very large number of files?
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuleD crashes so soon !
« Reply #9 on: May 13, 2005, 10:00:04 PM »

40 part files but 35 ALIVE :D

do u have any idea ?

i am starting to think that i might be better to downgrade ;) (kidding)

tnx for ur attention


~/.aMule/Temp# ls *.part |wc -l
40

~/.aMule/Temp# ls *.part.met |wc -l
35
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amuleD crashes so soon !
« Reply #10 on: May 15, 2005, 09:09:15 AM »

Well, 35 (or 40) is certainly not too many.  I was thinking maybe it was close to 1024.

What about how many files you're sharing?

Also, do you know why there are .part files with no accompanying .part.met files?  I don't think that can happen when aMule is operating normally.  Does this problem persist if you move the "dead" .part files to another directory?
Logged

atash_000

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: amuleD crashes so soon !
« Reply #11 on: May 15, 2005, 08:00:22 PM »

well, i am not sharing even more.

unfortunatly keeping the .part files aprt didn't solved the problem


tnx
Logged

anonbeat

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuleD crashes so soon !
« Reply #12 on: May 15, 2005, 11:26:41 PM »

I had a problem with 2.0.0 and ipfilter.dat autoupdate. I had to disable autoupdate of ipfilter to make amule work or will crash at start or when try to connect to a server. Maybe its the same situation for you. Try to disable ipfilter autoupdate on security options

greets
anonbeat
Logged