aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050416 amuled startup crash(freebsd5.3)  (Read 3050 times)

cytomatrix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Cant be arsed....
    • http://hbdchat.uk.to
20050416 amuled startup crash(freebsd5.3)
« on: April 16, 2005, 08:36:16 PM »

(gdb) run

Starting program: /home/amule/amule/bin/amuled
Initialising aMule
Checking if there is an instance already running...
19:38:00: Error: Cannot convert from the charset 'US-ASCII'!
Loading temp files from /home/amule/.aMule/Temp.
Loading PartFile 6 of 6
All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:14465
*** TCP socket (TCP) listening on 0.0.0.0:14462
*** Client UDP socket (extended eMule) disabled on preferences
Adding file /home/amule/.aMule/Temp/001.part.met to shares
Adding file /home/amule/.aMule/Temp/002.part.met to shares
Adding file /home/amule/.aMule/Temp/004.part.met to shares
Adding file /home/amule/.aMule/Temp/007.part.met to shares
Empty dir /home/amule/.aMule/Incoming/ shared
CServerSocket: destroying socket 0x8495e00

Program received signal SIGBUS, Bus error.
[Switching to Thread 5 (LWP 100145)]
0x2832c229 in GSocket::Select () from /usr/local/lib/libwx_base_net-2.5.so.5

(gdb)bt

#0  0x2832c229 in GSocket::Select () from /usr/local/lib/libwx_base_net-2.5.so.5
#1  0x28328031 in wxSocketBase::_Wait () from /usr/local/lib/libwx_base_net-2.5.so.5
#2  0x28328356 in wxSocketBase::WaitForRead () from /usr/local/lib/libwx_base_net-2.5.so.5
#3  0x08140f16 in CServerSocketHandler::Entry (this=0x842f040) at ServerSocket.cpp:147
#4  0x282dd60d in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_base-2.5.so.5
#5  0x282dd673 in wxPthreadStart () from /usr/local/lib/libwx_base-2.5.so.5
#6  0x2820ba8d in pthread_create () from /usr/lib/libpthread.so.1
#7  0x28651c5f in _ctx_start () from /lib/libc.so.5

(gdb)bt full

#0  0x2832c229 in GSocket::Select () from /usr/local/lib/libwx_base_net-2.5.so.5
No symbol table info available.
#1  0x28328031 in wxSocketBase::_Wait () from /usr/local/lib/libwx_base_net-2.5.so.5
No symbol table info available.
#2  0x28328356 in wxSocketBase::WaitForRead () from /usr/local/lib/libwx_base_net-2.5.so.5
No symbol table info available.
#3  0x08140f16 in CServerSocketHandler::Entry (this=0x842f040) at ServerSocket.cpp:147
No locals.
#4  0x282dd60d in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_base-2.5.so.5
No symbol table info available.
#5  0x282dd673 in wxPthreadStart () from /usr/local/lib/libwx_base-2.5.so.5
No symbol table info available.
#6  0x2820ba8d in pthread_create () from /usr/lib/libpthread.so.1
No symbol table info available.
#7  0x28651c5f in _ctx_start () from /lib/libc.so.5
No symbol table info available.
Logged
Slackware 10.1
Freebsd 5.3
SuSE9.2
Windows XP sp2

lfroen

  • Guest
Re: 20050416 amuled startup crash(freebsd5.3)
« Reply #1 on: April 16, 2005, 08:53:01 PM »

Quote
No symbol table info available.

amuled compiled without debug info. Can you please recompile with --enable-debug ? It would be very helpful.
Logged

cytomatrix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Cant be arsed....
    • http://hbdchat.uk.to
Re: 20050416 amuled startup crash(freebsd5.3)
« Reply #2 on: April 16, 2005, 08:57:08 PM »

I compiled it with --enable-debug --disable-optimization and installed it. How do i know that amuled crashed when running from gdb? Thanks.
Logged
Slackware 10.1
Freebsd 5.3
SuSE9.2
Windows XP sp2

cytomatrix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Cant be arsed....
    • http://hbdchat.uk.to
Re: 20050416 amuled startup crash(freebsd5.3)
« Reply #3 on: April 16, 2005, 09:39:59 PM »

configure scripts short output

Configure script has finished system check.

  Configured aMule CVS for 'i386-unknown-freebsd5.3'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /home/amule/amule
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with taskbar icon support?        no
  Should aMule be compiled with old GTK taskbar icon?        no
  Should aMule be compiled with UTF-8 taskbar icon support?  no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built? (EXPERIMENTAL)       yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes
  Should aMule GUI Client be built?                          no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes
  Should aMule WebServer GUI be built?                       no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.5.5

(gdb) run
Starting program: /home/amule/amule/bin/amuled
Initialising aMule
Checking if there is an instance already running...
20:50:19: Error: Cannot convert from the charset 'US-ASCII'!
Loading temp files from /home/amule/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:14465
*** TCP socket (TCP) listening on 0.0.0.0:14462
*** Client UDP socket (extended eMule) disabled on preferences
Empty dir /home/amule/.aMule/Incoming/ shared
CServerSocket: destroying socket 0x849d800

Program received signal SIGBUS, Bus error.
[Switching to Thread 5 (LWP 100144)]
0x2832c229 in GSocket::Select () from /usr/local/lib/libwx_base_net-2.5.so.5

(gdb) bt
#0  0x2832c229 in GSocket::Select ()
   from /usr/local/lib/libwx_base_net-2.5.so.5
#1  0x28328031 in wxSocketBase::_Wait ()
   from /usr/local/lib/libwx_base_net-2.5.so.5
#2  0x28328356 in wxSocketBase::WaitForRead ()
   from /usr/local/lib/libwx_base_net-2.5.so.5
#3  0x08140f16 in CServerSocketHandler::Entry (this=0x8494de0)
    at ServerSocket.cpp:147
#4  0x282dd60d in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_base-2.5.so.5
#5  0x282dd673 in wxPthreadStart () from /usr/local/lib/libwx_base-2.5.so.5
#6  0x2820ba8d in pthread_create () from /usr/lib/libpthread.so.1
#7  0x28651c5f in _ctx_start () from /lib/libc.so.5

(gdb) bt full
#0  0x2832c229 in GSocket::Select ()
   from /usr/local/lib/libwx_base_net-2.5.so.5
No symbol table info available.
#1  0x28328031 in wxSocketBase::_Wait ()
   from /usr/local/lib/libwx_base_net-2.5.so.5
No symbol table info available.
#2  0x28328356 in wxSocketBase::WaitForRead ()
   from /usr/local/lib/libwx_base_net-2.5.so.5
No symbol table info available.
#3  0x08140f16 in CServerSocketHandler::Entry (this=0x8494de0)
    at ServerSocket.cpp:147
No locals.
#4  0x282dd60d in wxThreadInternal::PthreadStart ()
   from /usr/local/lib/libwx_base-2.5.so.5
No symbol table info available.
#5  0x282dd673 in wxPthreadStart () from /usr/local/lib/libwx_base-2.5.so.5
No symbol table info available.
#6  0x2820ba8d in pthread_create () from /usr/lib/libpthread.so.1
No symbol table info available.
#7  0x28651c5f in _ctx_start () from /lib/libc.so.5
No symbol table info available.
« Last Edit: April 16, 2005, 09:41:40 PM by cytomatrix »
Logged
Slackware 10.1
Freebsd 5.3
SuSE9.2
Windows XP sp2

lfroen

  • Guest
Re: 20050416 amuled startup crash(freebsd5.3)
« Reply #4 on: April 16, 2005, 10:09:13 PM »

Try following workaround: disable autoconnection at startup. Start daemon. That, using web, command or remote gui connect to some server.
Logged

cytomatrix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Cant be arsed....
    • http://hbdchat.uk.to
Re: 20050416 amuled startup crash(freebsd5.3)
« Reply #5 on: April 16, 2005, 10:20:39 PM »

Ok i tried it. Amuled runs until it tries to connect to any server. If I connect to a server it crashes.
« Last Edit: July 23, 2005, 04:25:50 PM by cytomatrix »
Logged
Slackware 10.1
Freebsd 5.3
SuSE9.2
Windows XP sp2