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 crash when proxy authentifycation enabled  (Read 4148 times)

luisacm

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
amule crash when proxy authentifycation enabled
« on: June 01, 2005, 10:48:55 PM »

luisacm@gpserp01:~> amule
/home/luisacm/.kde/share/config/gtkrc:37: error: unexpected identifier `gtk-alternative-button-order', expected keyword - e.g. `style'
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /home/luisacm/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/luisacm/.aMule/Incoming/ shared
Servers: Trying to connect
Http-CONNECT(0001): 0 -> 0
Http-CONNECT(0002): 0 -> 2

--------------------------------------------------------------------------------
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: |=----------------------------
Segmentation fault


logfile ********

2005-06-01 16:52:02: Credit file loaded, 0 clients are known
2005-06-01 16:52:02: Loaded ipfilter with 0 new IP addresses.
2005-06-01 16:52:02:
2005-06-01 16:52:02:  - This is aMule 2.0.1 using wxGTK1 v2.6.0 based on eMule.
2005-06-01 16:52:02:    Running on Linux 2.6.11.4-20a-default i686
2005-06-01 16:52:02:  - Visit http://www.amule.org to check if a new version is available.
2005-06-01 16:52:02:
2005-06-01 16:52:02: Loading server.met file: /home/luisacm/.aMule/server.met
2005-06-01 16:52:02: 123 servers in server.met found
2005-06-01 16:52:02: No file parts found
2005-06-01 16:52:02: External connections disabled in config file
2005-06-01 16:52:02: Found 0 known shared files
2005-06-01 16:52:02: Connecting
2005-06-01 16:52:02: Connecting to Razorback 2 (195.245.244.243 - 195.245.244.243:4661)

if i dont enabled the proxy authetifycation this dont crash, but i can not conect to the servers
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule crash when proxy authentifycation enabled
« Reply #1 on: June 02, 2005, 08:14:15 AM »

I guess phoenix our proxy dev would be happy if you could provide an actuall backtrace from within gdb,
can you please run amule in gdb and post a backtrace when it crashes again.
on howto do this read--> http://www.amule.org/wiki/index.php/Backtraces

thnx
stefanero
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."

luisacm

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amule crash when proxy authentifycation enabled
« Reply #2 on: June 02, 2005, 02:44:40 PM »

gpserp01:~ #vi .gdbinit
ha SIGPIPE nostop noprint pass
ha SIG32 nostop noprint pass



gpserp01:~ # gdb /usr/local/share/amule/bin/amule
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 "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/share/amule/bin/amule
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /root/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /root/.aMule/Incoming/ shared

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.
(gdb) bt
No stack.
(gdb) bt full
No stack.
(gdb)
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 crash when proxy authentifycation enabled
« Reply #3 on: June 02, 2005, 03:51:43 PM »

luisacm,

Unfortunately, this backtrace is useless, either you did not compile amule with debug information, or the crash is so serious that corrupted the stack.

Anyway, I know what is happening, I have already fixed that issue, it is fixed in current CVS, but I forgot to commit it to the 2.0.0 branch.

I will synch it right now, and 2.0.2 will have the fix.

Thank you for your report.

Cheers!
Logged

luisacm

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amule crash when proxy authentifycation enabled
« Reply #4 on: June 06, 2005, 10:49:08 PM »

Hello

I download amule 2.0.2 and then download server.met copy to ./aMule directory and the amule still crash

the gdb report this.,
Program received signal SIGSEGV, Segmentation fault.
0x4059477b in wxSocketBase::Write () from /usr/lib/libwx_base_net-2.6.so.0
(gdb) *** glibc detected *** malloc(): memory corruption: 0x08682ce0 ***
bt
#0  0x4059477b in wxSocketBase::Write () from /usr/lib/libwx_base_net-2.6.so.0
Cannot access memory at address 0xbfffe998
(gdb) bt full
#0  0x4059477b in wxSocketBase::Write () from /usr/lib/libwx_base_net-2.6.so.0
No symbol table info available.
Cannot access memory at address 0xbfffe998

if i dont download the server.met amule dont crash, but i cant download server.met from amule.

the proxy conection is ok.
in the file .aMule/amule
[Proxy]
ProxyEnableProxy=1
ProxyType=2
ProxyName=172.16.8.195
ProxyPort=8080
ProxyEnablePassword=1
ProxyUser=***
ProxyPassword=****
this is the configuration of the proxy and work whit suse but whit amule doesnt

this is the message
Host: http://www.srv1000.com:80
URL: http://www.srv1000.com/azz/server.met
Response: 0 (Error: 3)
WARNING: Void response on stream creation
HTTP download thread end

please help.
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 crash when proxy authentifycation enabled
« Reply #5 on: June 21, 2005, 02:12:50 AM »

Quote
this is the message
Host: http://www.srv1000.com:80
URL: http://www.srv1000.com/azz/server.met
Response: 0 (Error: 3)
WARNING: Void response on stream creation
HTTP download thread end
This is probably due to the fact that aMule does not use the proxy to get the server.met. This should be fixed, I will take a look. Meanwhile, you can google for server.met and use it. Other than that, it should work.
Logged