Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
NickH
18
Years of Service
User Offline
Joined: 19th May 2008
Location: Nova Prospekt, North Yorks, UK
Posted: 28th Sep 2011 16:19
Hi,

I started a thread about databases as I was getting a strange crash, just after using DarkData for the first time. I removed DD from my game and started on a different route. It was all going well until it crashed again. This is very strange as I'd never once had a crash till recently. My game is about 4000 lines long now, and split into many source files and functions. One of the times it crashed it left a crash log, the other times it didn't. I left had the game going for over 5 hours yesterday without a crash, and yet sometimes it can crash quite quickly.

[COMMON]
PathToEXE=W:\ProjectUFO\Source\CrashOn_09_28_11.txt
[CEXE]
m_dwRuntimeErrorDWORD=Internal Code:12002
m_dwRuntimeErrorLineDWORD=819

Does anyone know what this error is?

Nick
tiresius
23
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 28th Sep 2011 20:48
What is in CrashOn_09_28_11.txt ?

What is on or around line 819 in your full source dump .dba file ?


A 3D marble platformer using Newton physics.
NickH
18
Years of Service
User Offline
Joined: 19th May 2008
Location: Nova Prospekt, North Yorks, UK
Posted: 29th Sep 2011 18:50 Edited at: 29th Sep 2011 18:55
What do you mean "Full source dump"? You mean if all my source files were actually all one? If so it's a simple if that calls a function if required. I can't really explain that without providing god knows how much code as there are various function calls within that function. I'm quite sure it has nothing to do with that set of functions though. This crashing only seemed to start when I added the following simple functions. Basically it copies from one array to another. Theres 2 different versions and as far as I can tell enabling them causes instability.



Knowing what that "Internal code" means might help me figure out what's going on. I can't paste the code for where that array is used without pasting a huge lump of my GUI code, as it's basically creating an array of items to be displayed in a scrollable list. As standard I have a small few lines generating a random list before the main loop begins, making the list have 100 items, before either of the above functions are used. It never crashes with that list, if the above functions are disabled....if that makes sense!

Login to post a reply

Server time is: 2026-07-10 23:33:47
Your offset time is: 2026-07-10 23:33:47