Public bug reported:

gdb got source code location, but cannot find source files.

(gdb) fr 12
#12 0x00007ffff794bb63 in png_create_write_struct_2 (user_png_ver=<optimized 
out>, error_ptr=<optimized out>, error_fn=<optimized out>, warn_fn=<optimized 
out>, mem_ptr=mem_ptr@entry=0x0, 
    malloc_fn=malloc_fn@entry=0x0, free_fn=0x0) at 
/build/libpng1.6-IYgvqB/libpng1.6-1.6.37/pngwrite.c:524
524     /build/libpng1.6-IYgvqB/libpng1.6-1.6.37/pngwrite.c: No such file or 
directory.

$ gdb --version
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
$ dpkg -l | grep libpng
ii  libpng-dev:amd64                                            1.6.37-3build5  
                                               amd64        PNG library - 
development (version 1.6)
ii  libpng-tools                                                1.6.37-3build5  
                                               amd64        PNG library - tools 
(version 1.6)
ii  libpng16-16:amd64                                           1.6.37-3build5  
                                               amd64        PNG library - 
runtime (version 1.6)
ii  libpng16-16:i386                                            1.6.37-3build5  
                                               i386         PNG library - 
runtime (version 1.6)
ii  libpng16-16-dbgsym:amd64                                    1.6.37-3build5  
                                               amd64        debug symbols for 
libpng16-16

$ lsb_release -rd
Description:    Ubuntu 22.04.5 LTS
Release:        22.04

** Affects: libpng (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dbgsym

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

Title:
  libpng16-16-dbgsym does not work with gdb

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


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

Reply via email to