From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 35204@debbugs.gnu.org
Subject: bug#35204: 27.0.50; Crash on Cygwin
Date: Wed, 10 Apr 2019 13:54:16 +0900 [thread overview]
Message-ID: <b4mimvmxxxj.fsf@jpl.org> (raw)
In-Reply-To: <b4m4l77wqht.fsf@jpl.org>
[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]
On Tue, 09 Apr 2019 12:47:52 +0300, Eli Zaretskii wrote:
>> Date: Tue, 09 Apr 2019 17:07:58 +0900
>> From: Katsumi Yamaoka <yamaoka@jpl.org>
>> Here is a gdb backtrace I got after reverting only 1.:
>> (gdb) bt
>> #0 0x000000010054a66a in terminate_due_to_signal ()
[...]
> Is this when you run Emacs from GDB to begin with? If not, please run
> Emacs from GDB, then the backtrace should be more informative.
I did so. I rebuilt separately Emacs from scratch from today's
Git repo with no modification on the source using these configure
options
configure --verbose --with-x-toolkit=gtk3
(I detached "CFLAGS=-O0"), run it from gdb, and I got the
backtrace that is in the bottom of the attached GDB log. It
might be too short to analyze, though.
>> I couldn't fetch a backtrace for Emacs before reverting because
>> of an error:
>> (gdb) bt
>> #0 0x000000010054a72f in terminate_due_to_signal ()
>> #1 0x000303e90000faf0 in ?? ()
>> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> How many threads are in the process? Did you type "bt" when the Lisp
> thread was the current one?
There are 121 threads (IIUC). I don't konw what is the Lisp
thread, sorry.
>> Couldn't fetch xbacktrace either:
>> (gdb) source .gdbinit
[...]
>> .gdbinit:1228: Error in sourced command file:
>> No symbol "defined_HAVE_X_WINDOWS" in current context.
> Did you build Emacs with -g3 switch to GCC?
No, I don't specify -g3 expressly/intendedly. But it came not
to issue an error today for an unknown reason.
(I don't know why but today's Emacs lived for over an hour, so
I was excited over a false hope. The main Emacs that I rebuilt
from Git master today is working fine with reverting the three
changes in question.)
Here is the GDB log. Thanks.
[-- Attachment #2: Type: application/octet-stream, Size: 11523 bytes --]
cd src
gdb ./emacs.exe
GNU gdb (GDB) (Cygwin 8.1.1-1) 8.1.1
Copyright (C) 2018 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-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 ./emacs.exe...done.
warning: File "/Work/emacs-27.0.50/src/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /Work/emacs-27.0.50/src/.gdbinit
line to your configuration file "/home/yamaoka/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/yamaoka/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
(gdb) source .gdbinit
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.0
TERM = xterm
Breakpoint 1 at 0x1004d92b0: file emacs.c, line 370.
Breakpoint 2 at 0x1004aa610: file xterm.c, line 9979.
(gdb) r
Starting program: /Work/emacs-27.0.50/src/emacs.exe
[New Thread 1768.0x2ac0]
[New Thread 1768.0xee8]
[New Thread 1768.0x7ac]
[New Thread 1768.0xd50]
[New Thread 1768.0x1fd8]
[New Thread 1768.0x2630]
[New Thread 1768.0xba0]
[New Thread 1768.0x187c]
[New Thread 1768.0x14d0]
[New Thread 1768.0x1cd0]
[New Thread 1768.0x2968]
[New Thread 1768.0x1ea0]
[New Thread 1768.0x7ec]
** (emacs:41723): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[New Thread 1768.0x10c0]
[New Thread 1768.0x222c]
[New Thread 1768.0x1b60]
[New Thread 1768.0x640]
[New Thread 1768.0xf4c]
[Thread 1768.0x2968 exited with code 0]
[New Thread 1768.0x136c]
[New Thread 1768.0x1628]
[New Thread 1768.0x18c4]
[New Thread 1768.0x18bc]
[Thread 1768.0xf4c exited with code 0]
[New Thread 1768.0x1af4]
[Thread 1768.0x1af4 exited with code 0]
[New Thread 1768.0xe24]
[Thread 1768.0xe24 exited with code 0]
[New Thread 1768.0x2b34]
[Thread 1768.0x2b34 exited with code 0]
[New Thread 1768.0x2120]
[Thread 1768.0x2120 exited with code 0]
[New Thread 1768.0x470]
[Thread 1768.0x470 exited with code 0]
[New Thread 1768.0x1d58]
[Thread 1768.0x1d58 exited with code 0]
[New Thread 1768.0x298c]
[Thread 1768.0x298c exited with code 0]
[New Thread 1768.0x2218]
[Thread 1768.0x2218 exited with code 0]
[New Thread 1768.0x25b4]
[Thread 1768.0x25b4 exited with code 0]
[New Thread 1768.0x9f8]
[Thread 1768.0x9f8 exited with code 0]
[New Thread 1768.0x114c]
[Thread 1768.0x114c exited with code 0]
[New Thread 1768.0x9dc]
[Thread 1768.0x9dc exited with code 0]
[New Thread 1768.0x2268]
[Thread 1768.0x2268 exited with code 0]
[New Thread 1768.0x28c4]
[Thread 1768.0x28c4 exited with code 0]
[New Thread 1768.0x20dc]
[Thread 1768.0x20dc exited with code 0]
[New Thread 1768.0x808]
[Thread 1768.0x808 exited with code 0]
[New Thread 1768.0x10e4]
[Thread 1768.0x10e4 exited with code 0]
[New Thread 1768.0xb70]
[Thread 1768.0xb70 exited with code 0]
[New Thread 1768.0x103c]
[Thread 1768.0x103c exited with code 0]
[New Thread 1768.0x2bec]
[Thread 1768.0x2bec exited with code 0]
[New Thread 1768.0x760]
[Thread 1768.0x760 exited with code 0]
[New Thread 1768.0xb8c]
[Thread 1768.0xb8c exited with code 0]
[New Thread 1768.0x2944]
[Thread 1768.0x2944 exited with code 0]
[New Thread 1768.0x1dd8]
[Thread 1768.0x1dd8 exited with code 0]
[New Thread 1768.0xb24]
[Thread 1768.0xb24 exited with code 0]
[New Thread 1768.0xb20]
[Thread 1768.0xb20 exited with code 0]
[New Thread 1768.0x29ac]
[Thread 1768.0x29ac exited with code 0]
[New Thread 1768.0x2230]
[Thread 1768.0x2230 exited with code 0]
[New Thread 1768.0x2b2c]
[Thread 1768.0x2b2c exited with code 0]
[New Thread 1768.0x2a84]
[Thread 1768.0x2a84 exited with code 0]
[New Thread 1768.0x22d8]
[Thread 1768.0x22d8 exited with code 0]
[New Thread 1768.0x15f4]
[Thread 1768.0x15f4 exited with code 0]
[New Thread 1768.0x2244]
[Thread 1768.0x2244 exited with code 0]
[New Thread 1768.0x2a80]
[Thread 1768.0x2a80 exited with code 0]
[New Thread 1768.0x1128]
[Thread 1768.0x1128 exited with code 0]
[New Thread 1768.0x1a70]
[Thread 1768.0x1a70 exited with code 0]
[New Thread 1768.0x11f8]
[Thread 1768.0x11f8 exited with code 0]
[New Thread 1768.0x3bc]
[Thread 1768.0x3bc exited with code 0]
[New Thread 1768.0x1120]
[Thread 1768.0x1120 exited with code 0]
[New Thread 1768.0x25b4]
[Thread 1768.0x25b4 exited with code 0]
[New Thread 1768.0x255c]
[Thread 1768.0x255c exited with code 0]
[New Thread 1768.0x2c8]
[Thread 1768.0x2c8 exited with code 0]
[New Thread 1768.0x1304]
[Thread 1768.0x1304 exited with code 0]
[New Thread 1768.0x510]
[Thread 1768.0x510 exited with code 0]
[New Thread 1768.0xaa4]
[Thread 1768.0xaa4 exited with code 0]
[New Thread 1768.0x95c]
[Thread 1768.0x95c exited with code 0]
[New Thread 1768.0x2a04]
[Thread 1768.0x2a04 exited with code 0]
[New Thread 1768.0x291c]
[Thread 1768.0x291c exited with code 0]
[New Thread 1768.0x2528]
[Thread 1768.0x2528 exited with code 0]
[New Thread 1768.0x1f88]
[Thread 1768.0x1f88 exited with code 0]
[New Thread 1768.0x28a0]
[Thread 1768.0x28a0 exited with code 0]
[New Thread 1768.0xb00]
[Thread 1768.0xb00 exited with code 0]
[New Thread 1768.0x2534]
[Thread 1768.0x2534 exited with code 0]
[New Thread 1768.0x2ba8]
[Thread 1768.0x2ba8 exited with code 0]
[New Thread 1768.0x199c]
[Thread 1768.0x199c exited with code 0]
[New Thread 1768.0x1c70]
[Thread 1768.0x1c70 exited with code 0]
[New Thread 1768.0xc44]
[Thread 1768.0xc44 exited with code 0]
[New Thread 1768.0x11a4]
[Thread 1768.0x11a4 exited with code 0]
[New Thread 1768.0x878]
[Thread 1768.0x878 exited with code 0]
[New Thread 1768.0x1454]
[Thread 1768.0x1454 exited with code 0]
[New Thread 1768.0x27ec]
[Thread 1768.0x27ec exited with code 0]
[New Thread 1768.0x18fc]
[Thread 1768.0x18fc exited with code 0]
[New Thread 1768.0xe1c]
[Thread 1768.0xe1c exited with code 0]
[New Thread 1768.0x9cc]
[Thread 1768.0x9cc exited with code 0]
[New Thread 1768.0x25b4]
[Thread 1768.0x25b4 exited with code 0]
[New Thread 1768.0x198c]
[Thread 1768.0x198c exited with code 0]
[New Thread 1768.0x2c8]
[Thread 1768.0x2c8 exited with code 0]
[New Thread 1768.0x10e0]
[Thread 1768.0x10e0 exited with code 0]
[New Thread 1768.0x2178]
[Thread 1768.0x2178 exited with code 0]
[New Thread 1768.0x290c]
[Thread 1768.0x290c exited with code 0]
[New Thread 1768.0x2608]
[Thread 1768.0x2608 exited with code 0]
[New Thread 1768.0x28f4]
[Thread 1768.0x28f4 exited with code 0]
[New Thread 1768.0x2490]
[Thread 1768.0x2490 exited with code 0]
[New Thread 1768.0x180]
[Thread 1768.0x180 exited with code 0]
[New Thread 1768.0xb24]
[Thread 1768.0xb24 exited with code 0]
[New Thread 1768.0x1be8]
[Thread 1768.0x1be8 exited with code 0]
[New Thread 1768.0x1e0c]
[Thread 1768.0x1e0c exited with code 0]
[New Thread 1768.0x2918]
[Thread 1768.0x2918 exited with code 0]
[New Thread 1768.0x10fc]
[Thread 1768.0x10fc exited with code 0]
[New Thread 1768.0x2a84]
[Thread 1768.0x2a84 exited with code 0]
[New Thread 1768.0x27bc]
[Thread 1768.0x27bc exited with code 0]
[New Thread 1768.0xc50]
[Thread 1768.0xc50 exited with code 0]
[New Thread 1768.0x21b4]
[Thread 1768.0x21b4 exited with code 0]
[New Thread 1768.0x960]
[Thread 1768.0x960 exited with code 0]
[New Thread 1768.0x810]
[Thread 1768.0x810 exited with code 0]
[New Thread 1768.0x2870]
[Thread 1768.0x2870 exited with code 0]
[New Thread 1768.0x18fc]
[Thread 1768.0x18fc exited with code 0]
[New Thread 1768.0x1dcc]
[Thread 1768.0x1dcc exited with code 0]
[New Thread 1768.0xc24]
[Thread 1768.0xc24 exited with code 0]
[New Thread 1768.0x2c8]
[Thread 1768.0x2c8 exited with code 0]
[New Thread 1768.0x10e0]
[Thread 1768.0x10e0 exited with code 0]
[New Thread 1768.0xaa4]
[Thread 1768.0xaa4 exited with code 0]
[New Thread 1768.0x290c]
[Thread 1768.0x290c exited with code 0]
[New Thread 1768.0x2004]
[Thread 1768.0x2004 exited with code 0]
[New Thread 1768.0x28f4]
[Thread 1768.0x28f4 exited with code 0]
[New Thread 1768.0x24fc]
[Thread 1768.0x24fc exited with code 0]
[New Thread 1768.0x818]
[Thread 1768.0x818 exited with code 0]
[New Thread 1768.0x2564]
[Thread 1768.0x2564 exited with code 0]
[New Thread 1768.0x2bf8]
[Thread 1768.0x2bf8 exited with code 0]
[New Thread 1768.0x29ac]
[Thread 1768.0x29ac exited with code 0]
[New Thread 1768.0xd74]
[Thread 1768.0xd74 exited with code 0]
[New Thread 1768.0x1dac]
[Thread 1768.0x1dac exited with code 0]
[New Thread 1768.0x4bc]
[Thread 1768.0x4bc exited with code 0]
[New Thread 1768.0x1b4]
[Thread 1768.0x1b4 exited with code 0]
[New Thread 1768.0x1408]
[Thread 1768.0x1408 exited with code 0]
[New Thread 1768.0x2440]
[Thread 1768.0x2440 exited with code 0]
[New Thread 1768.0x8a4]
[Thread 1768.0x8a4 exited with code 0]
[New Thread 1768.0x2e0]
[Thread 1768.0x2e0 exited with code 0]
[New Thread 1768.0x1450]
[Thread 1768.0x1450 exited with code 0]
[New Thread 1768.0x13e4]
[Thread 1768.0x13e4 exited with code 0]
[New Thread 1768.0x1ed4]
[Thread 1768.0x1ed4 exited with code 0]
[New Thread 1768.0x143c]
[Thread 1768.0x143c exited with code 0]
[New Thread 1768.0x2268]
[Thread 1768.0x2268 exited with code 0]
[New Thread 1768.0xbac]
[Thread 1768.0xbac exited with code 0]
[New Thread 1768.0x1e84]
[Thread 1768.0x1e84 exited with code 0]
[New Thread 1768.0x103c]
[Thread 1768.0x103c exited with code 0]
[New Thread 1768.0x2258]
[Thread 1768.0x2258 exited with code 0]
[New Thread 1768.0x1ec4]
[Thread 1768.0x136c exited with code 0]
[New Thread 1768.0x9dc]
[Thread 1768.0x9dc exited with code 0]
Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=11,
backtrace_limit=40) at emacs.c:370
370 {
(gdb) bt
#0 terminate_due_to_signal (sig=11, backtrace_limit=40) at emacs.c:370
#1 0x00000001004f134e in handle_fatal_signal (sig=sig@entry=11)
at sysdep.c:1793
#2 0x00000001004f153f in deliver_thread_signal (sig=sig@entry=11,
handler=0x1004f1340 <handle_fatal_signal>) at sysdep.c:1767
#3 0x00000001004f159f in deliver_fatal_thread_signal (sig=11) at sysdep.c:1805
#4 handle_sigsegv (sig=11, siginfo=0x1009dea10 <sigsegv_stack+32464>,
arg=<optimized out>) at sysdep.c:1890
#5 0x000000018005f65a in altstack_wrapper (sig=<optimized out>,
siginfo=<optimized out>, sigctx=0xffffde50,
handler=0x1004f1580 <handle_sigsegv>)
at /usr/src/debug/cygwin-3.0.6-1/winsup/cygwin/exceptions.cc:1595
#6 0x0000000180062dfa in _cygtls::call_signal_handler (this=0xffffce00)
at /usr/src/debug/cygwin-3.0.6-1/winsup/cygwin/exceptions.cc:1777
#7 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Lisp Backtrace:
"x-show-tip" (0xffffac20)
"tooltip-show" (0xffffaf60)
"tooltip-help-tips" (0xffffb2c8)
"run-hook-with-args-until-success" (0xffffb2c0)
"tooltip-timeout" (0xffffb670)
"apply" (0xffffb668)
"timer-event-handler" (0xffffb9a8)
(gdb)
next prev parent reply other threads:[~2019-04-10 4:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 8:07 bug#35204: 27.0.50; Crash on Cygwin Katsumi Yamaoka
2019-04-09 9:47 ` Eli Zaretskii
2019-04-10 4:54 ` Katsumi Yamaoka [this message]
2019-04-10 14:37 ` Eli Zaretskii
2019-04-11 2:31 ` Katsumi Yamaoka
2019-04-11 13:19 ` Eli Zaretskii
2019-04-11 23:02 ` Katsumi Yamaoka
2019-04-12 1:01 ` Katsumi Yamaoka
2019-04-12 7:11 ` Eli Zaretskii
2019-04-12 8:00 ` Katsumi Yamaoka
2019-04-12 14:54 ` Ken Brown
2019-04-12 15:15 ` Eli Zaretskii
2019-04-13 22:26 ` Basil L. Contovounesios
2019-04-13 22:50 ` Alex Gramiak
2019-04-14 2:15 ` Ken Brown
2019-04-14 23:26 ` Katsumi Yamaoka
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=b4mimvmxxxj.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=35204@debbugs.gnu.org \
--cc=eliz@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 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.