Game does not exit when in loop.

Bug reports for the different beta versions of transcendence.
Post Reply
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

When the game is in a loop, and I exit it with ALT+F4, the game seems to close but it is still active and needs to be killed in the task manager.

The easiest option to reproduce this is to build an endless loop and exit the game. I was however able to reproduce it with non-endless (but long running) loops as well, so I guess this may be the case for every loop.

I've had this happen with (for ...), (loop ...), (enum ...) and (enumwhile ...).

~Pixelfck
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5421
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.

Does it spin up one cpu core to full? That might be related to what I was experiencing (But in my case it was simply opening & closing it often enough to catch it in a loop..)
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

pixelfck wrote:When the game is in a loop, and I exit it with ALT+F4, the game seems to close but it is still active and needs to be killed in the task manager.

The easiest option to reproduce this is to build an endless loop and exit the game. I was however able to reproduce it with non-endless (but long running) loops as well, so I guess this may be the case for every loop.

I've had this happen with (for ...), (loop ...), (enum ...) and (enumwhile ...).

~Pixelfck
Definitely a bug, but unfortunately not easy to fix. If the main thread is caught in a loop, then it can't get any window manager events. There are several solutions to this, but none are easy. The biggest problem is that there are dozens of places where the execution engine is called from (both in the main thread and in background threads). I would have to change all of those places.
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

I don't think it is a high priority bug, unless it is related to the one Wolfy experienced. On my system, my single core is not used in full by the Transcendence process, but since I'm on a netbook with only one core, it may be different from a normal multicore machine.
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
Post Reply