[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: Crash with empty Labels on Linux
|
This sounds like a nasty bug. Can you please provide us with a snippet that
reproduces it?
"Max" <mbrigl@xxxxxxx> wrote in message
news:pan.2005.10.12.07.00.57.225057@xxxxxxxxxx
> instantiating Labels (from draw2D) with no initial text the application
> crashes with following error (only on linux, on windows the application
> works fine):
>
> ------------------------------------------------------ The
> program 'SWT' received an X Window System error. This probably reflects a
> bug in the program. The error was 'BadAlloc (insufficient resources for
> operation)'.
> (Details: serial 4345 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() function.)
> ----------------------------------------------------- Trying to find a
> workaround I set a MarginBorder(1) on the Label the problem seems to be
> resolved.
>
> regards