[Lazarus] ComboBox Bug
nc-gaertnma at netcologne.de
Fri Jun 24 18:22:31 CEST 2011
On Fri, 24 Jun 2011 11:48:08 -0400
David Copeland <david.copeland at jsidata.ca> wrote:
> I believe I have found a ComboBox bug, but I don't how I should
> categorize it. If you click on the "expand list" down arrow of the
> control, the program is terminated and the following message is
> david.copeland at dbc:~/projects/test> ./CBBug
> The program 'CBBug' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadAlloc (insufficient resources for operation)'.
> (Details: serial 6119 error_code 11 request_code 53 minor_code 0)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the --sync command line
> option to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error()
It works here.
Please test with ./CBBug --sync
And please test with some other themes to make sure it is a LCL bug
and not a buggy gtk theme engine.
Finally test with another window manager (do not confuse it with
another widget set).
> david.copeland at dbc:~/projects/test>
> My environment is ...
> Lazarus version: SVN 31344.
> Widgetset: GTK2.
> FPC version: 2.4.2
> OS: openSuse 11.4
> To reproduce the behaviour I created an app with one form containing
> just the ComboBox. The Items list is empty. However, If I add lines to
> Items, even a blank line, the above does not occur.
> I can send my test project if needed.
If it is just an empty combobox on a form you don't need to send it.
More information about the Lazarus