2025-06-24 21:54 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002004Spring engineLuapublic2010-08-01 16:12
Reporterzwzsg 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.0 
Target Version0.82.1Fixed in Version 
Summary0002004: Spring.Restart does an error box, yet works
DescriptionStep to reproduce:
- Get that mod: http://zwzsg.hosted.luckz.de/stuff/AutoRestart631.sd7
- Play it (any way)
- Wait 1s after game start
- Click the big green "Restart" button
- The new Spring restarts correctly
- But the old Spring crash

So you get an error box surimposed over the new Spring:
http://uppix.net/a/9/7/cb3b18858d2acfdd0fa3d1ab0f95b.png


Additional InformationSpring 0.81.2.0 works correctly and restart without errorbox.
The two RC 0.82.0 and 0.81.2.1-1377 have this error box when restarting.

I suppose Spring.Restart is dependent on the OS. I only tried Win2k. Woud like to know what happens under XP.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0005166

zwzsg (reporter)

When I say new Spring / old Spring, I don't mean 0.82 vs 0.81, but the two instances of the same 0.82. I should have written:
 
- The newly launched Spring instance starts correctly
- But the previous, to be closed, Spring instance crash

~0005167

zwzsg (reporter)

Last edited: 2010-07-28 22:19

<slogic> under W7 restart is working
<slogic> tried it for 5 times
<slogic> to be more precised: Spring 0.82.0.0 (0.82.0)
<slogic> Build date/time: Jul 27 2010 15:32:43

~0005168

Kloot (developer)

Last edited: 2010-07-28 23:27

Restart also works fine on (at least) Linux/Ubuntu 9.10, so you'll probably have to live with it if you want to continue using a 10-year old OS. (there were many changes between 81.2 and 82.0 that could cause this when the process is terminated via execlp)

~0005172

jK (developer)

#0 0x6b61e67e in DSoundStopPlayback (device=0xc5a0020)
    at D:\spiele\openal-soft-1.12.854\Alc\dsound.c:490
#1 0x6b60f25c in alcDestroyContext (context=0xa151be0)
    at D:\spiele\openal-soft-1.12.854\Alc\ALc.c:1397
#2 0x6b610099 in alcCloseDevice (pDevice=0xc5a0020)
    at D:\spiele\openal-soft-1.12.854\Alc\ALc.c:1811
0000003 0x6b61033f in ReleaseALC ()
    at D:\spiele\openal-soft-1.12.854\Alc\ALc.c:1887
0000004 0x6b60d639 in alc_deinit ()
    at D:\spiele\openal-soft-1.12.854\Alc\ALc.c:380
0000005 0x6b60d1a5 in DllMain (hModule=0x6b600000, ul_reason_for_call=0,
    lpReserved=0x1) at D:\spiele\openal-soft-1.12.854\Alc\ALc.c:259
#6 0x6b6010ed in DllMainCRTStartup@12 ()
   from D:\spiele\SpringDev\OpenAL32.dll
#7 0x77f86215 in ?? ()
#8 0x6b600000 in ?? ()
#9 0x00000000 in ?? ()

~0005174

hoijui (reporter)

so.. should we just shutdown sound before issuing the restart command?
that would not hurt, would it?

~0005179

jK (developer)

I wonder how the program gets terminated via execlp.
The stacktrace doesn't show any spring calling at all.

And yeah, I will try to shutdown sound before execlp.

~0005193

SeanHeron (reporter)

This error occurs on Win XP as well - that was with Kernel Panic, but should be the very same problem (Spring restart, error message, but restart works).
+Notes

-Issue History
Date Modified Username Field Change
2010-07-28 21:47 zwzsg New Issue
2010-07-28 22:12 zwzsg Note Added: 0005166
2010-07-28 22:18 zwzsg Note Added: 0005167
2010-07-28 22:19 zwzsg Note Edited: 0005167
2010-07-28 23:11 tvo Target Version => 0.82.1
2010-07-28 23:17 Kloot Note Added: 0005168
2010-07-28 23:18 Kloot Note Edited: 0005168
2010-07-28 23:19 Kloot Note Edited: 0005168
2010-07-28 23:19 Kloot Note Edited: 0005168
2010-07-28 23:20 Kloot Note Edited: 0005168
2010-07-28 23:24 Kloot Note Edited: 0005168
2010-07-28 23:27 Kloot Note Edited: 0005168
2010-07-29 12:54 jK Note Added: 0005172
2010-07-29 19:42 hoijui Note Added: 0005174
2010-07-29 22:56 jK Note Added: 0005179
2010-07-30 18:51 SeanHeron Note Added: 0005193
2010-08-01 16:12 jK Status new => resolved
2010-08-01 16:12 jK Resolution open => fixed
2010-08-01 16:12 jK Assigned To => jK
+Issue History