Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
SED debug run leads into runtime error #436445
01/27/14 09:11
01/27/14 09:11
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi support,

when I try to run my project from SED in debug mode I get a runtime error:

-----------------------------------------------------------
Runtime Error!

Program: D:\Apps\GStudio8\SED.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

-----------------------------------------------------------

Any hints what the problem might be?

Regards,
Sascha.

Re: SED debug run leads into runtime error [Re: pegamode] #436519
01/28/14 10:17
01/28/14 10:17
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
This sounds like a crash in the game - a random crash that only happens in debug mode. It is no direct crash in the script, otherwise you'd see an error message, but something else, like a subsequent crash due to a script problem, or a damaged file.

I would remove parts of the project until it does not crash anymore, then move them back step by step. This is the best method for finding random crashes.

Re: SED debug run leads into runtime error [Re: jcl] #436522
01/28/14 11:01
01/28/14 11:01
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I get that crash while the engine is compiling the code ... somewhere at about 50%. Is there any memory limit for debug mode? The project is quite big.

Re: SED debug run leads into runtime error [Re: pegamode] #436571
01/29/14 07:40
01/29/14 07:40
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
There is a limit, but you should get an error message when it is reached. But when using object definitions in the code, such as images or sounds, the files are loading at compile time - so that also points towards a damaged file. You could temporarily replace all files by dummys and check if this solves the problem.

Re: SED debug run leads into runtime error [Re: jcl] #436574
01/29/14 07:55
01/29/14 07:55
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Currently I'm running through subversion revisions to find the point where we got this issue.

I already found a rev that doesn't crash and started doing a binary search. So I should find the file that causes the issue soon.

Re: SED debug run leads into runtime error [Re: pegamode] #436599
01/29/14 18:12
01/29/14 18:12
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
@JCL if this is really related to a defect file which is loaded, maybe adding an Exceptionhandler around loading/processing files might be possible? In this case it might be possible to printout the filename when it occurs to avoid searching.


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: SED debug run leads into runtime error [Re: Rackscha] #436600
01/29/14 18:34
01/29/14 18:34
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
There are lots of exception handlers in Gamestudio, but as you can see here, even they can not catch anything.

Re: SED debug run leads into runtime error [Re: jcl] #436605
01/29/14 18:44
01/29/14 18:44
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Originally Posted By: jcl
they can not catch anything.

I know this is nitpicking but the word choice certainly amuses me. :3


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: SED debug run leads into runtime error [Re: Superku] #436607
01/29/14 18:56
01/29/14 18:56
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Unfortunately the problem isn't that easy to fix than I thought.

Either I get a "e1005 out of memory" error but no SED crash (something we discussed somewhere in 2011 before ... while compiling SED consumes more than 1GB of memory in debug mode) or I just crashes in debug mode when using the current revision.

Currently I'm not sure if it's really a broken file.

Re: SED debug run leads into runtime error [Re: pegamode] #436624
01/30/14 09:54
01/30/14 09:54
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
E1005 can not be caused by just consuming 1 GB memory, unless your PC is very old or you have strange settings in the Windows memory management. A modern PC has enough virtual memory.

All this are strong indicators of a broken file.

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1