Crashes with widget

Crashes with widget

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
Broker
Posts: 156
Joined: 02 Jul 2012, 13:16

Crashes with widget

Post by Broker »

Processor (intel I7 and AMD Phenom)
Video ( AMD Radeon HD 6570 and ASUS ENGTX460)
Spring 89 and BA 7.68 or 7.70.

When I add a widget CustomFormations+1 the game crashes at indefinite point of time if I try to order the group of units to move to one point. The game hangs both when in game-with-robots mode and when in multiplayer. Logs attached.

CustomFormations+1

Author: Bishop181 (Niobium, jK, gunblob)
Mods: All
Latest Version: 3.100
Downloads: 631 (0.80 D/d)
Entry-Date: 2010-06-13 09:59:31
Description:
It puts units into upto 3 rows ordered by hp/cost. construction units always at the back. adds weighting to units w/ high trajectory &
Attachments
infolog.txt
(57.53 KiB) Downloaded 114 times
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Crashes with widget

Post by zerver »

Yep the widget probably has a bug because it hangs in MouseRelease. Report the bug to the authors or try to fix it yourself.
Broker
Posts: 156
Joined: 02 Jul 2012, 13:16

Re: Crashes with widget

Post by Broker »

the author was not on the forum for 3 years. how to determine where in the error?
User avatar
Jools
XTA Developer
Posts: 2813
Joined: 23 Feb 2009, 16:29

Re: Crashes with widget

Post by Jools »

Look for errors (search for "Customformations") in infolog.txt in spring directory. It should have the error and the line in the widget.

Weird that the whole game crashes...
User avatar
Jools
XTA Developer
Posts: 2813
Joined: 23 Feb 2009, 16:29

Re: Crashes with widget

Post by Jools »

Ah sorry, you attached that file. It seems that the widget causes a crash upstream. In this case, you could notify the makers of the mod (game) you are playing.

I know that this happens in some cases. Modside widgets should probably have better error handling and not crash in cases like these. I know that a similar thing happens if you try to calculate the length of a string that is a number.
Last edited by Jools on 13 Aug 2012, 08:14, edited 1 time in total.
Broker
Posts: 156
Joined: 02 Jul 2012, 13:16

Re: Crashes with widget

Post by Broker »

in the log file, there are no errors. ((((
User avatar
Jools
XTA Developer
Posts: 2813
Joined: 23 Feb 2009, 16:29

Re: Crashes with widget

Post by Jools »

Error: LuaUI::RunCallIn: error = 2, MouseRelease, [string "LuaUI\Widgets\gui_unitgroups5_1.lua"]:798: attempt to index field '?' (a nil value)
Broker
Posts: 156
Joined: 02 Jul 2012, 13:16

Re: Crashes with widget

Post by Broker »

I'm sorry. it is very difficult for me. there is no debugger. I'm sorry.
abma
Spring Developer
Posts: 3655
Joined: 01 Jun 2009, 00:08

Re: Crashes with widget

Post by abma »

add this widget:
https://github.com/spring/spring/blob/d ... tchdog.lua

this maybe gives you a hint where it hangs
Post Reply

Return to “Help & Bugs”