From: | "Alan Stewart" <astewart1 [...] cox.net> |
To: | bug-par [...] rt.cpan.org |
Date: | Tue, 12 Aug 2003 20:48:24 -0700 |
Subject: | Errors while deleting temp directory |
Using PAR-0.73 on NT 4.0/sp6.
I get occasional "unhandled exception" crashes when launching the compiled
a.exe by different means. The VC debugger indicates the crash occurs in
par_rmtmpdir in par.exe. It appears that both a.exe (static.c) and par.exe
(main.c) invoke this subroutine near their end. I don't know why that would
cause a crash, and only when invoked from some places, but it's redundant.
When I eliminated the call in main.c, leaving the one in static.c, everything
works fine.
The call in main.c can't delete everything anyway, since some of the files are
DLLs that are still in use. This happens when compiling with "pp -d" where the
only call to par_rmtmpdir would be in main.c. Why not use the same process for
"-d" of having a.exe extract par.exe but not extract perlxx.dll, and clean up
after par.exe at the end of a.exe?
main.c has a
#ifndef PAR_MKTMPDIR
but I don't see a define elsewhere. Was there supposed to be a define in the
makefile?
Alan Stewart