[haiku-bugs] Re: [Haiku] #10802: [TextSearch] crashes in GrepWindow::_OnNodeMonitorEvent

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 01 May 2014 10:35:02 -0000

#10802: [TextSearch] crashes in GrepWindow::_OnNodeMonitorEvent
---------------------------------------+----------------------------
   Reporter:  diver                    |      Owner:  stippi
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/TextSearch  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:2 korli]:
 > The second segment violation disassembly seems weird:
 > * the dump shows use of 0x8(%ebp), 0xc(%ebp) and 0x10(%ebp), which, for
 a non static function, makes two pointers parameters.
 > * _NodePath() definitely has only one pointer parameter.
 > Am I missing something?

 The return type is `BString`. One of those pointers (don't know off the
 top of my head whether it's the first or the last) points to the return
 object.

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

Other related posts: