[haiku-bugs] Re: [Haiku] #10279: random binary crashes, generally while compiling or doing other port work

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 12 Dec 2013 15:18:00 -0000

#10279: random binary crashes, generally while compiling or doing other port 
work
-----------------------------+----------------------------
   Reporter:  kallisti5      |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  high           |  Milestone:  R1/beta1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:  vm
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by bonefish):

 For the bash crash a `mapping` for the fault address (i.e. the one that
 was accessed) rather than (or in addition to) the address of the faulting
 instruction would have been interesting.

 The info from the Terminal is a bit inconclusive. Debugger reads the
 following code from the executable:
 {{{
 0x01fe6ce4:               55  push %ebp
 0x01fe6ce5:             89e5  mov %esp, %ebp <--
 }}}
 The kernel's disassembly shows:
 {{{
 0x01fe6ce6:             e583      in $0x83, %eax
 0x01fe6ce8:               ec      in %dx, %al
 }}}
 The current instruction pointer is not aligned with the actual instruction
 (pointing to the second byte of the `mov`). It is also possible that the
 what is actually mapped is not the data from the executable. The overlap
 between the two disassemblies is only one (matching) byte, so that doesn't
 verify that possibility, but doesn't refute it either.

 Debugger wasn't able to get a stack trace; the kernel shows
 `BLooper::DispatchMessage()` as the caller of the crashing
 `TermView::_UpdateSIGWINCH()`. The latter's frame wasn't set up yet, so
 its actual caller, `TermView::MessageReceived()`, would be missing from
 the stack trace. So that doesn't tell us anything either.

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

Other related posts: