IPro: Crash on application close
Original Reporter info from Mantis: Sei Lisa
-
Reporter name: Sei Lisa
Original Reporter info from Mantis: Sei Lisa
- Reporter name: Sei Lisa
Description:
When setting DataProvider in an IpHtmlPanel to an IpFileDataProvider at design time, the application crashes when closed.
Steps to reproduce:
- Create a form.
- Drop an IpFileDataProvider on it.
- Drop an IpHtmlPanel on it.
- Go to the Properties tab in the Object Inspector, and select the IpFileDataProvider in the DataProvider selection box.
- Run the application.
- Close the application.
Actual Result: The application crashes (segfault).
Expected Result: The application should close normally.
Additional information:
Reproduced also by IRC user GPF_1 on Lazarus 1.6.0 64 bits under Windows 10.
As a workaround, setting DataProvider := nil in the form's OnDestroy avoids the crash.
I hope I've set the Category field properly. I'm not sure what category IPro belongs to. Please change if it's wrong.
Mantis conversion info:
- Mantis ID: 31019
- OS: Debian Linux
- OS Build: Wheezy
- Build: Unknown
- Platform: i386
- Version: 1.6.2
- Fixed in revision: 51947 (#0c321120)
- Monitored by: » silvioprog (silvioprog)