Any program that crashes for any reason has a bug - except O/S or hardware failure.
True, such unhandled Access Violation is always a bug.
It was reproducible. It did not depend on widgetset nor OS nor CPU architecture. Only setting all debug compiler flags for building Lazarus IDE affected. Then more likely an exception was raised instead of doing something unpredictable later.
I fixed it in r55831 in trunk. Please test. If there are no negative side-effects, it will be merged to 1.8.
Interestingly my fix actually reverts r185 by Marco from 2001-02-19, which had message:
"
* Fix from maillist."
The "exit" is needed in TEnumPropertyEditor.SetValue when an invalid value is given.
Maybe it was commented out because the Combobox in OI was then read-only and valid values only could be selected.(?)
I don't think Marco remembers the details either, it has been over 16.5 years...