TCalendar crash when activating dsShowWeekNumbers through OI
Original Reporter info from Mantis: bee
-
Reporter name: Bee Jay
Original Reporter info from Mantis: bee
- Reporter name: Bee Jay
Description:
Steps to produce the bug:
- Create new application.
- Place a TCalendar onto form.
- Activate dsShowWeekNumbers of DisplaySettings property through OI.
- Run the application.
- Error window will appear with message: "Project &LtPos;project_name> raised exception class: External SIGFPE". Other error windows will follow.
The problem also occurs if dsShowWeekNumbers setting is done through code inside form's OnCreate event. But, if it's done inside other events, for example from OnClick of a TButton, it runs fine.
Additional information:
Tested on Ubuntu Gutsy on i386 using Lazarus 0.9.25 from SVN with gtk2 widgetset.
Mantis conversion info:
- Mantis ID: 10190
- Version: 0.9.25 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 30018 (#c6d193a9)
- Target version: 1.2