Forum

> > CS2D > General > Exception_Stack_Overflow
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Exception_Stack_Overflow

46 Antworten
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

alt Re: Exception_Stack_Overflow

Apache uwu
User Off Offline

Zitieren
ya that's kinda like heap space, unlikely tho - were you running any luas? I used to get c stack errors when I tried to manipulate table lengths over 1 million...

alt Re: Exception_Stack_Overflow

EngiN33R
Moderator Off Offline

Zitieren
If he were trying to run an endless loop he'd get a stack overflow in console as a Lua error. He must have done something extraordinary to get a C stack error.

alt Re: Exception_Stack_Overflow

Mark Crimson
User Off Offline

Zitieren
user EngiN33R hat geschrieben
If he were trying to run an endless loop he'd get a stack overflow in console as a Lua error. He must have done something extraordinary to get a C stack error.

extraordinary?
I only create my new map

alt Re: Exception_Stack_Overflow

Mark Crimson
User Off Offline

Zitieren
Guys this is very weird... i installed cs2d again and it show me error again?
What the hell with it?
Maybe i shall update opengl or directix?
please help
2× editiert, zuletzt 05.01.12 10:23:52

alt Re: Exception_Stack_Overflow

DC
Admin Off Offline

Zitieren
it's always a good idea to update all your stuff but this error should not be caused by missing updates.

I don't know why you get this error.

alt Re: Exception_Stack_Overflow

DannyDeth
User Off Offline

Zitieren
If it is EXCEPTION_STACK_OVERFLOW it is an exception thrown by BMax when a stack is... well, obviously, overflowing. This is not a Lua error, guys.

alt Re: Exception_Stack_Overflow

Apache uwu
User Off Offline

Zitieren
user DannyDeth hat geschrieben
If it is EXCEPTION_STACK_OVERFLOW it is an exception thrown by BMax when a stack is... well, obviously, overflowing. This is not a Lua error, guys.


hmm odd because I have gotten one from lua

alt Re: Exception_Stack_Overflow

DC
Admin Off Offline

Zitieren
I would really need to know when it happens. he said when he "started cs2d" - is that about starting the game itself (so starting the exe file) or when joining/creating a new game?

I don't have a clue what's wrong when it happens directly after starting the exe file.

It might be Lua or a strange map if it happens later.

alt Re: Exception_Stack_Overflow

DannyDeth
User Off Offline

Zitieren
@user Apache uwu:
Dude, look, I will explain to you exactly the difference between your error and this error.

In a programming language, in order to pass values from one function to another, it has to keep a stack. A stack overflow is when you put too much data onto the stack, for instance if I have a recursive function such as this:
1
2
3
int spamzor(){
	return spamzor();
}
It will continue to fill the stack until the stack is too full, and a stack overflow happens.

Now, in Lua, this can be caused by passing large tables, as you said. However, a stack overflow in Lua will NOT cause the screen to go black and crash CS2D because of the amazing guys who made it. Next, the error wouldn't be EXCEPTION_STACK_OVERFLOW, because these little windows pop up when BMax encounters a situation it cannot fix. The reason the screen goes black is because of BMax's drawing functions needing the data passed to them on the stack, when the stack has been FUBAR'd.

Hopefully that will clear the problem in your mind a bit. ( BTW! I don't mean this as an insult, don't take it in the wrong context! )
2× editiert, zuletzt 05.01.12 13:26:49

alt Re: Exception_Stack_Overflow

DC
Admin Off Offline

Zitieren
it's actually possible with Lua because.. well you know.. Lua is connected with CS2D. you can crash the game with bad Lua scripts and maybe also cause bmax stack overflows somehow.

this is NOT the topic of this thread though. there's someone having a problem. please focus on solving the problem.
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht