This test case doesn't involve snaps, notice the file switch to gdb:

--ex 'file "/srv/vms/apport-sandbox-dir/Ubuntu 19.04/amd64/report-
sandbox//usr/bin/gnome-calculator"'

This is still an issue with the version of gdb from eoan, 8.3-0ubuntu1,
and eoan's gnome-calculator package.

Calling gdb command: '/srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2' 
'/srv/vms/apport-sandbox-dir/Ubuntu 19.10/amd64/report-sandbox/usr/bin/gdb' 
--ex 'set debug-file-directory /srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/usr/lib/debug' --ex 'set solib-absolute-prefix 
/srv/vms/apport-sandbox-dir/Ubuntu 19.10/amd64/report-sandbox' --ex 
'add-auto-load-safe-path /srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox' --ex 'set solib-search-path 
/srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/lib/x86_64-linux-gnu:/srv/vms/apport-sandbox-dir/Ubuntu
 19.10/amd64/report-sandbox/usr/lib/x86_64-linux-gnu' --ex 'set data-directory 
/srv/vms/apport-sandbox-dir/Ubuntu 19.10/amd64/report-sandbox/usr/share/gdb' 
--ex 'file "/srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox//usr/bin/gnome-calculator"' --ex 'core-file 
/tmp/apport_core_b_z3909f'
/srv/vms/apport-sandbox-dir/Ubuntu 19.10/amd64/report-sandbox/usr/bin/gdb: 
warning: Couldn't determine a path for the index cache directory.
GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3
Copyright (C) 2019 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 /srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox//usr/bin/gnome-calculator...
Reading symbols from /srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/usr/lib/debug/.build-id/42/410fc27971e3eb1d581449a1687495a876ab5b.debug...
could not find '.gnu_debugaltlink' file for /srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/usr/lib/debug/.build-id/42/410fc27971e3eb1d581449a1687495a876ab5b.debug
(No debugging symbols found in /srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/usr/lib/debug/.build-id/42/410fc27971e3eb1d581449a1687495a876ab5b.debug)
[New LWP 14762]
[New LWP 14766]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/srv/vms/apport-sandbox-dir/Ubuntu 
19.10/amd64/report-sandbox/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-calculator'.

Attached you'll find the core file for gnome-calculator. Is there
anything more I can give you?

** Attachment added: "apport_core_b_z3909f.gz"
   
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1818918/+attachment/5265338/+files/apport_core_b_z3909f.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818918

Title:
  gdb doesn't search in debug-file-directory for .gnu_debugaltlink

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1818918/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to