delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/20/05:49:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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
X-Lotus-FromDomain: LHS
From: "Remi Lejeune" <Remi DOT Lejeune AT lhs DOT be>
To: cygwin AT sourceware DOT cygnus DOT com
cc: "Frederik Durant" <Frederik DOT Durant AT lhs DOT be>,
"Remi Lejeune" <Remi DOT Lejeune AT lhs DOT be>
Message-ID: <C12568A8.003AA4E4.00@LNMAILMTA02.lhs.be>
Date: Mon, 20 Mar 2000 11:47:40 +0100
Subject: VirtualAlloc failed from DOS Prompt
Mime-Version: 1.0

Hello :-)

I am facing a weird problem, and maybe somebody we'll be able to help :

I have a program, blablabla.cpp, which compiles (gnu g++)  and runs successfully
 on various platforms, including windows NT/ cygnus provided bash shell.
Though, when I try to run the VERY SAME executable calling it from a DOS prompt
(whith cygwin1.dll in the same directory),
I get the following error messages :

[main] C:\Remi\backbone\scripts\PPlmTools\bin\debug\blablabla.exe 1535 (0)
commit_and_inc: VirtualAlloc failed
bla bouh
[main] prunebigrams 1535 (0) handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
[main] prunebigrams 1535 (0) handle_exceptions: Dumping stack trace to
blablabla.exe.core

What I dont understand is how come this program runs on the bash shell and
crashes when called from the DOS prompt, with the same parameters of course.

Any idea ?

Remi AT completely DOT stuck



--
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