From: zwz <zhangweize@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: might a bug in ido-mode
Date: Mon, 26 Apr 2010 19:27:24 +0800 [thread overview]
Message-ID: <87iq7eh2sj.fsf@gmail.com> (raw)
In-Reply-To: 83mxwrzeha.fsf@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: zwz <zhangweize@gmail.com>
>> Date: Sun, 25 Apr 2010 20:57:42 +0800
>>
>> I found a problem that crashes emacs.
>> The problem seems a little random, but I produced it twice by:
>>
>> 1. start the emacs: emacs -q
>> 2. eval the elisp code below in the scratch buffer:
>>
>> (setq ido-save-directory-list-file "~/.emacs.d/.ido.last"
>> ido-create-new-buffer 'always
>> ido-enable-flex-matching t
>> ido-enable-tramp-completion t)
>> (ido-mode t)
>>
>> 3. C-x C-f, and input a file name like "main.c".
>> Wait a second, while the the ido-mode is looking for "main.c", hit
>> the keys C-j (if no problem, then a buffer "main.c" is created)
>> 4. do 3 again, with the same file name in the same directory.
>> When you hit C-j during the ido-mode's searching, emacs crashes!
>> (maybe you have to try more times to get the problem)
>
> FWIW, I cannot reproduce this on my machine.
>
> Can you run Emacs under GDB and when it crashes, show the backtrace?
Now, I start emacs by: gdb --args emacs -q
and input "r" to run it
Gdb console says:
starting program: d:\emacs\bin\emacs.exe -q
[new thread 5860.0x1270]
[new thread 5860.0xa80]
[new thread 5860.0x69c]
[new thread 5860.0x1134]
and then I tried the step 3 and 4 many times with various file names
(e.g. main.c, test.c, etc.). Here the most important thing is that you
should try to hit C-j when the ido-mode is searching. The timing is the
key to catch the bug.
the gdb console says:
gdb: unknown target exception 0xc0000029 at 0x77d10754
program received signal ?, unknown signal.
[switch to thread 5860.0xa80]
0x77d10754 in ntdll!EtwpNotificationThread()
from C:\Windows\system32\ntdll.dll
(gdb) warning: Invalid parameter passed to C runtime function. (9 times)
And after I input "c" to continue the program, emacs crashes, with
the gdb console saying:
program exited with code 030000000051
next prev parent reply other threads:[~2010-04-26 11:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-25 12:57 might a bug in ido-mode zwz
2010-04-25 16:25 ` Eli Zaretskii
2010-04-26 11:27 ` zwz [this message]
2010-04-26 17:24 ` Eli Zaretskii
2010-04-26 17:32 ` Andreas Schwab
2010-04-27 8:21 ` zwz
2010-04-27 17:55 ` Eli Zaretskii
2010-04-28 4:23 ` zwz
2010-04-28 17:18 ` Eli Zaretskii
2010-04-29 4:39 ` zwz
2010-04-27 7:52 ` zwz
2010-04-25 18:44 ` Chong Yidong
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=87iq7eh2sj.fsf@gmail.com \
--to=zhangweize@gmail.com \
--cc=emacs-devel@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 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).