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

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Wed, 23 Nov 2011 00:18:30 -0000

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

Comment (by mmlr):

 I've built a small script that gets the app_server reliably crashing after
 a couple of seconds when running normally:
 {{{
 while true
 do
 screenmode -q 1280 1024
 screenmode -q 1024 768
 done
 }}}

 Which will cause continuous mode switches until the crash happens.

 Using that I've confirmed that this only happens when both CPUs (it's a
 dual core machine) are active. Disabling one core prevents the crash from
 happening. So I'd suspect that the vm86 stuff needs to run on the same CPU
 that it was set up on and causes side effects leading to the crash
 otherwise.

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

Other related posts: