From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5ABFF3858C66; Mon, 31 Jul 2023 16:36:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5ABFF3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690821384; bh=rxtEzzXJP/cyjlYFKI592dq94QcN8O/BESGPIMZqpKk=; h=From:To:Subject:Date:From; b=ZQltVsmJfiX1GjBHERXKzzoMjM8vF4+cxpYHyeBixbmoGQTKLwEXuyVVT35oT8De8 ydk5BYGPOfSJ300p568x57DdpOqECz0iY0SWH53e/6QUdAAnQV4siWhMBivauTEx+k DGPGeRbppyavVRNrRcZ9Byj4W+xF+0X5kOuJdAdQ= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30707] New: [gdb/symtab] corrupted double-linked list in gdb.base/index-cache.exp Date: Mon, 31 Jul 2023 16:36:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30707 Bug ID: 30707 Summary: [gdb/symtab] corrupted double-linked list in gdb.base/index-cache.exp Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I build gdb on i686-linux native and ran the test-suite, and ran into: ... (gdb) file /home/netbook/gdb/build/gdb/testsuite/outputs/gdb.base/index-cache/index-ca= che^M Reading symbols from /home/netbook/gdb/build/gdb/testsuite/outputs/gdb.base/index-cache/index-ca= che...^M *** Error in `/home/netbook/gdb/build/gdb/testsuite/../../gdb/gdb': corrupt= ed double-linked list: 0x09ec24d0 ***^M ^M ^M Fatal signal: Aborted^M ----- Backtrace -----^M 0x819f226 gdb_internal_backtrace_1^M /home/netbook/gdb/src/gdb/bt-utils.c:122^M 0x819f226 _Z22gdb_internal_backtracev^M /home/netbook/gdb/src/gdb/bt-utils.c:168^M 0x82d9dad handle_fatal_signal^M /home/netbook/gdb/src/gdb/event-top.c:889^M 0x400b4403 ???^M 0x400b4428 ???^M 0x40799686 ???^M 0x4079cab2 ???^M 0x407d3fd2 ???^M 0x407de4c9 ???^M 0x407e0943 ???^M 0x407e19d7 ???^M 0x407ceeab ???^M 0x407d14aa ???^M 0x893f908 _bfd_real_fopen^M /home/netbook/gdb/src/bfd/bfdio.c:178^M 0x89404d9 bfd_open_file^M /home/netbook/gdb/src/bfd/cache.c:596^M 0x894057a bfd_cache_lookup_worker^M /home/netbook/gdb/src/bfd/cache.c:261^M 0x89408a9 cache_bseek^M /home/netbook/gdb/src/bfd/cache.c:289^M 0x893fdc6 bfd_seek^M /home/netbook/gdb/src/bfd/bfdio.c:459^M 0x8946359 _bfd_generic_get_section_contents^M /home/netbook/gdb/src/bfd/libbfd.c:1069^M 0x8684f0b _Z23gdb_bfd_scan_elf_dyntagiP3bfdPyS1_^M /home/netbook/gdb/src/gdb/solib.c:1602^M 0x867d3d6 elf_locate_base^M /home/netbook/gdb/src/gdb/solib-svr4.c:707^M 0x867d6fa svr4_iterate_over_objfiles_in_search_order^M /home/netbook/gdb/src/gdb/solib-svr4.c:3430^M 0x86dc33f find_main_name^M /home/netbook/gdb/src/gdb/symtab.c:6283^M 0x86e3818 _Z13main_languagev^M /home/netbook/gdb/src/gdb/symtab.c:6313^M 0x86ce4d3 _Z20set_initial_languagev^M /home/netbook/gdb/src/gdb/symfile.c:1700^M 0x86d535d _Z19symbol_file_commandPKci^M /home/netbook/gdb/src/gdb/symfile.c:1681^M 0x82de824 file_command^M /home/netbook/gdb/src/gdb/exec.c:554^M 0x81d29aa _Z8cmd_funcP16cmd_list_elementPKci^M /home/netbook/gdb/src/gdb/cli/cli-decode.c:2735^M 0x872b56b _Z15execute_commandPKci^M /home/netbook/gdb/src/gdb/top.c:575^M 0x82dab44 _Z15command_handlerPKc^M /home/netbook/gdb/src/gdb/event-top.c:552^M 0x82dbaf8 _Z20command_line_handlerOSt10unique_ptrIcN3gdb13xfree_deleterIcEE= E^M /home/netbook/gdb/src/gdb/event-top.c:788^M 0x82d9fe2 gdb_rl_callback_handler^M /home/netbook/gdb/src/gdb/event-top.c:259^M 0x88162dd rl_callback_read_char^M /home/netbook/gdb/src/readline/readline/callback.c:290^M 0x82da1dd gdb_rl_callback_read_char_wrapper_noexcept^M /home/netbook/gdb/src/gdb/event-top.c:195^M 0x82da38e gdb_rl_callback_read_char_wrapper^M /home/netbook/gdb/src/gdb/event-top.c:234^M 0x8765e37 stdin_event_handler^M /home/netbook/gdb/src/gdb/ui.c:155^M 0x8d575ab handle_file_event^M /home/netbook/gdb/src/gdbsupport/event-loop.cc:573^M 0x8d57cb4 gdb_wait_for_event^M /home/netbook/gdb/src/gdbsupport/event-loop.cc:694^M 0x8d58407 _Z16gdb_do_one_eventi^M /home/netbook/gdb/src/gdbsupport/event-loop.cc:264^M 0x8435953 start_event_loop^M /home/netbook/gdb/src/gdb/main.c:412^M 0x8435953 captured_command_loop^M /home/netbook/gdb/src/gdb/main.c:476^M 0x84379b4 captured_main^M /home/netbook/gdb/src/gdb/main.c:1320^M 0x84379b4 _Z8gdb_mainP18captured_main_args^M /home/netbook/gdb/src/gdb/main.c:1339^M 0x806177a main^M /home/netbook/gdb/src/gdb/gdb.c:32^M ... This is likely a dup of the thread sanitizer issues we're seeing in the test-case, but filing it FTR. In case it matter: ubuntu 14.04.6 i686, glibc 2.19. --=20 You are receiving this mail because: You are on the CC list for the bug.=