Eclipse crashing with SWT, gtk and linux. [message #446380] |
Tue, 23 November 2004 22:57  |
Eclipse User |
|
|
|
Hello,
Has anyone been having a problem with Eclipse (3.0.1 gtk) running under
gtk2? P.S. It also crashes with 3.1Mn as well. I am using the new SuSE
(9.2) and it has gtk2. Eclipse keeps crashing after switching between
the debug and java perspectives repeatedly. Eventually it crashes with
the following error:
QPixmap: Invalid pixmap parameters
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setPen: Will be reset by begin()
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4DACB172
Function=XSetTile+0x12
Library=/usr/X11R6/lib/libX11.so.6
Current Java thread:
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:879)
at
org.eclipse.swt.internal.gtk.OS.gtk_container_resize_childre n(Native Method)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:532)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:6 93)
at org.eclipse.swt.widgets.Tree.setBounds(Tree.java:985)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:461)
....
I think it is something with SWT not managing memory, resources or
something with Gtk. I noticed that the lower right area of an editor has
some obvious drawing problems which could possibly be what is going on.
SuSE also comes with the older version of gtk (1.2) and I trying to
figure out how to launch Eclipse with this version. In the mean time I
have had to switch to motif to continue working, but motif lacks features.
Any sugguestions on how I should proceed?
|
|
|
|
|
|
|
Re: Eclipse crashing with SWT, gtk and linux. [message #446551 is a reply to message #446380] |
Thu, 25 November 2004 20:54  |
Eclipse User |
|
|
|
As Bug 77928 indicates, the issue was resolved by fixing a bug in the
gtk-qt-engine library. I downloaded the code (cvs) but have not been
able to get the .configure script to complete. It fails as follows:
....
checking for kde-config... /opt/kde3/bin/kde-config
checking for meinproc... /opt/kde3/bin/meinproc
checking for xmllint... /usr/bin/xmllint
../configure: line 30819: syntax error near unexpected token `GTK1,'
../configure: line 30819: `PKG_CHECK_MODULES(GTK1, gtk+ >= 1.2.0,
use_gtk1="yes",use_gtk1="no")'
Does anyone have a SuSE 9.2 compiled version or know what the problem
with the .configure script is?
-Will.
will wrote:
> Hello,
>
> Has anyone been having a problem with Eclipse (3.0.1 gtk) running under
> gtk2? P.S. It also crashes with 3.1Mn as well. I am using the new SuSE
> (9.2) and it has gtk2. Eclipse keeps crashing after switching between
> the debug and java perspectives repeatedly. Eventually it crashes with
> the following error:
>
> QPixmap: Invalid pixmap parameters
> QPainter::begin: Cannot paint null pixmap
> QPainter::setPen: Will be reset by begin()
> QPainter::setBrush: Will be reset by begin()
> QPainter::setBrush: Will be reset by begin()
> QPainter::setPen: Will be reset by begin()
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x4DACB172
> Function=XSetTile+0x12
> Library=/usr/X11R6/lib/libX11.so.6
>
> Current Java thread:
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:879)
> at
> org.eclipse.swt.internal.gtk.OS.gtk_container_resize_childre n(Native
> Method)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:532)
> at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:6 93)
> at org.eclipse.swt.widgets.Tree.setBounds(Tree.java:985)
> at org.eclipse.swt.widgets.Control.setBounds(Control.java:461)
> ...
>
> I think it is something with SWT not managing memory, resources or
> something with Gtk. I noticed that the lower right area of an editor has
> some obvious drawing problems which could possibly be what is going on.
>
> SuSE also comes with the older version of gtk (1.2) and I trying to
> figure out how to launch Eclipse with this version. In the mean time I
> have had to switch to motif to continue working, but motif lacks features.
>
> Any sugguestions on how I should proceed?
|
|
|
Powered by
FUDForum. Page generated in 0.06658 seconds