unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Ponce <da_vid@orange.fr>
To: 69287@debbugs.gnu.org
Subject: bug#69287: 30.0.50; Pasting text from KDE clipboard sometimes crashes Emacs
Date: Tue, 20 Feb 2024 17:22:06 +0100	[thread overview]
Message-ID: <310f894a-3bf4-4643-9226-ff9c7129b9e2@orange.fr> (raw)
In-Reply-To: <1f683fcb-bfb6-4d06-b0a2-40efda029649@orange.fr>

[-- Attachment #1: Type: text/plain, Size: 75 bytes --]

Another backtrace I just got, which looks different, but still involves GC.

[-- Attachment #2: emacs-crash-bt2.txt --]
[-- Type: text/plain, Size: 4572 bytes --]

Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:442
442       signal (sig, SIG_DFL);
(gdb) bt
#0  terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:442
#1  0x0000000000424507 in emacs_abort () at sysdep.c:2390
#2  0x00000000004258f3 in process_mark_stack (base_sp=0) at alloc.c:7348
#3  0x00000000005b2c4b in mark_object (obj=<optimized out>) at alloc.c:7476
#4  0x0000000000560dad in mark_kboards () at keyboard.c:14000
#5  0x00000000005b3490 in garbage_collect () at alloc.c:6594
#6  0x00000000005b4091 in maybe_garbage_collect () at alloc.c:6497
#7  0x000000000061b15a in maybe_gc () at ~/installs/emacs/src/lisp.h:5723
#8  exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>)
    at bytecode.c:789
#9  0x00000000005d4ec6 in Ffuncall (nargs=nargs@entry=3, args=0x7fffffffd140) at eval.c:3022
#10 0x00000000005d5230 in Fapply (nargs=nargs@entry=2, args=args@entry=0x7fffffffd1e0) at eval.c:2693
#11 0x00000000005d57fa in apply1 (arg=XIL(0x1f96d23), fn=<optimized out>) at eval.c:2909
#12 call_debugger (arg=XIL(0x1f96d23)) at eval.c:310
#13 0x00000000005d5f8f in maybe_call_debugger (error=XIL(0x1f96d43), conditions=XIL(0x7ffff47b0c5b)) at eval.c:2051
#14 signal_or_quit (error_symbol=<optimized out>, data=<optimized out>, continuable=continuable@entry=false) at eval.c:1876
#15 0x0000000000426912 in Fsignal (error_symbol=<optimized out>, error_symbol@entry=XIL(0x11e80), data=<optimized out>)
    at eval.c:1746
#16 0x000000000042693c in xsignal (data=<optimized out>, error_symbol=XIL(0x11e80)) at ~/installs/emacs/src/lisp.h:4641
#17 xsignal1 (error_symbol=error_symbol@entry=XIL(0x11e80), arg=arg@entry=XIL(0)) at eval.c:1906
#18 0x0000000000426d9d in funcall_general (fun=<optimized out>, numargs=1, args=0x7fffe6400100) at eval.c:2976
#19 0x000000000061afcc in exec_byte_code
    (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:816
#20 0x00000000005d4ec6 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffd428) at eval.c:3022
#21 0x00000000005d0c3e in Ffuncall_interactively (nargs=2, args=0x7fffffffd428) at callint.c:250
#22 0x00000000005d4ec6 in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7fffffffd420) at eval.c:3022
#23 0x00000000005d162e in Fcall_interactively (function=<optimized out>, record_flag=<optimized out>, keys=<optimized out>)
    at callint.c:789
#24 0x000000000061afac in exec_byte_code
--Type <RET> for more, q to quit, c to continue without paging--
    (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>)
    at ~/installs/emacs/src/lisp.h:2208
#25 0x00000000005d4ec6 in Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffffd850) at eval.c:3022
#26 0x000000000055a830 in read_char
    (commandflag=1, map=map@entry=XIL(0x1f97943), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x7fffffffdbfb, end_time=end_time@entry=0x0) at keyboard.c:3075
#27 0x000000000055c028 in read_key_sequence
    (keybuf=keybuf@entry=0x7fffffffdd30, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false) at keyboard.c:10706
#28 0x000000000055e196 in command_loop_1 () at keyboard.c:1427
#29 0x00000000005d36a7 in internal_condition_case
    (bfun=bfun@entry=0x55dfe0 <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x551700 <cmd_error>)
    at eval.c:1537
#30 0x0000000000549d7a in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1166
#31 0x00000000005d3601 in internal_catch
    (tag=tag@entry=XIL(0x10830), func=func@entry=0x549d60 <command_loop_2>, arg=arg@entry=XIL(0x90)) at eval.c:1217
#32 0x0000000000549d1f in command_loop () at keyboard.c:1144
#33 0x00000000005512c3 in recursive_edit_1 () at keyboard.c:753
#34 0x000000000055162e in Frecursive_edit () at keyboard.c:836
#35 0x000000000042c70b in main (argc=<optimized out>, argv=<optimized out>) at emacs.c:2624

Lisp Backtrace:
"Automatic GC" (0x0)
"record" (0xe6400188)
"debug" (0xffffd148)
"nil" (0xe6400100)
"file-notify-handle-event" (0xffffd430)
"funcall-interactively" (0xffffd428)
--Type <RET> for more, q to quit, c to continue without paging--
"call-interactively" (0xe6400070)
"command-execute" (0xffffd858)

  reply	other threads:[~2024-02-20 16:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 14:59 bug#69287: 30.0.50; Pasting text from KDE clipboard sometimes crashes Emacs David Ponce
2024-02-20 16:22 ` David Ponce [this message]
2024-02-21  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21  9:58   ` David Ponce
2024-02-21 11:34     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 15:31     ` Eli Zaretskii
2024-02-22  9:14       ` David Ponce
2024-02-21 12:34   ` Eli Zaretskii

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=310f894a-3bf4-4643-9226-ff9c7129b9e2@orange.fr \
    --to=da_vid@orange.fr \
    --cc=69287@debbugs.gnu.org \
    /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).