Fix: GTKRadiant 1.5 Crash: assertion failure: module system


(Lt. Torres 11919) #1

UPDATE 7-15-08: SplashDamage downgraded from phpBB to vBull-shit-etin,
which borked my post & broke all links to splashdamage.com/forums/viewtopic.php?t=16919

For people searching the old url, trying to find its new home…Old URL: http://www.splashdamage.com/forums/viewtopic.php?t=16919
Current URL (7-15-08): splashdamage.com/forums/showthread.php?t=15378
Permalink: r.secsrv.net/GTKRadiant-1.5-Crash-assertion-failure-module-system-failed-to-initialise…(I will…or at least I can, update the permalink if SD decides to downgrade again (or re-upgrade to phpBB)…so if you link to my permalink, you have a chance of it not breaking)…
If you have these errors…

Error 1 - Text (for search engines)…

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 - Alternate Text (for people searching for -ize {the actual error has initialise but correct would be initialize})…

assertion failure: module system failed to initialize - see radiant.log for error messages

Error 1 - Screenshot…

Error 2 - Text (for search engines)…

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…

Error 3 - Text (for search engines)…

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…


As experienced by…[ul][li]jump3r^: Re: GTKRadiant 1.5 released (old link: viewtopic.php?t=16685#176386)[*]Blackgamer: alientrap.org - Need Help, Radiant isn’t running![/ul]…the normal Google solution is to delete some “RadiantSettings” folder (old link: viewtopic.php?t=16685&p=177463#177463)…now, this may help 1% of you, but it didn’t help me & jump3r^…
[/li]
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)…

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…[ul][li]Option 1Install Microsoft.VC80.CRT globally into Windows (try google I can’t find it?)…or maybe here…[indent]Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
[/li]Update: 2005 SP1 has now been confirmed to work by several people
Microsoft Visual C++ 2008 Redistributable Package (x86)
(try at your own risk, I haven’t tested the 2008 download)[/indent][li]Option 2 - I didn’t actually try this way, but it should logically workIn the GTKRadiant dir…mine is C:\Program Files\GTKRadiant\1.5.0…
[/li]
Copy…[indent]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…

<?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…[/indent][li]Option 3 - what I actually did…In the GTKRadiant dir…mine is C:\Program Files\GTKRadiant\1.5.0…
[/li]
Create a new folder: <GTKRadiant-Install-Dir>\Microsoft.VC80.CRT

Copy…[indent]<the files from Option 2>…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…[/indent][/ul]…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???..
Update: Is ZeroRadiant the answer to my prayers?..but hey! where are the binaries? I can’t map with vaporware!? (no offence, but I can’t)…Zero says it’s based on GTKRadiant 1.4…2 questions…1) why?..2) does this mean my beloved Z-window is back?!?..

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…

Also a general GTKRadiant (maybe ZeroRadiant too) bug report…the shortcuts are listed backwards like Alt+Ctrl+E when it should be listed as Ctrl+Alt+E…Ctrl is before Alt…this order when all present: Ctrl+Shift+Alt+Win+E (Win is valid in AutoHotkey)…

SplashDamage Admin: The server clock is 4:25 fast (4mins 25secs fast)…
Update: SplashDamage Admin: phpBB -> vBulletin is a DOWNGRADE!..not to mention people had already linked to this topic & you borked the post too…why didn’t you 301 all the old topic urls to the new???..


(jump3r^) #2

phew, incredible! the option #1 worked!

thx m8 :rock:


(Mutt4Xtreme) #3

option #1 worked but then this error came up :gtkradiant error: ./main.cpp:186 runtime error:Gtkt error:GdkGLext:warning**:cannot creat GdkGL context… can someone help me with my problem please help me