unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Andrew Tropin <andrew@trop.in>
Cc: 62291@debbugs.gnu.org
Subject: bug#62291: 30.0.50; PGTK copy + paste to other app problem
Date: Mon, 20 Mar 2023 20:36:48 +0800	[thread overview]
Message-ID: <875yav1twf.fsf@yahoo.com> (raw)
In-Reply-To: <871qljisd9.fsf@trop.in> (Andrew Tropin's message of "Mon, 20 Mar 2023 15:17:54 +0400")

Andrew Tropin <andrew@trop.in> writes:

> #0  0x00007ffff71a9424 in signal_emit_unlocked_R.isra.0 () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #1  0x00007ffff71af21b in g_signal_emit_valist () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #2  0x00007ffff71af722 in g_signal_emit () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #3  0x00007ffff719b884 in g_object_dispatch_properties_changed () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #4  0x00007ffff719d834 in g_object_notify_by_pspec () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #5  0x00007ffff79afbcd in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0
> #6  0x00007ffff79de357 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0
> #7  0x00007ffff71974af in g_closure_invoke () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #8  0x00007ffff71a89e9 in signal_emit_unlocked_R.isra.0 () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #9  0x00007ffff71aed65 in g_signal_emit_valist () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #10 0x00007ffff71af722 in g_signal_emit () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libgobject-2.0.so.0
> #11 0x00007ffff798ac04 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0
> #12 0x00007ffff784b37a in gtk_main_do_event () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0
> #13 0x00007ffff7ef23c5 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgdk-3.so.0
> #14 0x00007ffff7f4f352 in ?? () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgdk-3.so.0
> #15 0x00007ffff70a34cb in g_main_context_dispatch () from /gnu/store/ginkhx2irsi4qwkpnnwg4r30h7jwhi62-glib-2.70.2/lib/libglib-2.0.so.0
> #16 0x000000000064c548 in pgtk_read_socket ()
> #17 0x0000000000515762 in gobble_input ()
> #18 0x0000000000515b85 in unblock_input_to ()
> #19 0x0000000000516a38 in timer_check ()
> #20 0x0000000000516f75 in readable_events ()
> #21 0x0000000000517138 in get_input_pending ()
> #22 0x000000000051beb8 in detect_input_pending_run_timers ()
> #23 0x00000000005f40c8 in wait_reading_process_output ()
> #24 0x0000000000437bd0 in sit_for ()
> #25 0x000000000051ea0f in read_char ()
> #26 0x000000000051f2ed in read_key_sequence ()
> #27 0x0000000000520f12 in command_loop_1 ()
> #28 0x0000000000596757 in internal_condition_case ()
> #29 0x000000000050d13a in command_loop_2 ()
> #30 0x00000000005966b1 in internal_catch ()
> #31 0x000000000050d0df in command_loop ()
> #32 0x0000000000513f43 in recursive_edit_1 ()
> #33 0x00000000005142ba in Frecursive_edit ()
> #34 0x000000000042d022 in main ()

Thanks.  What this says is that GDK has emitted an event, which is being
dispatched to what it thinks is a widget, but either the widget's signal
handler or the widget itself is invalid, causing GObject to crash during
signal dispatch.

Would you please install debuginfo for libgdk-3.so.0, libgtk-3.so.0 and
libgobject-2.0.so.0 (I'm not sure how to this in the GuixSD) and try to
figure out what event is causing the crash?

I suggest going up to frame #12 and typing:

  (gdb) p *event

after the debuginfo is installed and loaded by GDB.





  reply	other threads:[~2023-03-20 12:36 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 10:33 bug#62291: 30.0.50; PGTK copy + paste to other app problem Andrew Tropin
2023-03-20 11:05 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-20 11:17   ` Andrew Tropin
2023-03-20 12:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-03-21  9:10       ` Andrew Tropin
2023-03-21 10:30         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-21 13:25           ` Andrew Tropin
2023-03-21 16:13           ` Andrew Tropin
2023-03-22  0:39             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-22  4:42               ` Andrew Tropin
2023-03-22  6:11                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-22  7:28                   ` Andrew Tropin
2023-03-22 10:33                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-22 11:02                       ` Andrew Tropin
2023-03-23  0:44                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-23  5:18                           ` Andrew Tropin
2023-03-23  7:16                             ` Eli Zaretskii
2023-03-23 18:22                               ` Andrew Tropin
2023-03-24  1:00                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-24  4:31                                   ` Andrew Tropin
2023-03-24  7:51                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-24 10:39                                       ` Andrew Tropin
2023-03-24 11:40                                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-12  0:11                                           ` Stefan Kangas
2023-09-12 11:24                                             ` Andrew Tropin
2023-09-12 14:50                                               ` Stefan Kangas

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yav1twf.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=62291@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).