[jbosstools-issues] [JBoss JIRA] (JBIDE-17297) JBoss Central crashes and brings down JBDS 8 Beta 1

Vineet Reynolds (JIRA) issues at jboss.org
Wed May 21 06:18:56 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969302#comment-12969302 ] 

Vineet Reynolds commented on JBIDE-17297:
-----------------------------------------

The zero-length-file exception is still reported, but it could be tracked separately, since it is not the root cause.

I just found out why Eclipse was crashing. Debugging with strace revealed a previously known issue involving [the Bluejeans plugin|https://bugs.eclipse.org/bugs/show_bug.cgi?id=433606] :

{noformat}
......
9949  socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 125
9949  connect(125, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
9949  sendto(125, "<11>May 21 15:35:02 java: Blueje"..., 53, MSG_NOSIGNAL, NULL, 0) = 53
9949  sendto(125, "<11>May 21 15:35:02 java: /usr/l"..., 106, MSG_NOSIGNAL, NULL, 0) = 106
9949  sendto(125, "<11>May 21 15:35:02 java: /lib64"..., 60, MSG_NOSIGNAL, NULL, 0) = 60
9949  sendto(125, "<11>May 21 15:35:02 java: [0x7f5"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
9949  rt_sigaction(SIGSEGV, {SIG_DFL, [SEGV], SA_RESTORER|SA_RESTART, 0x3b8f635cb0}, {0x7f5854d04b60, [SEGV], SA_RESTORER|SA_RESTART, 0x3b8f635cb0}, 8) = 0
9949  kill(9897, SIGSEGV)               = 0
9949  rt_sigreturn()                    = 209
9949  --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER, si_pid=9897, si_uid=1000} ---
{noformat}

Uninstalling the bluejeans plugin resolves the issue (although in an unsatisfactory way). I had also uninstalled the google talk plugin prior to this, to ensure that I would not run into [this related issue|https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776].

> JBoss Central crashes and brings down JBDS 8 Beta 1
> ---------------------------------------------------
>
>                 Key: JBIDE-17297
>                 URL: https://issues.jboss.org/browse/JBIDE-17297
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 4.2.0.Beta1
>         Environment: JBDS 8 Beta1, Fedora 20, multiple JVMs - Oracle JDK 8 (1.8.0_05), Oracle JDK 7 (1.7.0_55)
>            Reporter: Vineet Reynolds
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 4.2.0.Beta2
>
>
> I encounter crashes in JBDS 8 Beta 1, when JBDS Central is loaded.
> The following stack trace was recorded:
> {noformat}
> !MESSAGE Cannot load bundle com.jboss.jbds.central.discovery_8.0.0.Beta1_v20140408_2329_B102.jar_115481158031680986.jar from url /home/vreynolds/workspaces/JBDS8Workspaces/WFK/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1400494422919/com.jboss.jbds.central.discovery_8.0.0.Beta1_v20140408_2329_B102.jar_115481158031680986.jar: zip file is empty
> !STACK 0
> java.util.zip.ZipException: zip file is empty
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:220)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:150)
> 	at java.util.jar.JarFile.<init>(JarFile.java:166)
> 	at java.util.jar.JarFile.<init>(JarFile.java:130)
> 	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundle(DiscoveryRegistryStrategy.java:137)
> 	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:126)
> 	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.onStart(DiscoveryRegistryStrategy.java:78)
> 	at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
> 	at org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:125)
> 	at org.jboss.tools.project.examples.internal.discovery.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:62)
> 	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)
> 	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:101)
> 	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.getProxyWizards(ProxyWizardManager.java:121)
> 	at org.jboss.tools.central.editors.GettingStartedPage.getProxyWizards(GettingStartedPage.java:555)
> 	at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:553)
> 	at org.jboss.tools.central.editors.GettingStartedPage$5.run(GettingStartedPage.java:511)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> !SESSION 2014-05-19 15:45:30.045 -----------------------------------------------
> {noformat}
> To recover from this, I needed to be quick enough to uncheck the "load on startup" checkbox to disable JBoss Central. Re-opening JBoss Central at any other point in time causes the crash to be reproducible.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list