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-cvs(20040703) crash when connecting to a server  (Read 2287 times)

JuBeI

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
amule-cvs(20040703) crash when connecting to a server
« on: July 03, 2004, 11:49:47 PM »

Hi!

First of all, sorry for my poor english. "Second of all" congratulations for do the best ed2k client for Linux :)

Yesterday I tried to compile and run the aMule cvs version with wxWidgets 2.5.2, but when I try to connect to a server, aMule crashes. It happens with cvs version 20040701 and 20040703 (I didn't try 20040702).

I use Slackware, GTK 2.4.3 and wxWidgets 2.5.2. I compiled aMule with --prefix=/usr --disable-amulecmd --disable-debug --disable-cas --disable-wxcas --disable-amulecmdgui --enable-optimise (also, I tried with --disable-optimise and --enable-debug for do the gdb backtrace -I couldn't-) .

This is the aMule backtrace. I'm sorry, I couldn't use gdb because with it, aMule crashes after put "run" in the prompt.
Quote
wxSOCKET_CONNECTION
Connection Event from 243.244.245.195 : 4661

OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

[0] ./amule(_ZN9CamuleApp16OnFatalExceptionEv+0x3c) [0x827da4c]
[1] /usr/lib/libwx_base-2.5.so.2(wxFatalSignalHandler+0x26) [0x4055c716]
[2] /lib/libpthread.so.0 [0x40c51be5]
[3] /lib/libc.so.6 [0x40cc0078]
[4] ./amule(_ZN13CServerSocket9OnConnectE13wxSocketError+0x131) [0x824ca01]
[5] /usr/lib/libwx_base-2.5.so.2(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x31) [0x404c2371]
[6] /usr/lib/libwx_base-2.5.so.2(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x6f) [0x40556fbf]
[7] /usr/lib/libwx_base-2.5.so.2(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x88) [0x40556358]
[8] /usr/lib/libwx_base-2.5.so.2(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc4) [0x40557164]
[9] /usr/lib/libwx_base-2.5.so.2(_ZN12wxEvtHandler20ProcessPendingEventsEv+0x70) [0x40556f00]
[10] /usr/lib/libwx_base-2.5.so.2(_ZN12wxAppConsole20ProcessPendingEventsEv+0x63) [0x404c22d3]
[11] /usr/lib/libwx_gtk2_core-2.5.so.2 [0x4023ad40]
[12] /usr/lib/libglib-2.0.so.0 [0x4099f313]
[13] /usr/lib/libglib-2.0.so.0 [0x4099bf72]
[14] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x98) [0x4099d048]
[15] /usr/lib/libglib-2.0.so.0 [0x4099d380]
[16] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x183) [0x4099d9c3]
[17] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb3) [0x4069ce13]
[18] /usr/lib/libwx_gtk2_core-2.5.so.2(_ZN11wxEventLoop3RunEv+0x55) [0x402529d5]
[19] /usr/lib/libwx_gtk2_core-2.5.so.2(_ZN9wxAppBase8MainLoopEv+0x49) [0x402d8a39]
[20] /usr/lib/libwx_gtk2_core-2.5.so.2(_ZN9wxAppBase5OnRunEv+0x1b) [0x402d8b9b]
[21] /usr/lib/libwx_base-2.5.so.2(_Z7wxEntryRiPPc+0x51) [0x40502a61]
[22] ./amule(main+0x19) [0x82781c9]
[23] /lib/libc.so.6(__libc_start_main+0xc6) [0x40cac936]
[24] ./amule(_ZNK10wxTextCtrl12GetSelectionEPlS0_+0x81) [0x81247a1]
Aborted
It's happens always that I try to connect to a server, but only happens with wxwidgets 2.5.2 (with 2.4.2 don't).

I hope that it can help you.
Logged

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: amule-cvs(20040703) crash when connecting to a server
« Reply #1 on: July 04, 2004, 12:22:29 AM »

using wx 2.5.2 is generally a bad idea, it's tooo bugged.
if you want to try out wx 2.5, stick to 2.5.1 and wait for 2.5.3 to be released (as we do :))

Quote
wxSOCKET_CONNECTION
Connection Event from 243.244.245.195 : 4661

the ip is reversed  :rolleyes: , it should read 195.245.244.243
no wonder everything crashes and can't connect  :D (and this is wx's fault)
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
RE: amule-cvs(20040703) crash when connecting to a server
« Reply #2 on: July 04, 2004, 12:24:01 AM »

Known bug, thanks for reporting though. This is a problem with wx2.5.2, which IIRC swaps the order of ip-addresses for some reason. Just revert to 2.5.1 or stick with 2.4.2 for now and everything should be fine.

Cheers,
 Xaignar
Logged

JuBeI

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: amule-cvs(20040703) crash when connecting to a server
« Reply #3 on: July 04, 2004, 06:52:18 PM »

Ahm, ok, sorry :))

I will try with 2.5.1 release.


Thanks!
Logged