all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "andrés ramírez" <rrandresf@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
Date: Mon, 18 Apr 2022 08:49:52 +0000	[thread overview]
Message-ID: <86czhehj2n.fsf@gmail.com> (raw)
In-Reply-To: <87fsmaiycx.fsf@yahoo.com>

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

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]


    Po> Please follow the instructions I sent to the letter, and also remove the rest of the
    Po> extraneous breakpoints.  There is no way to know if this call to XRenderFreeGlyphs actually
    Po> caused the crash, if the error handler is not allowed to run after the breakpoint is hit.

Sending:

[-- Attachment #2: dbglog --]
[-- Type: text/plain, Size: 14824 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

break XRenderFreeGlyphs
Function "XRenderFreeGlyphs" not defined.
Breakpoint 4 (XRenderFreeGlyphs) pending.
(gdb) run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff258a640 (LWP 7932)]
[New Thread 0x7ffff1bdf640 (LWP 7934)]
[New Thread 0x7ffff124f640 (LWP 7935)]
[Detaching after vfork from child process 7937]
[Detaching after vfork from child process 7938]

Thread 1 "emacs" hit Breakpoint 4, 0x00007ffff7b7d830 in XRenderFreeGlyphs () from /usr/lib/libXrender.so.1
(gdb) bt
#0  0x00007ffff7b7d830 in XRenderFreeGlyphs () at /usr/lib/libXrender.so.1
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570ca9a in x_delete_terminal (terminal=0x555556731c78) at ../../src/xterm.c:13501
#12 0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab04)) at ../../src/xfns.c:5786
#13 0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555556742b65)) at ../../src/callint.c:353
#24 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x5555592087cd)) at ../../src/callint.c:353
#39 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#51 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 4, 0x00007ffff7b7d830 in XRenderFreeGlyphs () from /usr/lib/libXrender.so.1
(gdb) bt
#0  0x00007ffff7b7d830 in XRenderFreeGlyphs () at /usr/lib/libXrender.so.1
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570ca9a in x_delete_terminal (terminal=0x555556731c78) at ../../src/xterm.c:13501
#12 0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab04)) at ../../src/xfns.c:5786
#13 0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555556742b65)) at ../../src/callint.c:353
#24 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x5555592087cd)) at ../../src/callint.c:353
#39 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#51 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 3, x_error_handler (display=0x5555560e7d20, event=0x7fffffffb4e0) at ../../src/xterm.c:10270
warning: Source file is more recent than executable.
10270	  if (x_error_message)
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


Best Regards

  reply	other threads:[~2022-04-18  8:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-17 21:05 help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame) Andrés Ramírez
2022-04-17 23:59 ` Po Lu
     [not found]   ` <87y203np3y.fsf@manco.pe>
     [not found]     ` <87v8v7kv9h.fsf@yahoo.com>
2022-04-18  3:52       ` andrés ramírez
2022-04-18  5:06         ` Po Lu
2022-04-18  5:40           ` andrés ramírez
2022-04-18  5:55             ` Po Lu
2022-04-18  6:16               ` andres.ramirez
2022-04-18  6:53                 ` Po Lu
2022-04-18  7:37                   ` andrés ramírez
2022-04-18  8:00                     ` Po Lu
2022-04-18  8:14                       ` andrés ramírez
2022-04-18  8:34                         ` Po Lu
2022-04-18  8:49                           ` andrés ramírez [this message]
2022-04-18  9:05                             ` Po Lu
2022-04-18  9:32                               ` andrés ramírez
2022-04-18 10:29                                 ` Po Lu
2022-04-18 13:57                                   ` andrés ramírez
2022-04-19  0:53                                     ` Po Lu
2022-04-19 20:44                                       ` andrés ramírez
2022-04-18 14:43                                   ` multi-head x error RenderBadGlyph on lucid-frame (was: help needed with backtrace ) andrés ramírez

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=86czhehj2n.fsf@gmail.com \
    --to=rrandresf@gmail.com \
    --cc=emacs-devel@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.