Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Program crashes hard with error messages
#7
Seems to me that the glitch would be right here:

Code: (Select All)
        _PutImage (flake.x(f), flake.y(f))-Step(30 * flake.s(f), 30 * flake.s(f)), snows(flake.a(f))

Code: (Select All)
    snows(I) = _CopyImage(flake&, 33)

Snows are hardware images.  Hardware images need _DISPLAY before they can be rendered and cleared out of the GPU.  The FOR loop that you have there at the end is pumping the GPU buffers full of images, and it never empties out those buffers.  After a zillion images are stacked in that buffer, something just glitches out somewhere and the program locks up waiting for those to be cleared before exiting completely.

Seems to me that QB64 should do some clean up here (if it possibly can), before attempting to close and freezing up.

Fix, for now, is to make certain that you have a nice _DISPLAY in place before that SYSTEM statement.  Smile
Reply


Messages In This Thread
Program crashes hard with error messages - by Dav - 11-18-2022, 06:53 PM
RE: Program crashes hard with error messages - by SMcNeill - 11-19-2022, 12:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac debugger not connecting, a user error! BlameTroi 0 110 02-07-2026, 06:18 PM
Last Post: BlameTroi
  ERROR MESSAGES COLORS ? aurel 5 399 01-02-2026, 11:26 AM
Last Post: aurel
  Using CONST & _RGB used together seem to error... Dav 12 714 12-12-2025, 12:29 AM
Last Post: Dav
  error doing image collision detection with _MemGet madscijr 55 4,770 10-01-2025, 03:25 PM
Last Post: bplus
  error on function returning _mem Herve 5 698 07-05-2025, 08:06 PM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)