From: Bjoern Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>, Po Lu <luangruo@yahoo.com>
Cc: 56967@debbugs.gnu.org
Subject: bug#56967: 29.0.50; Frequent crashes under Wayland
Date: Fri, 05 Aug 2022 03:18:17 +0300 [thread overview]
Message-ID: <16164156.Y83TkukXya@odin> (raw)
In-Reply-To: <87les46xem.fsf@yahoo.com>
> Eli Zaretskii <eliz@gnu.org> writes:
> > Then please run Emacs under a debugger, or attach a debugger to it
> > after you start it, and place a breakpoint in the function
> > Fkill_emacs. When that breakpoint breaks, produce a backtrace (with
> > the "thread apply all bt" command in GDB) and post that backtrace
> > here.
>
> Please also place a breakpoint on _exit -- GDK always calls that with
> the exit code 1 that when a display connection is abruptly lost, in
> which case Fkill_emacs has no chance to run.
>
> Thanks in advance.
Started emacs via systemd as and set both break points as asked.
There you go:
Thread 1 "emacs" hit Breakpoint 2, __GI__exit (status=status@entry=1) at ../
sysdeps/unix/sysv/linux/_exit.c:27
27 {
(gdb) bt
#0 __GI__exit (status=status@entry=1) at ../sysdeps/unix/sysv/linux/_exit.c:
27
#1 0x00007fdac9c825ae in gdk_event_source_check
(base=base@entry=0x5626b0eb7770) at ../gtk/gdk/wayland/gdkeventsource.c:97
#2 0x00007fdac962411f in g_main_context_check (context=0x5626b71d9be0,
max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at ../
glib/glib/gmain.c:4035
#3 0x00007fdac9679e5e in g_main_context_iterate.constprop.0
(context=context@entry=0x5626b71d9be0, block=block@entry=0,
dispatch=dispatch@entry=0, self=<optimized out>) at ../glib/glib/gmain.c:4208
#4 0x00007fdac962132d in g_main_context_pending (context=0x5626b71d9be0) at
../glib/glib/gmain.c:4241
#5 0x00005626ab4f3bd2 in pgtk_read_socket.lto_priv ()
#6 0x00005626ab3a3731 in gobble_input ()
#7 0x00005626ab3a3ba5 in unblock_input ()
#8 0x00005626ab4c7f23 in ftcrfont_text_extents.lto_priv ()
#9 0x00005626ab30e4a5 in gui_produce_glyphs ()
#10 0x00005626ab2fcb90 in display_line.lto_priv ()
#11 0x00005626ab2ef021 in try_window ()
#12 0x00005626ab2f6641 in redisplay_window.lto_priv ()
#13 0x00005626ab2e7a1e in redisplay_window_1 ()
#14 0x00005626ab427ecc in internal_condition_case_1 ()
#15 0x00005626ab2ec09a in redisplay_internal.lto_priv ()
#16 0x00005626ab51c025 in redisplay_preserve_echo_area.constprop ()
#17 0x00005626ab49e8d6 in wait_reading_process_output ()
#18 0x00005626ab2b6419 in sit_for ()
#19 0x00005626ab3a0f02 in read_char ()
#20 0x00005626ab3a83f4 in read_key_sequence.lto_priv ()
#21 0x00005626ab39bba8 in command_loop_1.lto_priv ()
#22 0x00005626ab427e37 in internal_condition_case ()
#23 0x00005626ab3939ce in command_loop_2 ()
#24 0x00005626ab427d7a in internal_catch ()
#25 0x00005626ab396cd9 in command_loop.lto_priv ()
#26 0x00005626ab5298ab in recursive_edit_1.isra ()
#27 0x00005626ab397090 in Frecursive_edit ()
#28 0x00005626ab2aac2f in main ()
(gdb)
next prev parent reply other threads:[~2022-08-05 0:18 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 7:36 bug#56967: 29.0.50; Frequent crashes under Wayland Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 8:01 ` Eli Zaretskii
[not found] ` <3230275.qDoO4GC8Cx@odin>
2022-08-04 8:21 ` Eli Zaretskii
2022-08-04 11:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 0:18 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-08-05 0:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:25 ` Eli Zaretskii
2022-08-05 6:28 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:43 ` Eli Zaretskii
2022-08-05 6:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 7:46 ` Eli Zaretskii
2022-08-05 8:26 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 8:38 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:56 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 11:40 ` Gregory Heytings
2022-08-05 11:50 ` Eli Zaretskii
[not found] ` <2972937.jrzt3BHeHG@odin>
2022-08-05 6:29 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-07 14:51 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-07 15:07 ` Eli Zaretskii
2022-08-07 15:14 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-07 15:44 ` Eli Zaretskii
2022-08-08 2:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-08 2:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-08 6:07 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-08 8:56 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-08 10:10 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-13 12:10 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-13 12:10 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-13 13:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-13 17:06 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:31 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <2189728.upBv5HjrgE@odin>
2022-08-05 6:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <1917872.q2Y8mqo1ke@odin>
2022-08-05 6:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 6:55 ` Bjoern Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 7:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-17 16:02 ` Gavin Massingham
[not found] <CAH3b6=SPM_Pys81fi-_Eu=VXO8mETqV+s0YFC+8c1huv4dmh9Q@mail.gmail.com>
2022-08-04 18:29 ` Eli Zaretskii
2022-08-05 7:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16164156.Y83TkukXya@odin \
--to=bug-gnu-emacs@gnu.org \
--cc=56967@debbugs.gnu.org \
--cc=bjorn.bidar@thaodan.de \
--cc=eliz@gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.