[haiku-bugs] Re: [Haiku] #8068: A crash bring up the app_server in gdb when changing the screen resolution

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Fri, 25 Nov 2011 15:17:20 -0000

#8068: A crash bring up the app_server in gdb when changing the screen 
resolution
----------------------------------+----------------------------
   Reporter:  oco                 |      Owner:  axeld
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:  fixed               |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Changes (by mmlr):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Fixed in hrev43321.

 The libroot calls actually crashed in _errnop() where the clobbered TLS
 was used. Since TLS is re-setup on reschedule (more specifically on
 context switch) it also explains why I didn't see the crash when
 introducing enough pauses to always trigger a reschedule before returning
 from the vm86 code (even with SMP). Obviously staying on the same CPU
 worked as well as the restored TLS value happened to be the right one.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8068#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: