jiangzhw / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

memory corruption #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I'm trying to use RatProxy to test my Web application.

But sometimes, RatProxy break my requests and there is the following message :

*** glibc detected *** ./ratproxy: malloc(): memory corruption: 0x08ad7490 ***

I use RatProxy on a Debian 5 system.

If anybody can help me...

Thanks,

Thibaut

Original issue reported on code.google.com by commerci...@gtempaccount.com on 24 Aug 2010 at 2:47

GoogleCodeExporter commented 9 years ago
This is not enough information to diagnose the problem. When does the problem 
occur, exactly? Can you show me the stack trace / registers / current 
instruction output for the crash location (e.g. with gdb)? 

Original comment by lcam...@gmail.com on 24 Aug 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Ok, the problem occurs when I click on a form "submit" button, and then the 
page doesn't load...
The complete message is the following :

*** glibc detected *** ./ratproxy: malloc(): memory corruption: 0x0887a490 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb747c396]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb747d795]
/lib/i686/cmov/libc.so.6(getdelim+0xa8)[0xb746aad8]
/lib/i686/cmov/libc.so.6(getline+0x33)[0xb7467703]
/lib/i686/cmov/libc.so.6(__nss_database_lookup+0x1c5)[0xb74ff445]
/lib/i686/cmov/libc.so.6(__nss_hosts_lookup+0x81)[0xb75007a1]
/lib/i686/cmov/libc.so.6(gethostbyname_r+0x261)[0xb7505351]
/lib/i686/cmov/libc.so.6(gethostbyname+0xe6)[0xb7504b16]
./ratproxy[0x805e186]
./ratproxy[0x805e4b6]
./ratproxy[0x804aad1]
./ratproxy[0x805b86a]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7421455]
./ratproxy[0x80496f1]
======= Memory map: ========
08048000-08065000 r-xp 00000000 08:01 205072     /root/ratproxy/ratproxy
08065000-08066000 rw-p 0001d000 08:01 205072     /root/ratproxy/ratproxy
08066000-0806e000 rw-p 08066000 00:00 0
08879000-0889a000 rw-p 08879000 00:00 0          [heap]
b7200000-b7221000 rw-p b7200000 00:00 0
b7221000-b7300000 ---p b7221000 00:00 0
b73e0000-b73ec000 r-xp 00000000 08:01 376099     /lib/libgcc_s.so.1
b73ec000-b73ed000 rw-p 0000b000 08:01 376099     /lib/libgcc_s.so.1
b73f1000-b73f2000 rw-p b73f1000 00:00 0
b73f2000-b7406000 r-xp 00000000 08:01 247679     /usr/lib/libz.so.1.2.3.3
b7406000-b7407000 rw-p 00013000 08:01 247679     /usr/lib/libz.so.1.2.3.3
b7407000-b7409000 r-xp 00000000 08:01 385172     /lib/i686/cmov/libdl-2.7.so
b7409000-b740b000 rw-p 00001000 08:01 385172     /lib/i686/cmov/libdl-2.7.so
b740b000-b7560000 r-xp 00000000 08:01 385178     /lib/i686/cmov/libc-2.7.so
b7560000-b7561000 r--p 00155000 08:01 385178     /lib/i686/cmov/libc-2.7.so
b7561000-b7563000 rw-p 00156000 08:01 385178     /lib/i686/cmov/libc-2.7.so
b7563000-b7567000 rw-p b7563000 00:00 0
b7567000-b75aa000 r-xp 00000000 08:01 262278     
/usr/lib/i686/cmov/libssl.so.0.9.8
b75aa000-b75ae000 rw-p 00042000 08:01 262278     
/usr/lib/i686/cmov/libssl.so.0.9.8
b75ae000-b76e8000 r-xp 00000000 08:01 262279     
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b76e8000-b76fe000 rw-p 0013a000 08:01 262279     
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b76fe000-b7701000 rw-p b76fe000 00:00 0
b7704000-b7707000 rw-p b7704000 00:00 0
b7707000-b7708000 r-xp b7707000 00:00 0          [vdso]
b7708000-b7722000 r-xp 00000000 08:01 376120     /lib/ld-2.7.so
b7722000-b7724000 rw-p 0001a000 08:01 376120     /lib/ld-2.7.so
bfbb0000-bfbc5000 rw-p bffea000 00:00 0          [stack]

Original comment by commerci...@gtempaccount.com on 25 Aug 2010 at 8:03