unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ali Bahrami <ali_gnu2@emvision.com>
To: Po Lu <luangruo@yahoo.com>
Cc: 69762@debbugs.gnu.org
Subject: bug#69762: X11 versions of Emacs 29 on sparc fail at startup
Date: Wed, 13 Mar 2024 23:56:28 -0600	[thread overview]
Message-ID: <2de8afe1-6410-4729-abc1-cfd541b1b4d1@emvision.com> (raw)
In-Reply-To: <87jzm5vf8y.fsf@yahoo.com>

On 3/13/24 6:17 PM, Po Lu wrote:
> Please run Emacs under gdb (or some other suitable debugger, e.g. dbx)
> with the command-line options:
> 
>    -q -xrm 'Emacs.synchronous: True'
> 
> exactly as written above, break on xterm.c:x_error_quitter, and reply
> with the backtrace generated after this breakpoint is hit.

The gdb output follows. Thanks.

- Ali

-----
% gdb src/emacs
GNU gdb (GDB) 13.1
Copyright (C) 2023 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 "sparc-sun-solaris2.11".
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 src/emacs...
(gdb) break xterm.c:x_error_quitter
warning: could not convert 'x_error_quitter' from the host encoding (ISO-8859-1) to UTF-32.
This normally should not happen, please file a bug report.
Breakpoint 1 at 0x1001acebc: file xterm.c, line 26129.
(gdb) run -q -xrm 'Emacs.synchronous: True'
alib-us:~ alib$ cat Desktop/emacs-x.dbg
% gdb src/emacs
GNU gdb (GDB) 13.1
Copyright (C) 2023 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 "sparc-sun-solaris2.11".
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 src/emacs...
(gdb) break xterm.c:x_error_quitter
warning: could not convert 'x_error_quitter' from the host encoding (ISO-8859-1) to UTF-32.
This normally should not happen, please file a bug report.
Breakpoint 1 at 0x1001acebc: file xterm.c, line 26129.
(gdb) run -q -xrm 'Emacs.synchronous: True'
Starting program: /builds2/alib/emacs292/emacs-29.2/src/emacs -q -xrm 'Emacs.synchronous: True'
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
[New LWP    2        ]
[New Thread 2 (LWP 2)]
[Switching to Thread 1 (LWP 1)]

Thread 2 hit Breakpoint 1, x_error_quitter (display=0x101534ab0,
     event=0xffffffff7fffdc70) at xterm.c:26129
26129   {
(gdb) where
#0  x_error_quitter (display=0x101534ab0, event=0xffffffff7fffdc70)
     at xterm.c:26129
#1  0x00000001001acff0 in x_error_handler
     (display=<optimized out>, event=0xffffffff7fffdc70) at xterm.c:26117
#2  0x00007ffff09f7ec4 in _XError () at /usr/lib/64/libX11.so.4
#3  0x00007ffff09f27fc in handle_error () at /usr/lib/64/libX11.so.4
#4  0x00007ffff09f3a60 in _XReply () at /usr/lib/64/libX11.so.4
#5  0x00007ffff09e8230 in XSync () at /usr/lib/64/libX11.so.4
#6  0x00007ffff09e82e0 in _XSyncFunction () at /usr/lib/64/libX11.so.4
#7  0x00007ffff0211018 in XSyncCreateFence () at /usr/lib/64/libXext.so.0
#8  0x00000001001a4328 in x_sync_init_fences (f=0x1016fd3e8) at xterm.c:7064
#9  0x00000001001ceb20 in Fx_create_frame (parms=0x1015067d3) at xfns.c:5222
#10 0x0000000100281c40 in funcall_subr
     (subr=0x1008c16b0 <Sx_create_frame>, numargs=1, args=<optimized out>)
     at eval.c:3038
#11 0x00000001002d2cc8 in exec_byte_code
     (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at /builds2/alib/emacs292/emacs-29.2/src/lisp.h:2211
#12 0x000000010027e0f4 in Ffuncall (nargs=2, args=0x1010efe78) at eval.c:2999
#13 0x000000010027e634 in Fapply (nargs=2, args=0x1010efe78) at eval.c:2627
#14 0x0000000100281bc8 in funcall_subr
     (subr=0x1008c89c0 <Sapply>, numargs=2, args=0x1010efe78) at eval.c:3063
#15 0x00000001002d2cc8 in exec_byte_code
     (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at /builds2/alib/emacs292/emacs-29.2/src/lisp.h:2211
#16 0x0000000100283fbc in apply_lambda
     (fun=0xffffffff7ea0fa5d, args=<optimized out>, count=...) at eval.c:3107
#17 0x00000001002820d8 in eval_sub (form=<optimized out>) at eval.c:2592
#18 0x0000000100285260 in Feval
     (form=0xffffffff7eb9242b, lexical=<optimized out>) at eval.c:2365
#19 0x000000010027c4e0 in internal_condition_case
     (bfun=0x1001df06c <top_level_2>, handlers=0x90, hfun=0x1001e792c <cmd_error>) at eval.c:1474
#20 0x00000001001dfbbc in top_level_1 (ignore=<optimized out>)
     at keyboard.c:1150
#21 0x000000010027c414 in internal_catch
     (tag=0xf9c0, func=0x1001dfb74 <top_level_1>, arg=0x0) at eval.c:1197
#22 0x00000001001defdc in command_loop () at keyboard.c:1110
#23 0x00000001001e7328 in recursive_edit_1 () at keyboard.c:720
#24 0x00000001001e785c in Frecursive_edit () at keyboard.c:803
#25 0x00000001001ddd1c in main (argc=4, argv=<optimized out>) at emacs.c:2521






  reply	other threads:[~2024-03-14  5:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 17:57 bug#69762: X11 versions of Emacs 29 on sparc fail at startup ali_gnu2
2024-03-13  0:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-13 17:02   ` ali_gnu2
2024-03-14  0:17     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-14  5:56       ` Ali Bahrami [this message]
2024-03-14  6:16         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-15  1:48           ` Ali Bahrami
2024-03-15  2:46             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-15  4:22               ` Ali Bahrami
2024-03-15  6:42                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-15 16:37                   ` Ali Bahrami
2024-03-16  0:21                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-16  4:58                       ` Ali Bahrami
2024-03-16  6:28                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-16  6:32                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-17  1:13                           ` Ali Bahrami
2024-03-16 11:14     ` Eli Zaretskii
2024-03-16 12:24       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-17  1:38       ` ali_gnu2
2024-03-17 11:54         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-23 17:00           ` Alan Coopersmith
2024-04-03 17:48             ` Alan Coopersmith via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06 10:34               ` Eli Zaretskii
2024-04-06 11:07                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06 16:36                   ` ali_gnu2
2024-04-07  0:53                     ` 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

  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=2de8afe1-6410-4729-abc1-cfd541b1b4d1@emvision.com \
    --to=ali_gnu2@emvision.com \
    --cc=69762@debbugs.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 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).