[haiku-bugs] [Haiku] #12848: VirtualMemory crashes on exit if volume is read-only

  • From: "IIsi50MHz" <trac@xxxxxxxxxxxx>
  • Date: Sat, 09 Jul 2016 03:28:40 -0000

#12848: VirtualMemory crashes on exit if volume is read-only
---------------------------------------+------------------------------
 Reporter:  IIsi50MHz                  |        Owner:  axeld
     Type:  bug                        |       Status:  new
 Priority:  normal                     |    Milestone:  Unscheduled
Component:  Preferences/VirtualMemory  |      Version:  R1/Development
 Keywords:                             |   Blocked By:
 Blocking:                             |  Has a Patch:  0
 Platform:  All                        |
---------------------------------------+------------------------------
 Test:
  - Boot Haiku from CD or other read-only media.
  - Open VirtualMemory preflet; it is not necessary to change any setting.
  - Close VirtualMemory.

 Result:
 VirtualMemory crashes with segment violation in
 SettingsWindow::_RecordChoices()

 Resolution:
 VirtualMemory should not attempt to save settings to read-only media.
 Probably, it should inform the user that virtual memory cannot be used
 because the boot volume is read-only.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12848>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: