[haiku-bugs] Re: [Haiku] #8650: KDL launching WebPositive development version

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sat, 30 Jun 2012 19:37:17 -0000

#8650: KDL launching WebPositive development version
----------------------+----------------------------
   Reporter:  aldeck  |      Owner:  nobody
       Type:  bug     |     Status:  new
   Priority:  high    |  Milestone:  R1
  Component:  System  |    Version:  R1/Development
 Resolution:          |   Keywords:
 Blocked By:          |   Blocking:
Has a Patch:  0       |   Platform:  All
----------------------+----------------------------

Comment (by anevilyak):

 With that panic in place, I'm quite reliably getting a backtrace that
 leads into the user_strlcpy() being called from _user_access(). However,
 I'm not seeing what's special about that one that's causing corruption,
 the userspace source address being passed in is 0xa9 with a length of
 1024, and the copy in question is targetting the KPath's buffer, so that
 looks ok in theory apart from the invalid user source address. The thread
 in question is currently performing a recursive access()/mkdir() pair to
 completely construct all children of a path, so I don't see anything
 overly suspicious there, so I'm not quite sure what's so unusual here as
 to cause stack corruption, unless it already goes wrong while handling the
 syscall and copying the arguments down (with syscall tracing enabled I
 sometimes hit the added panic() while adding the syscall pre tracing entry
 copying a string from userland).

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

Other related posts: