From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77F023858D38; Thu, 26 Jan 2023 14:23:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77F023858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674742991; bh=nIzFrnxqq9GCvwKHKCOx75Mq8I/93WwuDkkdsADg8SI=; h=From:To:Subject:Date:From; b=GuaInwjM5rOAWGI4OOidS35REvLvYQLhtZ/cPReg+/qU2FhHGDRgyHmht8y0K9Nk3 HC4aRTWLP82quDdHKRIxY6mbGx1CeSrvmEGV4bKj96YYh8OF8AEUS+TRAUkMDdWmRx QkuadgodXhCSyakCic2M74vH+IDvBJjGruJeOIMo= From: "brian at interlinx dot bc.ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/30055] New: warning: Can't open file ... (deleted) during file-backed mapping note processing Date: Thu, 26 Jan 2023 14:23:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: brian at interlinx dot bc.ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30055 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 (delet= ed) 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-ba= cked mapping note processing warning: Can't open file /usr/lib64/libnssutil3.so (deleted) during file-ba= cked 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-back= ed 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) dur= ing 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-ba= cked 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=3D, n_fds=3D2, fds=3D0x55777d09e7e0, timeout=3D, context=3D0x557= 77d0913a0) at ../glib/gmain.c:4543 ret =3D errsv =3D poll_func =3D 0x7f7fee3b6300 max_priority =3D 2147483647 timeout =3D 25000 some_ready =3D nfds =3D 2 allocated_nfds =3D fds =3D 0x55777d09e7e0 begin_time_nsec =3D 4734704368483077 #7 g_main_context_iterate.constprop.0 (context=3D0x55777d0913a0, block=3D1, dispatch=3D1, self=3D) at ../glib/gmain.c:4233 max_priority =3D 2147483647 timeout =3D 25000 --Type for more, q to quit, c to continue without paging--c some_ready =3D nfds =3D 2 allocated_nfds =3D fds =3D 0x55777d09e7e0 begin_time_nsec =3D 4734704368483077 #8 0x00007f7fee3b028f in g_main_loop_run (loop=3D0x55777d092c90) at ../glib/gmain.c:4438 __func__ =3D "g_main_loop_run" #9 0x000055777c9fc5bb in main (argc=3D, argv=3D) at ../src/calendar-server/gnome-shell-calendar-server.c:1114 error =3D 0x0 opt_context =3D 0x55777d0912c0 main_loop =3D 0x55777d092c90 ret =3D 1 name_owner_id =3D 1 stdin_channel =3D 0x55777d08dc60 __func__ =3D "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=3D, n_fds=3D3, fds=3D0x7f7fe4010710, timeout=3D, context=3D0x7f7= fe400ea60) at ../glib/gmain.c:4543 ret =3D errsv =3D poll_func =3D 0x7f7fee3b6300 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 3 allocated_nfds =3D fds =3D 0x7f7fe4010710 begin_time_nsec =3D 4734704372954064 #7 g_main_context_iterate.constprop.0 (context=3D0x7f7fe400ea60, block=3D1, dispatch=3D1, self=3D) at ../glib/gmain.c:4233 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 3 allocated_nfds =3D fds =3D 0x7f7fe4010710 begin_time_nsec =3D 4734704372954064 #8 0x00007f7fee3b028f in g_main_loop_run (loop=3D0x7f7fe400eb50) at ../glib/gmain.c:4438 __func__ =3D "g_main_loop_run" #9 0x00007f7fee29288a in gdbus_shared_thread_func (user_data=3D0x7f7fe400e= a30) at ../gio/gdbusprivate.c:284 data =3D 0x7f7fe400ea30 #10 0x00007f7fee3da9c2 in g_thread_proxy (data=3D0x7f7fe4001520) at ../glib/gthread.c:831 thread =3D 0x7f7fe4001520 __func__ =3D "g_thread_proxy" #11 0x00007f7fedfa714d in start_thread (arg=3D0x7f7fe95f86c0) at pthread_create.c:358 __futex =3D 0x7f7fe95f86c0 __private =3D 0 __oldval =3D setup_failed =3D false pd =3D 0x7f7fe95f86c0 unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {140187352925888, 8974692696615974926, -128, 11, 140187361315152, 140187344535552, -9046797290415163378, -9046789911212165106}, mask_was_saved =3D 0}}, priv = =3D {pad =3D {0x0, 0x0, 0x0, 0x0}, data =3D {prev =3D 0x0, cleanup =3D 0x0, cancelty= pe =3D 0}}} not_first_call =3D #12 0x00007f7fee028a00 in __closefrom_fallback (from=3D0, dirfd_fallback=3D) at ../sysdeps/unix/sysv/linux/closefrom_fallback.c:57 dirfd =3D -302354816 buffer =3D '\000' ret =3D 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=3D, n_fds=3D1, fds=3D0x7f7fd00036b0, timeout=3D, context=3D0x7f7= fd00069e0) at ../glib/gmain.c:4543 ret =3D errsv =3D poll_func =3D 0x7f7fee3b6300 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 1 allocated_nfds =3D fds =3D 0x7f7fd00036b0 begin_time_nsec =3D 4734687509851131 #7 g_main_context_iterate.constprop.0 (context=3D0x7f7fd00069e0, block=3D1, dispatch=3D1, self=3D) at ../glib/gmain.c:4233 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 1 allocated_nfds =3D fds =3D 0x7f7fd00036b0 begin_time_nsec =3D 4734687509851131 #8 0x00007f7fee3b028f in g_main_loop_run (loop=3D0x7f7fbc002000) at ../glib/gmain.c:4438 __func__ =3D "g_main_loop_run" #9 0x00007f7fee5fefc7 in cal_client_dbus_thread () at /lib64/libecal-2.0.s= o.2 #10 0x00007f7fee3da9c2 in g_thread_proxy (data=3D0x7f7fcc23db60) at ../glib/gthread.c:831 thread =3D 0x7f7fcc23db60 __func__ =3D "g_thread_proxy" #11 0x00007f7fedfa714d in start_thread (arg=3D0x7f7fd97fa6c0) at pthread_create.c:358 __futex =3D 0x7f7fd97fa6c0 __private =3D 0 __oldval =3D setup_failed =3D false pd =3D 0x7f7fd97fa6c0 unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {140187086595776, 8974692696615974926, -128, 0, 140187120163040, 140187078205440, -9046832757181351922, -9046789911212165106}, mask_was_saved =3D 0}}, priv = =3D {pad =3D {0x0, 0x0, 0x0, 0x0}, data =3D {prev =3D 0x0, cleanup =3D 0x0, cancelty= pe =3D 0}}} not_first_call =3D #12 0x00007f7fee028a00 in __closefrom_fallback (from=3D0, dirfd_fallback=3D) at ../sysdeps/unix/sysv/linux/closefrom_fallback.c:57 dirfd =3D -302354816 buffer =3D '\000' ret =3D 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=3D, n_fds=3D1, fds=3D0x55777d0b2220, timeout=3D, context=3D0x557= 77d0b22b0) at ../glib/gmain.c:4543 ret =3D errsv =3D poll_func =3D 0x7f7fee3b6300 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 1 allocated_nfds =3D fds =3D 0x55777d0b2220 begin_time_nsec =3D 4734569204083162 #7 g_main_context_iterate.constprop.0 (context=3D0x55777d0b22b0, block=3D1, dispatch=3D1, self=3D) at ../glib/gmain.c:4233 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 1 allocated_nfds =3D fds =3D 0x55777d0b2220 begin_time_nsec =3D 4734569204083162 #8 0x00007f7fee3adf40 in g_main_context_iteration (context=3Dcontext@entry=3D0x55777d0b22b0, may_block=3Dmay_block@entry=3D1)= at ../glib/gmain.c:4303 retval =3D #9 0x00007f7fee67538d in dconf_gdbus_worker_thread (user_data=3D0x55777d0b= 22b0) at ../gdbus/dconf-gdbus-thread.c:82 context =3D 0x55777d0b22b0 #10 0x00007f7fee3da9c2 in g_thread_proxy (data=3D0x55777d0aae40) at ../glib/gthread.c:831 thread =3D 0x55777d0aae40 __func__ =3D "g_thread_proxy" #11 0x00007f7fedfa714d in start_thread (arg=3D0x7f7fe8d4c6c0) at pthread_create.c:358 __futex =3D 0x7f7fe8d4c6c0 __private =3D 0 __oldval =3D setup_failed =3D false pd =3D 0x7f7fe8d4c6c0 unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {140187343832768, 8974692696615974926, -128, 17, 140729989008000, 140187335442432, -9046796120036575218, -9046789911212165106}, mask_was_saved =3D 0}}, priv = =3D {pad =3D {0x0, 0x0, 0x0, 0x0}, data =3D {prev =3D 0x0, cleanup =3D 0x0, cancelty= pe =3D 0}}} not_first_call =3D #12 0x00007f7fee028a00 in __closefrom_fallback (from=3D0, dirfd_fallback=3D) at ../sysdeps/unix/sysv/linux/closefrom_fallback.c:57 dirfd =3D -302354816 buffer =3D '\000' ret =3D 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=3D, n_fds=3D1, fds=3D0x55777d094430, timeout=3D, context=3D0x557= 77d095e50) at ../glib/gmain.c:4543 ret =3D errsv =3D poll_func =3D 0x7f7fee3b6300 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 1 allocated_nfds =3D fds =3D 0x55777d094430 begin_time_nsec =3D 2892211100517297 #7 g_main_context_iterate.constprop.0 (context=3D0x55777d095e50, block=3D1, dispatch=3D1, self=3D) at ../glib/gmain.c:4233 max_priority =3D 2147483647 timeout =3D -1 some_ready =3D nfds =3D 1 allocated_nfds =3D fds =3D 0x55777d094430 begin_time_nsec =3D 2892211100517297 #8 0x00007f7fee3adf40 in g_main_context_iteration (context=3D0x55777d095e5= 0, may_block=3Dmay_block@entry=3D1) at ../glib/gmain.c:4303 retval =3D #9 0x00007f7fee3afbd1 in glib_worker_main (data=3D) at ../glib/gmain.c:6414 #10 0x00007f7fee3da9c2 in g_thread_proxy (data=3D0x55777d084c00) at ../glib/gthread.c:831 thread =3D 0x55777d084c00 __func__ =3D "g_thread_proxy" #11 0x00007f7fedfa714d in start_thread (arg=3D0x7f7fea5fa6c0) at pthread_create.c:358 __futex =3D 0x7f7fea5fa6c0 __private =3D 0 __oldval =3D setup_failed =3D false pd =3D 0x7f7fea5fa6c0 unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {140187369711296, 8974692696615974926, -128, 0, 140729989010848, 140187361320960, -9046790700861589490, -9046789911212165106}, mask_was_saved =3D 0}}, priv = =3D {pad =3D {0x0, 0x0, 0x0, 0x0}, data =3D {prev =3D 0x0, cleanup =3D 0x0, cancelty= pe =3D 0}}} not_first_call =3D #12 0x00007f7fee028a00 in __closefrom_fallback (from=3D0, dirfd_fallback=3D) at ../sysdeps/unix/sysv/linux/closefrom_fallback.c:57 dirfd =3D -302354816 buffer =3D '\000' ret =3D false #13 0x0000000000000000 in () Thread 1 (Thread 0x7f7fdbfff6c0 (LWP 386647)): #0 0x00007f7fedfa8e7c in __pthread_kill_implementation (threadid=3D386647, signo=3D6, no_tid=3D) at pthread_kill.c:66 __futex =3D 0x7f7fee652000 __private =3D 0 __oldval =3D 0 pd =3D 0x5e657 old_mask =3D {__val =3D {4}} ret =3D -603982144 #1 0x00007f7fedf58aa6 in killpg (pgrp=3D386641, sig=3D386647) 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 =3D 1 act =3D {__sigaction_handler =3D {sa_handler =3D 0x20, sa_sigaction= =3D 0x20}, sa_mask =3D {__val =3D {140187434448652, 0, 140187434467056, 14018773254143= 9, 140187436003341, 0, 8, 0, 3, 8, 140187434449506, 140187434829230, 140187435216873, 18446744073709551615, 140187434828995, 140187195791088}}, sa_flags =3D -1, sa_restorer =3D 0x7f7fee4144d6} #4 0x00007f7fedf9d0ae in __libc_message (action=3D, fmt=3D) at ../sysdeps/posix/libc_fatal.c:156 ap =3D {{gp_offset =3D 24, fp_offset =3D 0, overflow_arg_area =3D 0x7f7fdbffdf80, reg_save_area =3D 0x7f7fdbffdf10}} fd =3D list =3D nlist =3D cp =3D #5 0x00007f7fedfb2bbc in int_mallinfo (av=3D0x0, m=3D0x8) at malloc.c:5169 i =3D b =3D p =3D avail =3D fastavail =3D 4294967295 nblocks =3D 1 nfastblocks =3D 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 () --=20 You are receiving this mail because: You are on the CC list for the bug.=