delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/22/08:05:45

From: aamodt AT accessv DOT com (Tor M. Aamodt)
Subject: X programs "Segmentation fault" in cgywin.dll (b18) under NT 4.0
22 Sep 1997 08:05:45 -0700 :
Message-ID: <34268463.F4093B40.cygnus.gnu-win32@accessv.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hello there cygwin people,

Whenever I run a program complied with gnu-win32 that uses X11 under NT
4.0 it causes the following error:

    The instruction at "0x0252bac6" referenced memory at "0x100476c0".
    The momory could not be "written".

This is in cygwin.dll.  I have the X11R6.3 libs distributed by Arlindo
da Silva, none of his x-apps work,
they all give this error too.  Here is a bit of the disassembly
surrounding the offending instruction:

0252bab7   call      0253ea98
0252babc   add       esp,00000014
0252babf   push      00000001
0252bac1   call      02544ddc
0252bac6   mov       dword ptr [100476c0],ebx    <----- segmentation
fault here
0252bacc   mov       eax,dword ptr [ebx+10]
0252bacf   mov       dword ptr [eax],100476c8

I am obviously doing something wrong here, but what?   I'm running NT
4.0 and I assume that the default cygwin.dll is compatible with that.
All the consol apps work fine.   I don't know... how about you?

Tor
aamodt AT accessv DOT com


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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