From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E1CD73858C5F; Fri, 8 Dec 2023 12:18:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1CD73858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702037903; bh=ZFeK8uAxaEGLjvhrv51SnuEy1GV1AhW70TgA0d0Y4As=; h=From:To:Subject:Date:From; b=OR+2Vlr7+Hw/+LcRBaQD2HIKPjV/BM9fiER62wY1Rxt2AALqjOGvHA0oDzOxufVgZ 8qhuUetw9ztSnkmOGNVze3K7KQ00c9uCcy4rRexU1tFB6NCKaJo+KbNhDC2kIo4KGK DM6+4sXdzVVbZ5QkxENEJGkJeoMdMIxNC/R/AwFo= From: "matt.fagnani at bell dot net" To: gdb-prs@sourceware.org Subject: [Bug backtrace/31122] New: gdb crashed when drkonqi ran it on plasmashell crashes Date: Fri, 08 Dec 2023 12:18:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: backtrace X-Bugzilla-Version: 14.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matt.fagnani at bell dot net 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created 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=3D31122 Bug ID: 31122 Summary: gdb crashed when drkonqi ran it on plasmashell crashes Product: gdb Version: 14.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: backtrace Assignee: unassigned at sourceware dot org Reporter: matt.fagnani at bell dot net Target Milestone: --- Created attachment 15243 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15243&action=3Ded= it Full trace of all threads for the third crash mentioned I was using Firefox 122.0a1 (2023-11-30) on Wayland in Plasma 5.27.9 in a Fedora 39 KDE Plasma installation. I logged into my Instagram account in Firefox. I played various Instagram stories. As one Instagram story video e= nded and another began, plasmashell crashed. drkonqi appeared for reporting the plasmashell crash. I pressed Developer Information in drkonqi. drkonqi cras= hed while gdb from gdb-headless-13.2-11.fc39 was creating a trace. Another drko= nqi window appeared for the drkonqi trace. I pressed Developer Information agai= n in drkonqi. drkonqi crashed again. An abrt notification was shown. A gdb crash= was shown in abrt and coredumpctl. gdb aborted in iter_match_first_hashed in fr= ame 5 at ../../gdb/dictionary.c:586. There were errors in reading the name vari= able at that line like m_demangled_name =3D Core was generated by `/usr/bin/gdb -nw -n -batch -x /tmp/drkonqi.QVBqyR -x /tmp/drkonqi.JalXhn -p 224'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f2f20913080 (LWP 31417))] (gdb) bt #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 #1 0x00007f2f1faa78a3 in __pthread_kill_internal (signo=3D6, threadid=3D) at pthread_kill.c:78 #2 0x00007f2f1fa558ee in __GI_raise (sig=3D6) at ../sysdeps/posix/raise.c:= 26 #3 0x000055dc80b80aca in handle_fatal_signal (sig=3D6) at ../../gdb/event-top.c:985 #4 #5 0x000055dc80ae97e7 in iter_match_first_hashed (dict=3D0x55dca15bb2a0, name=3D...,=20 iterator=3D0x7ffe3d29d858) at ../../gdb/dictionary.c:586 #6 0x000055dc80ae9edf in dict_iter_match_first (iterator=3D0x7ffe3d29d858, name=3D...,=20 dict=3D) at ../../gdb/dictionary.c:490 #7 mdict_iter_match_first (mdict=3D0x55dca15bb280, name=3D..., miterator=3Dmiterator@entry=3D0x7ffe3d29d850) at ../../gdb/dictionary.c:1229 #8 0x000055dc80a13c31 in block_iter_match_step (first=3D, name=3D...,=20 iterator=3D) at ../../gdb/block.c:615 #9 block_iter_match_step (iterator=3D0x7ffe3d29d840, name=3D..., first=3D<= optimized out>) at ../../gdb/block.c:594 #10 0x000055dc80a14e28 in block_iter_match_first (iterator=3D0x7ffe3d29d840, name=3D...,=20 block=3D0x55dcb2eeefb0) at ../../gdb/block.c:645 #11 block_find_symbol (block=3D0x55dcb2eeefb0, name=3Dname@entry=3D0x55dca2= 4eda70 "QObject",=20 domain=3Ddomain@entry=3DSTRUCT_DOMAIN,=20 matcher=3Dmatcher@entry=3D0x55dc80a15050 ,=20 data=3Ddata@entry=3D0x0) at ../../gdb/block.c:842 --Type for more, q to quit, c to continue without paging--c #12 0x000055dc80e363d8 in basic_lookup_transparent_type_1 (objfile=3D,=20 block_index=3Dblock_index@entry=3DSTATIC_BLOCK, name=3Dname@entry=3D0x5= 5dca24eda70 "QObject") at ../../gdb/symtab.c:2720 #13 0x000055dc80e3a53b in basic_lookup_transparent_type (name=3D0x55dca24ed= a70 "QObject") at ../../gdb/symtab.c:2771 #14 basic_lookup_transparent_type (name=3D0x55dca24eda70 "QObject") at ../../gdb/symtab.c:2739 #15 0x000055dc80bbad9d in check_typedef (type=3D) at ../../gdb/gdbtypes.c:3096 #16 0x000055dc80d3581d in type_to_type_object (type=3D0x55dca253c9b0) at ../../gdb/python/py-type.c:1389 #17 0x00007f2f20110bef in _PyEval_EvalFrameDefault.cold () from /lib64/libpython3.12.so.1.0 #18 0x00007f2f20287876 in PyEval_EvalCode () from /lib64/libpython3.12.so.1= .0 #19 0x00007f2f202aad9a in run_eval_code_obj () from /lib64/libpython3.12.so= .1.0 #20 0x00007f2f202a5ebe in run_mod () from /lib64/libpython3.12.so.1.0 #21 0x00007f2f202980f6 in PyRun_StringFlags () from /lib64/libpython3.12.so= .1.0 #22 0x00007f2f20297bb4 in PyRun_SimpleStringFlags () from /lib64/libpython3.12.so.1.0 #23 0x000055dc80d4406a in python_command (arg=3D, from_tty=3D) at ../../gdb/python/python.c:451 #24 0x000055dc80a7f185 in cmd_func (cmd=3D, args=3D,=20 from_tty=3D) at ../../gdb/cli/cli-decode.c:2543 #25 0x000055dc80e81fd5 in execute_command (p=3D,=20 p@entry=3D0x55dc9a55ed60 "py print_preamble()", from_tty=3D) at ../../gdb/top.c:690 #26 0x000055dc80b8131f in command_handler (command=3D0x55dc9a55ed60 "py print_preamble()") at ../../gdb/event-top.c:619 #27 0x000055dc80e80b9d in read_command_file (stream=3Dstream@entry=3D0x55dc9a838ee0) at ../../gdb/top.c:457 #28 0x000055dc80a8fe79 in script_from_file (stream=3Dstream@entry=3D0x55dc9= a838ee0,=20 file=3Dfile@entry=3D0x7ffe3d29f732 "/tmp/drkonqi.QVBqyR") at ../../gdb/cli/cli-script.c:1641 #29 0x000055dc80a7d2cb in source_script_from_stream ( file_to_open=3D0x55dc9a1f0c60 "/tmp/drkonqi.QVBqyR", file=3D0x7ffe3d29f= 732 "/tmp/drkonqi.QVBqyR",=20 stream=3D0x55dc9a838ee0) at ../../gdb/cli/cli-cmds.c:728 #30 source_script_with_search (file=3D0x7ffe3d29f732 "/tmp/drkonqi.QVBqyR",= =20 file@entry=3D,=20 from_tty=3D,=20 search_path=3D) at ../../gdb/cli/cli-cmds.c:773 #31 0x000055dc80c6705a in catch_command_errors (command=3D, arg=3D,=20 from_tty=3D, do_bp_actions=3Ddo_bp_actions@entry=3Dfalse= ) at ../../gdb/main.c:513 #32 0x000055dc80c67108 in execute_cmdargs (cmdarg_vec=3Dcmdarg_vec@entry=3D0x7ffe3d29e3b0,=20 file_type=3Dfile_type@entry=3DCMDARG_FILE, cmd_type=3Dcmd_type@entry=3DCMDARG_COMMAND,=20 ret=3Dret@entry=3D0x7ffe3d29e3a4) at ../../gdb/main.c:605 #33 0x000055dc80c69449 in captured_main_1 (context=3Dcontext@entry=3D0x7ffe3d29e5c0) at ../../gdb/main.c:1299 #34 0x000055dc80c6a000 in captured_main (data=3D0x7ffe3d29e5c0) at ../../gdb/main.c:1320 #35 gdb_main (args=3Dargs@entry=3D0x7ffe3d29e5f0) at ../../gdb/main.c:1345 #36 0x000055dc80955abf in main (argc=3D, argv=3D) at ../../gdb/gdb.c:40 (gdb) frame 5 #5 0x000055dc80ae97e7 in iter_match_first_hashed (dict=3D0x55dca15bb2a0, name=3D...,=20 iterator=3D0x7ffe3d29d858) at ../../gdb/dictionary.c:586 586 =3D lang->get_symbol_name_matcher (name); (gdb) p lang $1 =3D (gdb) p name $2 =3D (const lookup_name_info &) @0x7ffe3d29d880: {m_match_type =3D symbol_name_match_type::FULL,=20 m_completion_mode =3D false, m_ignore_parameters =3D false, m_name =3D "Q= Object", m_ada =3D {{ m_dummy =3D {}, m_item =3D {m_encoded_name =3D "", m_= encoded_p =3D true,=20 m_wild_match_p =3D true, m_verbatim_p =3D true, m_standard_p =3D tr= ue}, dont_use =3D 16 '\020'},=20 m_instantiated =3D false}, m_cplus =3D {{m_dummy =3D {}= , m_item =3D { m_demangled_name =3D "QObject"}, dont_use =3D -40 '\330'}, m_instan= tiated =3D true}, m_d =3D {{ m_dummy =3D {}, m_item =3D { m_demangled_name =3D }, dont_use =3D 0 '\000'}, m_instantiated =3D false}, m_go =3D {{ m_dummy =3D {}, m_item =3D { m_demangled_name =3D },=20 dont_use =3D 0 '\000'}, m_instantiated =3D false}, m_demangled_hashes= =3D {_M_elems =3D {0, 0,=20 1290290123, 32559, 1290290123, 0, 3643406336, 4097165811, 2851925232, 1290290123, 2170300608,=20 21980, 543009376, 32559, 4275458032}}, m_demangled_hashes_p =3D {_M_e= lems =3D {false, false,=20 false, false, true, false, false, false, false, false, false, false, false, false, false}}} /usr/libexec/kf5/kioslave5 also crashed around the time of this gdb crash. Since the plasmashell crashes when watching videos in Firefox were infreque= nt as I reported at https://bugzilla.redhat.com/show_bug.cgi?id=3D2216067 and https://bugzilla.redhat.com/show_bug.cgi?id=3D2250389 I found a way to repr= oduce the plasmashell crash and gdb crash in drkonqi such that plasmashell will c= rash every time at least. 1. Log in to Plasma 5.27.9 on Wayland 2. Start Konsole 3. gdb -p $(pidof plasmashell) 4. In gdb, run c 5. Open a new tab in Konsole 6. In the new Konsole tab, pkill -6 plasmashell 7. In gdb, you can generate a core dump if you want with gcore plasmashell.= core 8. in gdb, run q 9. Select Report Bug in the plasmashell crash notification if it appears be= fore it disappears 10. Select Developer Information in drkonqi gdb aborted with a similar trace with three extra frames 5-7 above iter_match_first_hashed in frame 8. The plasmashell crash from pkill -6 plasmashell will be different from the one I saw before of course. Core was generated by `/usr/bin/gdb -nw -n -batch -x /tmp/drkonqi.IZfCGG -x /tmp/drkonqi.glsMdj -p 789'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7faac4d28080 (LWP 9988))] (gdb) bt #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 #1 0x00007faac3eac8a3 in __pthread_kill_internal (signo=3D6, threadid=3D) at pthread_kill.c:78 #2 0x00007faac3e5a8ee in __GI_raise (sig=3D6) at ../sysdeps/posix/raise.c:= 26 #3 0x0000559d5bad0aca in handle_fatal_signal (sig=3D6) at ../../gdb/event-top.c:985 #4 #5 0x0000559d5be3c93a in skip_ws ( string1=3D@0x7ffed94630f8: 0x559d65f1c4f0 "ConversionCheck::supported",= =20 string2=3D@0x7ffed94630f0: 0x7ffed94632e8 "QThread", end_str2=3Dend_str2@entry=3D0x7ffed94632ef "") at ../../gdb/utils.c:2049 #6 0x0000559d5be3ed80 in strncmp_iw_with_mode (string1=3D,= =20 string1@entry=3D0x559d65f1c4f0 "ConversionCheck::supported", string2=3D,=20 string2_len=3D, mode=3Dstrncmp_iw_mode::MATCH_PARAMS,=20 language=3Dlanguage@entry=3Dlanguage_cplus, match_for_lcd=3Dmatch_for_lcd@entry=3D0x0,=20 ignore_template_params=3Dfalse) at ../../gdb/utils.c:2148 #7 0x0000559d5ba1f1e7 in cp_fq_symbol_name_matches ( symbol_search_name=3D0x559d65f1c4f0 "ConversionCheck::supported", lookup_name=3D...,=20 comp_match_res=3D0x0) at /usr/include/c++/13/bits/basic_string.h:222 #8 0x0000559d5ba3982c in iter_match_first_hashed (dict=3D, name=3D...,=20 iterator=3D0x7ffed9463268) at ../../gdb/dictionary.c:600 #9 0x0000559d5ba39edf in dict_iter_match_first (iterator=3D0x7ffed9463268, name=3D...,=20 --Type for more, q to quit, c to continue without paging--c dict=3D) at ../../gdb/dictionary.c:490 #10 mdict_iter_match_first (mdict=3D0x559d65fbbd90, name=3D..., miterator=3Dmiterator@entry=3D0x7ffed9463260) at ../../gdb/dictionary.c:1229 #11 0x0000559d5b963c31 in block_iter_match_step (first=3D, name=3D...,=20 iterator=3D) at ../../gdb/block.c:615 #12 block_iter_match_step (iterator=3D0x7ffed9463250, name=3D..., first=3D<= optimized out>) at ../../gdb/block.c:594 #13 0x0000559d5b964e28 in block_iter_match_first (iterator=3D0x7ffed9463250, name=3D...,=20 block=3D0x559d6641d720) at ../../gdb/block.c:645 #14 block_find_symbol (block=3D0x559d6641d720, name=3Dname@entry=3D0x559d7d= d70a10 "QThread",=20 domain=3Ddomain@entry=3DSTRUCT_DOMAIN,=20 matcher=3Dmatcher@entry=3D0x559d5b965050 ,=20 data=3Ddata@entry=3D0x0) at ../../gdb/block.c:842 #15 0x0000559d5bd863d8 in basic_lookup_transparent_type_1 (objfile=3D,=20 block_index=3Dblock_index@entry=3DGLOBAL_BLOCK, name=3Dname@entry=3D0x5= 59d7dd70a10 "QThread") at ../../gdb/symtab.c:2720 #16 0x0000559d5bd8a4a8 in basic_lookup_transparent_type (name=3D0x559d7dd70= a10 "QThread") at ../../gdb/symtab.c:2750 #17 0x0000559d5bb0ad9d in check_typedef (type=3D) at ../../gdb/gdbtypes.c:3096 #18 0x0000559d5bc8581d in type_to_type_object (type=3D0x559d8050e3c0) at ../../gdb/python/py-type.c:1389 #19 0x00007faac4510bef in _PyEval_EvalFrameDefault.cold () from /lib64/libpython3.12.so.1.0 #20 0x00007faac4687876 in PyEval_EvalCode () from /lib64/libpython3.12.so.1= .0 #21 0x00007faac46aad9a in run_eval_code_obj () from /lib64/libpython3.12.so= .1.0 #22 0x00007faac46a5ebe in run_mod () from /lib64/libpython3.12.so.1.0 #23 0x00007faac46980f6 in PyRun_StringFlags () from /lib64/libpython3.12.so= .1.0 #24 0x00007faac4697bb4 in PyRun_SimpleStringFlags () from /lib64/libpython3.12.so.1.0 #25 0x0000559d5bc9406a in python_command (arg=3D, from_tty=3D) at ../../gdb/python/python.c:451 #26 0x0000559d5b9cf185 in cmd_func (cmd=3D, args=3D,=20 from_tty=3D) at ../../gdb/cli/cli-decode.c:2543 #27 0x0000559d5bdd1fd5 in execute_command (p=3D,=20 p@entry=3D0x559d7c4ffe80 "py print_preamble()", from_tty=3D) at ../../gdb/top.c:690 #28 0x0000559d5bad131f in command_handler (command=3D0x559d7c4ffe80 "py print_preamble()") at ../../gdb/event-top.c:619 #29 0x0000559d5bdd0b9d in read_command_file (stream=3Dstream@entry=3D0x559d7c6eef60) at ../../gdb/top.c:457 #30 0x0000559d5b9dfe79 in script_from_file (stream=3Dstream@entry=3D0x559d7= c6eef60,=20 file=3Dfile@entry=3D0x7ffed9464739 "/tmp/drkonqi.IZfCGG") at ../../gdb/cli/cli-script.c:1641 #31 0x0000559d5b9cd2cb in source_script_from_stream ( file_to_open=3D0x559d7bea6120 "/tmp/drkonqi.IZfCGG", file=3D0x7ffed9464= 739 "/tmp/drkonqi.IZfCGG",=20 stream=3D0x559d7c6eef60) at ../../gdb/cli/cli-cmds.c:728 #32 source_script_with_search (file=3D0x7ffed9464739 "/tmp/drkonqi.IZfCGG",= =20 file@entry=3D,=20 from_tty=3D,=20 search_path=3D) at ../../gdb/cli/cli-cmds.c:773 #33 0x0000559d5bbb705a in catch_command_errors (command=3D, arg=3D,=20 from_tty=3D, do_bp_actions=3Ddo_bp_actions@entry=3Dfalse= ) at ../../gdb/main.c:513 #34 0x0000559d5bbb7108 in execute_cmdargs (cmdarg_vec=3Dcmdarg_vec@entry=3D0x7ffed9463dc0,=20 file_type=3Dfile_type@entry=3DCMDARG_FILE, cmd_type=3Dcmd_type@entry=3DCMDARG_COMMAND,=20 ret=3Dret@entry=3D0x7ffed9463db4) at ../../gdb/main.c:605 #35 0x0000559d5bbb9449 in captured_main_1 (context=3Dcontext@entry=3D0x7ffed9463fd0) at ../../gdb/main.c:1299 #36 0x0000559d5bbba000 in captured_main (data=3D0x7ffed9463fd0) at ../../gdb/main.c:1320 #37 gdb_main (args=3Dargs@entry=3D0x7ffed9464000) at ../../gdb/main.c:1345 #38 0x0000559d5b8a5abf in main (argc=3D, argv=3D) at ../../gdb/gdb.c:40 The name variable had m_demangled_name =3D } like in the first crash. (gdb) frame 8 #8 0x0000559d5ba3982c in iter_match_first_hashed (dict=3D, name=3D...,=20 iterator=3D0x7ffed9463268) at ../../gdb/dictionary.c:600 600 if (matches_name (sym->search_name (), name, NULL)) (gdb) p name $1 =3D (const lookup_name_info &) @0x7ffed9463290: {m_match_type =3D symbol_name_match_type::FULL,=20 m_completion_mode =3D false, m_ignore_parameters =3D false, m_name =3D "Q= Thread", m_ada =3D {{ m_dummy =3D {}, m_item =3D {m_encoded_name =3D "", m_= encoded_p =3D true,=20 m_wild_match_p =3D true, m_verbatim_p =3D true, m_standard_p =3D tr= ue}, dont_use =3D -16 '\360'},=20 m_instantiated =3D false}, m_cplus =3D {{m_dummy =3D {}= , m_item =3D { m_demangled_name =3D "QThread"}, dont_use =3D -24 '\350'}, m_instan= tiated =3D true}, m_d =3D {{ m_dummy =3D {}, m_item =3D { m_demangled_name =3D }, dont_use =3D 0 '\000'}, m_instantiated =3D false}, m_go =3D {{ m_dummy =3D {}, m_item =3D {m_demangled_name =3D ""},= dont_use =3D 0 '\000'},=20 m_instantiated =3D false}, m_demangled_hashes =3D {_M_elems =3D {0, 0, 3869261042, 32682, 3869261042,=20 0, 3489280768, 3701942453, 2414602096, 21917, 1548822720, 21917, 3298667104, 32682,=20 2637544560}}, m_demangled_hashes_p =3D {_M_elems =3D {false, false, f= alse, false, true, false,=20 false, false, false, false, false, false, false, false, false}}} (gdb) p sym $2 =3D (symbol *) 0x559d65fbbca0 The /tmp/drkonqi* files in the command line /usr/bin/gdb -nw -n -batch -x /tmp/drkonqi.QVBqyR -x /tmp/drkonqi.JalXhn -p 22478 /usr/bin/plasmashell wh= en this crash happened had the following lines which drkonqi presumably ran in= gdb when creating traces, and at least some of the traces had the Python program drkonqi ran in them. thread thread apply all bt set width 200 source /usr/share/drkonqi/gdb/preamble.py py print_preamble() I reported this problem at https://bugzilla.redhat.com/show_bug.cgi?id=3D22= 52382 which contains the full traces of all threads and other data. I reported a similar gdb crash which happened in the same way as the first one but had a different trace at https://bugzilla.redhat.com/show_bug.cgi?id=3D2252514 Th= at crash had thread 1 trace which appeared to be waiting. Core was generated by `/usr/bin/gdb -nw -n -batch -x /tmp/drkonqi.cwGjyw -x /tmp/drkonqi.uZPVDQ -p 583'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f49fcc4b6c0 (LWP 60357))] (gdb) bt #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 #1 0x00007f4a000ac8a3 in __pthread_kill_internal (signo=3D6, threadid=3D) at pthread_kill.c:78 #2 0x00007f4a0005a8ee in __GI_raise (sig=3D6) at ../sysdeps/posix/raise.c:= 26 #3 0x000055e3c6410aca in handle_fatal_signal (sig=3D6) at ../../gdb/event-top.c:985 #4 #5 0x00007f4a000a7167 in __futex_abstimed_wait_common64 (private=3D0, cancel=3Dtrue, abstime=3D0x0,=20 op=3D393, expected=3D0, futex_word=3D0x55e3c73d6e84) at futex-internal.= c:57 #6 __futex_abstimed_wait_common (futex_word=3Dfutex_word@entry=3D0x55e3c73= d6e84,=20 expected=3Dexpected@entry=3D0, clockid=3Dclockid@entry=3D0, abstime=3Dabstime@entry=3D0x0,=20 private=3Dprivate@entry=3D0, cancel=3Dcancel@entry=3Dtrue) at futex-int= ernal.c:87 #7 0x00007f4a000a71ef in __GI___futex_abstimed_wait_cancelable64 ( futex_word=3Dfutex_word@entry=3D0x55e3c73d6e84, expected=3Dexpected@ent= ry=3D0, clockid=3Dclockid@entry=3D0,=20 abstime=3Dabstime@entry=3D0x0, private=3Dprivate@entry=3D0) at futex-in= ternal.c:139 #8 0x00007f4a000a9b09 in __pthread_cond_wait_common (abstime=3D0x0, clocki= d=3D0, mutex=3D,=20 cond=3D0x55e3c73d6e58) at pthread_cond_wait.c:503 #9 ___pthread_cond_wait (cond=3D0x55e3c73d6e58, mutex=3D) at pthread_cond_wait.c:618 #10 0x00007f4a002dc180 in std::condition_variable::wait(std::unique_lock&) () from /lib64/libstdc++.so.6 #11 0x000055e3c697e92b in gdb::thread_pool::thread_function (this=3D0x55e3c73d6e00) at ../../gdbsupport/thread-pool.cc:235 #12 0x00007f4a002e31b3 in execute_native_thread_routine () from /lib64/libstdc++.so.6 --Type for more, q to quit, c to continue without paging--c #13 0x00007f4a000aa897 in start_thread (arg=3D) at pthread_create.c:444 #14 0x00007f4a001316bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 The problem appeared to be in thread 2 which had the following at the top of its trace. #0 0x000055e3c63ba0a3 in std::_Hashtable > >, std::allocator > > >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::find (this=3Dthis@entry=3D0x55e3ccb4bac8, __k=3D) at /usr/include/c++/13/bits/hashtable_policy.h:528 #1 0x000055e3c63c207a in std::unordered_map >, std::hash, std::equal_to, std::allocator > > > >::find (__x=3D: 0x55e3c9cc5390, this=3D0x55e3ccb4bac8) at /usr/include/c++/13/bits/unordered_map.h:875 #2 dwarf2_per_objfile::get_cu (per_cu=3D0x55e3c9cc5390, this=3D0x55e3ccb4b= 9c0) at ../../gdb/dwarf2/read.c:23787 #3 maybe_queue_comp_unit (dependent_cu=3Ddependent_cu@entry=3D0x55e3e98917= a0, per_cu=3Dper_cu@entry=3D0x55e3c9cc5390, per_objfile=3Dper_objfile@entry=3D0x55e3ccb4b9c0, pretend_language=3Dlangua= ge_cplus) at ../../gdb/dwarf2/read.c:7634 #4 0x000055e3c63cfddd in follow_die_offset (sect_off=3Dsect_off@entry=3D(u= nknown: 0xaab87), offset_in_dwz=3D, ref_cu=3Dref_cu@entry=3D0x7ffcb5= 075520) at ../../gdb/dwarf2/read.c:22427 #5 0x000055e3c63d0009 in follow_die_ref (src_die=3D0x55e3f7a19c30, attr=3D0x55e3f7a19c58, ref_cu=3Dref_cu@entry=3D0x7ffcb5075520) at ../../gdb/dwarf2/read.c:22462 #6 0x000055e3c63d5380 in dwarf2_attr (cu=3D0x55e3e98917a0, name=3D85, die=3D) at ../../gdb/dwarf2/read.c:19724 #7 dwarf2_get_pc_bounds (die=3Ddie@entry=3D0x55e3f7a19c30, lowpc=3Dlowpc@entry=3D0x7ffcb5075578, highpc=3Dhighpc@entry=3D0x7ffcb507558= 0, cu=3Dcu@entry=3D0x55e3e98917a0, map=3Dmap@entry=3D0x0, datum=3Ddatum@entry= =3D0x0) at ../../gdb/dwarf2/read.c:13137 #8 0x000055e3c63d55f0 in dwarf2_get_subprogram_pc_bounds (die=3Ddie@entry=3D0x55e3f7a19c30, lowpc=3Dlowpc@entry=3D0x7ffcb50755e8, highpc=3Dhighpc@entry=3D0x7ffcb50755f0, cu=3Dcu@entry=3D0x55e3e98917a0) at ../../gdb/dwarf2/read.c:13195 #9 0x000055e3c63d57e3 in get_scope_pc_bounds (die=3Ddie@entry=3D0x55e3f7a1= 9a80, lowpc=3Dlowpc@entry=3D0x7ffcb50756b8, highpc=3Dhighpc@entry=3D0x7ffcb50756c= 0, cu=3Dcu@entry=3D0x55e3e98917a0) at ../../gdb/dwarf2/read.c:13248 #10 0x000055e3c63ebe83 in read_file_scope (die=3D0x55e3f7a19a80, cu=3D0x55e3e98917a0) at ../../gdb/dwarf2/read.c:9657 #11 0x000055e3c63e903b in process_die (die=3D0x55e3f7a19a80, cu=3Dcu@entry=3D0x55e3e98917a0) at ../../gdb/dwarf2/read.c:8678 #12 0x000055e3c63f0ba0 in process_full_comp_unit (pretend_language=3D, cu=3D0x55e3e98917a0) at ../../gdb/dwarf2/read.c:8447 #13 process_queue (per_objfile=3D0x55e3ccb4b9c0) at ../../gdb/dwarf2/read.c= :7693 #14 dw2_do_instantiate_symtab (skip_partial=3Dfalse, per_objfile=3D0x55e3cc= b4b9c0, per_cu=3D0x55e3c9cc5190) at ../../gdb/dwarf2/read.c:2063 #15 dw2_instantiate_symtab (per_cu=3D0x55e3c9cc5190, per_objfile=3D0x55e3cc= b4b9c0, skip_partial=3Dskip_partial@entry=3Dfalse) at ../../gdb/dwarf2/read.c:2085 #16 0x000055e3c63f1d7d in dw2_expand_symtabs_matching_one(dwarf2_per_cu_dat= a *, dwarf2_per_objfile *, gdb::function_view, gdb::function_view) (per_cu=3D, per_objfile=3D, expansion_notify=3D..., file_matcher=3D...) = at ../../gdb/dwarf2/read.c:3983 #17 0x000055e3c63f1eb0 in gdb::function_view::bind, lookup_name_info const*, gdb::function_view, gdb::function_view, enum_flags, domain_enum, search_domain)::{lambda(unsigned int)#1}>(dwarf2_gdb_index::expand_symtabs_matching(objfile*, gdb::function_view, lookup_name_info const*, gdb::function_view, gdb::function_view, enum_flags, domain_enum, search_domain)::{lambda(unsigned int)#1}&)::{lambda(gdb::fv_detail::erased_callable, unsigned int)#1}::_FUN(gdb::fv_detail::erased_callable, unsigned int) () at ../../gdb/dwarf2/read.c:4086 ... I'm attaching the full trace of all threads of this crash as the Fedora rep= ort on seems to have it only for thread 1. I reproduced this problem using the steps above with gdb 14.1. The trace was different from previous ones. Core was generated by `/usr/bin/gdb -nw -n -batch -x /tmp/drkonqi.LASZxn -x /tmp/drkonqi.wgSYFo -p 347'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f9e34dfc080 (LWP 3581))] (gdb) bt #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D6,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 #1 0x00007f9e33fc68a3 in __pthread_kill_internal (signo=3D6, threadid=3D) at pthread_kill.c:78 #2 0x00007f9e33f748ee in __GI_raise (sig=3D6) at ../sysdeps/posix/raise.c:= 26 #3 0x000055b173a311ff in handle_fatal_signal (sig=3D6) at ../../gdb/event-top.c:918 #4 #5 block::start (this=3D0x55b1970fef30) at ../../gdb/block.h:112 #6 find_pc_sect_compunit_symtab (pc=3Dpc@entry=3D140201518274090, section= =3D0x0) at ../../gdb/symtab.c:2863 #7 0x000055b1738c13ae in blockvector_for_pc_sect (cust=3D0x0, pblock=3D,=20 section=3D, pc=3D140201518274090) at ../../gdb/block.c:1= 88 #8 block_for_pc_sect (section=3D, pc=3D140201518274090) at ../../gdb/block.c:266 #9 block_for_pc (pc=3D140201518274090) at ../../gdb/block.c:278 #10 0x000055b1738c2a88 in get_frame_block (frame=3D..., addr_in_block=3Daddr_in_block@entry=3D0x0) at ../../gdb/blockframe.c:67 #11 0x000055b173bd04e0 in frapy_block (self=3D, args=3D) at ../../gdb/python/py-frame.c:290 #12 0x00007f9e34710bef in _PyEval_EvalFrameDefault.cold () from /lib64/libpython3.12.so.1.0 #13 0x00007f9e34887876 in PyEval_EvalCode () from /lib64/libpython3.12.so.1= .0 #14 0x00007f9e348aad9a in run_eval_code_obj () from /lib64/libpython3.12.so= .1.0 #15 0x00007f9e348a5ebe in run_mod () from /lib64/libpython3.12.so.1.0 --Type for more, q to quit, c to continue without paging--c #16 0x00007f9e348980f6 in PyRun_StringFlags () from /lib64/libpython3.12.so= .1.0 #17 0x00007f9e34897bb4 in PyRun_SimpleStringFlags () from /lib64/libpython3.12.so.1.0 #18 0x000055b173c032da in python_command (arg=3D, from_tty=3D) at ../../gdb/python/python.c:453 #19 0x000055b173930795 in cmd_func (cmd=3D, args=3D,=20 from_tty=3D) at ../../gdb/cli/cli-decode.c:2735 #20 0x000055b173d40b25 in execute_command (p=3D,=20 p@entry=3D0x55b1959106c0 "py print_preamble()", from_tty=3D) at ../../gdb/top.c:575 #21 0x000055b173a31ab2 in command_handler (command=3D0x55b1959106c0 "py print_preamble()") at ../../gdb/event-top.c:555 #22 0x000055b173d41525 in read_command_file (stream=3Dstream@entry=3D0x55b195c899e0) at ../../gdb/top.c:342 #23 0x000055b17393e0e9 in script_from_file (stream=3Dstream@entry=3D0x55b19= 5c899e0,=20 file=3Dfile@entry=3D0x7ffe3c9a9739 "/tmp/drkonqi.LASZxn") at ../../gdb/cli/cli-script.c:1642 #24 0x000055b17392e45b in source_script_from_stream ( file_to_open=3D0x55b195492e70 "/tmp/drkonqi.LASZxn", file=3D0x7ffe3c9a9= 739 "/tmp/drkonqi.LASZxn",=20 stream=3D0x55b195c899e0) at ../../gdb/cli/cli-cmds.c:730 #25 source_script_with_search (file=3D0x7ffe3c9a9739 "/tmp/drkonqi.LASZxn",= =20 file@entry=3D,=20 from_tty=3D,=20 search_path=3D) at ../../gdb/cli/cli-cmds.c:775 #26 0x000055b173b1e90a in catch_command_errors (command=3D, arg=3D,=20 from_tty=3D, do_bp_actions=3Ddo_bp_actions@entry=3Dfalse= ) at ../../gdb/main.c:513 #27 0x000055b173b1e9b8 in execute_cmdargs (cmdarg_vec=3Dcmdarg_vec@entry=3D0x7ffe3c9a7040,=20 file_type=3Dfile_type@entry=3DCMDARG_FILE, cmd_type=3Dcmd_type@entry=3DCMDARG_COMMAND,=20 ret=3Dret@entry=3D0x7ffe3c9a7034) at ../../gdb/main.c:609 #28 0x000055b173b20e49 in captured_main_1 (context=3Dcontext@entry=3D0x7ffe3c9a7240) at ../../gdb/main.c:1293 #29 0x000055b173b21870 in captured_main (data=3D0x7ffe3c9a7240) at ../../gdb/main.c:1314 #30 gdb_main (args=3Dargs@entry=3D0x7ffe3c9a7280) at ../../gdb/main.c:1343 #31 0x000055b1737f1bb0 in main (argc=3D11, argv=3D0x7ffe3c9a73d8) at ../../gdb/gdb.c:47 --=20 You are receiving this mail because: You are on the CC list for the bug.=