Error 0xc0000142

mikemccombe at btinternet.com mikemccombe at btinternet.com
Tue Oct 15 12:18:12 BST 2024


Hi Olly,
 I've just checked 1.4.9, 1.4.10 and 1.4.11 from a batch file with the sequence of commands requested. In summary, 1.4.9 works OK but aven crashes on 1.4.10 and 1.4.11.  There is something like a 10 second delay between invoking aven and it crashing, producing a windows error box. See detailed transcript below.

Hope this helps,
Mike


c:\Program Files (x86)\Survex>cd "c:\program files (x86)\survex" 

c:\Program Files (x86)\Survex>cavern --help 
cavern - Survex 1.4.9

Usage: cavern [OPTION]... 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 (x86)\Survex>survexport --help 
survexport - Survex 1.4.9

Usage: survexport [OPTION]... FILE [FILE]

  -s, --survey=SURVEY		only load the sub-survey with this prefix
      --scale=SCALE		scale (50, 0.02, 1:50 and 2:100 all mean 1:50)
      --bearing=BEARING		bearing (90, 90d, 100g all mean 90°)
      --tilt=TILT		tilt (45, 45d, 50g, 100% all mean 45°)
      --plan			plan view (equivalent to --tilt=-90)
      --elevation		elevation view (equivalent to --tilt=0)
      --legs			underground survey legs
      --surface-legs		surface survey legs
      --splays			splay legs
      --crosses			station markers
      --station-names		station labels
      --entrances		entrances
      --fixes			fixed points
      --exports			exported stations
      --cross-sections		cross-sections
      --walls			walls
      --passages		passages
      --origin-in-centre	origin in centre
      --full-coordinates	full coordinates
      --clamp-to-ground		clamp to ground
      --defaults		include items exported by default
  -g, --grid[=GRID]		generate grid (default 100m)
  -t, --text-height=TEXT-HEIGHT	station labels text height (default 0.6)
  -m, --marker-size=MARKER-SIZE	station marker size (default 0.8)
      --3d			produce Survex 3d output
      --csv			produce CSV output
      --dxf			produce DXF output
      --eps			produce EPS output
      --gpx			produce GPX output
      --hpgl			produce HPGL output
      --json			produce JSON output
      --kml			produce KML output
      --plt			produce Compass PLT output for Carto
      --skencil			produce Skencil output
      --pos			produce Survex POS output
      --svg			produce SVG output
      --help			display this help and exit
      --version			output version information and exit

c:\Program Files (x86)\Survex>aven --help 
aven - Survex 1.4.9

Usage: aven [OPTION]... [SURVEY_FILE]

  -s, --survey=SURVEY		only load the sub-survey with this prefix
  -p, --print			print and exit (requires a 3d file)
      --help			display this help and exit
      --version			output version information and exit

c:\Program Files (x86)\Survex>aven
***OK***

c:\Program Files (x86)\Survex>cd "c:\program files (x86)\survex" 

c:\Program Files (x86)\Survex>cavern --help 
cavern - Survex 1.4.10

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 (x86)\Survex>survexport --help 
survexport - Survex 1.4.10

Usage: survexport [OPTION]... FILE [FILE]

  -s, --survey=SURVEY		only load the sub-survey with this prefix
      --scale=SCALE		scale (50, 0.02, 1:50 and 2:100 all mean 1:50)
      --bearing=BEARING		bearing (90, 90d, 100g all mean 90°)
      --tilt=TILT		tilt (45, 45d, 50g, 100% all mean 45°)
      --plan			plan view (equivalent to --tilt=-90)
      --elevation		elevation view (equivalent to --tilt=0)
      --legs			underground survey legs
      --surface-legs		surface survey legs
      --splays			splay legs
      --crosses			station markers
      --station-names		station labels
      --entrances		entrances
      --fixes			fixed points
      --exports			exported stations
      --cross-sections		cross-sections
      --walls			walls
      --passages		passages
      --origin-in-centre	origin in centre
      --full-coordinates	full coordinates
      --clamp-to-ground		clamp to ground
      --defaults		include items exported by default
  -g, --grid[=GRID]		generate grid (default 100m)
  -t, --text-height=TEXT_HEIGHT	station labels text height (default 0.6)
  -m, --marker-size=MARKER_SIZE	station marker size (default 0.8)
      --3d			produce Survex 3d output
      --csv			produce CSV output
      --dxf			produce DXF output
      --eps			produce EPS output
      --gpx			produce GPX output
      --hpgl			produce HPGL output
      --json			produce JSON output
      --kml			produce KML output
      --plt			produce Compass PLT output for Carto
      --skencil			produce Skencil output
      --pos			produce Survex POS output
      --svg			produce SVG output
      --help			display this help and exit
      --version			output version information and exit

c:\Program Files (x86)\Survex>aven --help 
***Crash***
c:\Program Files (x86)\Survex>aven
***Crash***


c:\Program Files (x86)\Survex>cd "c:\program files (x86)\survex" 

c:\Program Files (x86)\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 (x86)\Survex>survexport --help 
survexport - Survex 1.4.11

Usage: survexport [OPTION]... FILE [FILE]

  -s, --survey=SURVEY		only load the sub-survey with this prefix
      --scale=SCALE		scale (50, 0.02, 1:50 and 2:100 all mean 1:50)
      --bearing=BEARING		bearing (90, 90d, 100g all mean 90°)
      --tilt=TILT		tilt (45, 45d, 50g, 100% all mean 45°)
      --plan			plan view (equivalent to --tilt=-90)
      --elevation		elevation view (equivalent to --tilt=0)
      --legs			underground survey legs
      --surface-legs		surface survey legs
      --splays			splay legs
      --crosses			station markers
      --station-names		station labels
      --entrances		entrances
      --fixes			fixed points
      --exports			exported stations
      --cross-sections		cross-sections
      --walls			walls
      --passages		passages
      --origin-in-centre	origin in centre
      --full-coordinates	full coordinates
      --clamp-to-ground		clamp to ground
      --defaults		include items exported by default
  -g, --grid[=GRID]		generate grid (default 100m)
  -t, --text-height=TEXT_HEIGHT	station labels text height (default 0.6)
  -m, --marker-size=MARKER_SIZE	station marker size (default 0.8)
      --3d			produce Survex 3d output
      --csv			produce CSV output
      --dxf			produce DXF output
      --eps			produce EPS output
      --gpx			produce GPX output
      --hpgl			produce HPGL output
      --json			produce JSON output
      --kml			produce KML output
      --plt			produce Compass PLT output for Carto
      --pos			produce Survex POS output
      --svg			produce SVG output
      --help			display this help and exit
      --version			output version information and exit

c:\Program Files (x86)\Survex>aven --help 
***Crash***
c:\Program Files (x86)\Survex>aven
***Crash***

> -----Original Message-----
> From: Survex <survex-bounces at survex.com> On Behalf Of Olly Betts
> Sent: 14 October 2024 19:56
> To: Špela Borko <borko.spela at gmail.com>
> Cc: survex at survex.com
> Subject: Re: Error 0xc0000142
> 
> On Mon, Oct 14, 2024 at 09:19:38AM +0200, Špela Borko wrote:
> > I have the same issue, version 1.4.9 is the last one that works for me.
> 
> Are you sure 1.4.9 works?
> 
> Previous reporters seem to have indicated that 1.4.9 fails and 1.4.8 works,
> which fits with the major change to how the installer is built in 1.4.9.  If 1.4.9
> actually works that means seems to mean that is not actually the cause.
> 
> > Same error as Graham gets, run from both GUI and cmd. Win 11. If you
> > need me to test & report, please tell me.
> 
> It would be really helpful to know what the problem actually is, so if you (or
> anyone) is able to run survexport (or aven) under a debugger or similar and
> find out some details about the DLL failing to initialise that would probably
> help.
> 
> Cheers,
>     Olly
> 
> --
> Survex https://lists.survex.com/mailman/listinfo/survex




More information about the Survex mailing list