Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: SED debug run leads into runtime error [Re: jcl] #436629
01/30/14 10:41
01/30/14 10:41
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 don't think that the PC is the problem ... it's a Lenovo ThinkPad T520 with an Intel Core i7, 16 GB memory and is running on Windows 7.

As far as I remember you once mentioned that in debug mode internal xml data is built up ... can it be that there's a problem?

Is there a way to check for broken files by tool? Our project consists of such a high number of files that it might get hard to find a broken one.
Is it for example possible to write some more information into the logfile while SED (or the engine when started with -debug) is compiling data / loading files? So that would be an indicator to the broken file.

Re: SED debug run leads into runtime error [Re: pegamode] #436633
01/30/14 11:12
01/30/14 11:12
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I normally never use the Debug Run but sometimes I click on it by accident. Every time I get the same Runtime Error, and when I close the dialog box I get a Windows "Script Editor has stopped working" message which forces me to close SED.
I'm starting to believe more and more that this is (only) related to the size of the program, not to its actual files itself (and thus probably a SED bug).


"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] #436652
01/30/14 18:38
01/30/14 18:38
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
In our project all files are organized by type in different folders (e.g. pics, models, rooms ...).

I just removed all PRAGMA_PATH and PRAGMA_LEVEL entries from the main file to avoid loading any files but just .c and .h.

In debug mode SED is still crashing.

Re: SED debug run leads into runtime error [Re: pegamode] #436703
01/31/14 15:22
01/31/14 15:22
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Can you confirm that when you start it out of an empty folder with no files except for the script, it still crashes? Can you then upload that script? I can look into it, maybe I see the reason of the problem.

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

Joined: Feb 2006
Posts: 1,011
Germany
Yes, I can confirm the crash.

I copied all .c and .h files into a new folder and removed all PRAGMA_PATH and PRAGMA_LEVEL entries. SED still crashes in debug mode while compiling.

I just sent this version by mail and hope that this helps to find where the problem comes from.

Re: SED debug run leads into runtime error [Re: pegamode] #437138
02/10/14 08:53
02/10/14 08:53
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Anbei die Antwort vom Support:

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

Hallo Herr Galla,

wir konnten das Problem zuerst nicht reproduzieren, haben jetzt aber die vermutliche Ursache gefunden - der Code mit Debugdaten belegt schlicht zu viel Speicher. Wenn der virtuelle Speicher verbraucht ist, stürzt der Compiler ab, da hier - im Gegensatz zur Engine - eine fehlgeschlagene Speicherallokation nicht abgefangen wird.

Da sich der benötigte Speicher auf die Schnelle nicht reduzieren lässt, wäre die Lösung zum Debuggen, dass Sie Ihren Code in verschiedene Module aufteilen und diese einzeln debuggen.

Mit freundlichen Grüßen
Support / Gamestudio

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

Page 2 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | 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