Remove this ad

Lead

Apr 16 13 11:37 PM

Tags : :

Don't know if it's repeatable yet. Just the oops at this point.

*** buffer overflow detected ***: amuled terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fa335c5a5cc]
/lib/x86_64-linux-gnu/libc.so.6(+0x110560)[0x7fa335c59560]
/lib/x86_64-linux-gnu/libc.so.6(+0x111517)[0x7fa335c5a517]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN7GSocket13Input_TimeoutEv+0x64)[0x7fa336cc2bb4]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN7GSocket4ReadEPci+0x48)[0x7fa336cc3608]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN12wxSocketBase5_ReadEPvj+0x4b)[0x7fa336cbff7b]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN12wxSocketBase4PeekEPvj+0x25)[0x7fa336cc0095]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN10wxProtocol8ReadLineEP12wxSocketBaseR8wxString+0x65)[0x7fa336cbbbf5]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN6wxHTTP12ParseHeadersEv+0x7b)[0x7fa336cba24b]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN6wxHTTP12BuildRequestERK8wxStringNS_10wxHTTP_ReqE+0x878)[0x7fa336cbaf88]
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0(_ZN6wxHTTP14GetInputStreamERK8wxString+0x69)[0x7fa336cbb169]
amuled[0x59b9bf]
amuled[0x59a886]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN16wxThreadInternal12PthreadStartEP8wxThread+0xdb)[0x7fa336a2e95b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7f8e)[0x7fa335f18f8e]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fa335c42e1d]
======= Memory map: ========
======= Memory map: ========
00400000-00796000 r-xp 00000000 09:7e 919186 /usr/bin/amuled
00995000-00996000 r--p 00395000 09:7e 919186 /usr/bin/amuled
00996000-00998000 rw-p 00396000 09:7e 919186 /usr/bin/amuled
00998000-0099e000 rw-p 00000000 00:00 0
015f3000-11408000 rw-p 00000000 00:00 0 [heap]
7fa2ec000000-7fa2ed78d000 rw-p 00000000 00:00 0
7fa2ed78d000-7fa2f0000000 ---p 00000000 00:00 0
7fa2f0000000-7fa2f0021000 rw-p 00000000 00:00 0
7fa2f0021000-7fa2f4000000 ---p 00000000 00:00 0
7fa2f4000000-7fa2f4021000 rw-p 00000000 00:00 0
7fa2f4021000-7fa2f8000000 ---p 00000000 00:00 0
7fa2f8000000-7fa2f8021000 rw-p 00000000 00:00 0
7fa2f8021000-7fa2fc000000 ---p 00000000 00:00 0
7fa2fc000000-7fa2fc021000 rw-p 00000000 00:00 0
7fa2fc021000-7fa300000000 ---p 00000000 00:00 0
7fa300000000-7fa300021000 rw-p 00000000 00:00 0
7fa300021000-7fa304000000 ---p 00000000 00:00 0
7fa304000000-7fa304021000 rw-p 00000000 00:00 0
7fa304021000-7fa308000000 ---p 00000000 00:00 0
7fa308000000-7fa308021000 rw-p 00000000 00:00 0
7fa308021000-7fa30c000000 ---p 00000000 00:00 0
7fa30c000000-7fa30d29a000 rw-p 00000000 00:00 0
7fa30d29a000-7fa310000000 ---p 00000000 00:00 0
7fa3137ff000-7fa313800000 ---p 00000000 00:00 0
7fa313800000-7fa314021000 rw-p 00000000 00:00 0 [stack]
7fa314021000-7fa318000000 ---p 00000000 00:00 0
7fa3181d5000-7fa3181eb000 r-xp 00000000 09:7e 3416373 /lib/x86_64-linux-gnu/libresolv-2.17.so
7fa3181eb000-7fa3183eb000 ---p 00016000 09:7e 3416373 /lib/x86_64-linux-gnu/libresolv-2.17.so
7fa3183eb000-7fa3183ec000 r--p 00016000 09:7e 3416373 /lib/x86_64-linux-gnu/libresolv-2.17.so
7fa3183ec000-7fa3183ed000 rw-p 00017000 09:7e 3416373 /lib/x86_64-linux-gnu/libresolv-2.17.so
7fa3183ed000-7fa3183ef000 rw-p 00000000 00:00 0
7fa3183ef000-7fa3183f5000 r-xp 00000000 09:7e 3416448 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7fa3183f5000-7fa3185f4000 ---p 00006000 09:7e 3416448 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7fa3185f4000-7fa3185f5000 r--p 00005000 09:7e 3416448 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7fa3185f5000-7fa3185f6000 rw-p 00006000 09:7e 3416448 /lib/x86_64-linux-gnu/libnss_dns-2.17.so
7fa3185f6000-7fa3185f8000 r-xp 00000000 09:7e 3411054 /lib/libnss_mdns4_minimal.so.2
7fa3185f8000-7fa3187f7000 ---p 00002000 09:7e 3411054 /lib/libnss_mdns4_minimal.so.2
7fa3187f7000-7fa3187f8000 r--p 00001000 09:7e 3411054 /lib/libnss_mdns4_minimal.so.2
7fa3187f8000-7fa3187f9000 rw-p 00002000 09:7e 3411054 /lib/libnss_mdns4_minimal.so.2
7fa3187f9000-7fa3187fa000 ---p 00000000 00:00 0
7fa3187fa000-7fa318ffa000 rw-p 00000000 00:00 0 [stack]
7fa318ffa000-7fa318ffb000 ---p 00000000 00:00 0
7fa318ffb000-7fa3197fb000 rw-p 00000000 00:00 0 [stack]
7fa31c000000-7fa31c033000 rw-p 00000000 00:00 0
7fa31c033000-7fa320000000 ---p 00000000 00:00 0
7fa320000000-7fa320021000 rw-p 00000000 00:00 0
7fa320021000-7fa324000000 ---p 00000000 00:00 0
7fa324000000-7fa324021000 rw-p 00000000 00:00 0
7fa324021000-7fa328000000 ---p 00000000 00:00 0
7fa328000000-7fa328021000 rw-p 00000000 00:00 0
7fa328021000-7fa32c000000 ---p 00000000 00:00 0
7fa32c000000-7fa32c021000 rw-p 00000000 00:00 0
7fa32c021000-7fa330000000 ---p 00000000 00:00 0
7fa33005b000-7fa33005c000 ---p 00000000 00:00 0
7fa33005c000-7fa33085c000 rw-p 00000000 00:00 0 [stack:4133]
7fa33185e000-7fa33185f000 ---p 00000000 00:00 0
7fa33185f000-7fa33205f000 rw-p 00000000 00:00 0 [stack]
7fa33205f000-7fa332060000 ---p 00000000 00:00 0
7fa332060000-7fa332860000 rw-p 00000000 00:00 0 [stack]
7fa332860000-7fa332861000 ---p 00000000 00:00 0
7fa332861000-7fa333061000 rw-p 00000000 00:00 0 [stack]
7fa333061000-7fa333062000 ---p 00000000 00:00 0
7fa333062000-7fa333862000 rw-p 00000000 00:00 0 [stack]
7fa333862000-7fa333863000 ---p 00000000 00:00 0
7fa333863000-7fa334063000 rw-p 00000000 00:00 0
7fa334063000-7fa334064000 ---p 00000000 00:00 0
7fa334064000-7fa334864000 rw-p 00000000 00:00 0 [stack]
7fa334864000-7fa334865000 ---p 00000000 00:00 0
7fa334865000-7fa335065000 rw-p 00000000 00:00 0 [stack:3734]
7fa335065000-7fa335071000 r-xp 00000000 09:7e 3416473 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7fa335071000-7fa335270000 ---p 0000c000 09:7e 3416473 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7fa335270000-7fa335271000 r--p 0000b000 09:7e 3416473 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7fa335271000-7fa335272000 rw-p 0000c000 09:7e 3416473 /lib/x86_64-linux-gnu/libnss_files-2.17.so
7fa335272000-7fa335274000 r-xp 00000000 09:7e 1183681 /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7fa335274000-7fa335473000 ---p 00002000 09:7e 1183681 /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7fa335473000-7fa335474000 r--p 00001000 09:7e 1183681 /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7fa335474000-7fa335475000 rw-p 00002000 09:7e 1183681 /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7fa335475000-7fa33573e000 r--p 00000000 09:7e 918656 /usr/lib/locale/locale-archive
7fa33573e000-7fa335744000 r-xp 00000000 09:7e 924422 /usr/lib/x86_64-linux-gnu/libthreadutil.so.6.0.2Aborted (core dumped)
Quote    Reply   
Remove this ad
Remove this ad

#2 [url]

Apr 17 13 7:48 PM

Re: 10802 - buffer overflow

Don't do it.

It crashes in a http download of all things. When does it occur? On startup? Checking for new version or downloading server met probably. Which of these do you have enabled?
wx or asio sockets?

Quote    Reply   

#3 [url]

Apr 18 13 5:08 PM

Re: 10802 - buffer overflow

At startup, just after scanning the shared files.

I'm using the debian build scripts at the moment, which from memory use wx sockets.

Server.met is enabled, version check isn't.

Quote    Reply   

#4 [url]

Apr 19 13 9:48 PM

Re: 10802 - buffer overflow

Disable server.met download and see if it changes anything.
And try to get a real backtrace (build with debug info, but with optimize to keep it usable, and run it with gdb).

Quote    Reply   

#5 [url]

Jun 9 13 12:29 AM

Re: 10802 - buffer overflow

Sorry, I've been tied up the last 2 months.

Would you mind reposting the backtrace howto?

Ta.

Quote    Reply   
Remove this ad

#8 [url]

Jun 10 13 2:18 AM

Re: 10802 - buffer overflow

myth wrote:
Do ./configure --enable-debug --enable-optimize then make etc...
The start aMule with gdb amule


That much I remember. It's what comes after that that I've gone fuzzy on.

Quote    Reply   

#9 [url]

Jun 10 13 8:32 PM

Re: 10802 - buffer overflow

iirc it was
bt
bt full
thread apply all bt
(the first one is enough in 98% of the cases, and the second one covers 1.99% of the rest)

Quote    Reply   

#10 [url]

Jun 11 13 8:13 PM

Re: 10802 - buffer overflow

thanks. Might pay to add that as a sticky...

Quote    Reply   
Remove this ad
Add Reply

Quick Reply

bbcode help