aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Buffer Overflow Fedora21 | amuled 2.3.1 + wxGTK2 v2.8.12 | Bug #1745  (Read 1694 times)

deadhead

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2

OS: Fedora 21 x86_64
components and versions:
  • kernel: 3.18.3-201.fc21.x86_64
  • amule 2.3.1-7.fc21
  • cryptopp 5.6.2-5.fc21
  • expat 2.1.0-10.fc21
  • gcc 4.9.2-1.fc21
  • gcc-base 4.9.2-1.fc21
  • glibc 2.20-7.fc21
  • glibc-common 2.20-7.fc21
  • libupnp 1.6.19-3.fc21
  • wxGTK 2.8.12-13.fc21
  • zlib 1.2.8-7.fc21
Happened after months of flawless work. Reproduced simply creating a new blank user and starting amuled with that new user.
Backtrack with GDB + Debug Symbols installed

GDB
*** buffer overflow detected ***: /usr/bin/amuled terminated
======= Backtrace: =========
/lib64/libc.so.6(+0x7850e)[0x7ffff5bcd50e]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7ffff5c67327]
/lib64/libc.so.6(+0x1104a0)[0x7ffff5c654a0]
/lib64/libc.so.6(+0x112297)[0x7ffff5c67297]
/lib64/libwx_baseu_net-2.8.so.0(_ZN7GSocket13Input_TimeoutEv+0x77)[0x7ffff6ad1a57]
/lib64/libwx_baseu_net-2.8.so.0(_ZN7GSocket4ReadEPci+0x39)[0x7ffff6ad2839]
/lib64/libwx_baseu_net-2.8.so.0(_ZN12wxSocketBase5_ReadEPvj+0x48)[0x7ffff6ace708]
/lib64/libwx_baseu_net-2.8.so.0(_ZN12wxSocketBase4PeekEPvj+0x16)[0x7ffff6acea86]
/lib64/libwx_baseu_net-2.8.so.0(_ZN10wxProtocol8ReadLineEP12wxSocketBaseR8wxString+0x103)[0x7ffff6aca6e3]
/lib64/libwx_baseu_net-2.8.so.0(_ZN6wxHTTP12ParseHeadersEv+0xb5)[0x7ffff6ac8ca5]
/lib64/libwx_baseu_net-2.8.so.0(_ZN6wxHTTP12BuildRequestERK8wxStringNS_10wxHTTP_ReqE+0x4ac)[0x7ffff6ac969c]
/lib64/libwx_baseu_net-2.8.so.0(_ZN6wxHTTP14GetInputStreamERK8wxString+0x74)[0x7ffff6ac9d24]
/usr/bin/amuled(+0x1141ad)[0x5555556681ad]
/usr/bin/amuled(+0x114ba2)[0x555555668ba2]
/lib64/libwx_baseu-2.8.so.0(_ZN16wxThreadInternal12PthreadStartEP8wxThread+0x115)[0x7ffff68347b5]
/lib64/libpthread.so.0(+0x752a)[0x7ffff7bc652a]
/lib64/libc.so.6(clone+0x6d)[0x7ffff5c5579d]
======= Memory map: ========
555555554000-55555576e000 r-xp 00000000 fd:00 51066351 /usr/bin/amuled
55555596d000-555555978000 r--p 00219000 fd:00 51066351 /usr/bin/amuled
555555978000-555555979000 rw-p 00224000 fd:00 51066351 /usr/bin/amuled
555555979000-555555a61000 rw-p 00000000 00:00 0 [heap]
7fffe0000000-7fffe0021000 rw-p 00000000 00:00 0
7fffe0021000-7fffe4000000 ---p 00000000 00:00 0
7fffe5fcc000-7fffe5fcd000 ---p 00000000 00:00 0
7fffe5fcd000-7fffe67cd000 rw-p 00000000 00:00 0 [stack:1943]
7fffe8000000-7fffe8021000 rw-p 00000000 00:00 0
7fffe8021000-7fffec000000 ---p 00000000 00:00 0
7fffed3ab000-7fffed3ac000 ---p 00000000 00:00 0
7fffed3ac000-7fffedbac000 rw-p 00000000 00:00 0 [stack:1946]
7fffedbac000-7fffedbc3000 r-xp 00000000 fd:00 2935737 /usr/lib64/libresolv-2.20.so
7fffedbc3000-7fffeddc2000 ---p 00017000 fd:00 2935737 /usr/lib64/libresolv-2.20.so
7fffeddc2000-7fffeddc3000 r--p 00016000 fd:00 2935737 /usr/lib64/libresolv-2.20.so
7fffeddc3000-7fffeddc4000 rw-p 00017000 fd:00 2935737 /usr/lib64/libresolv-2.20.so
7fffeddc4000-7fffeddc6000 rw-p 00000000 00:00 0
7fffeddc6000-7fffeddcb000 r-xp 00000000 fd:00 1699965 /usr/lib64/libnss_dns-2.20.so
7fffeddcb000-7fffedfca000 ---p 00005000 fd:00 1699965 /usr/lib64/libnss_dns-2.20.so
7fffedfca000-7fffedfcb000 r--p 00004000 fd:00 1699965 /usr/lib64/libnss_dns-2.20.so
7fffedfcb000-7fffedfcc000 rw-p 00005000 fd:00 1699965 /usr/lib64/libnss_dns-2.20.so
7fffedfcc000-7fffedfcd000 ---p 00000000 00:00 0
7fffedfcd000-7fffee7cd000 rw-p 00000000 00:00 0
7fffee7cd000-7fffee7ce000 ---p 00000000 00:00 0
7fffee7ce000-7fffeefce000 rw-p 00000000 00:00 0 [stack:1942]
7fffeefce000-7fffeefda000 r-xp 00000000 fd:00 1699966 /usr/lib64/libnss_files-2.20.so
7fffeefda000-7fffef1d9000 ---p 0000c000 fd:00 1699966 /usr/lib64/libnss_files-2.20.so
7fffef1d9000-7fffef1da000 r--p 0000b000 fd:00 1699966 /usr/lib64/libnss_files-2.20.so
7fffef1da000-7fffef1db000 rw-p 0000c000 fd:00 1699966 /usr/lib64/libnss_files-2.20.so
7fffef1db000-7fffef1dd000 r-xp 00000000 fd:00 52952918 /usr/lib64/gconv/UTF-32.so
7fffef1dd000-7fffef3dc000 ---p 00002000 fd:00 52952918 /usr/lib64/gconv/UTF-32.so
7fffef3dc000-7fffef3dd000 r--p 00001000 fd:00 52952918 /usr/lib64/gconv/UTF-32.so
7fffef3dd000-7fffef3de000 rw-p 00002000 fd:00 52952918 /usr/lib64/gconv/UTF-32.so
7fffef3de000-7ffff5951000 r--p 00000000 fd:00 35003304 /usr/lib/locale/locale-archive
7ffff5951000-7ffff5954000 r-xp 00000000 fd:00 969885 /usr/lib64/libdl-2.20.so
7ffff5954000-7ffff5b53000 ---p 00003000 fd:00 969885 /usr/lib64/libdl-2.20.so
7ffff5b53000-7ffff5b54000 r--p 00002000 fd:00 969885 /usr/lib64/libdl-2.20.so
7ffff5b54000-7ffff5b55000 rw-p 00003000 fd:00 969885 /usr/lib64/libdl-2.20.so
7ffff5b55000-7ffff5d09000 r-xp 00000000 fd:00 1699954 /usr/lib64/libc-2.20.so
7ffff5d09000-7ffff5f08000 ---p 001b4000 fd:00 1699954 /usr/lib64/libc-2.20.so
7ffff5f08000-7ffff5f0c000 r--p 001b3000 fd:00 1699954 /usr/lib64/libc-2.20.so
7ffff5f0c000-7ffff5f0e000 rw-p 001b7000 fd:00 1699954 /usr/lib64/libc-2.20.so
7ffff5f0e000-7ffff5f12000 rw-p 00000000 00:00 0
7ffff5f12000-7ffff5f28000 r-xp 00000000 fd:00 7885270 /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7ffff5f28000-7ffff6127000 ---p 00016000 fd:00 7885270 /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7ffff6127000-7ffff6128000 r--p 00015000 fd:00 7885270 /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7ffff6128000-7ffff6129000 rw-p 00016000 fd:00 7885270 /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7ffff6129000-7ffff6230000 r-xp 00000000 fd:00 969887 /usr/lib64/libm-2.20.so
7ffff6230000-7ffff642f000 ---p 00107000 fd:00 969887 /usr/lib64/libm-2.20.so
7ffff642f000-7ffff6430000 r--p 00106000 fd:00 969887 /usr/lib64/libm-2.20.so
7ffff6430000-7ffff6431000 rw-p 00107000 fd:00 969887 /usr/lib64/libm-2.20.so
7ffff6431000-7ffff6521000 r-xp 00000000 fd:00 146 /usr/lib64/libstdc++.so.6.0.20
7ffff6521000-7ffff6721000 ---p 000f0000 fd:00 146 /usr/lib64/libstdc++.so.6.0.20
7ffff6721000-7ffff6729000 r--p 000f0000 fd:00 146 /usr/lib64/libstdc++.so.6.0.20
7ffff6729000-7ffff672b000 rw-p 000f8000 fd:00 146 /usr/lib64/libstdc++.so.6.0.20
7ffff672b000-7ffff6740000 rw-p 00000000 00:00 0
7ffff6740000-7ffff6895000 r-xp 00000000 fd:00 2891897 /usr/lib64/libwx_baseu-2.8.so.0.8.0
7ffff6895000-7ffff6a95000 ---p 00155000 fd:00 2891897 /usr/lib64/libwx_baseu-2.8.so.0.8.0
7ffff6a95000-7ffff6a9d000 r--p 00155000 fd:00 2891897 /usr/lib64/libwx_baseu-2.8.so.0.8.0
7ffff6a9d000-7ffff6aa2000 rw-p 0015d000 fd:00 2891897 /usr/lib64/libwx_baseu-2.8.so.0.8.0
7ffff6aa2000-7ffff6aac000 rw-p 00000000 00:00 0
7ffff6aac000-7ffff6adb000 r-xp 00000000 fd:00 2891899 /usr/lib64/libwx_baseu_net-2.8.so.0.8.0
7ffff6adb000-7ffff6cda000 ---p 0002f000 fd:00 2891899 /usr/lib64/libwx_baseu_net-2.8.so.0.8.0
7ffff6cda000-7ffff6cdd000 r--p 0002e000 fd:00 2891899 /usr/lib64/libwx_baseu_net-2.8.so.0.8.0
7ffff6cdd000-7ffff6cde000 rw-p 00031000 fd:00 2891899 /usr/lib64/libwx_baseu_net-2.8.so.0.8.0
7ffff6cde000-7ffff6cdf000 rw-p 00000000 00:00 0
7ffff6cdf000-7ffff6ce8000 r-xp 00000000 fd:00 965248 /usr/lib64/libixml.so.2.0.8
7ffff6ce8000-7ffff6ee8000 ---p 00009000 fd:00 965248 /usr/lib64/libixml.so.2.0.8
7ffff6ee8000-7ffff6ee9000 r--p 00009000 fd:00 965248 /usr/lib64/libixml.so.2.0.8
7ffff6ee9000-7ffff6eea000 rw-p 0000a000 fd:00 965248 /usr/lib64/libixml.so.2.0.8
7ffff6eea000-7ffff6eef000 r-xp 00000000 fd:00 965250 /usr/lib64/libthreadutil.so.6.0.4
7ffff6eef000-7ffff70ee000 ---p 00005000 fd:00 965250 /usr/lib64/libthreadutil.so.6.0.4
7ffff70ee000-7ffff70ef000 r--p 00004000 fd:00 965250 /usr/lib64/libthreadutil.so.6.0.4
7ffff70ef000-7ffff70f0000 rw-p 00005000 fd:00 965250 /usr/lib64/libthreadutil.so.6.0.4
7ffff70f0000-7ffff7115000 r-xp 00000000 fd:00 965252 /usr/lib64/libupnp.so.6.3.3
7ffff7115000-7ffff7314000 ---p 00025000 fd:00 965252 /usr/lib64/libupnp.so.6.3.3
7ffff7314000-7ffff7315000 r--p 00024000 fd:00 965252 /usr/lib64/libupnp.so.6.3.3
7ffff7315000-7ffff7316000 rw-p 00025000 fd:00 965252 /usr/lib64/libupnp.so.6.3.3
7ffff7316000-7ffff7318000 rw-p 00000000 00:00 0
7ffff7318000-7ffff7742000 r-xp 00000000 fd:00 1838131 /usr/lib64/libcryptopp.so.6.0.0
7ffff7742000-7ffff7942000 ---p 0042a000 fd:00 1838131 /usr/lib64/libcryptopp.so.6.0.0
7ffff7942000-7ffff79a1000 r--p 0042a000 fd:00 1838131 /usr/lib64/libcryptopp.so.6.0.0
7ffff79a1000-7ffff79a5000 rw-p 00489000 fd:00 1838131 /usr/lib64/libcryptopp.so.6.0.0
7ffff79a5000-7ffff79a9000 rw-p 00000000 00:00 0
7ffff79a9000-7ffff79be000 r-xp 00000000 fd:00 2993097 /usr/lib64/libz.so.1.2.8
7ffff79be000-7ffff7bbd000 ---p 00015000 fd:00 2993097 /usr/lib64/libz.so.1.2.8
7ffff7bbd000-7ffff7bbe000 r--p 00014000 fd:00 2993097 /usr/lib64/libz.so.1.2.8
7ffff7bbe000-7ffff7bbf000 rw-p 00015000 fd:00 2993097 /usr/lib64/libz.so.1.2.8
7ffff7bbf000-7ffff7bd6000 r-xp 00000000 fd:00 2933431 /usr/lib64/libpthread-2.20.so
7ffff7bd6000-7ffff7dd5000 ---p 00017000 fd:00 2933431 /usr/lib64/libpthread-2.20.so
7ffff7dd5000-7ffff7dd6000 r--p 00016000 fd:00 2933431 /usr/lib64/libpthread-2.20.so
7ffff7dd6000-7ffff7dd7000 rw-p 00017000 fd:00 2933431 /usr/lib64/libpthread-2.20.so
7ffff7dd7000-7ffff7ddb000 rw-p 00000000 00:00 0
7ffff7ddb000-7ffff7dfc000 r-xp 00000000 fd:00 2498 /usr/lib64/ld-2.20.so
7ffff7fe1000-7ffff7fec000 rw-p 00000000 00:00 0
7ffff7fed000-7ffff7ff0000 rw-p 00000000 00:00 0
7ffff7ff0000-7ffff7ff7000 r--s 00000000 fd:00 50333822 /usr/lib64/gconv/gconv-modules.cache
7ffff7ff7000-7ffff7ff8000 rw-p 00000000 00:00 0
7ffff7ff8000-7ffff7ffa000 r--p 00000000 00:00 0 [vvar]
7ffff7ffa000-7ffff7ffc000 r-xp 00000000 00:00 0 [vdso]
7ffff7ffc000-7ffff7ffd000 r--p 00021000 fd:00 2498 /usr/lib64/ld-2.20.so
7ffff7ffd000-7ffff7ffe000 rw-p 00022000 fd:00 2498 /usr/lib64/ld-2.20.so
7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffeefcd700 (LWP 1942)]
0x00007ffff5b898c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
??/usr/src/debug/glibc-2.20/sysdeps/unix/sysv/linux/raise.c:55:1823:beg:0x7ffff5b898c7

(follow...)
« Last Edit: January 31, 2015, 10:51:01 AM by deadhead »
Logged

deadhead

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Buffer Overflow on aMuleD 2.3.1 compiled with wxGTK2 v2.8.12 | Bug #1745
« Reply #1 on: January 31, 2015, 10:47:28 AM »


(gdb) bt
#0 0x00007ffff5b898c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
0000001 0x00007ffff5b8b52a in __GI_abort () at abort.c:89
0000002 0x00007ffff5bcd513 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff5cdb7a9 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
0000003 0x00007ffff5c67327 in __GI___fortify_fail (msg=msg@entry=0x7ffff5cdb74f "buffer overflow detected") at fortify_fail.c:31
0000004 0x00007ffff5c654a0 in __GI___chk_fail () at chk_fail.c:28
0000005 0x00007ffff5c67297 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
0000006 0x00007ffff6ad1a57 in GSocket::Input_Timeout (this=this@entry=0x7fffe8002400) at src/unix/gsocket.cpp:1561
0000007 0x00007ffff6ad2839 in GSocket::Read (this=0x7fffe8002400, buffer=buffer@entry=0x7fffe8003b5e "", size=size@entry=3729) at src/unix/gsocket.cpp:1169
0000008 0x00007ffff6ace708 in wxSocketBase::_Read (this=this@entry=0x7fffe8000c50, buffer=0x7fffe8003b5e, buffer@entry=0x7fffe80039f0, nbytes=3729, nbytes@entry=4095)
    at src/common/socket.cpp:363
0000009 0x00007ffff6acea86 in wxSocketBase::Peek (this=this@entry=0x7fffe8000c50, buffer=buffer@entry=0x7fffe80039f0, nbytes=nbytes@entry=4095)
    at src/common/socket.cpp:487
0000010 0x00007ffff6aca6e3 in wxProtocol::ReadLine (sock=sock@entry=0x7fffe8000c50, result=...) at src/common/protocol.cpp:109
#11 0x00007ffff6ac8ca5 in wxHTTP::ParseHeaders (this=this@entry=0x7fffe8000c50) at src/common/http.cpp:179
0000012 0x00007ffff6ac969c in wxHTTP::BuildRequest (this=this@entry=0x7fffe8000c50, path=..., req=<optimized out>) at src/common/http.cpp:332
0000013 0x00007ffff6ac9d24 in wxHTTP::GetInputStream (this=0x7fffe8000c50, path=...) at src/common/http.cpp:404
0000014 0x00005555556681ad in CHTTPDownloadThread::GetInputStream (this=this@entry=0x555555a3dcf0, url_handler=@0x7fffeefc4de8: 0x7fffe8000c50, location=...,
    proxy=proxy@entry=false) at HTTPDownload.cpp:382
0000015 0x0000555555668ba2 in CHTTPDownloadThread::Entry (this=0x555555a3dcf0) at HTTPDownload.cpp:224
0000016 0x00007ffff68347b5 in wxThreadInternal::PthreadStart (thread=0x555555a3dcf0) at src/unix/threadpsx.cpp:766
0000017 0x00007ffff7bc652a in start_thread (arg=0x7fffeefcd700) at pthread_create.c:310
0000018 0x00007ffff5c5579d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


(gdb) bt full
#0 0x00007ffff5b898c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
        resultvar = 0
        pid = 1934
        selftid = 1942
0000001 0x00007ffff5b8b52a in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x66666666372d3030, sa_sigaction = 0x66666666372d3030}, sa_mask = {__val = {2319406792496801335,
              3472328228581748082, 7234505242756264242, 4051326729689509946, 2314885530818453536, 2314885530818453536, 3395749441387372576, 3918810539139167093,
              3615882721364815668, 7378645557452156464, 3472385703667000934, 3991990709698112816, 8223625903107040870, 3616443484039294327, 4207600240304336946,
              140737316171136}}, sa_flags = 61, sa_restorer = 0x7fffeefc4720}
        sigs = {__val = {32, 0 <repeats 15 times>}}
0000002 0x00007ffff5bcd513 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff5cdb7a9 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
        ap = {{gp_offset = 32, fp_offset = 0, overflow_arg_area = 0x7fffeefc4730, reg_save_area = 0x7fffeefc46c0}}
        fd = 9
        on_2 = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
0000003 0x00007ffff5c67327 in __GI___fortify_fail (msg=msg@entry=0x7ffff5cdb74f "buffer overflow detected") at fortify_fail.c:31
No locals.
0000004 0x00007ffff5c654a0 in __GI___chk_fail () at chk_fail.c:28
No locals.
0000005 0x00007ffff5c67297 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
No locals.
0000006 0x00007ffff6ad1a57 in GSocket::Input_Timeout (this=this@entry=0x7fffe8002400) at src/unix/gsocket.cpp:1561
        __d = <optimized out>
        tv = {tv_sec = 600, tv_usec = 0}
        readfds = {fds_bits = {0 <repeats 16 times>}}
        ret = <optimized out>
0000007 0x00007ffff6ad2839 in GSocket::Read (this=0x7fffe8002400, buffer=buffer@entry=0x7fffe8003b5e "", size=size@entry=3729) at src/unix/gsocket.cpp:1169
        ret = <optimized out>
        __PRETTY_FUNCTION__ = "int GSocket::Read(char*, int)"
0000008 0x00007ffff6ace708 in wxSocketBase::_Read (this=this@entry=0x7fffe8000c50, buffer=0x7fffe8003b5e, buffer@entry=0x7fffe80039f0, nbytes=3729, nbytes@entry=4095)
    at src/common/socket.cpp:363
        more = true
        total = 366
        ret = <optimized out>
0000009 0x00007ffff6acea86 in wxSocketBase::Peek (this=this@entry=0x7fffe8000c50, buffer=buffer@entry=0x7fffe80039f0, nbytes=nbytes@entry=4095)
    at src/common/socket.cpp:487
No locals.
0000010 0x00007ffff6aca6e3 in wxProtocol::ReadLine (sock=sock@entry=0x7fffe8000c50, result=...) at src/common/protocol.cpp:109
        nRead = <optimized out>
        eol = <optimized out>
        buf = {
          m_str = 0x7fffe80039f0 "Server: Apache/2.2.15 (CentOS)\r\nVary: Host\r\nLast-Modified: Fri, 11 Nov 2011 22:02:41 GMT\r\nETag: \"6-4b17cae0d2240\"\r\nAccept-Ra---Type <return> to continue, or q <return> to quit---
nges: bytes\r\nCache-Control: max-age=172800\r\nExpires: Mon, 02 Feb 2015 09:20:"...}
        pBuf = 0x7fffe80039f0 "Server: Apache/2.2.15 (CentOS)\r\nVary: Host\r\nLast-Modified: Fri, 11 Nov 2011 22:02:41 GMT\r\nETag: \"6-4b17cae0d2240\"\r\nAccept-Ranges: bytes\r\nCache-Control: max-age=172800\r\nExpires: Mon, 02 Feb 2015 09:20:"...
#11 0x00007ffff6ac8ca5 in wxHTTP::ParseHeaders (this=this@entry=0x7fffe8000c50) at src/common/http.cpp:179
        left_str = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffeefc4ab0 L"\xe8002728?\xe80024c0?\x5596de30?"}, <No data fields>}
        line = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7ffff6856cd8 <g_strEmpty+24> L""}, <No data fields>}
        tokenzr = {<wxObject> = {_vptr.wxObject = 0x55555596de30 <vtable for wxStringTokenizer+16>, static ms_classInfo = {m_className = 0x7ffff6855b38 L"wxObject",
              m_objectSize = 16, m_objectConstructor = 0x0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7ffff6cde1c0 <wxURLModule::ms_classInfo>,
              m_next = 0x7ffff6aa9320 <wxModule::ms_classInfo>, static sm_classTable = 0x55555597b010}, m_refData = 0x0}, m_string = {<wxStringBase> = {
              static npos = 18446744073709551615, m_pchData = 0x7ffff6856cd8 <g_strEmpty+24> L""}, <No data fields>}, m_delims = {<wxStringBase> = {
              static npos = 18446744073709551615, m_pchData = 0x7ffff6856cd8 <g_strEmpty+24> L""}, <No data fields>}, m_pos = 140737331762632,
          m_mode = wxTOKEN_INVALID, m_lastDelim = 0 L'\000'}
0000012 0x00007ffff6ac969c in wxHTTP::BuildRequest (this=this@entry=0x7fffe8000c50, path=..., req=<optimized out>) at src/common/http.cpp:332
        tmp_str = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffe80036c8 L"HTTP/1.1 200 OK"}, <No data fields>}
        token = {<wxObject> = {_vptr.wxObject = 0x55555596de30 <vtable for wxStringTokenizer+16>, static ms_classInfo = {m_className = 0x7ffff6855b38 L"wxObject",
              m_objectSize = 16, m_objectConstructor = 0x0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7ffff6cde1c0 <wxURLModule::ms_classInfo>,
              m_next = 0x7ffff6aa9320 <wxModule::ms_classInfo>, static sm_classTable = 0x55555597b010}, m_refData = 0x0}, m_string = {<wxStringBase> = {
              static npos = 18446744073709551615, m_pchData = 0x7fffe8002798 L"HTTP/1.1 200 OK"}, <No data fields>}, m_delims = {<wxStringBase> = {
              static npos = 18446744073709551615, m_pchData = 0x7fffe80026b8 L" "}, <No data fields>}, m_pos = 13, m_mode = wxTOKEN_STRTOK, m_lastDelim = 32 L' '}
        ret_value = <optimized out>
        pathbuf = {m_str = 0x7fffe8002650 "GET http://amule.sourceforge.net/lastversion [^] HTTP/1.0\r\n"}
        tmp_str2 = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffe8002728 L"200"}, <No data fields>}
        request = <optimized out>
        buf = {<wxStringBase> = {static npos = 18446744073709551615,
            m_pchData = 0x7fffe8003748 L"GET http://amule.sourceforge.net/lastversion [^] HTTP/1.0\r\n"}, <No data fields>}
0000013 0x00007ffff6ac9d24 in wxHTTP::GetInputStream (this=0x7fffe8000c50, path=...) at src/common/http.cpp:404
        inp_stream = <optimized out>
        new_path = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7ffff6856cd8 <g_strEmpty+24> L""}, <No data fields>}
0000014 0x00005555556681ad in CHTTPDownloadThread::GetInputStream (this=this@entry=0x555555a3dcf0, url_handler=@0x7fffeefc4de8: 0x7fffe8000c50, location=...,
    proxy=proxy@entry=false) at HTTPDownload.cpp:382
        host = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffe8001538 L"amule.sourceforge.net"}, <No data fields>}
        url = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffe8001698 L"http://amule.sourceforge.net/lastversion"}, [^] <No data fields>}
        url_read_stream = <optimized out>
        bad_url_pos = <optimized out>
        location_url = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffe80014c8 L"lastversion"}, <No data fields>}
        port = 80
        addr = {<wxIPaddress> = {<wxSockAddress> = {<wxObject> = {_vptr.wxObject = 0x7ffff6cdb950 <vtable for wxIPV4address+16>, static ms_classInfo = {
                  m_className = 0x7ffff6855b38 L"wxObject", m_objectSize = 16, m_objectConstructor = 0x0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                  static sm_first = 0x7ffff6cde1c0 <wxURLModule::ms_classInfo>, m_next = 0x7ffff6aa9320 <wxModule::ms_classInfo>,
                  static sm_classTable = 0x55555597b010}, m_refData = 0x0}, static ms_classInfo = {m_className = 0x7ffff6ad3fa0 L"wxSockAddress", m_objectSize = 24,
                m_objectConstructor = 0x0, m_baseInfo1 = 0x7ffff6aa9380 <wxObject::ms_classInfo>, m_baseInfo2 = 0x0,
                static sm_first = 0x7ffff6cde1c0 <wxURLModule::ms_classInfo>, m_next = 0x7ffff6cddcc0 <wxProtocol::ms_classInfo>,
                static sm_classTable = 0x55555597b010}, m_address = 0x7fffe80008e0}, static ms_classInfo = {m_className = 0x7ffff6ad3fd8 L"wxIPaddress",
              m_objectSize = 24, m_objectConstructor = 0x0, m_baseInfo1 = 0x7ffff6cdddc0 <wxSockAddress::ms_classInfo>, m_baseInfo2 = 0x0,
              static sm_first = 0x7ffff6cde1c0 <wxURLModule::ms_classInfo>, m_next = 0x7ffff6cdddc0 <wxSockAddress::ms_classInfo>,
              static sm_classTable = 0x55555597b010}}, static ms_classInfo = {m_className = 0x7ffff6ad4008 L"wxIPV4address", m_objectSize = 32,
---Type <return> to continue, or q <return> to quit---
            m_objectConstructor = 0x7ffff6acb190 <wxIPV4address::wxCreateObject()>, m_baseInfo1 = 0x7ffff6cddd80 <wxIPaddress::ms_classInfo>, m_baseInfo2 = 0x0,
            static sm_first = 0x7ffff6cde1c0 <wxURLModule::ms_classInfo>, m_next = 0x7ffff6cddd80 <wxIPaddress::ms_classInfo>, static sm_classTable = 0x55555597b010},
          m_origHostname = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffe8001538 L"amule.sourceforge.net"}, <No data fields>}}
0000015 0x0000555555668ba2 in CHTTPDownloadThread::Entry (this=0x555555a3dcf0) at HTTPDownload.cpp:224
        url_read_stream = <optimized out>
        buffer = '\000' <repeats 32040 times>...
        current_read = <optimized out>
        outfile = {<wxOutputStream> = {<wxStreamBase> = {_vptr.wxStreamBase = 0x7ffff6a9aa90 <vtable for wxFFileOutputStream+16>, m_lastcount = 0,
              m_lasterror = wxSTREAM_NO_ERROR}, <No data fields>}, m_file = 0x7fffe80008c0, m_file_destroy = true}
        total_read = <optimized out>
        url_handler = 0x7fffe8000c50
        use_proxy = false
0000016 0x00007ffff68347b5 in wxThreadInternal::PthreadStart (thread=0x555555a3dcf0) at src/unix/threadpsx.cpp:766
        __clframe = {__cancel_routine = 0x7ffff68342e0 <wxPthreadCleanup(void*)>, __cancel_arg = 0x555555a3dcf0, __do_it = 1, __cancel_type = <optimized out>}
        pthread = 0x555555a3d6d0
        rc = <optimized out>
        dontRunAtAll = false
0000017 0x00007ffff7bc652a in start_thread (arg=0x7fffeefcd700) at pthread_create.c:310
        __res = <optimized out>
        pd = 0x7fffeefcd700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737202935552, 4465379705297443723, 140737488347137, 4096, 140737202935552, 140737202936256,
                -4465342294509347957, -4465362640685491317}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
              canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
0000018 0x00007ffff5c5579d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
« Last Edit: January 31, 2015, 10:49:05 AM by deadhead »
Logged