delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/13/08:08:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <380475F0.895DA0AA@medtronic.com>
Date: Wed, 13 Oct 1999 07:07:12 -0500
From: "%FULL_NAME%" <howard DOT pierce AT medtronic DOT com>
Organization: Medtronic, Inc.
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD (Win95; I)
X-Accept-Language: en,de
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
CC: howard DOT pierce AT medtronic DOT com
Subject: Invalid Page Fault from cpp, cc, as, & collect

I've looked through the cygwin FAQs and searched the mail archives, but not
found any information about a problem like this.

I'm trying to compile a very simple C program (copy end of this
message) with cygwin's gcc under windows 95.  On my home system it
works fine, but on my system here at work, it fails with the following
series of error messages.

Interestingly, the first part of each message, "XXX caused an invalid
page fault in module YYY.DLL at 0157:nnnnnnnn", is a message that I
get a lot on my system here at work and never get at home.  Usually,
"XXX" is "EXPLORER" (windows Explorer, not internet explorer) and
"YYY" is "COMCTL32", and the "0157" is always the same.  The tech.
support group here has been no help at all.


+--------------------------------------------------------------------+
| Cpp                                                              X |
+--------------------------------------------------------------------+
| This program has performed an illegal operation         =========  |
| and will be shut down.                                  | Close |  |
|                                                         =========  |
| If the problem persists, contact the program                       |
| vendor.                                                            |
|                                                     =============  |
|                                                     | Details>> |  |
|                                                     =============  |
+--------------------------------------------------------------------+
| CPP caused an invalid page fault in                                |
| module CYGWIN1.DLL at 0157:61018a72.                               |
| Registers:                                                         |
| EAX=00000000  CS=0157  EIP=61018a72  EFLGS=00010206                |
| EBX=00000018  SS=015f  ESP=0255fd00  EBP=0255fd1c                  |
| ECX=02570000  DS=015f  ESI=00000002  FS=13c7                       |
| EDX=0183f9ff  ES=015f  EDI=00000028  GS=0000                       |
| Bytes at CS:EIP:                                                   |
| f6 80 d4 03 00 00 11 74 61 8b 7d 08 57 68 9b 88                    |
+--------------------------------------------------------------------+



+--------------------------------------------------------------------+
| Cc1                                                              X |
+--------------------------------------------------------------------+
| This program has performed an illegal operation         =========  |
| and will be shut down.                                  | Close |  |
|                                                         =========  |
| If the problem persists, contact the program                       |
| vendor.                                                            |
|                                                     =============  |
|                                                     | Details>> |  |
|                                                     =============  |
+--------------------------------------------------------------------+
| CC1 caused an invalid page fault in                                |
| module CYGWIN1.DLL at 0157:61018a72.                               |
| Registers:                                                         |
| EAX=00000000  CS=0157  EIP=61018a72  EFLGS=00010206                |
| EBX=00000018  SS=015f  ESP=026cfd00  EBP=026cfd1c                  |
| ECX=026e0000  DS=015f  ESI=00000002  FS=59e7                       |
| EDX=0183f9ff  ES=015f  EDI=00000028  GS=0000                       |
| Bytes at CS:EIP:                                                   |
| f6 80 d4 03 00 00 11 74 61 8b 7d 08 57 68 9b 88                    |
+--------------------------------------------------------------------+



+--------------------------------------------------------------------+
| As                                                               X |
+--------------------------------------------------------------------+
| This program has performed an illegal operation         =========  |
| and will be shut down.                                  | Close |  |
|                                                         =========  |
| If the problem persists, contact the program                       |
| vendor.                                                            |
|                                                     =============  |
|                                                     | Details>> |  |
|                                                     =============  |
+--------------------------------------------------------------------+
| AS caused an invalid page fault in                                 |
| module CYGWIN1.DLL at 0157:61018a72.                               |
| Registers:                                                         |
| EAX=00000000  CS=0157  EIP=61018a72  EFLGS=00010206                |
| EBX=00000018  SS=015f  ESP=0259fd00  EBP=0259fd1c                  |
| ECX=025b0000  DS=015f  ESI=00000002  FS=59f7                       |
| EDX=0183f9ff  ES=015f  EDI=00000028  GS=0000                       |
| Bytes at CS:EIP:                                                   |
| f6 80 d4 03 00 00 11 74 61 8b 7d 08 57 68 9b 88                    |
+--------------------------------------------------------------------+



+--------------------------------------------------------------------+
| Collect2                                                         X |
+--------------------------------------------------------------------+
| This program has performed an illegal operation         =========  |
| and will be shut down.                                  | Close |  |
|                                                         =========  |
| If the problem persists, contact the program                       |
| vendor.                                                            |
|                                                     =============  |
|                                                     | Details>> |  |
|                                                     =============  |
+--------------------------------------------------------------------+
| COLLECT2 caused an invalid page fault in                           |
| module CYGWIN1.DLL at 0157:61018a72.                               |
| Registers:                                                         |
| EAX=00000000  CS=0157  EIP=61018a72  EFLGS=00010206                |
| EBX=00000018  SS=015f  ESP=0254fd00  EBP=0254fd1c                  |
| ECX=02560000  DS=015f  ESI=00000002  FS=13af                       |
| EDX=0183f9ff  ES=015f  EDI=00000028  GS=0000                       |
| Bytes at CS:EIP:                                                   |
| f6 80 d4 03 00 00 11 74 61 8b 7d 08 57 68 9b 88                    |
+--------------------------------------------------------------------+


Any light you can shed on this (mail to "howard DOT pierce AT medtronic DOT com")
will be most gratefully appreciated!


Howard Pierce,
Medtronic, Inc.


===========================================================================
/* Checks for lock files, creating them if they don't exist, otherwise */
/* returning a nonzero exit status     */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

main (Argc, Argv)
int Argc;
char *Argv[];
{
   struct stat StatBuf ;
   int ECode=0, ArgCount=0, Perms=0444 ;

   if (Argc < 1)
   {
      fprintf (stderr, "\nUsage:  %s  <file>  [<files>...]\n", Argv[0]);
      ECode = 1 ;
   }
   else
   {
      while (++ArgCount < Argc)
      {
         if (stat (Argv[ArgCount], &StatBuf) == 0) {
            ECode++ ;
         }
         else if (creat (Argv[ArgCount], Perms) == -1) {
            ECode++ ;
         }
      }
   }

   return (ECode);
}
===========================================================================



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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