public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30055] New: warning: Can't open file ... (deleted) during file-backed mapping note processing
@ 2023-01-26 14:23 brian at interlinx dot bc.ca
  2023-01-26 15:31 ` [Bug gdb/30055] " amerey at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: brian at interlinx dot bc.ca @ 2023-01-26 14:23 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30055

            Bug ID: 30055
           Summary: warning: Can't open file ... (deleted) during
                    file-backed mapping note processing
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: brian at interlinx dot bc.ca
  Target Milestone: ---

In trying to get a usable stacktrace from a core file I encounter these
warnings:

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamelimapx.so (deleted)
during file-backed mapping note processing

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamelpop3.so (deleted)
during file-backed mapping note processing

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamelsmtp.so (deleted)
during file-backed mapping note processing

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamellocal.so (deleted)
during file-backed mapping note processing

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamelnntp.so (deleted)
during file-backed mapping note processing

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamelsendmail.so (deleted)
during file-backed mapping note processing

warning: Can't open file /home/brian/.config/dconf/user (deleted) during
file-backed mapping note processing

warning: Can't open file /usr/share/glib-2.0/schemas/gschemas.compiled
(deleted) during file-backed mapping note processing

warning: Can't open file /usr/lib64/libgpg-error.so.0.33.0 (deleted) during
file-backed mapping note processing

warning: Can't open file /usr/lib64/libresolv.so.2 (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libnssutil3.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libplc4.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libm.so.6 (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libnss3.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libplds4.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/liblzma.so.5.2.5 (deleted) during
file-backed mapping note processing

warning: Can't open file /usr/lib64/libnspr4.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libsmime3.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libssl3.so (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libsoup-3.0.so.0.6.0 (deleted) during
file-backed mapping note processing

warning: Can't open file /usr/lib64/evolution-data-server/libedbus-private.so
(deleted) during file-backed mapping note processing

warning: Can't open file /usr/lib64/libcamel-1.2.so.64.0.0 (deleted) during
file-backed mapping note processing

warning: Can't open file /usr/lib64/libc.so.6 (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/libedataserver-1.2.so.27.0.0 (deleted)
during file-backed mapping note processing

warning: Can't open file /usr/lib64/libecal-2.0.so.2.0.0 (deleted) during
file-backed mapping note processing

warning: Can't open file
/usr/lib64/evolution-data-server/camel-providers/libcamelrss.so (deleted)
during file-backed mapping note processing

warning: Can't open file /etc/dconf/db/distro (deleted) during file-backed
mapping note processing

warning: Can't open file /etc/dconf/db/site (deleted) during file-backed
mapping note processing

warning: Can't open file /etc/dconf/db/local (deleted) during file-backed
mapping note processing

warning: Can't open file /usr/lib64/gconv/gconv-modules.cache (deleted) during
file-backed mapping note processing

warning: Can't open file /usr/lib64/ld-linux-x86-64.so.2 (deleted) during
file-backed mapping note processing

warning: Can't open file /run/user/1001/dconf/user (deleted) during file-backed
mapping note processing

Even with debuginfo RPMs installed and using debuginfod, the stack trace has
very low quality as most of the frames are unresolved as you can see:

Thread 6 (Thread 0x7f7feac2a840 (LWP 386641)):
#0  0x00007f7fee01b05f in annobin_fts_set[start] () at
../sysdeps/wordsize-64/../../io/fts.c:440
#1  0x000055777d09e7e0 in  ()
#2  0x000055777d09e7e0 in  ()
#3  0x0000000000000002 in  ()
#4  0x000061a87d08dc60 in  ()
#5  0x0000000000000002 in  ()
#6  0x00007f7fee40650d in g_main_context_poll (priority=<optimized out>,
n_fds=2, fds=0x55777d09e7e0, timeout=<optimized out>, context=0x55777d0913a0)
at ../glib/gmain.c:4543
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7f7fee3b6300 <g_poll>
        max_priority = 2147483647
        timeout = 25000
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = <optimized out>
        fds = 0x55777d09e7e0
        begin_time_nsec = 4734704368483077
#7  g_main_context_iterate.constprop.0 (context=0x55777d0913a0, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
        max_priority = 2147483647
        timeout = 25000
--Type <RET> for more, q to quit, c to continue without paging--c
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = <optimized out>
        fds = 0x55777d09e7e0
        begin_time_nsec = 4734704368483077
#8  0x00007f7fee3b028f in g_main_loop_run (loop=0x55777d092c90) at
../glib/gmain.c:4438
        __func__ = "g_main_loop_run"
#9  0x000055777c9fc5bb in main (argc=<optimized out>, argv=<optimized out>) at
../src/calendar-server/gnome-shell-calendar-server.c:1114
        error = 0x0
        opt_context = 0x55777d0912c0
        main_loop = 0x55777d092c90
        ret = 1
        name_owner_id = 1
        stdin_channel = 0x55777d08dc60
        __func__ = "main"

Thread 5 (Thread 0x7f7fe95f86c0 (LWP 386645)):
#0  0x00007f7fee01b05f in annobin_fts_set[start] () at
../sysdeps/wordsize-64/../../io/fts.c:440
#1  0x00007f7fe4010710 in  ()
#2  0x00007f7fe4010710 in  ()
#3  0x0000000000000003 in  ()
#4  0xffffffffe9df8950 in  ()
#5  0x0000000000000003 in  ()
#6  0x00007f7fee40650d in g_main_context_poll (priority=<optimized out>,
n_fds=3, fds=0x7f7fe4010710, timeout=<optimized out>, context=0x7f7fe400ea60)
at ../glib/gmain.c:4543
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7f7fee3b6300 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = <optimized out>
        fds = 0x7f7fe4010710
        begin_time_nsec = 4734704372954064
#7  g_main_context_iterate.constprop.0 (context=0x7f7fe400ea60, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 3
        allocated_nfds = <optimized out>
        fds = 0x7f7fe4010710
        begin_time_nsec = 4734704372954064
#8  0x00007f7fee3b028f in g_main_loop_run (loop=0x7f7fe400eb50) at
../glib/gmain.c:4438
        __func__ = "g_main_loop_run"
#9  0x00007f7fee29288a in gdbus_shared_thread_func (user_data=0x7f7fe400ea30)
at ../gio/gdbusprivate.c:284
        data = 0x7f7fe400ea30
#10 0x00007f7fee3da9c2 in g_thread_proxy (data=0x7f7fe4001520) at
../glib/gthread.c:831
        thread = 0x7f7fe4001520
        __func__ = "g_thread_proxy"
#11 0x00007f7fedfa714d in start_thread (arg=0x7f7fe95f86c0) at
pthread_create.c:358
        __futex = 0x7f7fe95f86c0
        __private = 0
        __oldval = <optimized out>
        setup_failed = false
        pd = 0x7f7fe95f86c0
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140187352925888,
8974692696615974926, -128, 11, 140187361315152, 140187344535552,
-9046797290415163378, -9046789911212165106}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#12 0x00007f7fee028a00 in __closefrom_fallback (from=0,
dirfd_fallback=<optimized out>) at
../sysdeps/unix/sysv/linux/closefrom_fallback.c:57
        dirfd = -302354816
        buffer = '\000' <repeats 1023 times>
        ret = false
#13 0x0000000000000000 in  ()

Thread 4 (Thread 0x7f7fd97fa6c0 (LWP 386757)):
#0  0x00007f7fee01b05f in annobin_fts_set[start] () at
../sysdeps/wordsize-64/../../io/fts.c:440
#1  0x00007f7fd00036b0 in  ()
#2  0x00007f7fd00036b0 in  ()
#3  0x0000000000000001 in  ()
#4  0xffffffffdb7fd8e0 in  ()
#5  0x0000000000000001 in  ()
#6  0x00007f7fee40650d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f7fd00036b0, timeout=<optimized out>, context=0x7f7fd00069e0)
at ../glib/gmain.c:4543
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7f7fee3b6300 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x7f7fd00036b0
        begin_time_nsec = 4734687509851131
#7  g_main_context_iterate.constprop.0 (context=0x7f7fd00069e0, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x7f7fd00036b0
        begin_time_nsec = 4734687509851131
#8  0x00007f7fee3b028f in g_main_loop_run (loop=0x7f7fbc002000) at
../glib/gmain.c:4438
        __func__ = "g_main_loop_run"
#9  0x00007f7fee5fefc7 in cal_client_dbus_thread () at /lib64/libecal-2.0.so.2
#10 0x00007f7fee3da9c2 in g_thread_proxy (data=0x7f7fcc23db60) at
../glib/gthread.c:831
        thread = 0x7f7fcc23db60
        __func__ = "g_thread_proxy"
#11 0x00007f7fedfa714d in start_thread (arg=0x7f7fd97fa6c0) at
pthread_create.c:358
        __futex = 0x7f7fd97fa6c0
        __private = 0
        __oldval = <optimized out>
        setup_failed = false
        pd = 0x7f7fd97fa6c0
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140187086595776,
8974692696615974926, -128, 0, 140187120163040, 140187078205440,
-9046832757181351922, -9046789911212165106}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#12 0x00007f7fee028a00 in __closefrom_fallback (from=0,
dirfd_fallback=<optimized out>) at
../sysdeps/unix/sysv/linux/closefrom_fallback.c:57
        dirfd = -302354816
        buffer = '\000' <repeats 1023 times>
        ret = false
#13 0x0000000000000000 in  ()

Thread 3 (Thread 0x7f7fe8d4c6c0 (LWP 386646)):
#0  0x00007f7fee01b05f in annobin_fts_set[start] () at
../sysdeps/wordsize-64/../../io/fts.c:440
#1  0x000055777d0b2220 in  ()
#2  0x000055777d0b2220 in  ()
#3  0x0000000000000001 in  ()
#4  0xffffffff41010a80 in  ()
#5  0x0000000000000001 in  ()
#6  0x00007f7fee40650d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x55777d0b2220, timeout=<optimized out>, context=0x55777d0b22b0)
at ../glib/gmain.c:4543
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7f7fee3b6300 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x55777d0b2220
        begin_time_nsec = 4734569204083162
#7  g_main_context_iterate.constprop.0 (context=0x55777d0b22b0, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x55777d0b2220
        begin_time_nsec = 4734569204083162
#8  0x00007f7fee3adf40 in g_main_context_iteration
(context=context@entry=0x55777d0b22b0, may_block=may_block@entry=1) at
../glib/gmain.c:4303
        retval = <optimized out>
#9  0x00007f7fee67538d in dconf_gdbus_worker_thread (user_data=0x55777d0b22b0)
at ../gdbus/dconf-gdbus-thread.c:82
        context = 0x55777d0b22b0
#10 0x00007f7fee3da9c2 in g_thread_proxy (data=0x55777d0aae40) at
../glib/gthread.c:831
        thread = 0x55777d0aae40
        __func__ = "g_thread_proxy"
#11 0x00007f7fedfa714d in start_thread (arg=0x7f7fe8d4c6c0) at
pthread_create.c:358
        __futex = 0x7f7fe8d4c6c0
        __private = 0
        __oldval = <optimized out>
        setup_failed = false
        pd = 0x7f7fe8d4c6c0
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140187343832768,
8974692696615974926, -128, 17, 140729989008000, 140187335442432,
-9046796120036575218, -9046789911212165106}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#12 0x00007f7fee028a00 in __closefrom_fallback (from=0,
dirfd_fallback=<optimized out>) at
../sysdeps/unix/sysv/linux/closefrom_fallback.c:57
        dirfd = -302354816
        buffer = '\000' <repeats 1023 times>
        ret = false
#13 0x0000000000000000 in  ()

Thread 2 (Thread 0x7f7fea5fa6c0 (LWP 386643)):
#0  0x00007f7fee01b05f in annobin_fts_set[start] () at
../sysdeps/wordsize-64/../../io/fts.c:440
#1  0x000055777d094430 in  ()
#2  0x000055777d094430 in  ()
#3  0x0000000000000001 in  ()
#4  0xffffffff410115a0 in  ()
#5  0x0000000000000001 in  ()
#6  0x00007f7fee40650d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x55777d094430, timeout=<optimized out>, context=0x55777d095e50)
at ../glib/gmain.c:4543
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7f7fee3b6300 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x55777d094430
        begin_time_nsec = 2892211100517297
#7  g_main_context_iterate.constprop.0 (context=0x55777d095e50, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x55777d094430
        begin_time_nsec = 2892211100517297
#8  0x00007f7fee3adf40 in g_main_context_iteration (context=0x55777d095e50,
may_block=may_block@entry=1) at ../glib/gmain.c:4303
        retval = <optimized out>
#9  0x00007f7fee3afbd1 in glib_worker_main (data=<optimized out>) at
../glib/gmain.c:6414
#10 0x00007f7fee3da9c2 in g_thread_proxy (data=0x55777d084c00) at
../glib/gthread.c:831
        thread = 0x55777d084c00
        __func__ = "g_thread_proxy"
#11 0x00007f7fedfa714d in start_thread (arg=0x7f7fea5fa6c0) at
pthread_create.c:358
        __futex = 0x7f7fea5fa6c0
        __private = 0
        __oldval = <optimized out>
        setup_failed = false
        pd = 0x7f7fea5fa6c0
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140187369711296,
8974692696615974926, -128, 0, 140729989010848, 140187361320960,
-9046790700861589490, -9046789911212165106}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#12 0x00007f7fee028a00 in __closefrom_fallback (from=0,
dirfd_fallback=<optimized out>) at
../sysdeps/unix/sysv/linux/closefrom_fallback.c:57
        dirfd = -302354816
        buffer = '\000' <repeats 1023 times>
        ret = false
#13 0x0000000000000000 in  ()

Thread 1 (Thread 0x7f7fdbfff6c0 (LWP 386647)):
#0  0x00007f7fedfa8e7c in __pthread_kill_implementation (threadid=386647,
signo=6, no_tid=<optimized out>) at pthread_kill.c:66
        __futex = 0x7f7fee652000
        __private = 0
        __oldval = 0
        pd = 0x5e657
        old_mask = {__val = {4}}
        ret = -603982144
#1  0x00007f7fedf58aa6 in killpg (pgrp=386641, sig=386647) at
../sysdeps/posix/killpg.c:28
#2  0x00007f7fee0f0e90 in lock () at /lib64/libc.so.6
#3  0x00007f7fedf427fc in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20},
sa_mask = {__val = {140187434448652, 0, 140187434467056, 140187732541439,
140187436003341, 0, 8, 0, 3, 8, 140187434449506, 140187434829230,
140187435216873, 18446744073709551615, 140187434828995, 140187195791088}},
sa_flags = -1, sa_restorer = 0x7f7fee4144d6}
#4  0x00007f7fedf9d0ae in __libc_message (action=<optimized out>,
fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:156
        ap = {{gp_offset = 24, fp_offset = 0, overflow_arg_area =
0x7f7fdbffdf80, reg_save_area = 0x7f7fdbffdf10}}
        fd = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
#5  0x00007f7fedfb2bbc in int_mallinfo (av=0x0, m=0x8) at malloc.c:5169
        i = <optimized out>
        b = <optimized out>
        p = <optimized out>
        avail = <optimized out>
        fastavail = 4294967295
        nblocks = 1
        nfastblocks = 582
#6  0x00007f7fee5424e0 in  () at /lib64/libedataserver-1.2.so.27
#7  0x00000000ee545d59 in  ()
#8  0x00007f7fee414530 in  () at /lib64/libglib-2.0.so.0
#9  0x00007f7fe4007ed0 in  ()
#10 0x23ad735afef19b00 in  ()
#11 0x0000000000000000 in  ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/30055] warning: Can't open file ... (deleted) during file-backed mapping note processing
  2023-01-26 14:23 [Bug gdb/30055] New: warning: Can't open file ... (deleted) during file-backed mapping note processing brian at interlinx dot bc.ca
@ 2023-01-26 15:31 ` amerey at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: amerey at redhat dot com @ 2023-01-26 15:31 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30055

Aaron Merey <amerey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amerey at redhat dot com

--- Comment #1 from Aaron Merey <amerey at redhat dot com> ---
Hi Brian, can you please provide this core file so we can take a look?

For some of these "(deleted)" files it makes sense that debuginfod cannot
download since the files don't have a build-id associated with them. But
debuginfod should be able to get the shared libraries. Presumably your gdb has
debuginfod enabled and your $DEBUGINFOD_URLS environment variable contains the
URL of a server that has indexed these specific builds of the libraries?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-26 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 14:23 [Bug gdb/30055] New: warning: Can't open file ... (deleted) during file-backed mapping note processing brian at interlinx dot bc.ca
2023-01-26 15:31 ` [Bug gdb/30055] " amerey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).