Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316872 - Eclipse crashes when I am trying to use embedded browser within XR 1.9.2
Summary: Eclipse crashes when I am trying to use embedded browser within XR 1.9.2
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: 4.4   Edit
Assignee: Grant Gayed CLA
QA Contact: Scott Kovatch CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 05:20 EDT by Max Areshkau CLA
Modified: 2013-09-24 16:02 EDT (History)
2 users (show)

See Also:


Attachments
crash log (101.85 KB, application/octet-stream)
2010-06-15 05:23 EDT, Max Areshkau CLA
no flags Details
Junit Crash Log (89.83 KB, application/octet-stream)
2010-06-16 08:42 EDT, Max Areshkau CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Areshkau CLA 2010-06-15 05:20:56 EDT
Build Identifier: I20100520-1744

Eclipse crashes when I am trying to use embedded browser within XR 1.9.2. I am trying to use it on cocoa java x32 and eclipse x32. It has been working with 1.9.1.2 XR version.

Reproducible: Always

Steps to Reproduce:
Try to use XR 1.9.2 under osx programaticly
Comment 1 Max Areshkau CLA 2010-06-15 05:21:33 EDT
Version of eclipse has been updated.
Comment 2 Max Areshkau CLA 2010-06-15 05:23:19 EDT
Created attachment 171903 [details]
crash log

Crash log
Comment 3 Scott Kovatch CLA 2010-06-15 13:46:00 EDT
Native code is dereferencing NULL. Over to Grant for a closer look.
Comment 4 Grant Gayed CLA 2010-06-15 14:02:56 EDT
XULRunner 1.9.2 works for me, tried on OS X 10.5.8, 10.6.2 and 10.6.3 (vm arg -d32), with http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet128.java .  Does this snippet work for you?  And if so, can you provide a way of reproducing the problem (eg.- modify the snippet, or make a small plugin that opens an editor in a similar way as the jboss one, etc.).
Comment 5 Max Areshkau CLA 2010-06-16 08:32:55 EDT
I have used javaxpcom.jar and MoziallGLue.jar from xulrunner-SDK-1.9.2-linux.gtk and it crashes. After I took this jars from OSX sdk, the our editor has stoppted crashing. So javaxpcom bridge is platform dependend.
Comment 6 Max Areshkau CLA 2010-06-16 08:42:31 EDT
Created attachment 172033 [details]
Junit Crash Log

I have been able to initialize file, but when I have runned my junit test it crashes again with following log.
Comment 7 Grant Gayed CLA 2013-09-24 16:02:53 EDT
The comment 6 crash is very likely fixed by bug 392229 and/or commit http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?h=ggayed/xulrunner-24&id=6345f266ee0b482d8dbd14748c964c27cfbe5432 (will be merged into master soon).  The JS_EvaluateUCScriptFromPrincipals() JNI signature was a bit bogus, which worked most of the time but could crash in certain contexts or JRE's.

Closing report; if your test case still crashes in the same place then please reopen.