VM abort when pressing up on the first option in opt. menus

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: VM abort when pressing up on the first option in opt. menus

Re: VM abort when pressing up on the first option in opt. me

by vsonnier » Fri Oct 16, 2020 11:54 pm

same problem here, after the series of commit from Raze.

Re: VM abort when pressing up on the first option in opt. me

by SanyaWaffles » Fri Oct 16, 2020 5:58 pm

Can confirm this happens.

VM abort when pressing up on the first option in opt. menus

by phantombeta » Fri Oct 16, 2020 4:20 pm

Exactly what it says in the thread title. Couldn't fit the commit in the title, but it's e636c80. I've tested this both with the CI artifacts and a self-compiled build, with the same result.

VM abort message:

Code: Select all

VM execution aborted:  Attempt to draw to screen outside a draw function
Called from MenuDelegateBase.DrawCaption at gzdoom.pk3:zscript/ui/menu/menucustomize.zs, line 7
Called from OptionMenu.DrawCaption at gzdoom.pk3:zscript/ui/menu/optionmenu.zs, line 436
Called from OptionMenu.MenuEvent at gzdoom.pk3:zscript/ui/menu/optionmenu.zs, line 242
Called from Screen.DrawText [Native]
Steps to reproduce:
  • Literally just press the up key on the very first item in any options menu. You'll instantly be sent to the console by the VM abort.

Top