#18133: page fault in _kern_write
----------------------------+-------------------------
Reporter: jessicah | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/beta4
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
----------------------------+-------------------------
Comment (by waddlesplash):
One possibility is adding a huge buffer to the top of {{{_user_write}}}
(i.e. over a page in size) and see if this fixes the crash. That would
indicate a stack overflow. Then you should be able to use {{{mprotect}}}
to make the page un-writeable and catch where the overflow happens.
--
Ticket URL: <https://dev.haiku-os.org/ticket/18133#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.