unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9087: Crash reading from minibuffer with icomplete-mode
@ 2011-07-14 22:54 Juanma Barranquero
  2011-07-15  7:30 ` martin rudalics
  2011-07-15 11:13 ` Eli Zaretskii
  0 siblings, 2 replies; 66+ messages in thread
From: Juanma Barranquero @ 2011-07-14 22:54 UTC (permalink / raw)
  To: 9087

The backtraces below are from today's trunk, but I can also reproduce
the bug with the emacs-23 branch (Windows build in both cases).

This is sort of a recipe for the bug:

 - Start emacs with "emacs -Q -f icomplete-mode".
 - Run M-x set-face-font and set a font for a face; in my examples, I
try to set font-lock-comment-face.
 - Choose a font, for example I set
-outline-Consolas-bold-normal-normal-mono-13-*-*-*-c-*-iso10646-1
 - Then run again "M-x set-face-font <RET> M-p <RET> M-p", to select
the same face and the same font, and then modify the completion for
the face. In my tests, I go to the family name "Consolas", remove it
with M-d and start fiddling with completions of "Droid Sans Mono"
(which I have installed), typing for example just "Droid S" <TAB>,
then <M-backspace>, etc. Sooner or later it crashes every time.

Crashes are not always identical, but all of them happen in a call to
`byte-code' from inside `icomplete-exhibit'. After the signature there
are two examples.

I can repeat the crash easily, so if no one can reproduce it, pointers
to debugging this are welcome.

    Juanma


=== Backtrace from trunk (1) ===

gdb: unknown target exception 0xc0000029 at 0x77be07b6

Program received signal ?, Unknown signal.
[Switching to Thread 5784.0x14c4]
0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dll
(gdb) bt
#0  0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dll
#1  0x0088da00 in ?? ()
#2  0x771e07f0 in setjmp () from C:\Windows\syswow64\msvcrt.dll
#3  0x0088ffc4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Lisp Backtrace:
"byte-code" (0x889200)
"window-size-fixed-1" (0x8895a4)
"byte-code" (0x889770)
"window-size-fixed-1" (0x889b14)
"window-size-fixed-p" (0x889d74)
"window-sizable" (0x889fd4)
"window--resize-root-window-vertically" (0x88a244)
"byte-code" (0x88dc50)
"icomplete-exhibit" (0x88e0c8)
"run-hooks" (0x88e174)
0x35feba0 PVEC_COMPILED
"read-from-minibuffer" (0x88ea5c)
"completing-read-default" (0x88ecc4)
"completing-read" (0x88edd4)
"read-face-font" (0x88f034)
"read-face-and-attribute" (0x88f1f0)
"call-interactively" (0x88f644)
"execute-extended-command" (0x88f884)
"call-interactively" (0x88fb24)


=== Backtrace from trunk (2) ===

gdb: unknown target exception 0xc0000029 at 0x77be07b6

Program received signal ?, Unknown signal.
[Switching to Thread 4812.0x15ac]
0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dll
(gdb) bt
#0  0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dll
#1  0x0088da00 in ?? ()
#2  0x771e07f0 in setjmp () from C:\Windows\syswow64\msvcrt.dll
#3  0x0088ffc4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Lisp Backtrace:
"byte-code" (0x88dc50)
"icomplete-exhibit" (0x88e0c8)
"run-hooks" (0x88e174)
0x35feba0 PVEC_COMPILED
"read-from-minibuffer" (0x88ea5c)
"completing-read-default" (0x88ecc4)
"completing-read" (0x88edd4)
"read-face-font" (0x88f034)
"read-face-and-attribute" (0x88f1f0)
"call-interactively" (0x88f644)
"execute-extended-command" (0x88f884)
"call-interactively" (0x88fb24)

=== Backtrace from emacs-23 ===

gdb: unknown target exception 0xc0000029 at 0x77be07b6

Program received signal ?, Unknown signal.
[Switching to Thread 5976.0xf64]
0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dll
(gdb) bt
#0  0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dll
#1  0x0088dcc0 in ?? ()
#2  0x771e07f0 in setjmp () from C:\Windows\syswow64\msvcrt.dll
#3  0x0088ffc4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Lisp Backtrace:
"byte-code" (0x88def0)
"icomplete-exhibit" (0x88e348)
"run-hooks" (0x88e3f4)
0x2fa6ae0 There is no member named size.





^ permalink raw reply	[flat|nested] 66+ messages in thread

end of thread, other threads:[~2012-01-14 20:16 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-14 22:54 bug#9087: Crash reading from minibuffer with icomplete-mode Juanma Barranquero
2011-07-15  7:30 ` martin rudalics
2011-07-15 12:12   ` Juanma Barranquero
2011-07-15 12:23     ` martin rudalics
2011-07-15 16:40       ` Juanma Barranquero
2011-07-15 11:13 ` Eli Zaretskii
2011-07-15 12:11   ` Juanma Barranquero
2011-07-15 12:15     ` Juanma Barranquero
2011-07-15 12:29     ` Eli Zaretskii
2011-07-15 15:12       ` Juanma Barranquero
2011-07-15 15:24         ` Eli Zaretskii
2011-07-15 16:39           ` Juanma Barranquero
2011-07-15 17:12             ` Eli Zaretskii
2011-07-16 23:19           ` Juanma Barranquero
2011-07-17  3:08             ` Eli Zaretskii
2011-07-18  2:07               ` Juanma Barranquero
2011-07-18  3:01                 ` Eli Zaretskii
2011-07-18 11:53                   ` Juanma Barranquero
2011-07-18 16:45                     ` Eli Zaretskii
2011-07-18 17:34                       ` Juanma Barranquero
2011-07-17  9:38             ` martin rudalics
2011-07-18  1:59               ` Juanma Barranquero
2011-08-14 20:13     ` Chong Yidong
2011-09-14 14:43       ` Juanma Barranquero
2012-01-01 20:56         ` Claudio Bley
2012-01-01 21:24           ` Juanma Barranquero
2012-01-01 21:43           ` Eli Zaretskii
2012-01-02 16:16             ` Claudio Bley
2012-01-04 15:44               ` Claudio Bley
2012-01-06 10:02               ` Eli Zaretskii
2012-01-06 12:48                 ` Juanma Barranquero
2012-01-06 13:19                   ` martin rudalics
2012-01-06 13:26                     ` Juanma Barranquero
2012-01-06 15:17                   ` Eli Zaretskii
2012-01-06 16:07                     ` martin rudalics
2012-01-06 19:01                       ` Eli Zaretskii
2012-01-06 19:45                         ` martin rudalics
2012-01-06 19:53                           ` Eli Zaretskii
2012-01-06 20:50                             ` Eli Zaretskii
2012-01-06 22:34                               ` Juanma Barranquero
2012-01-07  0:42                               ` Stefan Monnier
2012-01-07  8:31                                 ` Eli Zaretskii
2012-01-07 10:11                                   ` martin rudalics
2012-01-07 10:49                                     ` Eli Zaretskii
2012-01-07 11:51                                       ` martin rudalics
2012-01-07 12:21                                         ` Eli Zaretskii
2012-01-07 13:57                                           ` martin rudalics
2012-01-07 14:59                                             ` Eli Zaretskii
2012-01-07 16:27                                               ` martin rudalics
2012-01-07 17:05                                                 ` Eli Zaretskii
2012-01-07 17:17                                                   ` martin rudalics
2012-01-07 17:31                                                     ` Eli Zaretskii
2012-01-07 17:45                                                       ` martin rudalics
2012-01-07 17:52                                                         ` Eli Zaretskii
2012-01-07 13:12                                         ` Andreas Schwab
2012-01-07 13:57                                           ` martin rudalics
2012-01-07 15:00                                             ` Eli Zaretskii
2012-01-07 18:21                                   ` Stefan Monnier
2012-01-07 18:59                                     ` Eli Zaretskii
2012-01-08 14:01                                       ` Stefan Monnier
2012-01-14 20:16                                     ` Eli Zaretskii
2012-01-07 10:10                               ` martin rudalics
2012-01-07 10:58                                 ` Eli Zaretskii
2012-01-07 11:52                                   ` martin rudalics
2012-01-07 12:11                                     ` Eli Zaretskii
2012-01-07 13:55                                       ` martin rudalics

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).