From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4EAAE3858298; Tue, 9 Jan 2024 23:01:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EAAE3858298 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704841285; bh=nlxw2qoEPJY9tWzU/pMI/o4yM8M/Eor91yCgF4brF3s=; h=From:To:Subject:Date:From; b=pzrSRl5sk5mLylhr8AwrTEhm6B5GKz4gqpZ7JQmKPk6dgCkHt25HZ6r/xs208fFpS sAhHzjUau54gwERRYYNKltMBIeT7qGsyONgDziU8kBuQB/jhByhGKS0/7PffmDM3S4 VxTt2BpkPMsEs210bmfe09vDOpKem8JnECx7p4g0= From: "matt.fagnani at bell dot net" To: gdb-prs@sourceware.org Subject: [Bug backtrace/31226] New: gdb crashed in block::scope creating traces of plasmashell crashes when Qt debug packages weren't installed Date: Tue, 09 Jan 2024 23:01: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=3D31226 Bug ID: 31226 Summary: gdb crashed in block::scope creating traces of plasmashell crashes when Qt debug packages weren't installed 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 15293 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15293&action=3Ded= it Full trace of all threads of the second gdb crash mentioned I was looking into plasmashell crashes and subsequent drkonqi and gdb crash= es when creating traces as described at https://sourceware.org/bugzilla/show_bug.cgi?id=3D31122 I noticed that when= qt5, glib2, and glibc debuginfo packages weren't installed, drkonqi and kioslave5 didn't crash when I created a trace in drkonqi, but gdb crashed with a segmentation fault and drkonqi showed that the crash information couldn't be generated. gdb crashed in block::scope in frame 13 of the following trace. Core was generated by `/usr/bin/gdb -nw -n -batch -x /tmp/drkonqi.MYQAJG -x /tmp/drkonqi.ZWupqQ -p 622'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00005555689f9ebc in operator() (__closure=3D,=20 msg=3D0x55556a704880 "0x5555689fa140 ") at ../../gdb/bt-utils.c:59 59 gdb_stderr->write_async_safe (msg, strlen (msg)); [Current thread is 1 (Thread 0x7f012efae080 (LWP 62400))] (gdb) bt #0 0x00005555689f9ebc in operator() (__closure=3D,=20 msg=3D0x55556a704880 "0x5555689fa140 ") at ../../gdb/bt-utils.c:59 #1 libbacktrace_print (data=3Ddata@entry=3D0x0, pc=3Dpc@entry=3D9382531587= 3088,=20 filename=3D0x7f00f0b0fc90 "../../gdb/bt-utils.c", lineno=3D122,=20 function=3D0x7f00ff01d0b9 "gdb_internal_backtrace_1") at ../../gdb/bt-utils.c:94 #2 0x00005555690de7d7 in report_inlined_functions (pc=3Dpc@entry=3D9382531= 5873088,=20 callback=3Dcallback@entry=3D0x5555689f9e50 , data=3Ddata@entry=3D0x0, filename=3Dfilename@entry=3D0x55556a704a70, lineno=3D0x55556a704a30,=20 function=3D0x7f00f0b05fb8) at ../../libbacktrace/dwarf.c:3612 #3 0x00005555690e1932 in dwarf_lookup_pc (state=3D, ddata=3D,=20 pc=3D, callback=3D, error_callback=3D,=20 data=3D, found=3D) at ../../libbacktrace/dwarf.c:3879 #4 0x00005555690e3316 in dwarf_fileline (state=3D0x7f012f0f9000, pc=3D93825315873088,=20 callback=3D0x5555689f9e50 ,=20 error_callback=3D0x5555689f9d30 , data=3D0x0) at ../../libbacktrace/dwarf.c:3906 #5 0x00005555690d7ae3 in unwind (context=3D, vdata=3D0x55556a704dd0) at ../../libbacktrace/backtrace.c:91 #6 0x00007f012eeca88d in _Unwind_Backtrace (trace=3Dtrace@entry=3D0x555569= 0d7a40 ,=20 trace_argument=3Dtrace_argument@entry=3D0x55556a704dd0) at ../../../libgcc/unwind.inc:309 #7 0x00005555690d7b6c in backtrace_full (state=3D0x7f012f0f9000, skip=3D,=20 callback=3D, error_callback=3D, data=3D) --Type for more, q to quit, c to continue without paging--c at ../../libbacktrace/backtrace.c:127 #8 0x00005555689fa141 in gdb_internal_backtrace_1 () at ../../gdb/bt-utils.c:122 #9 gdb_internal_backtrace () at ../../gdb/bt-utils.c:168 #10 0x0000555568b37253 in handle_fatal_signal (sig=3Dsig@entry=3D11) at ../../gdb/event-top.c:895 #11 0x0000555568b3742a in handle_sigsegv (sig=3D11) at ../../gdb/event-top.= c:968 #12 #13 block::scope (this=3D) at ../../gdb/block.c:293 #14 0x0000555568a7e067 in cp_lookup_transparent_type (name=3D0x55556bc30170 "QApplication") at ../../gdb/cp-namespace.c:1029 #15 0x0000555568b7309d in check_typedef (type=3D, type@entry=3D0x55556bc3c510) at ../../gdb/gdbtypes.c:3052 #16 0x0000555568b55650 in language_defn::read_var_value (this=3D, var=3D0x55556d2c7270,=20 var_block=3D0x0, frame=3D...) at ../../gdb/findvar.c:518 #17 0x0000555568b54833 in read_var_value (var=3Dvar@entry=3D0x55556d2c7270,= =20 var_block=3Dvar_block@entry=3D0x0, frame=3D...) at ../../gdb/findvar.c:= 746 #18 0x0000555568cf4879 in sympy_value (self=3D, args=3D) at ../../gdb/python/py-symbol.c:306 #19 0x00007f012e9fb4d6 in method_vectorcall_VARARGS ( func=3D, args=3D0x7f012f0fa= 230, nargsf=3D,=20 kwnames=3D0x0) at /usr/src/debug/python3.12-3.12.1-1.fc39.x86_64/Objects/descrobject.c:331 #20 0x00007f012ea0ac7c in _PyObject_VectorcallTstate (kwnames=3D0x0, nargsf=3D9223372036854775810,=20 args=3D0x7f012f0fa230, callable=3D,=20 tstate=3D0x7f012ee4d668 <_PyRuntime+459656>) at /usr/src/debug/python3.12-3.12.1-1.fc39.x86_64/Include/internal/pycore_call= .h:92 #21 PyObject_Vectorcall (callable=3D, args=3D0x7f012f0fa230,=20 nargsf=3D9223372036854775810, kwnames=3D0x0) at /usr/src/debug/python3.12-3.12.1-1.fc39.x86_64/Objects/call.c:325 #22 0x00007f012e90f7e1 in _PyEval_EvalFrameDefault (tstate=3D, frame=3D0x7f012f0fa180,=20 throwflag=3D) at Python/bytecodes.c:2706 #23 0x00007f012ea8a996 in PyEval_EvalCode (co=3D,=20 globals=3D,=20 locals=3D{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': , '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D,=20 co=3Dco@entry=3D0x7f0110e2fad0,=20 globals=3Dglobals@entry=3D{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': , '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D, '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D',=20 globals=3Dglobals@entry=3D{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': , '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D, '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D,=20 globals=3D{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': , '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D, '__spec__': None, '__annotations__': {}, '__builtins__': , 'sys': , 'GdbRemoveReadlineFinder': , 'gdb': , 'os': , 'pythondir= ': 'share/gcc-13/python', 'libdir': 'lib64', 'prefix': '/usr/', 'dotdots': '..= /', 'objfile': '/lib64/libstdc++.so.6', 'dir_': '/usr/share/glib-2.0/gdb', 'register_libstdcxx_printers': , 'regist= er': , 'Mapping': <_SpecialGenericAlias(_inst=3DTrue, _name=3D'Mapping', __origin__=3D, from_tty=3D) at ../../gdb/python/python.c:453 #29 0x0000555568a36795 in cmd_func (cmd=3D, args=3D,=20 from_tty=3D) at ../../gdb/cli/cli-decode.c:2735 #30 0x0000555568e46b25 in execute_command (p=3D,=20 p@entry=3D0x555586315490 "py print_preamble()", from_tty=3D) at ../../gdb/top.c:575 #31 0x0000555568b37ab2 in command_handler (command=3D0x555586315490 "py print_preamble()") at ../../gdb/event-top.c:555 #32 0x0000555568e47525 in read_command_file (stream=3Dstream@entry=3D0x5555865eef70) at ../../gdb/top.c:342 #33 0x0000555568a440e9 in script_from_file (stream=3Dstream@entry=3D0x55558= 65eef70,=20 file=3Dfile@entry=3D0x7ffc2eca6733 "/tmp/drkonqi.MYQAJG") at ../../gdb/cli/cli-script.c:1642 #34 0x0000555568a3445b in source_script_from_stream ( file_to_open=3D0x555585fe7190 "/tmp/drkonqi.MYQAJG", file=3D0x7ffc2eca6= 733 "/tmp/drkonqi.MYQAJG",=20 stream=3D0x5555865eef70) at ../../gdb/cli/cli-cmds.c:730 #35 source_script_with_search (file=3D0x7ffc2eca6733 "/tmp/drkonqi.MYQAJG",= =20 file@entry=3D,=20 from_tty=3D,=20 search_path=3D) at ../../gdb/cli/cli-cmds.c:775 #36 0x0000555568c2490a 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 #37 0x0000555568c249b8 in execute_cmdargs (cmdarg_vec=3Dcmdarg_vec@entry=3D0x7ffc2eca45f0,=20 file_type=3Dfile_type@entry=3DCMDARG_FILE, cmd_type=3Dcmd_type@entry=3DCMDARG_COMMAND,=20 ret=3Dret@entry=3D0x7ffc2eca45e4) at ../../gdb/main.c:609 #38 0x0000555568c26e49 in captured_main_1 (context=3Dcontext@entry=3D0x7ffc2eca47f0) at ../../gdb/main.c:1293 #39 0x0000555568c27870 in captured_main (data=3D0x7ffc2eca47f0) at ../../gdb/main.c:1314 #40 gdb_main (args=3Dargs@entry=3D0x7ffc2eca4830) at ../../gdb/main.c:1343 #41 0x00005555688f7bb0 in main (argc=3D11, argv=3D0x7ffc2eca4988) at ../../gdb/gdb.c:47 (gdb) frame 13 #13 block::scope (this=3D) at ../../gdb/block.c:293 293 if (block->m_namespace_info !=3D nullptr (gdb) p this $1 =3D (gdb) p block $2 =3D t was null in frame 14. (gdb) frame 14 #14 0x0000555568a7e067 in cp_lookup_transparent_type (name=3D0x55556bc30170 "QApplication") at ../../gdb/cp-namespace.c:1029 1029 scope =3D get_selected_block (0)->scope (); (gdb) p scope $3 =3D (gdb) p name $4 =3D 0x55556bc30170 "QApplication" (gdb) p t $5 =3D (type *) 0x0 In frames 16 and 17, var_block was null. (gdb) frame 16 #16 0x0000555568b55650 in language_defn::read_var_value (this=3D, var=3D0x55556d2c7270,=20 var_block=3D0x0, frame=3D...) at ../../gdb/findvar.c:518 518 check_typedef (type); (gdb) p type $8 =3D (type *) 0x55556bc3c510 (gdb) p var_block $9 =3D (const block *) 0x0 (gdb) frame 17 #17 0x0000555568b54833 in read_var_value (var=3Dvar@entry=3D0x55556d2c7270,= =20 var_block=3Dvar_block@entry=3D0x0, frame=3D...) at ../../gdb/findvar.c:= 746 746 return lang->read_var_value (var, var_block, frame); (gdb) p var $12 =3D (symbol *) 0x55556d2c7270 (gdb) p var_block $13 =3D (const block *) 0x0 (gdb) p frame $14 =3D {> =3D {next =3D 0x7ffc2eca3ae0= , prev =3D 0x7ffc2eca3b80},=20 static invalid_level =3D -2, m_ptr =3D 0x5555884e6b40, m_cached_id =3D {s= tack_addr =3D 140735794617984,=20 code_addr =3D 94673707714992, special_addr =3D 0, stack_status =3D FID_STACK_VALID, code_addr_p =3D 1,=20 special_addr_p =3D 0, user_created_p =3D 0, artificial_depth =3D 0}, m_cached_level =3D 10,=20 static frame_list =3D {m_front =3D 0x5555695d71c0 , m_bac= k =3D 0x7ffc2eca3ae0}} I reproduced this problem at least three times with Plasma 5.27.9 and gdb 1= 4.1 with the crash in block::scope each time. I reproduced the plasmashell crash and gdb crash in drkonqi as follows without qt5-*, glib2, glibc debuginfo packages installed. 1. Log in to Plasma 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, run q 8. If drkonqi appears, select Developer Information in drkonqi. 9. If drkonqi doesn't appear because plasmashell restarted before drkonqi started, repeat 3-8 until it does I reproduced the plasmashell crash when using Firefox to watch Instagram vi= deos which was the original problem https://bugs.kde.org/show_bug.cgi?id=3D471248 I set TimeoutSec=3D1000sec in /usr/lib/systemd/user/plasma-plasmashell.serv= ice to work around the problem I reported at https://sourceware.org/bugzilla/show_bug.cgi?id=3D31122#c3 https://bugs.kde.org/show_bug.cgi?id=3D478287 Using Plasma 5.27.10 on Wayla= nd with KF 5.113.0 and Qt 5.15.12 without the qt5-* debuginfo packages install= ed, I attached gdb to plasmashell with gdb -p $(pidof plasmashell) I played Instagram story videos in Firefox 123.0a1 on Wayland. plasmashell crashed. I ran bt in gdb which then crashed in block::scope. Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault. 0x00007fe9f08b3a72 in __dynamic_cast () from /lib64/libstdc++.so.6 (gdb) bt #0 0x00007fe9f08b3a72 in __dynamic_cast () at /lib64/libstdc++.so.6 #1 0x00007fe9f32b7200 in Plasma::DataContainer::getDataEngine() () at /lib64/libKF5Plasma.so.5 Fatal signal: Segmentation fault ----- Backtrace ----- 0x559983a27140 gdb_internal_backtrace_1 ../../gdb/bt-utils.c:122 0x559983a27140 _Z22gdb_internal_backtracev ../../gdb/bt-utils.c:168 0x559983b64252 handle_fatal_signal ../../gdb/event-top.c:895 0x559983b64429 handle_sigsegv ../../gdb/event-top.c:968 0x7f0426f6e99f ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.38-14.fc39.x86_64/signal/../sysdeps/unix/sysv/linux/= x86_64/libc_sigaction.c:0 0x5599839f43e8 _ZNK5block5scopeEv ../../gdb/block.c:293 0x559983aab066 _Z26cp_lookup_transparent_typePKc ../../gdb/cp-namespace.c:1029 0x559983ba009c _Z13check_typedefP4type ../../gdb/gdbtypes.c:3052 0x559983d2601c _Z19type_to_type_objectP4type ../../gdb/python/py-type.c:1468 0x559983d274f3 convert_field ../../gdb/python/py-type.c:221 0x559983d27afe make_fielditem ../../gdb/python/py-type.c:275 0x559983d27afe typy_iterator_iternext ../../gdb/python/py-type.c:1440 0x7f04278339fb ??? /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/listobject.c= :944 0x7f04278470e0 ??? /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/listobject.c= :982 0x559983d26f0b typy_fields_items ../../gdb/python/py-type.c:311 0x7f042781ab19 ??? =20=20=20=20=20=20=20 /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/descrobject.c:454 0x7f042780abfb ??? =20=20=20=20=20=20=20 /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Include/internal/pycore_call= .h:92 0x7f042770f759 ??? Python/bytecodes.c:2706 0x7f0427812cda ??? =20=20=20=20=20=20=20 /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Include/internal/pycore_call= .h:92 0x7f042788d08f ??? /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/call.c:957 0x559983d19ca7 search_pp_list ../../gdb/python/py-prettyprint.c:83 0x559983d1a182 find_pretty_printer_from_objfiles ../../gdb/python/py-prettyprint.c:113 0x559983d1a182 find_pretty_printer ../../gdb/python/py-prettyprint.c:173 0x559983d1a647 _Z30gdbpy_apply_val_pretty_printerPK23extension_language_defnP5valueP7ui_fi= leiPK19value_print_optionsPK13language_defn ../../gdb/python/py-prettyprint.c:603 0x559983b6b748 _Z33apply_ext_lang_val_pretty_printerP5valueP7ui_fileiPK19value_print_optio= nsPK13language_defn ../../gdb/extension.c:489 0x559983f038e6 _Z16common_val_printP5valueP7ui_fileiPK19value_print_optionsPK13language_de= fn ../../gdb/valprint.c:1072 0x559983d0519e py_print_value ../../gdb/python/py-framefilter.c:251 0x559983d057cb py_print_single_arg ../../gdb/python/py-framefilter.c:397 0x559983d05dee enumerate_args ../../gdb/python/py-framefilter.c:488 0x559983d070dd py_print_args ../../gdb/python/py-framefilter.c:721 0x559983d070dd py_print_frame ../../gdb/python/py-framefilter.c:952 0x559983d087d2 _Z24gdbpy_apply_frame_filterPK23extension_language_defn14frame_info_ptr10en= um_flagsI17frame_filter_flagE19ext_lang_frame_argsP6ui_outii ../../gdb/python/py-framefilter.c:1228 0x559983b6bf89 _Z27apply_ext_lang_frame_filter14frame_info_ptr10enum_flagsI17frame_filter_= flagE19ext_lang_frame_argsP6ui_outii ../../gdb/extension.c:541 0x559983e0a166 backtrace_command_1 ../../gdb/stack.c:2029 0x559983e0a166 backtrace_command ../../gdb/stack.c:2168 0x559983a63794 _Z8cmd_funcP16cmd_list_elementPKci ../../gdb/cli/cli-decode.c:2735 0x559983e73b24 _Z15execute_commandPKci ../../gdb/top.c:575 0x559983b64ab1 _Z15command_handlerPKc ../../gdb/event-top.c:555 0x559983b665a8 _Z20command_line_handlerOSt10unique_ptrIcN3gdb13xfree_deleterIcEEE ../../gdb/event-top.c:791 0x559983b65170 gdb_rl_callback_handler ../../gdb/event-top.c:260 0x7f0427eaf0dc ??? 0x559983b652d5 gdb_rl_callback_read_char_wrapper_noexcept ../../gdb/event-top.c:196 0x559983b65487 gdb_rl_callback_read_char_wrapper ../../gdb/event-top.c:235 0x559983eb501f stdin_event_handler ../../gdb/ui.c:155 0x5599840e573d gdb_wait_for_event ../../gdbsupport/event-loop.cc:716 0x5599840e62f1 _Z16gdb_do_one_eventi ../../gdbsupport/event-loop.cc:264 0x559983c51b11 start_event_loop ../../gdb/main.c:407 0x559983c51b11 captured_command_loop ../../gdb/main.c:471 0x559983c54874 captured_main ../../gdb/main.c:1324 0x559983c54874 _Z8gdb_mainP18captured_main_args ../../gdb/main.c:1343 0x559983924baf main ../../gdb/gdb.c:47 --------------------- A fatal error internal to GDB has been detected, further debugging is not possible. GDB will now terminate. This is a bug, please report it. For instructions, see: . Segmentation fault (core dumped) block::scope, cp_lookup_transparent_type, and check_typedef were in common = with the previous traces, but the functions below that looked different. Core was generated by `gdb -p 46516'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D11,=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 0x7f0427e6c080 (LWP 48853))]=20 (gdb) bt #0 __pthread_kill_implementation (threadid=3D, signo=3Dsigno@entry=3D11,=20 no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 #1 0x00007f0426fc08a3 in __pthread_kill_internal (signo=3D11, threadid=3D) at pthread_kill.c:78 #2 0x00007f0426f6e8ee in __GI_raise (sig=3D11) at ../sysdeps/posix/raise.c= :26 #3 0x0000559983b641ff in handle_fatal_signal (sig=3Dsig@entry=3D11) at ../../gdb/event-top.c:918 #4 0x0000559983b6442a in handle_sigsegv (sig=3D11) at ../../gdb/event-top.= c:968 #5 #6 block::scope (this=3D) at ../../gdb/block.c:293 #7 0x0000559983aab067 in cp_lookup_transparent_type (name=3D0x5599a3362f20 "Plasma::Service") at ../../gdb/cp-namespace.c:1029 #8 0x0000559983ba009d in check_typedef (type=3D) at ../../gdb/gdbtypes.c:3052 #9 0x0000559983d2601d in type_to_type_object (type=3D0x5599a3bcfa70) at ../../gdb/python/py-type.c:1468 #10 0x0000559983d274f4 in convert_field (type=3Dtype@entry=3D0x5599a22e9520, field=3Dfield@entry=3D0) at ../../gdb/python/py-type.c:221 #11 0x0000559983d27aff in make_fielditem (kind=3D, i=3D0, type=3D0x5599a22e9520) at ../../gdb/python/py-type.c:275 #12 typy_iterator_iternext (self=3D) at ../../gdb/python/py-type.c:1440 #13 0x00007f04278339fc in list_extend (self=3Dself@entry=3D0x7f03ff22e6c0,= =20 iterable=3Diterable@entry=3D) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/listobject.c:= 944 --Type for more, q to quit, c to continue without paging--c #14 0x00007f04278470e1 in _PyList_Extend (iterable=3D,=20 self=3D0x7f03ff22e6c0) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/listobject.c:980 #15 PySequence_List (v=3D) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/abstract.c:21= 21 #16 0x0000559983d26f0c in typy_fields_items (self=3D, kind=3Diter_values) at ../../gdb/python/py-type.c:311 #17 0x00007f042781ab1a in method_vectorcall_NOARGS ( func=3D, args=3D0x7f0427fba= 178, nargsf=3D,=20 kwnames=3D0x0) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/descrobject.c:454 #18 0x00007f042780abfc in _PyObject_VectorcallTstate (kwnames=3D0x0, nargsf=3D9223372036854775809,=20 args=3D0x7f0427fba178, callable=3D,=20 tstate=3D0x7f0427c4e668 <_PyRuntime+459656>) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Include/internal/pycore_call= .h:92 #19 PyObject_Vectorcall (callable=3D, args=3D0x7f0427fba178,=20 nargsf=3D9223372036854775809, kwnames=3D0x0) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/call.c:325 #20 0x00007f042770f75a in _PyEval_EvalFrameDefault (tstate=3D, frame=3D0x7f0427fba108,=20 throwflag=3D) at Python/bytecodes.c:2706 #21 0x00007f0427812cdb in _PyObject_VectorcallTstate (kwnames=3D0x0, nargsf= =3D1, args=3D0x7fff62c72120,=20 callable=3D, tstate=3D0x7f0427c4e668 <_PyRuntime+459656>) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Include/internal/pycore_call= .h:92 #22 object_vacall (tstate=3D, base=3Dbase@entry=3D0x0,=20 callable=3Dcallable@entry=3D, vargs=3Dvargs@entry=3D0x7fff62c72190) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/call.c:850 #23 0x00007f042788d090 in PyObject_CallFunctionObjArgs (callable=3D) at /usr/src/debug/python3.12-3.12.1-2.fc39.x86_64/Objects/call.c:957 #24 0x0000559983d19ca8 in search_pp_list (list=3Dlist@entry=3D[],=20 value=3Dvalue@entry=3D) at ../../gdb/python/py-prettyprint.c:82 #25 0x0000559983d1a183 in find_pretty_printer_from_objfiles ( value=3D) at ../../gdb/python/py-prettyprint.c:113 #26 find_pretty_printer (value=3Dvalue@entry=3D) at ../../gdb/python/py-prettyprint.c:173 #27 0x0000559983d1a648 in gdbpy_apply_val_pretty_printer (extlang=3D,=20 value=3D0x5599a0e79f80, stream=3D0x7fff62c72610, recurse=3D0, options=3D0x7fff62c72860,=20 language=3D0x5599845f45d0 ) at ../../gdb/python/py-prettyprint.c:603 #28 0x0000559983b6b749 in apply_ext_lang_val_pretty_printer (val=3Dval@entry=3D0x5599a0e79f80,=20 stream=3Dstream@entry=3D0x7fff62c72610, recurse=3Drecurse@entry=3D0,=20 options=3Doptions@entry=3D0x7fff62c72860,=20 language=3Dlanguage@entry=3D0x5599845f45d0 ) at ../../gdb/extension.c:489 #29 0x0000559983f038e7 in common_val_print (value=3Dvalue@entry=3D0x5599a0e= 79f80,=20 stream=3Dstream@entry=3D0x7fff62c72610, recurse=3Drecurse@entry=3D0,=20 options=3Doptions@entry=3D0x7fff62c72860,=20 language=3Dlanguage@entry=3D0x5599845f45d0 ) at ../../gdb/valprint.c:1072 #30 0x0000559983d0519f in py_print_value (out=3Dout@entry=3D0x559985b5df10,= =20 val=3Dval@entry=3D0x5599a0e79f80, opts=3Dopts@entry=3D0x7fff62c72860, indent=3Dindent@entry=3D0,=20 args_type=3Dargs_type@entry=3DCLI_SCALAR_VALUES,=20 language=3Dlanguage@entry=3D0x5599845f45d0 ) at ../../gdb/python/py-framefilter.c:251 #31 0x0000559983d057cc in py_print_single_arg (out=3Dout@entry=3D0x559985b5= df10,=20 sym_name=3Dsym_name@entry=3D0x0, fa=3Dfa@entry=3D0x7fff62c72820, fv=3Df= v@entry=3D0x0,=20 opts=3Dopts@entry=3D0x7fff62c72860, args_type=3Dargs_type@entry=3DCLI_SCALAR_VALUES, print_args_field=3D0,=20 language=3D0x5599845f45d0 ) at ../../gdb/python/py-framefilter.c:397 #32 0x0000559983d05def in enumerate_args (iter=3Diter@entry=3D,=20 out=3Dout@entry=3D0x559985b5df10, args_type=3Dargs_type@entry=3DCLI_SCA= LAR_VALUES,=20 print_args_field=3Dprint_args_field@entry=3D0, frame=3D...) at ../../gdb/python/py-framefilter.c:488 #33 0x0000559983d070de in py_print_args (frame=3D..., args_type=3DCLI_SCALAR_VALUES, out=3D0x559985b5df10,=20 filter=3D) = at remote 0x7f03ff2bbf20>) at ../../gdb/python/py-framefilter.c:721 #34 py_print_frame ( filter=3Dfilter@entry=3D) at remote 0x7f03ff2bbf20>, flags=3D..., flags@entry=3D..., args_type=3Dargs_type@entry=3DCLI_SCALAR_VALUES,=20 out=3Dout@entry=3D0x559985b5df10, indent=3Dindent@entry=3D0,=20 levels_printed=3Dlevels_printed@entry=3D0x5599a4c76de0) at ../../gdb/python/py-framefilter.c:952 #35 0x0000559983d087d3 in gdbpy_apply_frame_filter (extlang=3D, frame=3D..., flags=3D...,=20 args_type=3DCLI_SCALAR_VALUES, out=3D0x559985b5df10, frame_low=3D, frame_high=3D-1) at ../../gdb/python/py-framefilter.c:1228 #36 0x0000559983b6bf8a in apply_ext_lang_frame_filter (frame=3D..., flags= =3D..., flags@entry=3D...,=20 args_type=3Dargs_type@entry=3DCLI_SCALAR_VALUES, out=3Dout@entry=3D0x55= 9985b5df10,=20 frame_low=3Dframe_low@entry=3D0, frame_high=3Dframe_high@entry=3D-1) at ../../gdb/extension.c:541 #37 0x0000559983e0a167 in backtrace_command_1 (from_tty=3D1, count_exp=3D, bt_opts=3D...,=20 fp_opts=3D...) at ../../gdb/stack.c:2029 #38 backtrace_command (arg=3D, from_tty=3D1) at ../../gdb/stack.c:2168 #39 0x0000559983a63795 in cmd_func (cmd=3D, args=3D,=20 from_tty=3D) at ../../gdb/cli/cli-decode.c:2735 #40 0x0000559983e73b25 in execute_command (p=3D, p@entry=3D0x55998594ab10 "bt",=20 from_tty=3D) at ../../gdb/top.c:575 #41 0x0000559983b64ab2 in command_handler (command=3D0x55998594ab10 "bt") at ../../gdb/event-top.c:555 #42 0x0000559983b665a9 in command_line_handler (rl=3D...) at ../../gdb/event-top.c:791 #43 0x0000559983b65171 in gdb_rl_callback_handler (rl=3D0x5599a1454d20 "bt") at ../../gdb/event-top.c:260 #44 0x00007f0427eaf0dd in rl_callback_read_char () from /lib64/libreadline.= so.8 #45 0x0000559983b652d6 in gdb_rl_callback_read_char_wrapper_noexcept () at ../../gdb/event-top.c:196 #46 0x0000559983b65488 in gdb_rl_callback_read_char_wrapper (client_data=3D) at ../../gdb/event-top.c:234 #47 0x0000559983eb5020 in stdin_event_handler (error=3D, client_data=3D0x55998594c2f0) at ../../gdb/ui.c:155 #48 0x00005599840e573e in gdb_wait_for_event (block=3Dblock@entry=3D1) at ../../gdbsupport/event-loop.cc:716 #49 0x00005599840e62f2 in gdb_do_one_event (mstimeout=3Dmstimeout@entry=3D-= 1) at ../../gdbsupport/event-loop.cc:264 #50 0x0000559983c51b12 in start_event_loop () at ../../gdb/main.c:407 #51 captured_command_loop () at ../../gdb/main.c:471 #52 0x0000559983c54875 in captured_main (data=3D0x7fff62c733d0) at ../../gdb/main.c:1324 #53 gdb_main (args=3Dargs@entry=3D0x7fff62c73410) at ../../gdb/main.c:1343 #54 0x0000559983924bb0 in main (argc=3D3, argv=3D0x7fff62c73568) at ../../gdb/gdb.c:47 I'll attach the full trace of all threads of this crash. The gdb crash didn= 't happen if the qt5-*-debuginfo packages were installed. drkonqi appeared. I got the trace of the plasmashell crash in=20 __cxxabiv1::__dynamic_cast at https://bugs.kde.org/show_bug.cgi?id=3D471248= #c8. --=20 You are receiving this mail because: You are on the CC list for the bug.=