Date: Sun, 18 Jun 2023 11:08:36 +0100 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Random crashes when starting some applications with KDE Message-ID: <84356802.0ko45tJjV3@curlew> In-Reply-To: <80740210-801d-de82-7e48-2c83dd4dfbd0@freebsd.org> References: <12592445.xkLNZX5ndW@curlew> <80740210-801d-de82-7e48-2c83dd4dfbd0@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Saturday, 17 June 2023 21:00:30 BST Graham Perrin wrote: > On 17/06/2023 19:48, Mike Clarke wrote: > > … A problem internal to GDB has been detected, … > > Which version, exactly? curlew:/var/crash# pkg query %v gdb 13.1_2 > > This GDB was configured as "x86_64-portbld-freebsd13.1". > > I wonder whether you need to build from source at this time, for > compatibility with your 13.2-RELEASE. I've rebuilt gdb from ports but still the same problem curlew:/var/crash# kgdb /boot/kernel/kernel /var/crash/vmcore.2 *GNU gdb (GDB) 13.1 [GDB v13.1 for FreeBSD]* Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd13.2". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... (No debugging symbols found in /boot/kernel/kernel) /usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/thread.c:1337: internal-error: switch_to_thread: Assertion `thr != NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ----- Backtrace ----- 0x131f681 ??? 0x17bddf3 ??? 0x17bdc58 ??? 0x1c491a3 ??? 0x177d35f ??? 0x1454850 ??? 0x175e67f ??? 0x1352d94 ??? 0x178b757 ??? 0x153b875 ??? 0x153a29b ??? 0x1538c9e ??? 0x122bc74 ??? --------------------- /usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/thread.c:1337: internal-error: switch_to_thread: Assertion `thr != NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y This is a bug, please report it. For instructions, see: <https://www.gnu.org/software/gdb/ bugs/>. /usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/thread.c:1337: internal-error: switch_to_thread: Assertion `thr != NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.curlew:/var/ crash# ... and in case it's relevant here's the configuration details: (kgdb) show configuration This GDB was configured as follows: configure --host=x86_64-portbld-freebsd13.2 --target=x86_64-portbld-freebsd13.2 --with-auto-load-dir=$debugdir:$datadir/auto-load --with-auto-load-safe-path=$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=/usr/local/share/gdb (relocatable) --with-jit-reader-dir=/usr/local/lib/gdb (relocatable) --without-libunwind-ia64 --with-lzma --without-babeltrace --without-intel-pt --with-mpfr --with-xxhash --with-python=/usr/local (relocatable) --with-python-libdir=/usr/local/lib (relocatable) --with-debuginfod --without-guile --enable-source-highlight --enable-threading --with-separate-debug-dir=/usr/lib/debug -- Mike Clarke [-- Attachment #2 --] <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Saturday, 17 June 2023 21:00:30 BST Graham Perrin wrote:</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> On 17/06/2023 19:48, Mike Clarke wrote:</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > … A problem internal to GDB has been detected, …</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Which version, exactly?</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="font-family:monospace;"><span style="color:#000000;">curlew:/var/crash# pkg query %v gdb </span></span></span><br />13.1_2</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > This GDB was configured as "x86_64-portbld-freebsd13.1".</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I wonder whether you need to build from source at this time, for</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> compatibility with your 13.2-RELEASE.</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I've rebuilt gdb from ports but still the same problem</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#000000;">curlew:/var/crash# kgdb /boot/kernel/kernel /var/crash/vmcore.2 </span></span><br /><span style="background-color:#ffffff;"><strong><span style="color:#ff54ff;">GNU gdb (GDB) 13.1 [GDB v13.1 for FreeBSD]</span></strong><span style="color:#000000;"> </span></span><br />Copyright (C) 2023 Free Software Foundation, Inc. <br />License GPLv3+: GNU GPL version 3 or later <<span style="background-color:#ffffff;"><span style="color:#18b218;">http://gnu.org/licenses/gpl.html</span><span style="color:#000000;">> </span></span><br />This is free software: you are free to change and redistribute it. <br />There is NO WARRANTY, to the extent permitted by law. <br />Type "show copying" and "show warranty" for details. <br />This GDB was configured as "x86_64-portbld-freebsd13.2". <br />Type "show configuration" for configuration details. <br />For bug reporting instructions, please see: <span style="background-color:#ffffff;"><span style="color:#18b218;"><https://www.gnu.org/software/gdb/bugs/></span><span style="color:#000000;">. </span></span><br />Find the GDB manual and other documentation resources online at: <br /> <<span style="background-color:#ffffff;"><span style="color:#18b218;">http://www.gnu.org/software/gdb/documentation/</span><span style="color:#000000;">>. </span></span><br /><br />For help, type "help". <br />Type "apropos word" to search for commands related to "word"... <br />Reading symbols from <span style="background-color:#ffffff;"><span style="color:#18b218;">/boot/kernel/kernel</span><span style="color:#000000;">... </span></span><br />(No debugging symbols found in <span style="background-color:#ffffff;"><span style="color:#18b218;">/boot/kernel/kernel</span><span style="color:#000000;">) </span></span><br />/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/thread.c:1337: internal-error: switch_to_thread: Assertion `thr !=<br />NULL' failed. <br />A problem internal to GDB has been detected, <br />further debugging may prove unreliable. <br />----- Backtrace ----- <br />0x131f681 ??? <br />0x17bddf3 ??? <br />0x17bdc58 ??? <br />0x1c491a3 ??? <br />0x177d35f ??? <br />0x1454850 ??? <br />0x175e67f ??? <br />0x1352d94 ??? <br />0x178b757 ??? <br />0x153b875 ??? <br />0x153a29b ??? <br />0x1538c9e ??? <br />0x122bc74 ??? <br />--------------------- <br />/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/thread.c:1337: internal-error: switch_to_thread: Assertion `thr !=<br />NULL' failed. <br />A problem internal to GDB has been detected, <br />further debugging may prove unreliable. <br />Quit this debugging session? (y or n) y <br /><br />This is a bug, please report it. For instructions, see: <span style="background-color:#ffffff;"><span style="color:#18b218;"><https://www.gnu.org/software/gdb/bugs/></span><span style="color:#000000;">. </span></span><br /><br />/usr/ports/devel/gdb/work-py39/gdb-13.1/gdb/thread.c:1337: internal-error: switch_to_thread: Assertion `thr !=<br />NULL' failed. <br />A problem internal to GDB has been detected, <br />further debugging may prove unreliable. <br />Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.<span style="background-color:#ffffff;"><span style="color:#000000;">curlew:/var/crash# </span></span><br /><br />... and in case it's relevant here's the configuration details:</p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#000000;">(kgdb) show configuration </span></span><br />This GDB was configured as follows: <br /> configure --host=x86_64-portbld-freebsd13.2 --target=x86_64-portbld-freebsd13.2 <br /> --with-auto-load-dir=$debugdir:$datadir/auto-load <br /> --with-auto-load-safe-path=$debugdir:$datadir/auto-load <br /> --with-expat <br /> --with-gdb-datadir=/usr/local/share/gdb (relocatable) <br /> --with-jit-reader-dir=/usr/local/lib/gdb (relocatable) <br /> --without-libunwind-ia64 <br /> --with-lzma <br /> --without-babeltrace <br /> --without-intel-pt <br /> --with-mpfr <br /> --with-xxhash <br /> --with-python=/usr/local (relocatable) <br /> --with-python-libdir=/usr/local/lib (relocatable) <br /> --with-debuginfod <br /> --without-guile <br /> --enable-source-highlight <br /> --enable-threading <br /> --with-separate-debug-dir=/usr/lib/debug </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Mike Clarke</p> </body> </html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84356802.0ko45tJjV3>
