crash in gtk/gtk2 calling SendSizeNotificationToLCL using orpheus port
Original Reporter info from Mantis: sethdgrover@gmail.com
-
Reporter name: Seth Grover
Original Reporter info from Mantis: sethdgrover@gmail.com
- Reporter name: Seth Grover
Description:
I started a thread on this issue in the Lazarus forums (see http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=3569 for the comments made there) and Marc said I should report it as a bug here.
A few months ago Phil announced the beginnings of a port of the orpheus controls to lazarus (which I see as a major benefit to the community).
His port is available here:
http://web.fastermac.net/~MacPgmr/OrphPort/OrphStatus.html
One of the controls, TOvcVirtualListBox, causes lazarus to crash after the project is saved and reopened if it is added to a TPageControl or TNotebook page. Any program compiled with a TOvcVirtualListBox in one of these tab controls also crashes. In the debugger, Phil determined that the call to SendSizeNotificationToLCL in gtkobject.inc is passing null for the control. The control works fine when not on a TPageControl or TNotebook page. This seems to only be a problem with gtk/gtk2, not Windows.
Additional information:
I have attached a sample program which causes the crash. The ported Orpheus components (http://web.fastermac.net/~MacPgmr/OrphPort/OrphStatus.html) are required to duplicate this issue. I'm sorry, I don't know enough about the layout of the components to include a trimmed-down version of the TOvcVirtualListBox here. You'll have to go to the link and install the Orpheus components.
Mantis conversion info:
- Mantis ID: 8610
- Version: 0.9.23 (SVN)
- Monitored by: » sethdgrover@gmail.com (Seth Grover)