New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby mark.renouf » Thu Sep 16, 2010 3:08 pm

I launched GWT, opened a UiBinder template, and switched to Design view, then eclipse exits. The console shows the JDK crashing.

$ eclipse
2010-09-16 18:58:41.967:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
2010-09-16 18:58:44.976:WARN::1 threads could not be stopped
Parsing...GWT http-server started at 127.0.0.1:47208
WebKitGTK version: 1.2.0
GTK version: 2.20.1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fc903b973fe, pid=3036, tid=140502332888848
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8.1
# Distribution: Ubuntu 10.04 LTS, package 6b18-1.8.1-0ubuntu1
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x723fe] gdk_window_unmaximize+0xe
#
# An error report file with more information is saved as:
# /home/mark/hs_err_pid3036.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
mark.renouf
 
Posts: 3
Joined: Thu Sep 16, 2010 3:02 pm

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby chadlung » Thu Sep 16, 2010 3:21 pm

Mark,

Have you tried this with the Sun JDK versus the Open JDK your using (according to your error report)?

Chad Lung
http://giantflyingsaucer.com/blog/
chadlung
 
Posts: 18
Joined: Fri Aug 29, 2008 8:57 pm

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby mark.renouf » Thu Sep 16, 2010 3:35 pm

I just noticed that, I didn't realize I was running under OpenJDK. I just switched, but unfortunately, the same problem:


eclipse
2010-09-16 19:35:52.598:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
Parsing...GWT http-server started at 127.0.0.1:51213
WebKitGTK version: 1.2.0
GTK version: 2.20.1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fbe4305b3fe, pid=5322, tid=140456117655312
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 )
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x723fe] gdk_window_unmaximize+0xe
#
# An error report file with more information is saved as:
# /home/mark/hs_err_pid5322.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
mark.renouf
 
Posts: 3
Joined: Thu Sep 16, 2010 3:02 pm

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby Eric Clayberg » Thu Sep 16, 2010 4:04 pm

Please provide a test case that will trigger the crash.

Also, can you confirm whether the normal GWT Java editing functions work on your end?

Try creating a standard GWT EntryPoint or Composite class.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby mark.renouf » Thu Sep 16, 2010 5:37 pm

Creating a simple empty GWT Composite works fine (Using Google plugin for Eclipse), or even manually.

The crash occurs just after I see "Initializing GWT hosted mode".

I'm not sure what you mean by normal GWT Java editing functions. I've been using GPE, and created a new project using it. I also tried "Convert to GWT Project" which I believe is a WindowBuilder function, as well as the WindowBuilder "Create New... GWT -> Module" to build a sample project. Attempting to view any of these resources in design view crashes in exactly the same way, with the same console messages.

I've tried disabling compiz, as well as checking the box in the preferences labelled "disable preview window flickering workarounds".

No change.

Sample project: http://dl.dropbox.com/u/2653158/FooProject.tar.bz2

My environment:

OS: Ubuntu 10.04.1 LTS x86-64

$ uname -a
Linux culver 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux

Eclipse 3.5.2 as installed from Ubuntu maintained packages:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
||/ Name Version Description
+++-=========================================-===============================================-============================================
ii eclipse 3.5.2-2ubuntu4.2 Extensible Tool Platform and Java IDE
ii eclipse-jdt 3.5.2-2ubuntu4.2 Eclipse Java Development Tools (JDT)
ii eclipse-pde 3.5.2-2ubuntu4.2 Eclipse Plug-in Development Environment (PDE
ii eclipse-platform 3.5.2-2ubuntu4.2 Eclipse platform without plug-ins to develop
ii eclipse-platform-data 3.5.2-2ubuntu4.2 Eclipse platform without plug-ins to develop
ii eclipse-plugin-cvs 3.5.2-2ubuntu4.2 Eclipse Team Integration (CVS support)
ii eclipse-rcp 3.5.2-2ubuntu4.2 Eclipse Rich Client Platform (RCP)

GWT 2.0.4 installed within Eclipse, as well as within a directory beneath my home directory. I've tried configuring WindowBuilder to use both with no change. GPE is using the built in 2.0.4.

Please let me know anything else I could provide that may assist in tracking this down.

Attached is the sample project I've tested.

To cause the crash,
1. open the EntryPoint class (ImageViewer) using "Open With" => "WindowBuilder Editor".
2. Select the Design tab
mark.renouf
 
Posts: 3
Joined: Thu Sep 16, 2010 3:02 pm

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby Eric Clayberg » Thu Sep 16, 2010 6:07 pm

OK. This is actually good info as it confirms that it is a general Linux config issue rather than something specific to the new UiBinder support.

I would start by reviewing the Important notes for Linux users thread as it has lots of suggestions for configuring Eclipse/GWT Designer to work with Linux.

In the mean time, we will look at the other info you have provided. It would be useful to see the full crash logs as well as your complete "Help > About > Installation Details > Configuration" (ZIP'ed as an attachment).
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby Alexander.Mitin » Fri Sep 17, 2010 4:52 am

mark.renouf
We cannot reproduce this at our end.
Eclipse crash should produce hs_pid_xxxx.log files either in eclipse dir or in your home dir. Please send the most recent one.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby keton » Sun Sep 19, 2010 11:25 am

Hi

I've got the same problem with GWT Designer on Eclipse Helios as mark.renouf. I've tried all suggestions from the post 'Important notes for Linux users' without any luck.

I'm using 64bit ArchLinux with Sun JRE 6update21 and JDK.

My uname -a says:
Linux laptop 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 17:14:28 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux

I've attached info from eclipse->help->installation details and the most recent hs_err_pid.log
I hope that it will help you to solve this problem
Attachments
eclipseconf.zip
(63.33 KiB) Downloaded 24 times
hs_err_pid23606.log
(93.66 KiB) Downloaded 25 times
keton
 
Posts: 3
Joined: Sun Sep 19, 2010 11:00 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby hermann.rangamana » Mon Sep 20, 2010 2:33 am

Hello all,

I get exactly the same problem using GWT designer on Ubuntu 10.04 on amd64 using Sun JVM.

Hermann
hermann.rangamana
 
Posts: 1
Joined: Mon Sep 20, 2010 2:30 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby stratosgear » Tue Sep 21, 2010 1:27 am

Hi...

I have the same problem running on Ubuntu 10.04 64bit and Eclipse Helios 3.6 (downloaded from the eclipse site, not the Ubuntu repositories)

From the "Important notes for Linux users (last updated Apr, 22, 2010)" http://forums.instantiations.com/viewtopic.php?f=11&t=2082 the only thing that I could apply in my situation was the:

./eclipse -vmargs -Xint


but that didn't help either.

I get a:
Parsing...GWT http-server started at 127.0.0.1:36878
WebKitGTK version: 1.2.0
GTK version: 2.20.1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f88abae73fe, pid=18645, tid=140225948366608
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 interpreted mode linux-amd64 )
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x723fe] gdk_window_unmaximize+0xe
#
# An error report file with more information is saved as:
# /raid0/dev/eclipse-helios-ee/hs_err_pid18645.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


as soon as i try to open the design view of any *.ui.xml file (well, not immediately; eclipse displays a progress bar, thinks about it a little and then it core dumps)

I've included the error log, too.
Attachments
crash.tar.gz
error report file
(20.26 KiB) Downloaded 19 times
Last edited by stratosgear on Tue Sep 21, 2010 4:59 am, edited 1 time in total.
stratosgear
 
Posts: 2
Joined: Tue Sep 21, 2010 1:17 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby vito256 » Tue Sep 21, 2010 2:49 am

I confirm this is exactly what is happening on my environment , ubuntu 10.04 64 bit eclipse 3.5
vito256
 
Posts: 1
Joined: Tue Sep 21, 2010 2:44 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby Alexander.Mitin » Tue Sep 21, 2010 4:52 am

Please try with Eclipse downloaded from Eclipse.org site (don't use the one from repos).
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby stratosgear » Tue Sep 21, 2010 4:58 am

I forgot to mention it,

It is the version from the Eclipse site.
stratosgear
 
Posts: 2
Joined: Tue Sep 21, 2010 1:17 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby Alexander.Mitin » Tue Sep 21, 2010 5:13 am

As a temporary workaround, try to remove the 'com.instantiations.designer.gwt.hosted.2_0.webkit*.jar' from eclipse plugins folder. This will fall the GWT UI rendering back to use Firefox.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: New GWT Designer crashing on Eclipse 3.5 / Ubuntu 10.04

Postby keton » Tue Sep 21, 2010 5:33 am

I can confirm that this hack works on my computer.
Thanks a lot!
keton
 
Posts: 3
Joined: Sun Sep 19, 2010 11:00 am

Next

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest

cron