Lt. Torres 11919
Joined: 02 Jun 2007 Posts: 2 Location: Admin: KEEP this account, DELETE 11796, RENAME this one to "Lt. Torres"
|
Posted: Sat Jun 02, 2007 11:19 pm Post subject: Fix: GTKRadiant 1.5 Crash: assertion failure: module system |
|
|
If you have these errors...
Error 1 - Text (for search engines) wrote: | Radiant - Runtime Error
.\mainframe.cpp:610
assertion failure: module system failed to initialise - see radiant.log for error messages
-------------------
Stacktrace is disabled in release-builds
-------------------
Please report this error to the developers |
Error 1 - Screenshot wrote: |  |
Error 2 - Text (for search engines) wrote: | Radiant - Runtime Error
.\commands.cpp:88
assertion failure: failed to lookup command "PatchInspector"
-------------------
Stacktrace is disabled in release-builds
-------------------
Please report this error to the developers |
Error 2 - Screenshot wrote: |  |
Error 3 - Text (for search engines) wrote: | GtkRadiant.exe
GtkRadiant.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the information you were working on might be lost.
Please tell Microsoft about this problem.
We have created an error report that you can send to us. We will treat this report as confidential and anonymous.
To see what data this error report contains, click here.
[Send Error Report] [Don't Send] |
Error 3 - Screenshot wrote: |  |
As experienced by...
...the normal Google solution is to delete some "RadiantSettings" folder...now, this may help 1% of you, but it didn't help me & jump3r^...
More info on the error...
After fighting with this error for awhile I happened to look at the Windows XP - Event Viewer & it mentioned a million (cuz I was running & crashing Radiant all day) SideBySide Errors...
Windows XP - Event Viewer - System (all 3 repeated for EVERY module/plugin) wrote: | 5/7/07 2:08:38am SideBySide Error None 32 N/A <computer-name> Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
5/7/07 2:08:38am SideBySide Error None 59 N/A <computer-name> Generate Activation Context failed for C:\Program Files\GTKRadiant\1.5.0-borked\modules\modelmd3.dll. Reference error message: The operation completed successfully.
5/7/07 2:08:38am SideBySide Error None 59 N/A <computer-name> Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system. |
...what is SideBySide?...well it's that...Side-by-Side copies of common dll's...so each application can get a specific version of a dll.
GTKRadiant 1.5.0 (every version after RC1 {cuz that one don't crash with this message}) requires & uses the latest & greatest Microsoft.VC80.CRT Assembly...it also nicely includes those dlls, but he apparently didn't fully test the "local" install of the Assembly, cuz the Microsoft.VC80.CRT can be installed into the system...or just locally installed to the application's directory...this works fine for most of GTKRadiant 1.5.0, but the plugins & modules are in subdirectories & can't "find" the Microsoft.VC80.CRT dlls, because they aren't looking up 1 directory level, they are looking in the "current" dir & the "windows system" dir...not finding it...*BOOM*...crash...it really just errors on a programmed-in assertion to make sure the plugin system started correctly, that assertion fails...cuz the plugins couldn't find the dlls...hence Error 1...I'm not sure why it continues cascade failing into PatchInspector & the final...*BOOM*...Send / Don't Send real crash...just wasn't fully tested without the Assembly installed into Windows...cuz I imagine on his dev computer, he installed it into Windows...& perhaps a "properly patched/updated" XP already has this installed, seeing as so FEW get this error...my XP is SP1 & hasn't been updated since I got it, I don't want most of the Microsoft Patches...but I wouldn't mind installing Microsoft.VC80.CRT tho...anyway the FIX...THE FIX...
Option 1
Install Microsoft.VC80.CRT globally into Windows (try google I can't find it?)...or maybe here...
Option 2 - I didn't actually try this way, but it should logically work
In the GTKRadiant dir...mine is C:\Program Files\GTKRadiant\1.5.0...
Copy...
msvcp80.dll
msvcr80.dll
msvcm80.dll
Microsoft.VC80.CRT.Manifest
...into both the plugins & modules subdirs...I don't really feel like breaking my GTKRadiant again right now, but if that by itself still don't work...
Open: <GTKRadiant-Install-Dir>\plugins\Microsoft.VC80.CRT.Manifest
Select All & Replace with...
Microsoft.VC80.CRT.Manifest for plugins & modules subdirs wrote: | |
Code: | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="Microsoft.VC80.CRT"
version="8.0.50608.0"
processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"
/>
<file name="msvcr80.dll"/>
<file name="msvcp80.dll"/>
<file name="msvcm80.dll"/>
</assembly> |
...then do the same with that file in modules (or copy the newly edited plugins version to modules), but LEAVE the 8.0.50727.42 in the other one...
<GTKRadiant-Install-Dir>\Microsoft.VC80.CRT.Manifest = 8.0.50727.42
<GTKRadiant-Install-Dir>\plugins\Microsoft.VC80.CRT.Manifest = 8.0.50608.0
<GTKRadiant-Install-Dir>\modules\Microsoft.VC80.CRT.Manifest = 8.0.50608.0
...I'm pretty sure that's what I ended up with...
Option 3 - what I actually did
In the GTKRadiant dir...mine is C:\Program Files\GTKRadiant\1.5.0...
Create a new folder: <GTKRadiant-Install-Dir>\Microsoft.VC80.CRT
Copy...
msvcp80.dll
msvcr80.dll
msvcm80.dll
Microsoft.VC80.CRT.Manifest
...into that new folder...then copy that folder into plugins & modules, then edit both...
<GTKRadiant-Install-Dir>\plugins\Microsoft.VC80.CRT\Microsoft.VC80.CRT.Manifest
<GTKRadiant-Install-Dir>\modules\Microsoft.VC80.CRT\Microsoft.VC80.CRT.Manifest
...Select All & Replace same as Option 2... ...ENJOY!
PS...Can I take this time to BEG namespace & whatever other devs WERE working on GTKRadiant to PLEASE CONTINUE...or perhaps release one more with this assembly thing fixed...but really no, just continue...pleeeeaaaazeeeee?!?!?...
Oh one more feature request...allow the "t" button to open the texture browser, even if it's in a window layout with a texture browser...see the one in the panes (I use window layout 1) is kinda small & t only opens the texture browser when in window layout 3...but it'd be nice to allow t to always work...it'd also be good to have the camera on the right in layout 3 like it is in layout 1...
SplashDamage Admin: The server clock is 4:25 fast (4mins 25secs fast)... _________________
LooseChange911.com • See Loose Change (click image!) • LC Blog |
|