New comment by SevereOverfl0w on void-packages repository https://github.com/void-linux/void-packages/issues/25183#issuecomment-704420358 Comment: At the risk of hijacking, something I've just discovered may be relevant: the dbg symbols don't work for openjdk. ``` /tmp/profilerissue 5m 29s ❯ gdb /usr/lib/jvm/openjdk11/lib/server/libjvm.so GNU gdb (GDB) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/jvm/openjdk11/lib/server/libjvm.so... warning: the debug information found in "/usr/lib/jvm/openjdk11/lib/server/libjvm.debuginfo" does not match "/usr/lib/jvm/openjdk11/lib/server/libjvm.so" (CRC mismatch). warning: the debug information found in "/usr/lib/debug//usr/lib/jvm/openjdk11/lib/server/libjvm.debuginfo" does not match "/usr/lib/jvm/openjdk11/lib/server/libjvm.so" (CRC mismatch). (No debugging symbols found in /usr/lib/jvm/openjdk11/lib/server/libjvm.so) ``` It's searching /usr/lib/jvm/openjdk11/lib/server/libjvm.so for debug symbols, instead of /usr/lib/debug.