* Emacs crashes when I try to quit
@ 2012-04-10 8:26 Giant Y
2012-04-10 18:44 ` Peter Dyballa
2012-12-17 15:27 ` Andrei Lihu
0 siblings, 2 replies; 4+ messages in thread
From: Giant Y @ 2012-04-10 8:26 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 778 bytes --]
Dear all,
I encountered a problem that Emacs crashes when I try to exit the program.
Any of C-x C-c, File -> Quit, and using the mouse to close the program
leads to the problem.
The platform I use is Windows 7 64bit with emacs 23.4.1. I have not change
anything in any files after I re-installed emacs and it still has the
problem.
The picture in the attachment was reported by the system. I translate them
into English as follows:
> GNU Emacs: The extensible self-documenting text editor has stopped working.
> An error has happened and it makes the program stop the work. If there is
> a useful solution, Windows will close the program and inform you.
Actually I do not think these information will help much. But something is
better than nothing.
-> posted by *Giant Y*
[-- Attachment #1.2: Type: text/html, Size: 1774 bytes --]
[-- Attachment #2: error_2.png --]
[-- Type: image/png, Size: 22129 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs crashes when I try to quit
2012-04-10 8:26 Emacs crashes when I try to quit Giant Y
@ 2012-04-10 18:44 ` Peter Dyballa
2012-12-17 15:27 ` Andrei Lihu
1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2012-04-10 18:44 UTC (permalink / raw)
To: Giant Y; +Cc: help-gnu-emacs
Am 10.4.2012 um 10:26 schrieb Giant Y:
> I encountered a problem that Emacs crashes when I try to exit the program.
> Any of C-x C-c, File -> Quit, and using the mouse to close the program
> leads to the problem.
You can put
(setq debug-on-error t)
into your init file to get possibly a *Backtrace* buffer which might explain the cause. Restart GNU Emacs after this change!
You can investigate further the value of the variables site-run-file and user-init-file. Then determine which files in the file system are actually used. Now you can temporarily rename site-run-file and see whether something has changed. If yes, than the site-run-file is the culprit. If not, then undo the renaming and now rename your own init file and test again. If this has changed the behaviour, then in your init some statement causes the problem. Now you can undo the renaming and try bi-secting your init file to find the culpable statement. Bi-secting means to comment one half and see whether the fault has. If it has gone, then it is in the commented half. You can undo the commenting and comment only one half of what was commented before. When the error is gone, then it's in the commented region. Uncomment and then comment one half of what was commented previously. New test. Iterate further.
If the error was not gone with the first commenting, then it is in the second not commented half. So undo the first commenting and comment the first half of the second half, i.e., the third quarter of your init file. Error gone? Then it's in the commented region, otherwise it is in the uncommented quarter. Further iterate.
In the end you'll find the statement that cause the problem.
--
Greetings
Pete
$ sumascii BILL GATES
B I L L G A T E S
66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663
and add 3 because he's Bill Gates the third.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs crashes when I try to quit
2012-04-10 8:26 Emacs crashes when I try to quit Giant Y
2012-04-10 18:44 ` Peter Dyballa
@ 2012-12-17 15:27 ` Andrei Lihu
2012-12-17 15:59 ` Eli Zaretskii
1 sibling, 1 reply; 4+ messages in thread
From: Andrei Lihu @ 2012-12-17 15:27 UTC (permalink / raw)
To: help-gnu-emacs
Giant Y <y560aifid <at> gmail.com> writes:
>
> Dear all,I encountered a problem that Emacs crashes when I try to exit the
program. Any of C-x C-c, File -> Quit, and using the mouse to close the program
leads to the problem.
>
> The platform I use is Windows 7 64bit with emacs 23.4.1. I have not change
anything in any files after I re-installed emacs and it still has the problem.
>
> The picture in the attachment was reported by the system. I translate them
into English as follows:
>
>
> GNU Emacs: The extensible self-documenting text editor has stopped working.An
error has happened and it makes the program stop the work. If there is a useful
solution, Windows will close the program and inform you.
>
> Actually I do not think these information will help much. But something is
better than nothing.
> -> posted by Giant Y
>
>
>
>
>
Hi,
I got a similar problem with emacs on Win 7 64 bit. I looked into Event Viewer
and saw:
Faulting application name: emacs.exe, version: 24.2.0.0, time stamp: 0x503d72ca
Faulting module name: libgcc_s_dw2-1.dll, version: 0.0.0.0, time stamp:
0x4bc96cad
Exception code: 0x40000015
Fault offset: 0x00016646
Faulting process id: 0x2578
Faulting application start time: 0x01cddc67da6670ae
Faulting application path: C:\emacs\bin\emacs.exe
Faulting module path: C:\Program Files (x86)\gnuplot\binary\libgcc_s_dw2-1.dll
Report Id: 1a09d21e-485b-11e2-b445-005056c00008
Removing the gnuplot installation from disk, registry and env varibles fixed the
issue.
Good luck !
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs crashes when I try to quit
2012-12-17 15:27 ` Andrei Lihu
@ 2012-12-17 15:59 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2012-12-17 15:59 UTC (permalink / raw)
To: help-gnu-emacs
> From: Andrei Lihu <andrei.lihu@gmail.com>
> Date: Mon, 17 Dec 2012 15:27:53 +0000 (UTC)
>
> I got a similar problem with emacs on Win 7 64 bit. I looked into Event Viewer
> and saw:
>
> Faulting application name: emacs.exe, version: 24.2.0.0, time stamp: 0x503d72ca
>
> Faulting module name: libgcc_s_dw2-1.dll, version: 0.0.0.0, time stamp:
> 0x4bc96cad
>
> Exception code: 0x40000015
> Fault offset: 0x00016646
> Faulting process id: 0x2578
> Faulting application start time: 0x01cddc67da6670ae
> Faulting application path: C:\emacs\bin\emacs.exe
> Faulting module path: C:\Program Files (x86)\gnuplot\binary\libgcc_s_dw2-1.dll
> Report Id: 1a09d21e-485b-11e2-b445-005056c00008
>
> Removing the gnuplot installation from disk, registry and env varibles fixed the
> issue.
So the conclusion is that libgcc_s_dw2-1.dll that came with gnuplot is
incompatible with what Emacs was linked against. To solve this
without having to remove gnuplot, find the file libgcc_s_dw2-1.dll
that Emacs is using now (e.g., by using the "depends" program), and
copy it into the same directory where you have emacs.exe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-17 15:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 8:26 Emacs crashes when I try to quit Giant Y
2012-04-10 18:44 ` Peter Dyballa
2012-12-17 15:27 ` Andrei Lihu
2012-12-17 15:59 ` Eli Zaretskii
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).