aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb segfaul  (Read 2197 times)

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
amuleweb segfaul
« on: February 11, 2005, 01:50:55 PM »

Sorry but it wasn't compiled with --enable-debug
hope it is still helpfull.
it happened while reloading the page, the page stopped incompletely transfered without any icons, except the info and ed2k link icons.
this was pretty soon after remotely adding files through amulecmd.


"
gdb /usr/local/bin/amuleweb core.10559
GNU gdb 6.3-debian
Copyright 2004 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 "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `amuleweb -q'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler

Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libwx_baseu-2.5.so.3...done.
Loaded symbols for /usr/lib/libwx_baseu-2.5.so.3
Reading symbols from /usr/lib/libwx_baseu_net-2.5.so.3...done.
Loaded symbols for /usr/lib/libwx_baseu_net-2.5.so.3
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /lib/libnss_db.so.2...done.
Loaded symbols for /lib/libnss_db.so.2
Reading symbols from /usr/lib/libdb3.so.3...done.
Loaded symbols for /usr/lib/libdb3.so.3
Reading symbols from /lib/tls/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/libnss_dns.so.2
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
#0  0xb7f09cae in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.5.so.3
(gdb) bt full
#0  0xb7f09cae in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#1  0xb7f0ca90 in wxMBConv::cMB2WX () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#2  0x080694c3 in char2unicode (x=0x0) at StringFunctions.h:59
No locals.
#3  0x0808140a in CWebSocket::OnRequestReceived (this=0x811bec0, pHeader=0x0, dwHeaderLen=0,
    pData=0x0, dwDataLen=0) at WebSocket.cpp:290
        sHeader =
        sData =
        sURL =
        Data = {sURL = , inadr = {s_addr = 135537208}, pSocket = 0x0}
#4  0x08081261 in CWCThread::Entry (this=0x811beb0) at WebSocket.cpp:202
        nRes = 135654096
        IsGet = true
        IsPost = false
#5  0xb7f51bfb in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#6  0xb7f51acf in wxPthreadStart () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#7  0xb7fc8b63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb7c9ec4a in clone () from /lib/tls/libc.so.6
No symbol table info available.
"


also appearing error messages:
"
10559 Speicherzugriffsfehler  (core dumped) amuleweb -pw godisadj -q
14:08:48: Error: can't open file '/home/djtm/.aMule/webserver/dyn_48F08EF2F5DB2001664A65D1F168BDDB.png' (error 2: No such file or directory)
CFileImage: failed to open /home/djtm/.aMule/webserver/dyn_48F08EF2F5DB2001664A65D1F168BDDB.png
14:08:48: Error: can't open file '/home/djtm/.aMule/webserver/dyn_48F08EF2F5DB2001664A65D1F168BDDB.png' (error 2: No such file or directory)
CFileImage: failed to open /home/djtm/.aMule/webserver/dyn_48F08EF2F5DB2001664A65D1F168BDDB.png
"


last amule messages:
"Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found with ET_COMPATIBLECLIENT of 0x44
Compatible client found w
" exactly like this.
« Last Edit: February 11, 2005, 01:51:16 PM by djtm »
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuleweb segfaul
« Reply #1 on: February 11, 2005, 03:23:36 PM »

wrong version of amule and amuleweb,
 this happens when you have wronge days for example rc8 amule and cvs amuleweb
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."

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: amuleweb segfaul
« Reply #2 on: February 11, 2005, 04:06:16 PM »

gdb /usr/local/bin/amuleweb core.7844
GNU gdb 6.3-debian
Copyright 2004 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 "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `amuleweb -f -p 50002'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler

Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libwx_baseu-2.5.so.3...done.
Loaded symbols for /usr/lib/libwx_baseu-2.5.so.3
Reading symbols from /usr/lib/libwx_baseu_net-2.5.so.3...done.
Loaded symbols for /usr/lib/libwx_baseu_net-2.5.so.3
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /lib/libnss_db.so.2...done.
Loaded symbols for /lib/libnss_db.so.2
Reading symbols from /usr/lib/libdb3.so.3...done.
Loaded symbols for /usr/lib/libdb3.so.3
Reading symbols from /lib/tls/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/libnss_dns.so.2
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
#0  0xb7f09cae in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.5.so.3
(gdb) bt full
#0  0xb7f09cae in wxMBConv::cMB2WC () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#1  0xb7f0ca90 in wxMBConv::cMB2WX () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#2  0x080694c3 in char2unicode (x=0x0) at StringFunctions.h:59
No locals.
#3  0x08083dd8 in CaMuleExternalConnector::TextShell (this=0x80cee48, prompt=@0xbffff450,
    commands=0x80a5220) at ExternalConnector.cpp:269
        buffer = "\2341ü·žKз\001", '\n'
        buf =
        The_End = false
#4  0x08084809 in CaMuleExternalConnector::ConnectAndRun (this=0x80cee48, ProgName=@0xbffff450,
    ProgVersion=@0x0, commands=0x0) at ExternalConnector.cpp:416
        success = false
        reply = (class CECPacket *) 0x80e45d0
        pass_plain =
        pass_hash =
        packet = { = { = {m_error = 0, m_tagData = 0x0, m_tagName = 0,
      m_tagCount = 4, m_dataLen = 0, m_dynamic = false, m_listSize = 16,
      m_tagList = 0x80cf628}, }, m_opCode = 2 '\002'}
        addr =
#5  0x0807f3e0 in CamulewebApp::OnRun (this=0x0) at WebInterface.cpp:224
No locals.
#6  0xb7eeba63 in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#7  0xb7eebb3d in wxEntry () from /usr/lib/libwx_baseu-2.5.so.3
No symbol table info available.
#8  0x0807f38b in main (argc=4, argv=0x0) at WebInterface.cpp:83
No locals.


another one.


But amuleweb and amule are the same version.

Only amulecmd(remote computer) is a different version, could that still crash the amuleweb?
« Last Edit: February 11, 2005, 04:09:01 PM by djtm »
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuleweb segfaul
« Reply #3 on: February 11, 2005, 04:38:00 PM »

hmm should not...

but maybe its teh problem taht 2 EC-connections take place. i test some here aswell.
but old amulecmd version should not crash amuleweb, it should crash itself ;)

btw. maybe update your amulecmd and see if it does any difference just to make sure :)
thnx
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."

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: amuleweb segfaul
« Reply #4 on: February 11, 2005, 06:34:59 PM »

i did upgrade it. we'll see...
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"