[haiku-bugs] Re: [Haiku] #14711: [kernel] crashes by running Settlers game in DOSBox

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 09 Sep 2019 20:10:03 -0000

#14711: [kernel] crashes by running Settlers game in DOSBox
-----------------------------+----------------------------
   Reporter:  diver          |      Owner:  nobody
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:  14714          |   Blocking:  14017
Has a Patch:  0              |   Platform:  x86
-----------------------------+----------------------------
Comment (by waddlesplash):

 As per #14017, this occurs on x64 too. x64 uses SYSRET and IRET to return
 to userland; SYSRET gets RFLAGS from R11, whereas IRET gets RFLAGS from
 the stack. I didn't verify that the R11 vs. stack handling is correct in
 our interrupt code, but if it is, that would kick this bug into the iframe
 handling, I think?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14711#comment:10>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: