products forums blog support careers about
  History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ROR-272
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Chris Williams
Reporter: David Peoples
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Aptana RadRails

Code assist popup window crashes Aptana Studio

Created: 17/Dec/07 06:07 PM   Updated: 26/Dec/07 12:16 PM
Component/s: Editor: RHTML
Affects Version/s: 0.9.1
Fix Version/s: 1.0.0

File Attachments: 1. Text File jre.crash.log (59 kb)

Environment: SuSE Linux Enterprise Desktop 10 with Service Pack 1 and all updates applied, JRE 1.6.0-b105, Aptana Studio 1.0.2.004822
Issue Links:
Depends
 

Importance: Critical
Studio Install Type: Standalone
Operating System: Other Linux
Last Known Good Version: Unknown (haven't used any previous versions).
Participants: Chris Williams and David Peoples


 Description  « Hide
Typing ">" in the RadRails editor for a .rhtml file causes a code assist window to pop up, with entries starting with "a". Then typing a "c" causes the popup to start to reset with entries that start with "c", but the Eclipse program immediately crashes. If I type ">", let the popup appear, then scroll down one line with the mouse (the word "command" appears) all is well. If I try to scroll down one more line, the popup changes for a split second, then Eclipse / Aptana Studio crashes.

I'm using the current versions of the Aptana Studio and the RadRails plugin (0.9.1). I get the same result in both an Aptana/RadRails plugin installed into Eclipse 3.3.1.1, and in Aptana Studio 1.0.2 installed from the file Aptana_Studio_Setup_Linux.zip.

Output of the error dialog that pops up after Aptana crashes:

JVM terminated. Exit code=1
/usr/bin/java
-Xmx384M
-Xms128M
-Djava.awt.headless=true
-jar /home/dpdevel/bin/aptana/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/dpdevel/bin/aptana/AptanaStudio
-name Aptana
-showsplash 600
-exitdata 350010 Studio
-vm /usr/bin/java
-vmargs
-Xmx384M
-Xms128M
-Djava.awt.headless=true
-jar /home/dpdevel/bin/aptana/startup.jar

I've already reported a possibly related bug on ticket ROR-264. If it turns out these two should have been together on the same report, I apologize for the duplcation and please merge the two bug reports.



 All   Comments   Change History      Sort Order:
Chris Williams - 18/Dec/07 01:20 PM
The JVM crash logs indicate problems inside the widget libraries for gtk. My best guess is that perhaps there's just some incompatibility with the beta Java version you're using. Is it possible to try installing a newer Java 6 JRE?

Chris Williams - 18/Dec/07 01:20 PM
I think these two may be related...

David Peoples - 18/Dec/07 05:56 PM
ROR-264 and this issue are related. I now realize that crash logs from the two report the same "problematic frame":

#

  1. An unexpected error has been detected by Java Runtime Environment:
    #
  2. SIGSEGV (0xb) at pc=0xb4a1c8b6, pid=4719, tid=3084463008
    #
  3. Java VM: Java HotSpot(TM) Client VM (1.6.0_10-ea-b08 mixed mode, sharing linux-x86)
  4. Problematic frame:
  5. C [libpangoft2-1.0.so.0+0x58b6]
    #

The jre version I was running was the "latest release" version, downloaded from java.sun.com a couple days ago. I've now installed the "Early Access" version (JDK 6 Update N). I think that's the VM getting run, anyway 'java -version' reports "1.6.0_10ea" and "build 1.6.0_10-ea-b08". No change in the results with this VM – still crashing at the same two circumstances.

The library where the crash happens is libpangoft2-1.0.0.so.0. On this machine that points to libpangoft2-1.0.so.0.1001.1. I've looked for an update to this library. opensuse.org has newer versions of the pango rpms (and the cairo rpms that they depend on). The newer pango rpm provides libpangoft2-1.0.so.0.1800.2. The website suggests that these rpms are compatible with my version of SUSE, but they don't install cleanly and Aptana won't launch at all when they are installed. I might try installing a newer version of pango from source, but I'm reluctant to risk making this machine unstable (I use it for more than just development work).


Chris Williams - 26/Dec/07 12:16 PM
Unfortunately this and ROR-264 both appear to be JVM crashes related to library incompatibilities with Eclipse. This is at a low level, and not something we'd really be able to control.

You may want to take a look at Eclipse's Bugzilla for possible related bug reports: https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=libpangoft2-1.0.so

It may also magically disappear when we use Eclipse 3.3 as our base platform for Aptana Studio: STU-680