[r66] Check failure when changing global var

  • If I create a global variable and try to set it I get this error :

    <img src="http://dl.dropbox.com/u/23551572/C2/Report/GV-crash.jpg" border="0" />

    If I create a sprite add an instance variable, and try to set the variable to 1 on start of layout I get a crash the moment I click

    <img src="http://dl.dropbox.com/u/23551572/C2/Report/IV-crash.jpg" border="0" />

    (I know Ash likes my little explanation pics :D)

  • OK, this is a total mystery still, I thought you would see that new debug dialog before the check failure happened. I have no idea how that check failure could happen, it's in code that should not even be called by that point.

    I think the best thing to do now is this:

    I need a volunteer: someone who's experiencing the problem. I'll need a new user account on your computer with admin permissions, and then enable remote desktop so I can access the machine. I'll need to install some special debugging software so I can diagnose the problem on a machine where this is happening. Obviously you need to trust me with your computer... hopefully you do! I'll do my best to clean up everything I've installed when I'm done, they'll all be official Microsoft tools for debugging.

    I think that's the only way to get to the bottom of this quickly - the way things are going now it could be days or weeks. Any volunteers? (Sorry it's come to this, I really think it's the final option.)

  • ok I'm in, come in the chan to explain how to proceed (:

    I also have VS studio 2010 if it can be usefull

  • Strange case indeed!

    Im willing to let you use my computer to run your tests.

    May i suggest TeamViewer to establish a safe connection? It's free and it requires no installation, it can be used on the fly.

    Unless i was too late and you already did it?

  • my computer is all yours, if you have not already figured the problem out. i wanna get back to work :). got me hooked on this program! lol

  • Yann was kind enough to let me try, but it doesn't reproduce over remote desktop! Argh!

    Next I'll try something involving logging. Another build should follow soon.

  • Should have given the already mentioned here and also in chat TeamViewer a try. Rumour has it it does just fine with OpenGL or whatever's on the screen. Perhaps not, but worth a try.

  • If you want to give it another try with TeamViewer instead, just call me. :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the offers all, I might give TeamViewer another shot if this doesn't work:

    http://www.scirra.com/downloads/releases/construct2-r66-2-tryfix4.exe

    This build writes a file called waffles.txt to your desktop as you use it. It's a log of various things happening in the engine.

    If you could run the original repro with this build, which is:

    • Add a global variable
    • Add 'on start of layout' - 'set global variable'
    • Set the variable you made to 1
    • Click Done - this is where it crashes

    Once you've done that, send me your waffles.txt (don't paste it on to the forum, it's probably quite long - try a public dropbox folder). This should include some useful extra info.

    Note: if you run it a second time, delete waffles.txt first otherwise it will keep adding to the end of the old file, which is probably confusing.

    Hopefully by comparing the log file from my working computer to a log file from one of you with the problem the cause can be isolated relatively narrowly. Thanks for the help so far everyone!

  • Installed and ran it twice, not getting any 'waffles.txt' on my desktop. This one's a bit of a bugger isn't it!

    Edit: Did a complete search of all drives and no 'waffles.txt' anywhere.

  • Nickydude, try right-clicking and 'Run as administrator' on the main Construct 2 EXE file.

  • Same here. No Mr. waffles :/

  • Nickydude, try right-clicking and 'Run as administrator' on the main Construct 2 EXE file.

    Still no waffles.

  • Also tried Admin mode before reading this - no Waffles!

    Edit: Did a full HDD search, no Waffles anywhere.

  • Same here. No 'waffles.txt'. Global vars are working now however instance vars still crash.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)