Re: Aspell issue with latex files

Angelo Graziosi <[email protected]> Fri, 28 Apr 2017 22:44:10 +0200
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Il 27/04/2017 19:45, Eli Zaretskii ha scritto> It would be good to know 
where Emacs hangs.  If you attach a debugger
> to it and show a backtrace, it could help fix this issue (with Emacs
> becoming not responsive; the problem with aspell is not something we
> could solve).  If you can collect this info, please file a bug report
> with the data you collected.

I need some help.

I have rebuild Emacs for debugging (master April 28, cee4128135):

   ./autogen.sh
   ./configure --prefix=/c/LocalApps/Emacs
   [...]
   Configured for 'x86_64-w64-mingw32'.

   Where should the build process find the source code?    .
   What compiler should emacs be built with?               gcc  -g3 -O2 
-gdwarf-2
   [...]

then I have run it from command line in MINGW64 shell

   /c/LocalApps/Emacs/bin/runemacs.exe &

and without initialization files (without ~/.emacs.d/ folder). Indeed in 
this case Aspell is found in the PATH

   echo $PATH
   /mingw64/bin:/usr/local/bin:/usr/bin[...]

Then attached GDB (from mingw-w64-x86_64-gdb 7.12.1-2 package)

   ps -W | grep emac
      6756       0       0       6756  ?              0 22:19:13 
C:\LocalApps\Emacs\bin\emacs.exe

   gdb -p 6756
   GNU gdb (GDB) 7.12.1
Copyright (C) 2017 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-w64-mingw32".
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".
Attaching to process 6756
[New Thread 6756.0xf08]
[New Thread 6756.0x6a4]
[New Thread 6756.0xe28]
[New Thread 6756.0x1668]
[New Thread 6756.0x1084]
[New Thread 6756.0xc3c]
Reading symbols from C:\LocalApps\Emacs\bin\emacs.exe...done.
(gdb) continue
Continuing.

At this point, in Emacs I visited this file:

   cat test.tex
%%
%%
%%

\caption{5\% \label{_fred}}
\autoref{alice} envolope

%%

and tried to flyspell (M-x flyspell-mode), but Aspell crashed, as 
described and Emacs stopped to respond.

In the window shell all I could capture was

[Thread 6756.0xc3c exited with code 0]
[New Thread 6756.0x790]
[Thread 6756.0x790 exited with code 1]
[New Thread 6756.0x1928]
[Thread 6756.0x1928 exited with code 1]
[New Thread 6756.0x19f4]
[Thread 6756.0x19f4 exited with code 1]
[New Thread 6756.0x16a8]
[Thread 6756.0x16a8 exited with code 1]
[New Thread 6756.0x192c]
[Thread 6756.0x192c exited with code 1]
[New Thread 6756.0x1134]
[Thread 6756.0x1134 exited with code 1]
[New Thread 6756.0xbdc]

GDB didn't give me a prompt for "bt"...

How to get th backtrace?

  Angelo