aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2rc5 crashes on connecting to server  (Read 6641 times)

ASTIOBOY

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
aMule 2rc5 crashes on connecting to server
« on: July 30, 2004, 08:48:13 PM »

this is the beginning trace of the log found in my $HOME/Library/Logs/CrashReporter/amule.crash.log, hoping someone can tell me what's the problem:

Code: [Select]
Host Name:      Alessandro-Lendaros-Computer.local
Date/Time:      2004-07-30 20:40:51 +0200
OS Version:     10.3.4 (Build 7H63)
Report Version: 2

Command: amule
Path:    ./amule
Version: 0.1 (0.2.0)
PID:     556
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000006

Thread 0 Crashed:
0   com.apple.CoreFoundation            0x90190bbc CFRelease + 0x24
1   <<00000000>>        0x00000008 0 + 0x8
2   libwx_mac_core-2.5.2.dylib          0x04417d20 _GSocket_GUI_Destroy_Socket + 0x24
3   ...base_carbon_net-2.5.2.dylib      0x032bc950 GSocket_destroy + 0x70
4   ...base_carbon_net-2.5.2.dylib      0x032bcf0c GSocket_WaitConnection + 0xe4
5   ...base_carbon_net-2.5.2.dylib      0x032ba490 wxSocketServer::AcceptWith(wxSocketBase&, bool) + 0x50
6   amule                               0x0000d140 CListenSocket::OnAccept(int) + 0x15c (ListenSocket.cpp:1952)
7   amule                               0x0013a234 CamuleApp::ListenSocketHandler(wxSocketEvent&) + 0x88 (amule.cpp:1545)
8   libwx_base_carbon-2.5.2.dylib       0x03688920 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 0x9c
9   libwx_base_carbon-2.5.2.dylib       0x036880b8 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 0xa0
10  libwx_base_carbon-2.5.2.dylib       0x03688acc wxEvtHandler::ProcessEvent(wxEvent&) + 0xcc
11  libwx_base_carbon-2.5.2.dylib       0x03688820 wxEvtHandler::ProcessPendingEvents() + 0x64
12  libwx_base_carbon-2.5.2.dylib       0x0362ead8 wxAppConsole::ProcessPendingEvents() + 0x74
13  libwx_mac_core-2.5.2.dylib          0x043f95f8 wxApp::MacHandleOneEvent(void*) + 0x50
14  libwx_mac_core-2.5.2.dylib          0x043f956c wxApp::MacDoOneEvent() + 0x9c
15  libwx_mac_core-2.5.2.dylib          0x043f91b0 wxApp::MainLoop() + 0x24
16  libwx_base_carbon-2.5.2.dylib       0x0365d468 wxEntry(int&, char**) + 0x60
17  amule                               0x001346d4 main + 0x28 (amule.cpp:158)
18  amule                               0x00002afc _start + 0x188 (crt.c:267)
19  amule                               0x00002970 start + 0x30
Logged

ASTIOBOY

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: aMule 2rc5 crashes on connecting to server
« Reply #1 on: July 30, 2004, 10:52:04 PM »

sorry, the crash can happen anytime , it's actually not related to connecting to servers
Logged

root2323

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule 2rc5 crashes on connecting to server
« Reply #2 on: August 16, 2004, 09:06:29 PM »

I have the same problem...

did you fix it somehow?


greedz
m
Logged

ASTIOBOY

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: aMule 2rc5 crashes on connecting to server
« Reply #3 on: August 17, 2004, 06:47:58 PM »

nope.

I don't know, it appears to be a problem with wxMac...
nut don't have time + enough expertise to investigate... hope someone will fix.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule 2rc5 crashes on connecting to server
« Reply #4 on: August 17, 2004, 06:59:56 PM »

We're working on it.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2rc5 crashes on connecting to server
« Reply #5 on: August 17, 2004, 08:10:20 PM »

On current cvs this code has been changed, but I dont know if it will fix this problem. Wx-sockets code has changed a lot in current wx cvs, so I guess they might have some bugs.

Please, either try a current cvs tarball, or wait for rc6, that must be on the way.

Cheers!
Logged

root2323

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule 2rc5 crashes on connecting to server
« Reply #6 on: August 17, 2004, 08:22:39 PM »

I'm just compiling the latest CVS.

I'll test it and post the results in a few minutes.

Hopefully it works
 :)
Logged

xanu

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: aMule 2rc5 crashes on connecting to server
« Reply #7 on: August 17, 2004, 08:43:29 PM »

and if you have success, could you tell us, if you have modificated the source files, or if you have done the usual install steps showed on the wiki page.
THX
Logged

root2323

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule 2rc5 crashes on connecting to server
« Reply #8 on: August 17, 2004, 09:03:07 PM »

Same result :(

It crashes after a few minutes running...

I'll try the new CVS version tomorrow...
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2rc5 crashes on connecting to server
« Reply #9 on: August 17, 2004, 10:39:28 PM »

Well, it could be a wx-2.5.2 socket bug. Can you try wx-cvs? Also look at this (copy paste from another post i did, don't know if it is Mac friendly):


Folks,

wx-developers have changed the way wx-config treats parameters. The problem is that they have not upgraded wx-cvs version to 2.5.3, so wx-cvs is actualy seen as wx-2.5.2, and it is not easy to differentiate. I did a small ugly hack to work around this, that consists in changing wx version to 2.5.3. The instructions are:

1) Apply the attached patch.
2) run ./autogen.sh (it is actually just autoconf)
3) run ./configure bla bla bla
3a) For non-unicode build, run ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --enable-gtk2 --disable-unicode --prefix=/usr/local/wxWidgets-cvs
3b) For unicode build, run ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --enable-gtk2 --enable-unicode --prefix=/usr/local/wxWidgets-cvsu
4) make
5) make install
6) Test is like this: /usr/local/wxWidgets-cvs/bin/wx-config --version, And see if it says 2.5.3

To run amule: LD_LIBRARY_PATH=/usr/local/wxWidgets-cvs/lib/ /path/to/amule &

Cheers!
Logged