Project Zomboid

Project Zomboid

Maercs Oct 19, 2014 @ 12:45am
Game crashes (solution)
Had that nasty problem with 1 second black DOS window upon start of the game. Read lots of articles and forums on different solutions to this: Java reinstall and RAM size, game reinstall, compatibility mode and a lot more. Nothing worked. But! At last, after a few days of experimenting I found out that game will ALWAYS start after comp rebooting.

P.S. Don't ask for logs or error files - game doesn't create them in my case.
< >
Showing 1-7 of 7 comments
zer0_m0 Oct 19, 2014 @ 7:23am 
what are your specs?
Maercs Oct 20, 2014 @ 2:36am 
Originally posted by EnigmaGrey:
Have no idea how to interpret this post, so I'll just throw out the usual starting point while pointing out that reinstalling Java doesn't have an effect and compatibility mode has been antiquated for the past year, in case anyone searches and finds this post in the Future.

Go to the installation directory of the game by right clicking on Project Zomboid and selecting Properties in the Steam game library then press the Browse Local Files button shown here: http://i.imgur.com/PFy0kmJ.png

While you have these options open, disable the Steam overlay in the General tab.

Find the ProjectZomboid32.bat file (blue gears for an icon, not a red and black egg) and double click it. Once (if) the game crashes, take a screenshot of the console and upload it to imgur.com, linking it here. This will hopefully tell us what's wrong. =)

I guess, there's no need for this. These screens will be the same I saw on forums, including Steam ones. "Error occurred during initialization of vm", Java problems, etc etc. People were giving solutions to these screens, I tried them all, but none of them worked.
Maercs Oct 20, 2014 @ 2:36am 
Originally posted by zer0_m0:
what are your specs?

Of my computer?
Maercs Oct 20, 2014 @ 5:52am 
Originally posted by EnigmaGrey:
If it's an error occured during intializiation, it's usually just the JAVA_OPTIONS variable being declared in Environment Path Variables.

Checked variables - no sign of Java at all.
Maercs Oct 22, 2014 @ 12:40am 
Update.

Reinstalled the game to another hard drive, C instead of D (thought it would be easier for game to find Java, which is on C). x64 version still doesn't work, but x32 began to start nicely (both .bat and .exe). But more important, that after this I (for no reason) went to Steam folder left on D and found lonely file hs_err_pid4644. To mention, game wasn't generating such files before. Here is its content:

(P.S.: Since I can play 32 version of the game, I'm not actually interested in solution, but I'm still curious about it.)

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1400832 bytes for object start array expansion
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (objectStartArray.cpp:102), pid=4644, tid=664
#
# JRE version: (7.0_72-b14) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.72-b04 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#

--------------- T H R E A D ---------------

Current thread (0x000000000352e800): JavaThread "Unknown thread" [_thread_in_vm, id=664, stack(0x0000000000030000,0x0000000000130000)]

Stack: [0x0000000000030000,0x0000000000130000]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]


--------------- P R O C E S S ---------------

Java Threads: ( => current thread )

Other Threads:

=>0x000000000352e800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=664, stack(0x0000000000030000,0x0000000000130000)]

VM state:not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
0x0000000140000000 - 0x0000000140069000 D:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\ProjectZomboid64.exe
0x0000000076ea0000 - 0x0000000077049000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076c80000 - 0x0000000076d9f000 C:\Windows\system32\kernel32.dll
0x000007fefd150000 - 0x000007fefd1bb000 C:\Windows\system32\KERNELBASE.dll
0x0000000076da0000 - 0x0000000076e9a000 C:\Windows\system32\USER32.dll
0x000007feff140000 - 0x000007feff1a7000 C:\Windows\system32\GDI32.dll
0x000007fefdbb0000 - 0x000007fefdbbe000 C:\Windows\system32\LPK.dll
0x000007fefeff0000 - 0x000007feff0b9000 C:\Windows\system32\USP10.dll
0x000007fefdca0000 - 0x000007fefdd3f000 C:\Windows\system32\msvcrt.dll
0x000007fefdbc0000 - 0x000007fefdc9b000 C:\Windows\system32\ADVAPI32.dll
0x000007fefdff0000 - 0x000007fefe00f000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefd870000 - 0x000007fefd99d000 C:\Windows\system32\RPCRT4.dll
0x000007fefb460000 - 0x000007fefb654000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007feff0c0000 - 0x000007feff131000 C:\Windows\system32\SHLWAPI.dll
0x000007fefd840000 - 0x000007fefd86e000 C:\Windows\system32\IMM32.DLL
0x000007fefd1c0000 - 0x000007fefd2c9000 C:\Windows\system32\MSCTF.dll
0x000007fef0d70000 - 0x000007fef0eb9000 D:\Program Files (x86)\Steam\gameoverlayrenderer64.dll
0x000007fefa0e0000 - 0x000007fefa11b000 C:\Windows\system32\WINMM.dll
0x000007fefd9a0000 - 0x000007fefdba3000 C:\Windows\system32\ole32.dll
0x0000000077060000 - 0x0000000077067000 C:\Windows\system32\psapi.dll
0x000007fefccc0000 - 0x000007fefcd17000 C:\Windows\system32\apphelp.dll
0x000000005c330000 - 0x000000005cb03000 d:\program files (x86)\steam\steamapps\common\projectzomboid\jre64\bin\server\jvm.dll
0x000007fef46c0000 - 0x000007fef46c9000 C:\Windows\system32\WSOCK32.dll
0x000007fefdfa0000 - 0x000007fefdfed000 C:\Windows\system32\WS2_32.dll
0x000007fefe250000 - 0x000007fefe258000 C:\Windows\system32\NSI.dll
0x0000000071710000 - 0x00000000717e2000 C:\Windows\system32\MSVCR100.dll
0x00000000716f0000 - 0x00000000716ff000 d:\program files (x86)\steam\steamapps\common\projectzomboid\jre64\bin\verify.dll
0x00000000716c0000 - 0x00000000716e8000 d:\program files (x86)\steam\steamapps\common\projectzomboid\jre64\bin\java.dll
0x00000000716a0000 - 0x00000000716b5000 d:\program files (x86)\steam\steamapps\common\projectzomboid\jre64\bin\zip.dll

VM Arguments:
jvm_args: -Dexe4j.semaphoreName=Local\d:_program_files_(x86)_steam_steamapps_common_projectzomboid_projectzomboid64.exe0 -Dexe4j.moduleName=D:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\ProjectZomboid64.exe -Dexe4j.tempDir=C:\Users\Caze\AppData\Local\Temp\e4j4FF3.tmp_dir1413898874 -Dexe4j.unextractedPosition=394810 -Djava.library.path=D:\Program Files (x86)\Steam;C:\Windows\System32;d:\program files (x86)\steam\steamapps\common\projectzomboid\jre64\bin -Dexe4j.consoleCodepage=cp866 -Xms1024m -Xmx2048m -Djava.library.path=./
java_command: D:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\ProjectZomboid64.exe
Launcher Type: generic

Environment Variables:
PATH=D:\Program Files (x86)\Steam;C:\Windows\System32;d:\program files (x86)\steam\steamapps\common\projectzomboid\jre64\bin
USERNAME=Caze
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, tsc

Memory: 4k page, physical 2095608k(1152312k free), swap 2632608k(337456k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.72-b04) for windows-amd64 JRE (1.7.0_72-b14), built on Sep 26 2014 19:14:42 by "java_re" with unknown MS VC++:1600

time: Tue Oct 21 17:41:16 2014
elapsed time: 0 seconds

Last edited by Maercs; Oct 22, 2014 @ 12:42am
Maercs Oct 22, 2014 @ 10:20am 
Originally posted by EnigmaGrey:
I apologize if I'm coming across as harsh; I'm sure this is a frustrating experience for us both. :D


I don't think it's harsh at all = ) So, what are the possible solutions for this?
SatiDemon Apr 28, 2024 @ 10:46am 
This has happened to me too, any solution?
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Oct 19, 2014 @ 12:45am
Posts: 7