delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/20/20:10:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=d7vnPFkg+AaLMdNFNJlVAA/EIajuy
mACa+s5U1dUwb+17ruOE3xICr0MjbaFAPDUTD52DGMy7p9k+Cp5kA0UMyZHZ56YH
bTfeg54CLpYB/Iwl4aclBNMkQG7SdQXKcxl2vv3gii5biWoYTOwF1Dr2yRqxZLmo
HYnrWxPj6X5R6A=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=mLAO+JKzj4KZhPAvfGkWIMUNq+k=; b=a/K
Br2+lRsTmbqoIj83XVAxbJzz1evKuC7CTGpCTsRM7bmoSG4YBd5zgB3OmzY0wLUv
Z4BT7y9IAgcp3+1YKqPLIH1DB68HTj8qlhxkHPkKFH/gxaP5eiHmvqApN5YxIoMo
hIFiuhwmy84eI+sLOP68h+N/ssK/hFRF3vMxhB5I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.194.133.198 with SMTP id pe6mr38673100wjb.9.1366503011331; Sat, 20 Apr 2013 17:10:11 -0700 (PDT)
Date: Sun, 21 Apr 2013 09:10:11 +0900
Message-ID: <CANW2+isv4KB71T2HiWW9W7NVLeMoBUn3Q3KpaYaAErnE-+xJYA@mail.gmail.com>
Subject: Why can not Emacs run on Cygwin 1.7.17-1 ? (was: Why can't I compile HelloWorld ?)
From: 1xx <itsango AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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 AT 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 AT 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 AT gmail DOT com>:
>
> I reinstalled Cygwin .
> Then I could get the a.exe and "hello!" message .

--
1xx <ItSANgo AT gmail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019