Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Assert failure in commercial game? WTF?

Assert failure in commercial game? WTF?

Scheduled Pinned Locked Moved The Lounge
comgame-devdebuggingquestionannouncement
11 Posts 8 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Vikram A Punathambekar

    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.

    R Offline
    R Offline
    roel_
    wrote on last edited by
    #2

    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 :)

    V 1 Reply Last reply
    0
    • V Vikram A Punathambekar

      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.

      T Offline
      T Offline
      Tomas Petricek
      wrote on last edited by
      #3

      Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf:. i'm only pointer to myself

      I V 2 Replies Last reply
      0
      • R roel_

        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 :)

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #4

        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.

        R 1 Reply Last reply
        0
        • V Vikram A Punathambekar

          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.

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #5

          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

          1 Reply Last reply
          0
          • T Tomas Petricek

            Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf:. i'm only pointer to myself

            I Offline
            I Offline
            Ian Darling
            wrote on last edited by
            #6

            Sourcesafe does that a lot. Never seen one in IE though :-) -- Ian Darling

            1 Reply Last reply
            0
            • T Tomas Petricek

              Yesterday I got "Pure virtual function call" message from Internet Explorer :wtf:. i'm only pointer to myself

              V Offline
              V Offline
              Vikram A Punathambekar
              wrote on last edited by
              #7

              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.

              J 1 Reply Last reply
              0
              • V Vikram A Punathambekar

                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.

                J Offline
                J Offline
                John M Drescher
                wrote on last edited by
                #8

                I have seen this before. John

                D 1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  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.

                  R Offline
                  R Offline
                  roel_
                  wrote on last edited by
                  #9

                  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:\'" :)

                  1 Reply Last reply
                  0
                  • J John M Drescher

                    I have seen this before. John

                    D Offline
                    D Offline
                    Darkmatter
                    wrote on last edited by
                    #10

                    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

                    1 Reply Last reply
                    0
                    • V Vikram A Punathambekar

                      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.

                      T Offline
                      T Offline
                      Tim Lesher
                      wrote on last edited by
                      #11

                      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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups