aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 2005/03/29 crashes on startup  (Read 4240 times)

pukyxd

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 59
    • http://www.paretux.org
2005/03/29 crashes on startup
« on: March 31, 2005, 07:23:14 PM »

Code: [Select]
--------------------------------------------------------------------------------
Oops, aMule crashed!
Hey, stop crying! You wanted the edge, and now you fell down?!
Please, post the following lines, on the aMule Crashes forum on:
    [URL]http://forum.amule.org/board.php?boardid=67&sid=/[/URL]
You should also try to generate a real backtrace of this error, please read:
    [URL]http://www.amule.org/wiki/index.php/Backtraces[/URL]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------

aMule version is: CVS using wxGTK2 v2.5.4 (Snapshot: Tue Mar 29 07:01:09 CEST 2005)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: El fitxer o directori no existeix
Running on: Linux 2.6.11.3-ARCH i686

[0] otherfunctions::print_backtrace(unsigned char) in OtherFunctions.cpp:1061
[1] CamuleApp::OnFatalException() in amule.cpp:1205
[2] wxFatalSignalHandler in /usr/lib/libwx_base-2.5.so.4[0xb7b5ef96]
[3] ?? in [0xffffe420]
[4] CServerConnect::ConnectToAnyServer(unsigned int, bool, bool) in ServerConnect.cpp:88
[5] CServerConnect::ConnectToAnyServer() in ServerConnect.h:71
[6] CamuleApp::OnInit() in amule.cpp:817
[7] CamuleGuiApp::OnInit() in amule-gui.cpp:335
[8] wxAppConsole::CallOnInit() in app.h:87
[9] wxEntry(int&, char**) in /usr/lib/libwx_base-2.5.so.4[0xb7b0544a]
[10] main in amule-gui.cpp:147
[11] __libc_start_main in /lib/tls/libc.so.6[0x41e0819d]
[12] wxTextCtrl::GetSelection(long*, long*) const in amule[0x8065871]

With 2005/03/30 it crashes too. I compiled manualy wxGTK2.5.4 with --prefix=/usr option. I haven't got any other wxGTK version instaled
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: 2005/03/29 crashes on startup
« Reply #1 on: March 31, 2005, 08:21:58 PM »

Please run amule through gdb and post the backtrace, that would be a great help. ;)
http://www.amule.org/wiki/index.php/Backtraces
Logged

pukyxd

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 59
    • http://www.paretux.org
Re: 2005/03/29 crashes on startup
« Reply #2 on: March 31, 2005, 09:55:34 PM »

Code: [Select]
GNU gdb 6.3
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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread -1221711360 (LWP 23171)]
Initialising aMule
Checking if there is an instance already running...
Empty dir /home/pukyxd/.aMule/Incoming/ shared
[New Thread -1225081936 (LWP 23176)]
[Thread -1225081936 (zombie) exited]
Loading temp files from /home/pukyxd/.aMule/Temp.
Network configuration failed! You can't configure UDP(TCP+3) port and UDP (extended eMule) port at the same port number. Please, change one of them.Empty dir /home/pukyxd/.aMule/Incoming/ shared
[New Thread -1225081936 (LWP 23179)]
[Thread -1225081936 (zombie) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221711360 (LWP 23171)]
0x0819e36e in CServerConnect::ConnectToAnyServer (this=0x0, startAt=0, prioSort=true, isAuto=true) at ServerConnect.cpp:88
88              lastStartAt=startAt;
(gdb) bt
#0  0x0819e36e in CServerConnect::ConnectToAnyServer (this=0x0, startAt=0, prioSort=true, isAuto=true) at ServerConnect.cpp:88
#1  0x080e6863 in CServerConnect::ConnectToAnyServer (this=0x0) at ServerConnect.h:71
#2  0x081da74a in CamuleApp::OnInit (this=0x84d5b58) at amule.cpp:811
#3  0x081dfb6d in CamuleGuiApp::OnInit (this=0x84d5b58) at amule-gui.cpp:334
#4  0x081df328 in wxAppConsole::CallOnInit (this=0x84d5b58) at app.h:87
#5  0xb7b0544a in wxEntry () from /usr/lib/libwx_base-2.5.so.4
#6  0x081df4e0 in main (argc=1, argv=0xbffff724) at amule-gui.cpp:297
(gdb) bt full
#0  0x0819e36e in CServerConnect::ConnectToAnyServer (this=0x0, startAt=0, prioSort=true, isAuto=true) at ServerConnect.cpp:88
        e = {<> = {}, ID = INVALID_EVENT, byte_value = 113 'q', short_value = 16869, long_value = 10224,
  longlong_value = 18446744069414584320, string_value = { = {static npos = 4294967295,
      m_pchData = 0x29
}, }, ptr_value = 0x0, ptr_aux_value = 0x41efe7e8}
#1  0x080e6863 in CServerConnect::ConnectToAnyServer (this=0x0) at ServerConnect.h:71
No locals.
#2  0x081da74a in CamuleApp::OnInit (this=0x84d5b58) at amule.cpp:811
        geometry_enabled = false
        host = { = {static npos = 4294967295, m_pchData = 0x8538e8c "localhost"}, }
        conn = (struct wxConnectionBase *) 0x0
        newMule = { = {static npos = 4294967295, m_pchData = 0x855508c "CVS"}, }
        mnt_tab = (FILE *) 0x8594070
        msg = { = {static npos = 4294967295,
    m_pchData = 0x87824c4 "Network configuration failed! You can't configure UDP(TCP+3) port and UDP (extended eMule) port at the same port number. Please, change one of them."}, }
        ok = false
        cmdline = {m_data = 0x85388d8}
        lMulePrefDir = { = {static npos = 4294967295, m_pchData = 0x853932c "/home/pukyxd/.lmule"}, }
        xMulePrefDir = { = {static npos = 4294967295, m_pchData = 0x853950c "/home/pukyxd/.xmule"}, }
        homeDir = { = {static npos = 4294967295, m_pchData = 0x8539364 "/home/pukyxd/"}, }
        vfile =
        ch = 50 '2'
        geom_string = { = {static npos = 4294967295, m_pchData = 0xb7b63138 ""}, }
        server = { = {static npos = 4294967295, m_pchData = 0x8538eb4 "/home/pukyxd/.aMule/muleconn"}, }
        IPC = { = {static npos = 4294967295, m_pchData = 0x8538eec "aMule IPC TESTRUN"}, }
        client = (struct wxTCPClient *) 0x8538f18
        cfg = (struct wxConfigBase *) 0x8539570
#3  0x081dfb6d in CamuleGuiApp::OnInit (this=0x84d5b58) at amule-gui.cpp:334
No locals.
#4  0x081df328 in wxAppConsole::CallOnInit (this=0x84d5b58) at app.h:87
No locals.
#5  0xb7b0544a in wxEntry () from /usr/lib/libwx_base-2.5.so.4
No symbol table info available.
#6  0x081df4e0 in main (argc=1, argv=0xbffff724) at amule-gui.cpp:297
No locals.

The backtrace with gdb.
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: 2005/03/29 crashes on startup
« Reply #3 on: March 31, 2005, 10:15:28 PM »

Right, it's due to some bad error handling.
Notice the error "Network configuration failed! You can't configure UDP(TCP+3) port and UDP (extended eMule) port at the same port number. Please, change one of them.". You should open the file ~/.aMule/amule.conf and change the key UDPPort to something other than the current value. I'll improve the error handling.
Logged