This is with gdb version 8.2.1-0ubuntu1 in the sandbox. (gdb) show solib-search-path The search path for loading non-absolute shared library symbol files is /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/lib/x86_64-linux-gnu.
(gdb) info sharedlibrary >From To Syms Read Shared Object Library 0x00007ffff7ebfda0 0x00007ffff7f3e01e Yes (*) /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 0x00007ffff7e56740 0x00007ffff7e8774e Yes (*) /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 0x00007ffff77e1e40 0x00007ffff7b2c061 Yes (*) /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libgtk-3.so.0 0x00007ffff7686130 0x00007ffff76fb277 Yes (*) /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libgdk-3.so.0 0x00007ffff763b6b0 0x00007ffff7648a0f Yes /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 0x00007ffff74a1870 0x00007ffff759e7d5 Yes (*) /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 0x00007ffff73e16d0 0x00007ffff7437136 Yes /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libgtksourceview-4.so.0 0x00007ffff71b0700 0x00007ffff71c0816 Yes /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libmpc.so.3 0x00007ffff7135730 0x00007ffff719603b Yes /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libmpfr.so.6 0x00007ffff70b87e0 0x00007ffff7101049 Yes (*) /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 0x00007ffff6f23730 0x00007ffff703ea9e Yes /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/x86_64-linux-gnu/libxml2.so.2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/1818884 Title: gdb versions greater than 8.2.50 don't always respect solib-search- path Status in gdb package in Ubuntu: New Bug description: apport-retrace utilizes gdb in a sandbox and sets multiple configuration options so that is possible to retrace crashes from an operating system other than that in which the crash occurred. This was working great until gdb version 8.2.50.20190213-0ubuntu1 became available for disco. Here's an example of the gdb command used: Calling gdb command: '/srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64 /report-sandbox/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2' '/srv/vms /apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/bin/gdb' --ex 'set debug-file-directory /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/usr/lib/debug' --ex 'set solib-absolute- prefix /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox' --ex 'add-auto-load-safe-path /srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox' --ex 'set solib-search-path /srv/vms /apport-sandbox-dir/Ubuntu 19.04/amd64/report-sandbox/lib/x86_64 -linux-gnu' --ex 'set data-directory /srv/vms/apport-sandbox- dir/Ubuntu 19.04/amd64/report-sandbox/usr/share/gdb' --ex 'file "/srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report- sandbox//usr/bin/gnome-calculator"' --ex 'core-file /tmp/apport_core_hj0ttq6p' With the new versions of gdb multiple shared object libraries are no longer loaded when analyzing the same crash file. I'll add the differences as comments. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1818884/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

