Exit errors on Linux Apps

Miscellaneous Forums/Linux Discussion/Exit errors on Linux Apps

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Unsure when this started (i.e. before Ubuntu 8.04, or before BlitzMax 1.30) as I just noticed it while trying to hunt down why I am getting exit error messages on Linux,

A small sample program will display this error just fine-

Graphics 640, 480
Repeat
   Cls
   Drawline Rand(640), Rand(480), Rand(640), Rand(480)
   Flip
Forever
...now press "[X]" to close the window.

Also, another exit error message on Linux is to call GCCollect() before calling END. If your program has a lot of variables, you'll get an "appstub.linux signal handler 11 WARNING: Child process terminated by signal 11" error because the GCCollect() process isn't finished before the program terminates. Easy enough to fix: leave GCCollect() out of there...but it probably shouldn't spit that error.