This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why can not Emacs run on Cygwin 1.7.17-1 ? (was: Why can't I compile HelloWorld ?)


Hi all .


I reinstalled Cygwin 1.7.17-1 .
But Emacs can not run .

$ emacs
$ echo $?
0

$ strace.exe /usr/bin/emacs-X11.exe
    1       1 [main] emacs-X11 (9508)
**********************************************
   82      83 [main] emacs-X11 (9508) Program name:
C:\cygwin\bin\emacs-X11.exe (windows pid 9508)
   54     137 [main] emacs-X11 (9508) OS version:   Windows NT-6.1
   55     192 [main] emacs-X11 (9508)
**********************************************
  356     548 [main] emacs-X11 (9508) sigprocmask: 0 = sigprocmask (0,
0x6123D468, 0x610FBA10)
  294     842 [main] emacs-X11 9508 open_shared: name shared.5, n 5,
shared 0x60FF0000 (wanted 0x60FF0000), h 0x90, *m 6
   81     923 [main] emacs-X11 9508 heap_init: heap base 0x80000000,
heap top 0x80000000, heap size 0x18000000 (402653184)
   41     964 [main] emacs-X11 9508 open_shared: name
S-1-5-21-1927868509-3903546896-3731946627-1000.1, n 1, shared
0x60FE0000 (wanted 0x60FE0000), h 0x88, *m 6
   21     985 [main] emacs-X11 9508 user_info::create: opening user
shared for 'S-1-5-21-1927868509-3903546896-3731946627-1000' at
0x60FE0000
   19    1004 [main] emacs-X11 9508 user_info::create: user shared
version 6467403B
   55    1059 [main] emacs-X11 9508 fhandler_pipe::create: name
\\.\pipe\cygwin-c5e39b7a9d22bafb-9508-sigwait, size 164, mode
PIPE_TYPE_MESSAGE
   40    1099 [main] emacs-X11 9508 fhandler_pipe::create: pipe read handle 0xA4
   27    1126 [main] emacs-X11 9508 fhandler_pipe::create: CreateFile:
name \\.\pipe\cygwin-c5e39b7a9d22bafb-9508-sigwait
   70    1196 [main] emacs-X11 9508 fhandler_pipe::create: pipe write
handle 0xA8
   34    1230 [main] emacs-X11 9508 dll_crt0_0: finished dll_crt0_0
initialization
--- Process 9508, exception C0000005 at 4B61A9A5
Segmentation fault


$ gdb /usr/bin/emacs-X11.exe
GNU gdb (GDB) 7.6.50.20130408-cvs (cygwin-special)
Copyright (C) 2013 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 "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/emacs-X11.exe...Reading symbols from
/usr/lib/debug/usr/bin/emacs-X11.exe.dbg...done.
done.
(gdb) run
Starting program: /usr/bin/emacs-X11.exe
[New Thread 12428.0x2ac8]
[New Thread 12428.0x3078]

Program received signal SIGSEGV, Segmentation fault.
0x4b61a9a5 in _cygwin_dll_entry@12 (h=0x4b600000, reason=1, ptr=0x28fd24)
    at /usr/src/debug/cygwin-1.7.16-1/winsup/cygwin/lib/dll_entry.c:17
17      /usr/src/debug/cygwin-1.7.16-1/winsup/cygwin/lib/dll_entry.c:
No such file or directory.
(gdb) backtrace full
#0  0x4b61a9a5 in _cygwin_dll_entry@12 (h=0x4b600000, reason=1, ptr=0x28fd24)
    at /usr/src/debug/cygwin-1.7.16-1/winsup/cygwin/lib/dll_entry.c:17
        ret = 1
#1  0x77399950 in ntdll!RtlQueryEnvironmentVariable ()
   from /cygdrive/c/Windows/system32/ntdll.dll
No symbol table info available.
#2  0x4b600000 in ?? ()
No symbol table info available.
#3  0x7739d8c9 in ntdll!LdrResSearchResource ()
   from /cygdrive/c/Windows/system32/ntdll.dll
No symbol table info available.
#4  0x4b61a910 in __dllMain ()
    at /usr/src/debug/cygwin-1.7.16-1/winsup/cygwin/lib/dll_entry.c:17
        storedReason = 0
        dll_index = 0
        storedPtr = 0x0
        storedHandle = 0x0
        __dynamically_loaded = 0
#5  0x773a681c in ntdll!RtlGetNtVersionNumbers ()
   from /cygdrive/c/Windows/system32/ntdll.dll
No symbol table info available.
#6  0x773a52d6 in ntdll!RtlSetUnhandledExceptionFilter ()
   from /cygdrive/c/Windows/system32/ntdll.dll
No symbol table info available.
#7  0x77399e79 in ntdll!LdrInitializeThunk ()
   from /cygdrive/c/Windows/system32/ntdll.dll
No symbol table info available.
#8  0x00000000 in ?? ()
No symbol table info available.
(gdb)


1) Why can not Emacs run on Cygwin 1.7.17-1 ?
2) Can your Emacs be run ?
3) Aren't there any people troubled by the same problem ?
4) What should I do in order to carry out troubleshooting of this problem ?





Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service
Pack 1 (7601.win7sp1_gdr.130104-1431)
           Language: Japanese (Regional Setting: Japanese)
System Manufacturer: Dell Inc.
       System Model: XPS 8300
               BIOS: BIOS Date: 03/28/12 09:12:57 Ver: 04.06.04
          Processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (8 CPUs), ~3.4GHz
             Memory: 16384MB RAM
Available OS Memory: 16366MB RAM
https://dl.dropboxusercontent.com/u/86335040/openSUSE/DxDiag13.txt


Please see also http://d.hatena.ne.jp/Itisango/20130420/1366448988


Thanks .


2013/4/20 1xx <itsango@gmail.com>:
>
> I reinstalled Cygwin .
> Then I could get the a.exe and "hello!" message .

--
1xx <ItSANgo@gmail.com> <https://twitter.com/ItSANgo>
<http://d.hatena.ne.jp/Itisango/>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]