From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4275D3858D39; Sat, 29 Jul 2023 05:35:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4275D3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690608911; bh=IYhfDRbisdy0i2jy0lvfP0S9SyPD3Zn+F/D9B2wAYkA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ocRehGGrHiBOlTEg023eCQIHkDqR2/aAoYA+Y8u6A1z++98svBfTey++Rvu4SmoAA 9sdan4aCoPHd+P1ujTsN5st0F/aR3oOMO1oDqEtUeSNASiWKvAJJhiP3wD9zF90gML qgG99PLC82mSJuM7WTmMmYyNawr390u82OmpEiSM= From: "sihan2021 at iscas dot ac.cn" To: gdb-prs@sourceware.org Subject: [Bug gdb/30639] AddressSanitizer: dynamic-stack-buffer-overflow /home/root/sp/Dataset/Binutils/binutils_aflpp/gdb/ada-lang.c:1388:16 in ada_decode[abi:cxx11](char const*, bool, bool) Date: Sat, 29 Jul 2023 05:35:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sihan2021 at iscas dot ac.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30639 --- Comment #3 from =E7=86=8A=E5=90=89=E6=80=9D=E6=B1=97 --- (In reply to Keith Seitz from comment #2) > The supplied executable does not segfault gdb in the reported location: >=20 > $ ./gdb -nx -q --data-directory data-directory UAF_2 > Reading symbols from UAF_2... >=20 >=20 > Fatal signal: Segmentation fault > ----- Backtrace ----- > 0x599064 gdb_internal_backtrace_1 > ../../src/gdb/bt-utils.c:122 > 0x599107 _Z22gdb_internal_backtracev > ../../src/gdb/bt-utils.c:168 > 0x782fd4 handle_fatal_signal > ../../src/gdb/event-top.c:889 > 0x783140 handle_sigsegv > ../../src/gdb/event-top.c:962 > 0x7fe5a7d7eb6f ??? > 0x6107a5 process_coff_symbol > ../../src/gdb/coffread.c:1572 > 0x60f847 coff_symtab_read > ../../src/gdb/coffread.c:1190 > 0x60e0dd coff_read_minsyms > ../../src/gdb/coffread.c:549 > 0x60e629 coff_symfile_read > ../../src/gdb/coffread.c:698 > 0xbd975e read_symbols > ../../src/gdb/symfile.c:772 > 0xbd9e0b syms_from_objfile_1 > ../../src/gdb/symfile.c:966 > 0xbd9ecf syms_from_objfile > ../../src/gdb/symfile.c:983 > 0xbda3aa symbol_file_add_with_addrs > ../../src/gdb/symfile.c:1086 > 0xbda6eb > _Z24symbol_file_add_from_bfdRKN3gdb7ref_ptrI3bfd18gdb_bfd_ref_policyEEPKc= 10en > um_flagsI16symfile_add_flagEPSt6vectorI14other_sectionsSaISC_EES8_I12objf= ile_ > flagEP7objfile > ../../src/gdb/symfile.c:1166 > 0xbda73a > _Z15symbol_file_addPKc10enum_flagsI16symfile_add_flagEPSt6vectorI14other_= sect > ionsSaIS5_EES1_I12objfile_flagE > ../../src/gdb/symfile.c:1179 > 0xbda7ff symbol_file_add_main_1 > ../../src/gdb/symfile.c:1203 > 0xbda7a6 _Z20symbol_file_add_mainPKc10enum_flagsI16symfile_add_flagE > ../../src/gdb/symfile.c:1194 > 0x90b1d7 symbol_file_add_main_adapter > ../../src/gdb/main.c:549 > 0x90b0ed catch_command_errors > ../../src/gdb/main.c:518 > 0x90c20e captured_main_1 > ../../src/gdb/main.c:1203 > 0x90c820 captured_main > ../../src/gdb/main.c:1310 > 0x90c8bf _Z8gdb_mainP18captured_main_args > ../../src/gdb/main.c:1339 > 0x418c3c main > ../../src/gdb/gdb.c:32 > --------------------- > A fatal error internal to GDB has been detected, further > debugging is not possible. GDB will now terminate. >=20 > This is a bug, please report it. For instructions, see: > . >=20 > Segmentation fault (core dumped) >=20 > Did you attach the correct binary to this bug? To reproduce this bug, please use the following command: gdb -x command.gdb UAF_2. The necessary files for this command are as follows: command.gdb (attachment_14968) and UAF_2 (attachment_14967). You can find command.gdb attached to the first comment, and UAF_2 attached as attachment_14967. If y= ou encounter any issues during the reproduction process, please feel free to l= et me know. --=20 You are receiving this mail because: You are on the CC list for the bug.=