From: Eli Zaretskii <eliz@gnu.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 35204@debbugs.gnu.org
Subject: bug#35204: 27.0.50; Crash on Cygwin
Date: Thu, 11 Apr 2019 16:19:28 +0300 [thread overview]
Message-ID: <83ef6865nj.fsf@gnu.org> (raw)
In-Reply-To: <b4mv9zlb7dc.fsf@jpl.org> (message from Katsumi Yamaoka on Thu, 11 Apr 2019 11:31:11 +0900)
> Date: Thu, 11 Apr 2019 11:31:11 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Cc: 35204@debbugs.gnu.org
>
> >> configure --verbose --with-x-toolkit=gtk3
>
> >> (I detached "CFLAGS=-O0")
>
> > Does it mean you used "CFLAGS=-O0", or does it mean you did NOT use
> > it? It is better to use it, together with -g3, as that makes
> > debugging easier.
>
> At that time I didn't use CFLAGS=-O0 so as to exclude anything
> special, though I'm not sure it is worthwhile. Today I tried
> building two types; one uses CFLAGS=-O0 and the other doesn't.
> The difference between them is that with the one built *with*
> CFLAGS=-O0 the gdb command `source .gdbinit' ends up with this
> error:
>
> (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 0x10054a66a
> .gdbinit:1228: Error in sourced command file:
> No symbol "defined_HAVE_X_WINDOWS" in current context.
This is why I suggested to use CFLAGS='-O0 -g3', please try that next.
> > Is it normal to have so many threads? What are they doing?
>
> It's a result of I did many things to break Emacs since it can't
> seem to die soon. But I got a good means to break Emacs at once,
> that is to eval: (x-display-monitor-attributes-list)
So please use this method from now on, to trigger the crash. It is
important to have consistency in this.
> >> I don't konw what is the Lisp thread, sorry.
>
> > That's usually the thread you get when you type "thread 1" at GDB
> > prompt. But let's see what all those threads do, so please type this:
>
> > (gdb) thread apply all bt
>
> > and post the results here.
>
> Thanks. Attached the one fetched with Emacs built without
> CFLAGS=-O0 (it has no notably difference from the one fetched
> with Emacs built with CFLAGS=-O0). Note that gdb crashes when
> the `thread apply all bt' command is invoked.
This is still not the information we need. Since "thread apply all"
crashes, please try this alternative:
(gdb) thread 1
(gdb) bt
And please separately do also this:
(gdb) info threads
and post the results.
Thanks.
P.S. I see you are using Cygwin 3.0.6, could it be a bug in Cygwin
itself? Is there a newer version of Cygwin?
next prev parent reply other threads:[~2019-04-11 13:19 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
2019-04-10 14:37 ` Eli Zaretskii
2019-04-11 2:31 ` Katsumi Yamaoka
2019-04-11 13:19 ` Eli Zaretskii [this message]
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=83ef6865nj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=35204@debbugs.gnu.org \
--cc=yamaoka@jpl.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.