Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse crashing with SWT, gtk and linux.
Eclipse crashing with SWT, gtk and linux. [message #446380] Wed, 24 November 2004 03:57 Go to next message
will is currently offline willFriend
Messages: 5
Registered: July 2009
Junior Member
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 #446395 is a reply to message #446380] Wed, 24 November 2004 16:58 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Hello,
What is your pango release
see with
pkg-config --modversion pango
New version pango have problem with eclipse and You have to reinstall to
older version (probably)

regards
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?
Re: Eclipse crashing with SWT, gtk and linux. [message #446459 is a reply to message #446380] Thu, 25 November 2004 11:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kannenbe.informatik.uni-kl.de

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there!

| 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)
| ...
|
| Any sugguestions on how I should proceed?

Are you using gtk-qt-engine? This could be the problem. Read this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=77928

Ciao, Branko.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBpcUXLUFCdqgeaZcRAjtzAJ46vVPuvIidT3Z0BTs7JcHmVIfFagCg 5lX3
WWB5K++i0xUyEYoWtar4JtY=
=i3OU
-----END PGP SIGNATURE-----
Re: Eclipse crashing with SWT, gtk and linux. [message #446474 is a reply to message #446380] Thu, 25 November 2004 15:22 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Please get tonights Eclipse build and let us know if the problem has gone
away. If not, enter a bug report with the (very intersting) stack trace.
How can the eventProc() be called from gtk_container_resize() unless GTK has
is running an event loop? (sigh)

SWT running under GTK 1.x is totally unsupported. I think the code is still
in CVS for historical reasons.

"will" <quartz13163@distanthumans.info> wrote in message
news:co10rg$usg$1@www.eclipse.org...
> 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 #446541 is a reply to message #446380] Thu, 25 November 2004 15:46 Go to previous messageGo to next message
will is currently offline willFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks everyone,

snpe:
pkg-config appearently isn't installed with the default SuSE but I will
install it and see what I have.

Branko:
I am using what ever came with SuSE. I checked the installed packages
and I can see that gtk-qt-engine is installed with version 0.5-9 and bug
77928 is the exact problem I am getting.

Steve:
After checking the Eclipse website I quickly realized that gtk 1.x
wasn't supported anymore. I will get the lastest build and try it out
and get you any kind of info I can.

All the help is well appreciated. Tks. I will post an update.

-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?
Re: Eclipse crashing with SWT, gtk and linux. [message #446551 is a reply to message #446380] Fri, 26 November 2004 01:54 Go to previous message
will is currently offline willFriend
Messages: 5
Registered: July 2009
Junior Member
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?
Previous Topic:JMF player in SWT GUI
Next Topic:Form Designer
Goto Forum:
  


Current Time: Thu Oct 22 15:26:25 GMT 2020

Powered by FUDForum. Page generated in 0.01962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top