aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amulecmd -c=shutdown crash  (Read 4675 times)

Ragnaroek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
amulecmd -c=shutdown crash
« on: May 04, 2005, 12:05:43 AM »

error while exiting amule with command
amulecmd -c=shutdown

my system:
redhat 9.0, via cpu

here is the error-trace:

ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)
ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)
ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/board.php?boardid=67
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.0.0 using wxGTK1 v2.4.2
Running on: Linux 2.4.18-14 i686

[2] wxFatalSignalHandler in /usr/lib/libwx_gtk-2.4.so.0[0x403e3f42]
[3] ?? in /lib/libpthread.so.0 [0x4002e4b9]
[4] ?? in /lib/libc.so.6 [0x408bdc18]
[5] ECSocket::WritePacket(wxSocketBase*, CECPacket const*) in ECSocket.cpp:742
[6] ExternalConn::OnSocketEvent(wxSocketEvent&) in ExternalConn.cpp:189
[7] wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) in /usr/lib/libwx_gtk-2.4.so.0[0x40319e62]
[8] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_gtk-2.4.so.0[0x40319c8f]
[9] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_gtk-2.4.so.0[0x40319bcb]
[10] wxAppBase::ProcessPendingEvents() in /usr/lib/libwx_gtk-2.4.so.0[0x402d0759]
[11] wxApp::OnIdle(wxIdleEvent&) in /usr/lib/libwx_gtk-2.4.so.0[0x4027e83f]
[12] wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) in /usr/lib/libwx_gtk-2.4.so.0[0x40319e62]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_gtk-2.4.so.0[0x40319c8f]
[14] wxApp::ProcessIdle() in /usr/lib/libwx_gtk-2.4.so.0[0x4027e7c1]
[15] ?? in /usr/lib/libwx_gtk-2.4.so.0 [0x4027e10f]
[16] ?? in /usr/lib/libglib-1.2.so.0 [0x406aeb1f]
[17] ?? in /usr/lib/libglib-1.2.so.0 [0x406ad9ae]
[18] ?? in /usr/lib/libglib-1.2.so.0 [0x406ade89]
[19] g_main_run in /usr/lib/libglib-1.2.so.0[0x406ae124]
[20] gtk_main in /usr/lib/libgtk-1.2.so.0[0x405b927f]
[21] wxApp::MainLoop() in /usr/lib/libwx_gtk-2.4.so.0[0x4027e9f2]
[22] wxAppBase::OnRun() in /usr/lib/libwx_gtk-2.4.so.0[0x402d0610]
[23] wxEntry(int, char**) in /usr/lib/libwx_gtk-2.4.so.0[0x4027f0cd]
[24] main in amule-gui.cpp:147
[25] __libc_start_main in /lib/libc.so.6[0x408ac49d]
[26] wxThread::Run() in start.S:83

--------------------------------------------------------------------------------
Logged
I thought what I'd do was, I'd pretend I was one of those deaf-mutes

Ragnaroek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: amulecmd -c=shutdown crash
« Reply #1 on: May 05, 2005, 04:24:39 PM »

hier ist die Ausgabe von GDB:

ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)
ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)
ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2700)]
0x081fb85a in InitBuffers(socket_desc*) (parms=0x0) at ECSocket.cpp:227
227             if (!parms->in_ptr) {
Logged
I thought what I'd do was, I'd pretend I was one of those deaf-mutes

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: amulecmd -c=shutdown crash
« Reply #2 on: May 05, 2005, 06:58:56 PM »

Your post doesn't seem to be a gdb backtrace.
If you want to know how post usefull backtraces read this site and post the created backtrace in the backtrace forum.

cu
Mr Faber
« Last Edit: May 05, 2005, 06:59:41 PM by Mr Faber »
Logged

lfroen

  • Guest
Re: amulecmd -c=shutdown crash
« Reply #3 on: May 05, 2005, 09:00:06 PM »

Code: [Select]
0x081fb85a in InitBuffers(socket_desc*) (parms=0x0) at ECSocket.cpp:227
227 if (!parms->in_ptr) {

This still happens ? Ragnaroek - can you tell how often ?
Logged

Ragnaroek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: amulecmd -c=shutdown crash
« Reply #4 on: May 06, 2005, 11:43:14 AM »

I forgot to compile amule with --enable-debug :/

amule crashs every time when I try to exit it with
amulecmd -c=shutdown
Logged
I thought what I'd do was, I'd pretend I was one of those deaf-mutes

Ragnaroek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: amulecmd -c=shutdown crash
« Reply #5 on: June 07, 2005, 06:35:04 PM »

ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)
ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)
ECSocket::ReadBufferFromSocket error Invalid socket (uninitialized)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2696)]
0x0820386e in InitBuffers(socket_desc*) (parms=0x0) at ECSocket.cpp:227
227             if (!parms->in_ptr) {


error is still in 2.0.2
Logged
I thought what I'd do was, I'd pretend I was one of those deaf-mutes

xit

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
Re: amulecmd -c=shutdown crash
« Reply #6 on: June 07, 2005, 09:07:59 PM »

Same thing for me :

[xit@gtw xit]# amulecmd --password=* --command=Shutdown

Création du client en cours...
Maintenant, établissement de la connexion....
Using host 'gtw' port: 4712
Essai de connexion (timeout = 10 s)...
Succeeded! Connection established to aMule 2.0.2

---------------------------------
|       Client texte d'aMule       |
---------------------------------

Use 'Help' for command list

 > L'opération s'est déroulée avec succès.

Ok, exiting aMulecmd...
[xit@gtw xit]#
--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/board.php?boardid=67
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.0.2 using wxGTK1 v2.6.0
CServerSocket: destroying socket 0x8626ef8
Running on: Linux 2.6.8.1-12mdk i686

[2] wxFatalSignalHandler in /usr/lib/libwx_base-2.6.so.0[0x400faf16]
[3] ?? in [0xffffe420]
[4] ?? in /usr/local/bin/amuled [0x810f158]
[5] ?? in /usr/local/bin/amuled [0x81103af]
[6] ?? in /usr/local/bin/amuled [0x8117851]
[7] ?? in /usr/local/bin/amuled [0x811a682]
[8] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_base-2.6.so.0[0x400f497f]
[9] wxPthreadStart in /usr/lib/libwx_base-2.6.so.0[0x400f49ec]
[10] ?? in /lib/tls/libpthread.so.0 [0x40027b3c]
[11] __clone in /lib/tls/libc.so.6[0x4032393a]

--------------------------------------------------------------------------------




but i noticed that it works fine when i use the command line "manualy" :

[xit@gtw xit]# amulecmd
Enter password for mule connection:

Création du client en cours...
Maintenant, établissement de la connexion....
Using host 'gtw.proxad.net' port: 4712
Essai de connexion (timeout = 10 s)...
Succeeded! Connection established to aMule 2.0.2

---------------------------------
|       Client texte d'aMule       |
---------------------------------

Use 'Help' for command list

aMulecmd$ Shutdown
 > L'opération s'est déroulée avec succès.
aMulecmd$ CServerSocket: destroying socket 0x8626ef0
CServerSocket: terminated
Now, exiting main app...
Killing amuleweb instance...
Killed!
aMule shutdown: Terminating core.
aMule shutdown completed.
aMulecmd$ exit

Ok, exiting aMulecmd...
[xit@gtw xit]#
Logged

Ragnaroek

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: amulecmd -c=shutdown crash
« Reply #7 on: June 17, 2005, 01:01:15 PM »

error still in 2.0.3
Logged
I thought what I'd do was, I'd pretend I was one of those deaf-mutes

lfroen

  • Guest
Re: amulecmd -c=shutdown crash
« Reply #8 on: June 17, 2005, 04:49:05 PM »

Please try to compile amule(d) with debug info and post "bt full" from gdb. Thanks for your help.
Logged