strange spring exception

strange spring exception

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

strange spring exception

Post by jamerlan »

Hi! Please take a look at exception: http://pastebin.com/idwATZ8J

My spring often frozes during the game. This exception occures. How to fix it?

P.S. I played DSD with BA 7.60 using windows 7 and nvidia 560ti card
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: strange spring exception

Post by knorke »

moved to Help & Bugs.
[f=0054248] MT with 8 threads.
try to use the non-multi thread version, might be more stable.
the infolog is not complete (?) the top seems to be missing.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: strange spring exception

Post by hoijui »

i know why the top is missing. cause it would read about like ...
WARNING
your GFX is shit, and if it breaks, don't come whining, cause it is not our fault, bla bla
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: strange spring exception

Post by jamerlan »

I think that other info was just like garbage and removed it.
If you need head of file take a look at my another infolog: http://pastebin.com/gFKC0EiX

this without error but it contains all information about my machine.

Take a look at stacktrace from my first post. It doesn't tell you anything? what can happen in "aiInterfaceCallback_DataDirs_getWriteableDir+0x12b5c3" ?
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: strange spring exception

Post by jamerlan »

I got the same errors on singlethreaded version of spring: http://pastebin.com/sdN1HQ7X

this time on another map!
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: strange spring exception

Post by abma »

try to disable all user-widgets, it looks like one of them causes an infinite-loop.

(see the lines "Loading widget from user:")

translated: http://pastebin.com/T0DkjrHM

@hoijui:

wouldn't https://github.com/abma/spring/commits/lua-stacktrace help to identify which widget (if it is one...) causes the endless-loop?
Last edited by abma on 01 Oct 2011, 18:30, edited 2 times in total.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: strange spring exception

Post by hoijui »

abma.. why are you asking me? :D
... i guess .. yes? i getz pointz?
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: strange spring exception

Post by jamerlan »

>>translated: http://pastebin.com/T0DkjrHM
Can't open this. It says: "Unknown Paste ID!"

Okey, I will try to turn off widgets.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: strange spring exception

Post by abma »

@jamerlan:

i wrote a small watchdog script. if you enable it, you maybe can see which widget causes the endless-loop:

https://raw.github.com/spring/spring/de ... tchdog.lua
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: strange spring exception

Post by jamerlan »

abma, thanks! It says a lot of warnings but game was not frozen for a few games! I will test more during the week.

Example of warnings: http://pastebin.com/6a513f0B
messages like:
[string "LuaUI\Widgets\watchdog.lua"]:20: in function <[string "LuaUI\Widgets\watchdog.lua"]:14>
[string "LuaUI/Widgets/helper.lua"]:70: in function <[string "LuaUI/Widgets/helper.lua"]:66>
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: strange spring exception

Post by abma »

try to disable FPSManager, changing water rendering mode looks broken:

Code: Select all

[f=0032340] [BumpWater] shorewaves-shader compilation error: Fragment info
-------------
0(26) : error C1013: function "tex2D" is already defined at 0(26)
0(40) : error C1013: function "getDistRect" is already defined at 0(40)
0(51) : error C1013: function "sqlength" is already defined at 0(51)
0(56) : error C1013: function "LoopIter" is already defined at 0(56)
0(99) : error C1013: function "main" is already defined at 0(99)
[f=0032340] Loading Bumpmapped Water failed
[f=0032340] Error: [BumpWater] shorewaves-shader compilation err
this could also cause crashes...
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: strange spring exception

Post by jamerlan »

I disabled customformations3 widget and looks like all my problems gone! (I am still not sure, need more testing) Thank you very much for help!
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: strange spring exception

Post by jamerlan »

Now I can confirm that widget "customformations3" was the reason of all my troubles.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: strange spring exception

Post by smoth »

Wonder what the issue was. Well, good of you to track it down! Now the hunt for red bugtober can begin!
Post Reply

Return to “Help & Bugs”