Ticket #900 (closed defect: worksforme)
Crash running two instances of the game at once
| Reported by: | historic_bruno | Owned by: | |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Alpha 9 |
| Component: | Core engine | Keywords: | |
| Cc: | jan |
Description
OS: WinXP
Build: [9845] release or debug in VS2008 express
I get this error when I have one instance of the game open and then open a new one, it's unable to start (pressing continue does seem to work but only momentarily, as other errors occur).
Assertion failed: "GetLastError() == ERROR_FILE_NOT_FOUND"
Location: mahaf.cpp:350 (Init)
Call stack:
Init (mahaf.cpp:350)
s =
m_lastError = 2090328352 (0x7C97E120)
driverPathname =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65134
ModuleInit (module_init.cpp:47)
initState = 0x0064AEDC -> 4294867266 (0xFFFE7942)
init = 0x00424AA0 -> (Init)
mahaf_Init (mahaf.cpp:372)
CounterHPET::MapRegisters (hpet.cpp:152)
registers = 0x0064ACA4 -> 0x00000000
CounterHPET::Activate (hpet.cpp:61)
this = (unavailable)
revision = (unavailable)
vendorID = (unavailable)
GetNextBestSafeCounter (whrt.cpp:77)
counter = 0x0012FEF0 -> (ICounter)
nextCounterId = 1 (0x00000001)
buf = [100]
12844
94 ('^')
25536
67 ('C')
64930
30275
5
0
46 ('.')
21044
1
0 ...
InitCounter (whrt.cpp:108)
whrt_Init (whrt.cpp:303)
winit_CallInitFunctions (winit.cpp:89)
wstartup_InitAndRegisterShutdown (wstartup.cpp:109)
initterm_e (:0)
__tmainCRTStartup (crtexe.c:483)
nested = 0 (0x00000000)
CallStartupWithinTryBlock (wseh.cpp:397)
ret = 1229579465 (0x4949E4C9)
RegisterWaitForInputIdle (:0)
errno = 0 (Unknown error (0, 0x0))
OS error = 2 (The system cannot find the file specified.)
This leads to other errors like:
ERROR: CVFSFile: file shaders/model_common.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300)
and
Assertion failed: "p"
Location: trace.cpp:218 (Trace::Allocate)
Call stack:
Trace::NotifyLoad (trace.cpp:160)
this = (unavailable)
pathname = 0x0B9FB934 ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = [8] { 47 ('/'), 0, 0, 0, 47496, 2975, 2, 0 }
size = 2442 (0x0000098A)
VFS::LoadFile (vfs.cpp:187)
this = (unavailable)
pathname = 0x0B9FB934 (see above)
fileContents = 0x0012FB5C ->
px = 0x1024C000 -> "!!ARBfp1.0
#ifdef USE_FP_SHADOW
OPTION ARB_fragment_program_shadow;
#endif
#ifdef LIGHTING_MODEL_old
#define CLAMP_LIGHTING
#endif
#ifdef CLAMP_LIGHTING // for compat with old scenarios that expect clamped lighting
#define MAD_MAYBE_SAT MAD_SAT
#else
#define MAD_MAYBE_SAT MAD
#endif
#ifdef USE_OBJECTCOLOR
PARAM objectColor = program.local[0];
#endif
PARAM shadingColor = program.local[1];
PARAM ambient = program.local[2];
#ifdef USE_SHADOW_PCF
PARAM shadowOffsets1 = p"
pn =
pi_ = 0x0BA06E68 ->
use_count_ = 2 (0x00000002)
weak_count_ = 1 (0x00000001)
size = 0x0012FB64 -> 2442 (0x0000098A)
s = (ScopedLock)
directory = 0x1024B000 ->
m_files = (error -100500 while analyzing map<Path,VfsFile >)
m_subdirectories = (error -100500 while analyzing map<Path,VfsDirectory >)
m_realDirectory =
px = 0x70203D20 ->
(IFileLoader)
m_path =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = (unavailable - internal error)
m_priority = (unavailable - internal error)
m_flags = (unavailable - internal error)
m_watch =
px = (unavailable - internal error)
pn =
pi_ = (unavailable - internal error)
pn =
pi_ = 0x72676F72 ->
use_count_ = (unavailable - internal error)
weak_count_ = (unavailable - internal error)
m_shouldPopulate = 1814981985 (0x6C2E6D61)
file = 0x0012FB64 (see above)
CVFSFile::Load (filesystem.cpp:112)
this = (unavailable)
vfs = 0x0064F2EC ->
px = 0x093F64D0 -> (IVFS)
pn =
pi_ = 0x093F6FF0 ->
use_count_ = 4 (0x00000004)
weak_count_ = 1 (0x00000001)
filename = 0x0B9FB934 (see above)
CShaderProgramARB::Reload (shaderprogram.cpp:110)
this = (unavailable)
vertexFile =
m_Buffer =
px = 0x0FD54430 -> "èP^"
pn =
pi_ = 0x000006DC
m_BufferSize = 270843904 (0x1024C000)
vertexCode = { (error -100500 while analyzing string >) }
fragmentCode = { (error -100500 while analyzing string >) }
fragmentFile =
m_Buffer =
px = 0x0BA06E68 (see above)
pn =
pi_ = 0x0000098A
m_BufferSize = 16907208 (0x0101FBC8)
preprocessor =
Source = 0x0012FACC -> [8] { 12, 251, 18, 0, 241, 206, 92 ('\'), 0 }
SourceEnd = 0x0012FBE8 -> [8] { 216, 18, 76 ('L'), 0, 236, 117 ('u'), 158, 11 }
Line = 1244100 (0x0012FBC4)
BOL = (bool)0x20
EnableOutput = 2089877600 (0x7C910060)
MacroList = 0xFFFFFFFF ->
Name =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
NumArgs = (unavailable - internal error)
Args = (unavailable - internal error)
Value =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
Body =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
Next = (unavailable - internal error)
ExpandFunc = (unavailable - internal error)
Expanding = (unavailable - internal error)
ErrorData = 0x7C91005D
it = (error -100406 while analyzing _Tree<<CStr8,CStr8>::iterator)
CShaderManager::ReloadChangedFile (shadermanager.cpp:206)
this = (unavailable)
path = 0x0012FC70 ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = [8] { 47 ('/'), 18, 30724, 32424, 64708, 18, 16217, 93 (']') }
files =
{ { (error -100500 while analyzing iterator<forward_iterator_tag,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > >,int,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > > *,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > > &>) } }
base_ =
bucket_ = 0x0B9FABA8 ->
next_ = 0x005E4554 ->
next_ = 0x00403580 ->
next_ = 0x042444F6 ->
next_ = 0x00000000
node_ = 0x0B9FD8FC ->
next_ = 0x0BA01750 ->
next_ = 0x0B9FD878 ->
next_ = 0x00000000
program =
px = 0x0B9FABA8 (see above)
pn =
pi_ = 0x0B9FD8FC (see above)
CShaderManager::ReloadChangedFileCB (shadermanager.cpp:193)
param = 0x09684DE4
path = 0x0012FC70 (see above)
ReloadChangedFiles (filesystem.cpp:85)
notifications = (error -100500 while analyzing vector<DirWatchNotification >)
pathname =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 30724
Frame (main.cpp:296)
need_update = (bool)0x37
TimeSinceLastFrame = 0.000000 (0x093F5884)
need_render = (bool)0x3E
down = [3] { 0.000000 (0x005BA13D), 0.000000 (0x005B9310), 0.000000 (0x0012FEB8) }
RunGameOrAtlas (main.cpp:492)
argc = 1 (0x00000001)
argv = 0x093F5880 -> 0x093F5990 -> "C:\devel\0ad\ps\binaries\system\pyrogenesis.exe"
args =
m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
m_Arg0 =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 576
paths =
m_root =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65068
m_rdata =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 22823
m_data =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_config =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_cache =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65204
m_logs =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 30852
replay =
m_Stream = 0x00000001
mod =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65128
zip =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 4
paths =
m_root =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65068
m_rdata =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 22823
m_data =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_config =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_cache =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65204
m_logs =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 30852
builder =
m_VFS =
px = 0x00000000
pn =
pi_ = 0x00000002
m_Files = (error -100500 while analyzing vector<Path >)
m_TempDir =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 47 ('/')
main (main.cpp:511)
argc = 1 (0x00000001)
argv = 0x093F5880 (see above)
wmain (wseh.cpp:380)
argc = 1 (0x00000001)
argv = 0x093F5210 -> 0x093F5218 -> "C:\devel\0ad\ps\binaries\system\pyrogenesis.exe"
utf8_argv = (error -100500 while analyzing vector<char * >)
ret = 6009910 (0x005BB436)
utf8 = (error -100500 while analyzing string >)
__tmainCRTStartup (crtexe.c:583)
nested = 0 (0x00000000)
CallStartupWithinTryBlock (wseh.cpp:397)
ret = 1196924228 (0x47579D44)
RegisterWaitForInputIdle (:0)
errno = 0 (No error reported here)
OS error = 2 (The system cannot find the file specified.)
Change History
comment:2 in reply to: ↑ 1 Changed 10 months ago by historic_bruno
Replying to jan:
Running two instances is useful functionality and is intended to work, so I'll be happy to investigate this together with you. However, it works on my machine :/ I compiled the current SVN in debug mode with VC2010, ran one external instance of pyrogenesis_dbg.exe, then started another from the IDE. Since those shaders are only accessed after loading a map, I did the same, first taking the external instance in-game and then the IDE. Both worked. Then I thought it might be a race condition if both access the same file in rapid succession, so I launched an MP game. That worked as well. I wonder if you're using the FAT file system or something exotic like compression/encryption?
I'm on an old XP laptop again but it's NTFS, no compression or encryption. Actually I got those CVFSFile errors before starting a game, not really sure why they're being accessed. Console output from the second instance (HPET and TSC fail):
'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\pyrogenesis.exe', Symbols loaded. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e\msvcp90.dll', Symbols loaded. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e\msvcr90.dll', Symbols loaded. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\winhttp.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\version.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\mozjs185-ps-release-1.0.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\msvcr80.dll', Symbols loaded. 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\libxml2.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\iconv.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\zlib1.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\lpk.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\usp10.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll', Symbols loaded (source information stripped). HRT: activating HPET failed: Unknown error (-100022, 0xFFFFFFFFFFFE794A) HRT: activating TSC failed: Unknown error (140000, 0x222E0) HRT: using name=QPC freq=3579545.000000 HRT: counter=QPC freq=3.57955e+006 res=2.79365e-007 bits=64 Cache: 200 (total: 2040) MiB TIMER| InitVfs: 78.5904 ms 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\enet.dll', Binary was not built with debug information. TIMER| InitScripting: 4.24495 ms TIMER| CONFIG_Init: 134.31 ms 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\libcurl.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\rasapi32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\rasman.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\tapi32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\rtutils.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\Program Files\McAfee\SiteAdvisor\sahook.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\iglicd32.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msapsspc.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msvcrt40.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\msapsspc.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\msvcrt40.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\schannel.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\userenv.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\schannel.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\userenv.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\crypt32.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\msasn1.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\digest.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\digest.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msnsspc.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msvcrt40.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\msnsspc.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\msvcrt40.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msv1_0.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\cryptdll.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\igldev32.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\comres.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemprox.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemcomn.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemsvc.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wbem\fastprox.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msvcp60.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ntdsapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\dhcpcsvc.dll', Symbols loaded (source information stripped). TIMER| RunHardwareDetection: 1.59916 s 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\dsound.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Symbols loaded (source information stripped). The thread 'Win32 Thread' (0x224) has exited with code 0 (0x0). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll' 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\wdmaud.drv' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msacm32.drv', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\midimap.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll' TIMER| write_sys_info: 3.68136 s 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\nvtt.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\msvcp80.dll', Symbols loaded. TIMER| InitRenderer: 170.88 ms 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\libpng14.dll', Binary was not built with debug information. TIMER| ps_console: 44.2783 ms TIMER| ps_lang_hotkeys: 12.9388 ms TIMER| common/setup.xml: 14.4915 ms TIMER| common/styles.xml: 5.42611 ms TIMER| common/sprite1.xml: 18.3761 ms TIMER| common/init.xml: 14.1979 ms TIMER| pregame/sprites.xml: 13.2483 ms TIMER| pregame/styles.xml: 2.59083 ms TIMER| pregame/mainmenu.xml: 95.718 ms TIMER| common/global.xml: 5.48813 ms 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\OpenAL32.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll' 'pyrogenesis.exe': Loaded 'C:\WINDOWS\system32\ksuser.dll', Symbols loaded (source information stripped). 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\vorbisfile.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\ogg.dll', Binary was not built with debug information. 'pyrogenesis.exe': Loaded 'C:\devel\0ad\ps\binaries\system\vorbis.dll', Binary was not built with debug information. ERROR: CVFSFile: file shaders/solid_tex.fp couldn't be opened (vfs_load: -110300) TIMER| common/setup.xml: 8.7662 ms TIMER| common/styles.xml: 4.77714 ms TIMER| common/sprite1.xml: 19.4033 ms TIMER| gamesetup/setup.xml: 23.7527 ms TIMER| gamesetup/sprites.xml: 12.8011 ms TIMER| gamesetup/styles.xml: 37.2081 ms TIMER| gamesetup/gamesetup.xml: 650.214 ms ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300) TIMER| common/setup.xml: 5.59708 ms TIMER| common/styles.xml: 2.55284 ms TIMER| common/sprite1.xml: 14.9463 ms TIMER| gamesetup/setup.xml: 985.879 us TIMER| gamesetup/sprites.xml: 145.829 us TIMER| gamesetup/styles.xml: 468.495 us TIMER| gamesetup/gamesetup.xml: 141.107 ms ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.vp couldn't be opened (vfs_load: -110300) The thread 'RPC Callback Thread' (0x6fc) has exited with code 0 (0x0). ERROR: CVFSFile: file shaders/solid.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) The thread 'Win32 Thread' (0x910) has exited with code 0 (0x0). ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_tex.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.vp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/solid_color.fp couldn't be opened (vfs_load: -110300) ERROR: CVFSFile: file shaders/model_common.fp couldn't be opened (vfs_load: -110300)
One thing we can do is remove the first warning, at least - that's done in r9863. As to the trace failure, that's mystifying as well. It looks like you'd need to load > 80 000 files for that to occur - or is the very first Trace::Allocate failing due to a simple lack of memory?
Doesn't look like it's running out of memory yet, I've got 2GB RAM. Actually it's running so slow (maybe due to all the errors) that I can't start a game, it seems to be locked up.
comment:3 Changed 10 months ago by historic_bruno
OK, the program errors just popped up, all I did was wait. First instance:
Unable to open crashlog.txt for writing (please ensure the log directory is writable)
Location: debug.cpp:183 (debug_WriteCrashlog)
Call stack:
debug_WriteCrashlog (debug.cpp:183)
text = 0x0A820000 -> "Assertion failed: "p"
Location: trace.cpp:218 (Trace::Allocate)
Call stack:
Trace::NotifyLoad (trace.cpp:160)
this = (unavailable)
pathname = 0x0B12CB2C ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = [8] { 47 ('/'), 47789, 61453, 47789, 52456, 2834, 0, 0 }
size = 52 (0x00000034)
VFS::LoadFile (vfs.cpp:187)
this = (unavailable)
pathname = 0x0B12CB2C (see above)
fileContents = 0x38AE2F30 ->
..."
state = 2 (0x00000002)
pathname =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 19678
debug_DisplayError (debug.cpp:468)
description = 0x0012F76C -> "Assertion failed: "p""
flags = 4 (0x00000004)
context = 0x00000000
lastFuncToSkip = 0x38AE2F90 -> "debug_OnAssertionFailure"
pathname = 0x00610BF0 -> "..\..\..\source\lib\file\common\trace.cpp"
line = 218 (0x000000DA)
func = 0x00610C5C -> "Trace::Allocate"
suppress = 0x0064FB80 -> 0 (0x00000000)
emm = { pa_mem = 0x00563C3E }
debug_OnAssertionFailure (debug.cpp:553)
expr = 0x00610C58 -> "p"
suppress = 0x0064FB80 (see above)
file = 0x00610BF0 (see above)
line = 218 (0x000000DA)
func = 0x00610C5C (see above)
lastFuncToSkip = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
buf = "sertion failed: "p""
Trace::NotifyLoad (trace.cpp:160)
this = (unavailable)
pathname = 0x0B12CB2C ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = [8] { 47 ('/'), 47789, 61453, 47789, 52456, 2834, 0, 0 }
size = 52 (0x00000034)
VFS::LoadFile (vfs.cpp:187)
this = (unavailable)
pathname = 0x0B12CB2C (see above)
fileContents = 0x38AE2F30 ->
px = 0xBAADF00D -> (unavailable - internal error)
pn =
pi_ = 0x0DDE6C40 ->
use_count_ = 6881388 (0x0069006C)
weak_count_ = 3014756 (0x002E0064)
size = 0x0012FB64 -> 52 (0x00000034)
s = (ScopedLock)
directory = 0x103E2000 ->
m_files = (error -100500 while analyzing map<Path,VfsFile >)
m_subdirectories = (error -100500 while analyzing map<Path,VfsDirectory >)
m_realDirectory =
px = 0x726F6C6F ->
(IFileLoader)
m_path =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = (unavailable - internal error)
m_priority = (unavailable - internal error)
m_flags = (unavailable - internal error)
m_watch =
px = (unavailable - internal error)
pn =
pi_ = (unavailable - internal error)
pn =
pi_ = 0x7266202C ->
use_count_ = (unavailable - internal error)
weak_count_ = (unavailable - internal error)
m_shouldPopulate = 1701668705 (0x656D6761)
file = 0x0012FB64 (see above)
CVFSFile::Load (filesystem.cpp:112)
this = (unavailable)
vfs = 0x00647B0C ->
px = 0x003D8C70 -> (IVFS)
pn =
pi_ = 0x003D5FF0 ->
use_count_ = 4 (0x00000004)
weak_count_ = 1 (0x00000001)
filename = 0x0B12CB2C (see above)
CShaderProgramARB::Reload (shaderprogram.cpp:110)
this = (unavailable)
vertexFile =
m_Buffer =
px = 0x0DE72750 -> "\a"
pn =
pi_ = 0x00000289
m_BufferSize = 272506880 (0x103E2000)
vertexCode = { (error -100500 while analyzing string >) }
fragmentCode = { (error -100500 while analyzing string >) }
fragmentFile =
m_Buffer =
px = 0x38A0A0E0 -> "\a"
pn =
pi_ = 0x00000034
m_BufferSize = 129992 (0x0001FBC8)
preprocessor =
Source = 0x0012FACC -> [8] { 12, 251, 18, 0, 17, 211, 93 (']'), 0 }
SourceEnd = 0x0012FBE8 -> "x5N"
Line = 1244100 (0x0012FBC4)
BOL = (bool)0x20
EnableOutput = 2089877600 (0x7C910060)
MacroList = 0xFFFFFFFF ->
Name =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
NumArgs = (unavailable - internal error)
Args = (unavailable - internal error)
Value =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
Body =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
Next = (unavailable - internal error)
ExpandFunc = (unavailable - internal error)
Expanding = (unavailable - internal error)
ErrorData = 0x7C91005D
it = (error -100406 while analyzing _Tree<<CStr8,CStr8>::iterator)
CShaderManager::ReloadChangedFile (shadermanager.cpp:206)
this = (unavailable)
path = 0x0012FC70 ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = [8] { 47 ('/'), 18, 17958, 51287, 64708, 18, 27129, 92 ('\') }
files =
{ { (error -100500 while analyzing iterator<forward_iterator_tag,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > >,int,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > > *,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > > &>) } }
base_ =
bucket_ = 0x0B12C188 ->
next_ = 0x005FAB24 ->
next_ = 0x005972D0 ->
next_ = 0x042444F6 ->
next_ = 0x00000000
node_ = 0x0B12C000 ->
next_ = 0x0B12E0F8 ->
next_ = 0x0B12D0A0 ->
next_ = 0x00000000
program =
px = 0x0B12C188 (see above)
pn =
pi_ = 0x0B12C000 (see above)
CShaderManager::ReloadChangedFileCB (shadermanager.cpp:193)
param = 0x094BEFCC
path = 0x0012FC70 (see above)
ReloadChangedFiles (filesystem.cpp:85)
notifications = (error -100500 while analyzing vector<DirWatchNotification >)
pathname =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 17958
Frame (main.cpp:296)
need_update = (bool)0x29
TimeSinceLastFrame = 0.000000 (0x003D8A04)
need_render = (bool)0x41
down = [3] { 0.000000 (0x00402B9D), 0.000000 (0x00401870), 0.000000 (0x0012FEB8) }
RunGameOrAtlas (main.cpp:492)
argc = 1 (0x00000001)
argv = 0x003D8A00 -> 0x003D8A20 -> "c:\devel\0ad\ps\binaries\system\pyrogenesis.exe"
args =
m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
m_Arg0 =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 64916
paths =
m_root =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 11003
m_rdata =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 4096
m_data =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 35527
m_config =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 11035
m_cache =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65204
m_logs =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 18086
replay =
m_Stream = 0x7C91A000 -> (error -100406 while analyzing basic_istream<char,char_traits<char> >)
mod =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 41402
zip =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
paths =
m_root =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 11003
m_rdata =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 4096
m_data =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 35527
m_config =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 11035
m_cache =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65204
m_logs =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 18086
builder =
m_VFS =
px = 0x40000060 -> (IVFS)
pn =
pi_ = 0x00000090
m_Files = (error -100500 while analyzing vector<Path >)
m_TempDir =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 47 ('/')
main (main.cpp:511)
argc = 1 (0x00000001)
argv = 0x003D8A00 (see above)
wmain (wseh.cpp:380)
argc = 1 (0x00000001)
argv = 0x003D5448 -> 0x003D5450 -> "c:\devel\0ad\ps\binaries\system\pyrogenesis.exe"
utf8_argv = (error -100500 while analyzing vector<char * >)
ret = 5973437 (0x005B25BD)
utf8 = (error -100500 while analyzing string >)
__tmainCRTStartup (crtexe.c:583)
nested = 0 (0x00000000)
CallStartupWithinTryBlock (wseh.cpp:397)
ret = 3858131519 (0xE5F66A3F)
RegisterWaitForInputIdle (:0)
errno = 0 (Insufficient access rights to open file)
OS error = 32 (The process cannot access the file because it is being used by another process.)
Error from second instance:
Assertion failed: "p"
Location: trace.cpp:218 (Trace::Allocate)
Call stack:
Trace::NotifyLoad (trace.cpp:160)
this = (unavailable)
pathname = 0x0B632F2C ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = "/硥潣牯챸ୢ"
size = 52 (0x00000034)
VFS::LoadFile (vfs.cpp:187)
this = (unavailable)
pathname = 0x0B632F2C (see above)
fileContents = 0x0945A6B8 ->
px = 0x0000D400
pn =
pi_ = 0x0FAFBE28 ->
use_count_ = 6881388 (0x0069006C)
weak_count_ = 3014756 (0x002E0064)
size = 0x0012FB64 -> 52 (0x00000034)
s = (ScopedLock)
directory = 0x103E1000 ->
m_files = (error -100500 while analyzing map<Path,VfsFile >)
m_subdirectories = (error -100500 while analyzing map<Path,VfsDirectory >)
m_realDirectory =
px = 0x726F6C6F ->
(IFileLoader)
m_path =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = (unavailable - internal error)
m_priority = (unavailable - internal error)
m_flags = (unavailable - internal error)
m_watch =
px = (unavailable - internal error)
pn =
pi_ = (unavailable - internal error)
pn =
pi_ = 0x7266202C ->
use_count_ = (unavailable - internal error)
weak_count_ = (unavailable - internal error)
m_shouldPopulate = 1701668705 (0x656D6761)
file = 0x0012FB64 (see above)
CVFSFile::Load (filesystem.cpp:112)
this = (unavailable)
vfs = 0x00647B0C ->
px = 0x003D6218 -> (IVFS)
pn =
pi_ = 0x003D6F18 ->
use_count_ = 4 (0x00000004)
weak_count_ = 1 (0x00000001)
filename = 0x0B632F2C (see above)
CShaderProgramARB::Reload (shaderprogram.cpp:110)
this = (unavailable)
vertexFile =
m_Buffer =
px = 0x0FAFED18 -> "\a"
pn =
pi_ = 0x00000289
m_BufferSize = 272502784 (0x103E1000)
vertexCode = { (error -100500 while analyzing string >) }
fragmentCode = { (error -100500 while analyzing string >) }
fragmentFile =
m_Buffer =
px = 0x4A730648 -> "\a"
pn =
pi_ = 0x00000034
m_BufferSize = 16907208 (0x0101FBC8)
preprocessor =
Source = 0x0012FACC -> [8] { 12, 251, 18, 0, 17, 211, 93 (']'), 0 }
SourceEnd = 0x0012FBE8 -> "x5N"
Line = 1244100 (0x0012FBC4)
BOL = (bool)0x20
EnableOutput = 2089877600 (0x7C910060)
MacroList = 0xFFFFFFFF ->
Name =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
NumArgs = (unavailable - internal error)
Args = (unavailable - internal error)
Value =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
Body =
Type = (unavailable - internal error)
Allocated = (unavailable - internal error)
String = (unavailable - internal error)
Buffer = (unavailable - internal error)
Length = (unavailable - internal error)
Next = (unavailable - internal error)
ExpandFunc = (unavailable - internal error)
Expanding = (unavailable - internal error)
ErrorData = 0x7C91005D
it = (error -100406 while analyzing _Tree<<CStr8,CStr8>::iterator)
CShaderManager::ReloadChangedFile (shadermanager.cpp:206)
this = (unavailable)
path = 0x0012FC70 ->
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = [8] { 47 ('/'), 18, 56849, 49679, 64708, 18, 27129, 92 ('\') }
files =
{ { (error -100500 while analyzing iterator<forward_iterator_tag,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > >,int,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > > *,pair<Path const ,set<boost::weak_ptr<CShaderProgram> > > &>) } }
base_ =
bucket_ = 0x0B632FF0 ->
next_ = 0x005FAB24 ->
next_ = 0x005972D0 ->
next_ = 0x042444F6 ->
next_ = 0x00000000
node_ = 0x0B632018 ->
next_ = 0x0B633EF8 ->
next_ = 0x0B633410 ->
next_ = 0x00000000
program =
px = 0x0B632FF0 (see above)
pn =
pi_ = 0x0B632018 (see above)
CShaderManager::ReloadChangedFileCB (shadermanager.cpp:193)
param = 0x0945386C
path = 0x0012FC70 (see above)
ReloadChangedFiles (filesystem.cpp:85)
notifications = (error -100500 while analyzing vector<DirWatchNotification >)
pathname =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 56849
Frame (main.cpp:296)
need_update = (bool)0x58
TimeSinceLastFrame = 0.000000 (0x003D55CC)
need_render = (bool)0x41
down = [3] { 0.000000 (0x00402B9D), 0.000000 (0x00401870), 0.000000 (0x0012FEB8) }
RunGameOrAtlas (main.cpp:492)
argc = 1 (0x00000001)
argv = 0x003D55C8 -> 0x003D5670 -> "C:\devel\0ad\ps\binaries\system\pyrogenesis.exe"
args =
m_Args = (error -100500 while analyzing vector<pair<CStr8,CStr8> >)
m_Arg0 =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 608
paths =
m_root =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65068
m_rdata =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 22023
m_data =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_config =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_cache =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65204
m_logs =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 56977
replay =
m_Stream = 0x00000010
mod =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65128
zip =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 4
paths =
m_root =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65068
m_rdata =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 22023
m_data =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_config =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 0
m_cache =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 65204
m_logs =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 56977
builder =
m_VFS =
px = 0x00000000
pn =
pi_ = 0x00000020
m_Files = (error -100500 while analyzing vector<Path >)
m_TempDir =
path = (error -100500 while analyzing basic_string<wchar_t,char_traits<wchar_t> >)
separator = 47 ('/')
main (main.cpp:511)
argc = 1 (0x00000001)
argv = 0x003D55C8 (see above)
wmain (wseh.cpp:380)
argc = 1 (0x00000001)
argv = 0x003D4F10 -> 0x003D4F18 -> "C:\devel\0ad\ps\binaries\system\pyrogenesis.exe"
utf8_argv = (error -100500 while analyzing vector<char * >)
ret = 5973437 (0x005B25BD)
utf8 = (error -100500 while analyzing string >)
__tmainCRTStartup (crtexe.c:583)
nested = 0 (0x00000000)
CallStartupWithinTryBlock (wseh.cpp:397)
ret = 3795852618 (0xE2401D4A)
RegisterWaitForInputIdle (:0)
errno = 0 (No error reported here)
OS error = 2 (The system cannot find the file specified.)
comment:4 Changed 10 months ago by jan
HPET and TSC failures are legit, the return codes look fine (but the lack of strings there means the auto-registration system is acting up again, hrmpf).
Ah, the call stacks now are very helpful. It looks like the cause is constant reloading - that explains very slow speed, even in the main menu, and the fact that you are apparently seeing more than 80k file opens. Now the million dollar question is to WHY the reloads are happening. I would have thought that this mechanism is fairly reliable on Windows. It'd be helpful if you would break on wdir_watch!345 and see what is in the notifications vector. Is it only the shader files?
And once you've got those files, Filemon might tell us why they are being marked as changed. Maybe some antivirus crap actually modifies their timestamp when looking at them?

Running two instances is useful functionality and is intended to work, so I'll be happy to investigate this together with you. However, it works on my machine :/ I compiled the current SVN in debug mode with VC2010, ran one external instance of pyrogenesis_dbg.exe, then started another from the IDE. Since those shaders are only accessed after loading a map, I did the same, first taking the external instance in-game and then the IDE. Both worked. Then I thought it might be a race condition if both access the same file in rapid succession, so I launched an MP game. That worked as well. I wonder if you're using the FAT file system or something exotic like compression/encryption?
One thing we can do is remove the first warning, at least - that's done in r9863. As to the trace failure, that's mystifying as well. It looks like you'd need to load > 80 000 files for that to occur - or is the very first Trace::Allocate failing due to a simple lack of memory?