Error 0xc0000142

Graham Mullan graham.mullan at coly.org.uk
Mon Oct 14 08:08:11 BST 2024


My bad, it was only cavern that ran. The other three gave the Windows error box "The application was unable to start correctly (0xc0000142) Click OK to close the application. 

C:\Windows\System32> cd "C:\Program Files\Survex"

C:\Program Files\Survex> cavern --help
cavern - Survex 1.4.11

Usage: cavern [OPTION]... [SURVEY_DATA_FILE]

  -o, --output=OUTPUT           set location for output files
  -q, --quiet                   only show brief summary (-qq for errors only)
  -s, --no-auxiliary-files      do not create .err file
  -w, --warnings-are-errors     turn warnings into errors
      --log                     log output to .log file
  -v, --3d-version=3D_VERSION   specify the 3d file format version to output
      --help                    display this help and exit
      --version                 output version information and exit

C:\Program Files\Survex> survexport --help

C:\Program Files\Survex> aven --help

C:\Program Files\Survex> aven

C:\Program Files\Survex>

Graham

-----Original Message-----
From: Olly Betts <olly at survex.com> 
Sent: 14 October 2024 03:36
To: Graham Mullan <graham.mullan at coly.org.uk>
Cc: survex at survex.com
Subject: Re: Error 0xc0000142

Please reply to the list - debugging this is likely be a collaborative effort.

On Thu, Oct 10, 2024 at 06:29:29AM +0000, Graham Mullan wrote:
> > Can you try:
> >
> > cavern --help
> > 
> > survexport --help
> > 
> > aven --help
> > 
> > aven
> 
> Aven seemed to work OK, but the other three options that you suggested 
> all brought up the same Microsoft error popup with the same error 
> code. So that narrows it down a touch.

I'm not sure what to make of it though - `aven --help` should require
**less** initialisation than `aven`, so it is peculiar that the latter works but the former doesn't.

Also odd that you can run aven from the command prompt but it fails if run from the GUI interface.

Cheers,
    Olly



More information about the Survex mailing list