Bug 198582 - SIGSEGV [libxpcom.so+0xc976d] _ZN13nsCOMPtr_baseD2Ev+0x13
Summary: SIGSEGV [libxpcom.so+0xc976d] _ZN13nsCOMPtr_baseD2Ev+0x13
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-08-01 15:36 EDT by Andrew Robinson CLA
Modified: 2008-01-29 11:54 EST (History)
0 users

See Also:


Attachments
Eclipse error file (141.55 KB, text/x-log)
2007-08-01 15:36 EDT, Andrew Robinson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Robinson CLA 2007-08-01 15:36:59 EDT
Created attachment 75157 [details]
Eclipse error file

Build ID: I20070621-1340

Steps To Reproduce:
1. Install latest JBossTools nightly release plugins on linux/debian Lenny distribution
2. Run eclipse using XulRunner as mozilla 5 provider
3. Open XHTML file
4. Open Java file
5. Cause code completion popup to open
6. accept item --> crash

Happened specifically, when adding an annotation to the class. Using @Scope from JBoss-Seam library:
Type: "@Scope("
Type Ctrl+Space
Accept "ScopeType" from list.
Immediately crashes.

This is very consistent (happens every time)

More information:
Debian Linux "Lenny" distribution with some unstable packages
XulRunner Debian version 1.8.1.5-1

Eclipse plug-ins:
JBossTools-200707210217-nightly-ALL-linux-gtk.zip
Maven2 plugin (latest)

Part of stack trace:
C  [libxpcom.so+0xc976d]  _ZN13nsCOMPtr_baseD2Ev+0x13
C  [libxul.so+0x18486d]
C  [libc.so.6+0x2d117]  __cxa_finalize+0xb7
C  [libxul.so+0x151f13]
C  [libxul.so+0xaddd4c]
C  [ld-linux.so.2+0x1382d]
C  [ld-linux.so.2+0x14247]
C  [libdl.so.2+0xcc4]
C  [ld-linux.so.2+0xe576]
C  [libdl.so.2+0x12ac]
C  [libdl.so.2+0xcfa]  dlclose+0x2a
C  [libswt-xpcominit-gtk-3346.so+0x2c8a]
C  [libswt-xpcominit-gtk-3346.so+0x1d9d]
C  [libswt-xpcominit-gtk-3346.so+0x1013]  Java_org_eclipse_swt_internal_mozilla_XPCOMInit_XPCOMGlueShutdown+0xb
j  org.eclipse.swt.internal.mozilla.XPCOMInit.XPCOMGlueShutdown()I+0
j  org.eclipse.swt.browser.Mozilla.create(Lorg/eclipse/swt/widgets/Composite;I)V+466
j  org.eclipse.swt.browser.Browser.<init>(Lorg/eclipse/swt/widgets/Composite;I)V+213
j  org.eclipse.jface.internal.text.html.BrowserInformationControl.isAvailable(Lorg/eclipse/swt/widgets/Composite;)Z+12
j  org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getInformationControlCreator()Lorg/eclipse/jface/text/IInformationControlCreator;+9
Comment 1 Grant Gayed CLA 2008-01-16 12:12:41 EST
Does the crash happen for you if you go to the Help->Welcome page?  And does anything change if you use a different eclipse install with no additional plug-ins?
Comment 2 Grant Gayed CLA 2008-01-29 11:54:22 EST
Looking at the trace again, I see you're using a sun 1.6 jre and the problem occurs at the XPCOMInit.XPCOMGlueShutdown call. This should now be fixed as a side effect of the fix for bug 216805.

Closing as FIXED.  If you still see this problem with an eclipse 3.4M5 build (due next week) or later, or the eclipse 3.3.2 final release (due by the end of February) then please reopen this report.