Opened 4 years ago

Closed 2 years ago

Last modified 5 months ago

#12848 closed bug (fixed)

VirtualMemory crashes on exit if volume is read-only

Reported by: IIsi50MHz Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: Preferences/VirtualMemory Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All



  • 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.

Change History (4)

comment:1 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:2 by IIsi50MHz, 2 years ago

No longer reproducible on hrev52357 when booted from CD-RW. (Haven't tested this in a long time.)

Note 1: There is also no warning when trying to set a virtual memory size greater than zero with the CD-RW as the target. The setting is accepted, but allocated size remains zero bytes. Not necessarily an error, but potentially confusing?

Note 2: There is a warning when trying to disable virtual memory, even when still set to automatic size of zero bytes, which seems silly.

comment:3 by waddlesplash, 2 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by nielx, 5 months ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.