Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Glib error when disposing a Combo under Linux
Glib error when disposing a Combo under Linux [message #801607] |
Sat, 18 February 2012 17:26 |
Eclipse User |
|
|
|
Hi,
I'm getting the following error under Linux (OpenSuse 12.1, 32 bit, KDE,
everything is up-to-date) with both: Java 1.6 and 1.7 (Oracle):
(SWT:11586): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
`G_IS_OBJECT (object)' failed
(No Exception is thrown the error is just prompted to stderr)
It happens when I try to dispose a drop-down Combo created by
"new Combo(group, SWT.DROP_DOWN)" inside a Group with a GridLayout. I'm
using some other widget types (Groups, Texts, Labels, Scales,
push/radio/check Buttons, TabFolders, ...) - none of them produces this
(or any other) error. I tried both, the stable and the development
version of SWT ("3.7.1" and "3.8 Milestone 5") with no luck.
I haven't found anything helpful about this issue, so I would like to
ask whether someone has experienced this problem too and whether there
is a workaround? This problem even appears if the Combo is empty and no
listener is attached to it.
I'm not 100% sure but this also seems to make the application hang on
exit (when clicking on the "X" in the window title bar to close the
window). I have added a DisposeListener which calls System.exit(0) so
the application is closed more or less normally (otherwise I have to
kill the process...)
BTW: No Problems under Win-7 (Java 1.6 and 1.7 (Oracle)), SWT 3.7.1
Any ideas?
Thanks in advance,
Patrick
|
|
|
Re: Glib error when disposing a Combo under Linux [message #805522 is a reply to message #801607] |
Thu, 23 February 2012 21:35 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
Hi Patrick,
I haven't heard of this before. It looks like a bug, possibly dependent
on the gtk version you have installed. Please log a report with swt at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=SWT
and be sure to include your Linux distro version info.
Thanks!
Grant
On 2/18/2012 12:26 PM, Patrick Rammelt wrote:
> Hi,
>
> I'm getting the following error under Linux (OpenSuse 12.1, 32 bit, KDE,
> everything is up-to-date) with both: Java 1.6 and 1.7 (Oracle):
>
> (SWT:11586): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
> `G_IS_OBJECT (object)' failed
>
> (No Exception is thrown the error is just prompted to stderr)
> It happens when I try to dispose a drop-down Combo created by
> "new Combo(group, SWT.DROP_DOWN)" inside a Group with a GridLayout. I'm
> using some other widget types (Groups, Texts, Labels, Scales,
> push/radio/check Buttons, TabFolders, ...) - none of them produces this
> (or any other) error. I tried both, the stable and the development
> version of SWT ("3.7.1" and "3.8 Milestone 5") with no luck.
> I haven't found anything helpful about this issue, so I would like to
> ask whether someone has experienced this problem too and whether there
> is a workaround? This problem even appears if the Combo is empty and no
> listener is attached to it.
> I'm not 100% sure but this also seems to make the application hang on
> exit (when clicking on the "X" in the window title bar to close the
> window). I have added a DisposeListener which calls System.exit(0) so
> the application is closed more or less normally (otherwise I have to
> kill the process...)
> BTW: No Problems under Win-7 (Java 1.6 and 1.7 (Oracle)), SWT 3.7.1
> Any ideas?
>
> Thanks in advance,
> Patrick
|
|
| |
Goto Forum:
Current Time: Wed Apr 24 13:35:45 GMT 2024
Powered by FUDForum. Page generated in 0.03202 seconds
|