Menu

#52 Quake68k hangs when runs out of free space in the macroblock array

PPCJITBETA05
closed
2-med
2014-11-03
2014-07-18
No

Frank Wille's 68k Quake port hangs in the startup sequence when it runs out of free space in the macroblock array.

The warning is emitted to the console:
"Warning: JIT macroblock array ran out of space, your program might be doing something wrong"

Then soon after the warning the program hangs while it is still loading the map for the demo.

To trigger this bug set the allocated macroblock array size to 4 times to the maximum length of the block in compemu_compiler_ppc.c:

#define MAXMACROBLOCKS (MAXRUN*4)

This Quake version is available from Aminet: http://aminet.net/package/game/shoot/Quake68k

Related

Tickets: #40
Tickets: #53

Discussion

  • Almos Rajnai

    Almos Rajnai - 2014-07-21
    • labels: --> bug, compiler bug
     
  • Almos Rajnai

    Almos Rajnai - 2014-08-18

    As it seems this bug is not related to [#53], after fixing that bug it is still reproducible.

     

    Related

    Tickets: #53

  • Almos Rajnai

    Almos Rajnai - 2014-09-21
    • status: open --> accepted
    • assigned_to: Almos Rajnai
     
  • Almos Rajnai

    Almos Rajnai - 2014-09-21
    • status: accepted --> pending
     
  • Almos Rajnai

    Almos Rajnai - 2014-09-21

    One more very tricky bug is fixed! I have spent a week on this bug altogether probably..

     
  • Almos Rajnai

    Almos Rajnai - 2014-11-03
    • Status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB