Assert failure in commercial game? WTF?
-
Tried running this game demo called Battlefield 1942 and got this Debug assert failure. :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: See it at http://www.geocities.com/vpunathambekar/assertfail\_in\_game.jpg On a geek note, how can a release build (at least, I think it's a release build) installed in H: give a debug assert failure about some source file in C: , especially when I don't have the source files ? :confused:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
-
Tried running this game demo called Battlefield 1942 and got this Debug assert failure. :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: See it at http://www.geocities.com/vpunathambekar/assertfail\_in\_game.jpg On a geek note, how can a release build (at least, I think it's a release build) installed in H: give a debug assert failure about some source file in C: , especially when I don't have the source files ? :confused:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf:. i'm only pointer to myself
-
Heh, I had an assert failure in Windows some day, can't remember where though... All I can remember is that the build was done on the D: drive :)
Windows gave you an assert failure? :omg: Or did I misunderstand you? Anyway, where the assert failure point to? But in a release build? And a commercial game? Now that's something. :suss:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
-
Tried running this game demo called Battlefield 1942 and got this Debug assert failure. :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: See it at http://www.geocities.com/vpunathambekar/assertfail\_in\_game.jpg On a geek note, how can a release build (at least, I think it's a release build) installed in H: give a debug assert failure about some source file in C: , especially when I don't have the source files ? :confused:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
In the last few years I've been a console maniac, and really didn't care for PC games. Just put the CD, or the DVD on the drive and play. No worries about installing, misconfiguration, hw specs, performance, etc: no hassles, only fun. As I've bought a decent 3D card now, on the last few months I started playing some demo games only to see what's the state of the art on PC games. Some are very good, but what surprised me is the sheer number of bugs on these games. And now, thinking twice, what really impresses me is the stability of the console games. After these years, all the problems I had on PSX and PS2 games were dusty CDs. A little cleanup and everything is running again. Ok, one can say it's becase hardware on PS2 is always the same, but isn't DirectX an abstraction layer over hardware? Why are PSX and PS2 games so stable when compared with the same versions for PC? Acting as a substitute for God, he becomes a dispenser of justice. - Alexandre Dumas
-
Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf:. i'm only pointer to myself
Sourcesafe does that a lot. Never seen one in IE though :-) -- Ian Darling
-
Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf:. i'm only pointer to myself
Tomas Petricek wrote: Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf: :laugh:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
-
Tomas Petricek wrote: Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf: :laugh:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
I have seen this before. John
-
Windows gave you an assert failure? :omg: Or did I misunderstand you? Anyway, where the assert failure point to? But in a release build? And a commercial game? Now that's something. :suss:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
You understood me perfectly well :) Can't remember what I was doing at the time or what file it referenced, like I said, all I remember was that the final build was done on a d:\ drive. Does anyone know if there is something like the unix 'strings' on windows? It would be interesting to do the equivalent of "strings `find c:\windows` | grep 'd:\'" :)
-
I have seen this before. John
Review all of the DirectX files and make sure you do not have the DEBUG version install or in a path where the game can fine them. I get this all the time from Media Player and a few games. After pulling my hair out I learn that it was the DirectX Development Libraries and their location on my box (if you install them they will over write the End User runtime files) and adds DEBUG code for the development team. Use this to find out if you are running debug versions of the DirectX libraries C:\WINNT\system32\dxdiag.exe is the exe for DirectX Diag. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9\_c/directx/intro/tools/dxdiag.asp hope this helps .. ;P
-
Tried running this game demo called Battlefield 1942 and got this Debug assert failure. :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: :omg: :wtf: See it at http://www.geocities.com/vpunathambekar/assertfail\_in\_game.jpg On a geek note, how can a release build (at least, I think it's a release build) installed in H: give a debug assert failure about some source file in C: , especially when I don't have the source files ? :confused:
Vikram.
My soon-to-be-updated site KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.
It's becoming more common, as the relative cost of assertion checking falls, to leave it (and debugging information) in the executable. Don't fall into the trap of assuming that "debug" and "release" have specific and concrete meanings; they're just random terms that by default mean "compile with a couple of settings that turn on or off things like symbol inclusion, optimization, etc." As to why the C: path is there, remember that ASSERT is usually just a macro, and it uses __FILE__ and __LINE__ to notate the location. So, you're seeing the path of the source files on the developer's build box. Tim Lesher <tim@lesher.ws> www.lesher.ws WinDev: the Windows Developers' Mailing List