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: Tue, 21 Mar 2023 18:30:51 +0800	[thread overview]
Message-ID: <87o7omz99g.fsf@yahoo.com> (raw)
In-Reply-To: <878rfqxyff.fsf@trop.in> (Andrew Tropin's message of "Tue, 21 Mar 2023 13:10:12 +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 (terminal=<optimized out>, hold_quit=0x7fffffffba00) at pgtkterm.c:3840
> #17 pgtk_read_socket (terminal=<optimized out>, hold_quit=0x7fffffffba00) at pgtkterm.c:3819
> #18 0x0000000000515762 in gobble_input () at keyboard.c:7416
> #19 0x0000000000515b85 in handle_async_input () at keyboard.c:7647
> #20 process_pending_signals () at keyboard.c:7661
> #21 unblock_input_to (level=0) at keyboard.c:7676
> #22 unblock_input_to (level=<optimized out>) at keyboard.c:7670
> #23 0x0000000000516a38 in unblock_input () at keyboard.c:7695
> #24 timer_check () at keyboard.c:4741
> #25 0x0000000000516f75 in readable_events (flags=flags@entry=1) at keyboard.c:3523
> #26 0x0000000000517138 in get_input_pending (flags=flags@entry=1) at keyboard.c:7366
> #27 0x000000000051beb8 in detect_input_pending_run_timers (do_display=do_display@entry=true) at keyboard.c:10896
> #28 0x00000000005f40c8 in wait_reading_process_output (time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, 
>     wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, just_wait_proc=<optimized out>) at process.c:5779
> #29 0x0000000000437bd0 in sit_for (timeout=timeout@entry=0x7a, reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:6256
> #30 0x000000000051ea0f in read_char (commandflag=1, map=0xdecb23, prev_event=0x0, used_mouse_menu=0x7fffffffc55b, end_time=0x0) at lisp.h:759
> #31 0x000000000051f2ed in read_key_sequence (keybuf=<optimized out>, prompt=0x0, dont_downcase_last=<optimized out>, can_return_switch_frame=true, fix_current_buffer=true, 
>     prevent_redisplay=<optimized out>) at keyboard.c:10073
> #32 0x0000000000520f12 in command_loop_1 () at lisp.h:1164
> --Type <RET> for more, q to quit, c to continue without paging--
> #33 0x0000000000596757 in internal_condition_case (bfun=bfun@entry=0x520d40 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x514390 <cmd_error>) at eval.c:1474
> #34 0x000000000050d13a in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1124
> #35 0x00000000005966b1 in internal_catch (tag=tag@entry=0xfea0, func=func@entry=0x50d120 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1197
> #36 0x000000000050d0df in command_loop () at lisp.h:1164
> #37 0x0000000000513f43 in recursive_edit_1 () at keyboard.c:711
> #38 0x00000000005142ba in Frecursive_edit () at keyboard.c:794
> #39 0x000000000042d022 in main (argc=<optimized out>, argv=<optimized out>) at emacs.c:2529
> (gdb) frame 12
> #12 0x00007ffff784b37a in gtk_main_do_event () from /gnu/store/1y2rd23xx129v1y0qglijws0s208aj8p-gtk+-3.24.30/lib/libgtk-3.so.0
> (gdb) p *event
> No symbol "event" in current context.
> (gdb) p *event<TAB>
> event_arm_timer                                        event_head                                             event_queue_insert_if_intersect_below_current_y[part]
> event_callback                                         event_inotify_data_drop                                event_queue_t
> event_check                                            event_insert_if_intersect_below_current_y              event_source_type_table
> event_dispatch                                         event_kind                                             event_to_kboard
> event_free[part]                                       event_listeners                                        event_unmask_signal_data
> event_free_inode_data                                  event_log_delays                                       eventfd
> event_free_inotify_data                                event_make_inode_data                                  eventfd@got[plt]
> event_free_signal_data                                 event_make_inotify_data                                eventfd@plt
> event_funcs                                            event_make_signal_data                                 eventfd_read
> event_gc_inode_data                                    event_next_pending                                     eventfd_write
> event_gc_signal_data                                   event_prepare                                          
> event_get_clock_data                                   event_q 
>
> It complains `No symbol "event" in current context.`, am I did something
> wrong?

Yes, you didn't get debug information loaded in GDB.

What does:

  (gdb) info sharedlibrary

say?





  reply	other threads:[~2023-03-21 10:30 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
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 [this message]
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=87o7omz99g.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).