http://bugs.winehq.org/show_bug.cgi?id=7555
------- Additional Comments From dank@kegel.com 2007-01-03 08:31 ------- Good to hear you can reproduce the problem with just the commandline. The next step might be to do WINEDEBUG=+relay wine npWBench.exe EnterprisePortal.rmp > log.txt 2>&1 to see what it was doing when it crashed. You might want to look at hs_err_pid8.log (or whatever) to see if there are clues there.
By the way, several bugs in msvcrt that affected Java were fixed recently. You might try with wine from git to see if this is already fixed, or you might try using native msvcrt.dll to see if that works around the problem.