#9422: drivesetup: SegFaults when adding a partition to intel or GPT ---------------------------------------+---------------------------- Reporter: jahaiku | Owner: axeld Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: Applications/DriveSetup | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ---------------------------------------+---------------------------- Comment (by anevilyak): The crash occurs because when CreateParametersPanel::AddControls() is called, _CreateViewControls() hasn't yet been called. Consequently it's calling CreateMenuBarLayoutItem() on an invalid pointer. Simply reordering things to call _CreateViewControls() first fixes the crash, but the resulting dialog doesn't look entirely correct. -- Ticket URL: <http://dev.haiku-os.org/ticket/9422#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.