Bug 1115174 - Java crash when opening python files in eclipse-pydev
Summary: Java crash when opening python files in eclipse-pydev
Keywords:
Status: CLOSED DUPLICATE of bug 1160411
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-pydev
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alexander Kurtakov
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:097e5526e3f7b193bb380a9994c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-01 19:09 UTC by Stephen Gallagher
Modified: 2015-02-25 09:23 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-25 09:23:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (223.31 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: cgroup (173 bytes, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: core_backtrace (2.03 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: dso_list (37.88 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: environ (2.87 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: limits (1.29 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: maps (126.14 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: open_fds (23.74 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: proc_pid_status (965 bytes, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details
File: var_log_messages (16.66 KB, text/plain)
2014-07-01 19:09 UTC, Stephen Gallagher
no flags Details

Description Stephen Gallagher 2014-07-01 19:09:18 UTC
Description of problem:
I attempted to view a python file with eclipse-pydev

Version-Release number of selected component:
java-1.7.0-openjdk-headless-1.7.0.60-2.5.0.1.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        java -agentpath:/usr/lib64/libabrt-java-connector.so=abrt=on -Xms128m -Xmx512m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Declipse.p2.skipMovedInstallDetection=true -XX:MaxPermSize=256m -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140324-2308.jar -os linux -ws gtk -arch x86_64 -showsplash /usr/lib64/eclipse//plugins/org.eclipse.platform_4.3.2.v20140324-2304/splash.bmp -launcher /usr/lib64/eclipse/eclipse -name Eclipse --launcher.library /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140324-2308/eclipse_1508.so -startup /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140324-2308.jar --launcher.appendVmargs -exitdata 332800d -preventMasterEclipseLaunch -vm /usr/bin/java -vmargs -Xms128m -Xmx512m -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dhelp.lucene.tokenizer=standard -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init> -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate -XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins -Declipse.p2.skipMovedInstallDetection=true -XX:MaxPermSize=256m -jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140324-2308.jar
crash_function: pthread_cond_wait@@GLIBC_2.3.2
executable:     /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/jre-abrt/bin/java
kernel:         3.14.9-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            13041

Truncated backtrace:
Thread no. 76 (5 frames)
 #0 pthread_cond_wait@@GLIBC_2.3.2 at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
 #1 os::PlatformEvent::park() at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/openjdk/hotspot/src/os/linux/vm/os_linux.cpp:5759
 #2 ObjectMonitor::wait(long, bool, Thread*) at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/openjdk/hotspot/src/share/vm/runtime/objectMonitor.cpp:1538
 #3 ObjectSynchronizer::wait(Handle, long, Thread*) at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/openjdk/hotspot/src/share/vm/runtime/synchronizer.cpp:387
 #4 JVM_MonitorWait(JNIEnv*, jobject, jlong) at /usr/src/debug/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/openjdk/hotspot/src/share/vm/prims/jvm.cpp:534

Comment 1 Stephen Gallagher 2014-07-01 19:09:23 UTC
Created attachment 913884 [details]
File: backtrace

Comment 2 Stephen Gallagher 2014-07-01 19:09:25 UTC
Created attachment 913885 [details]
File: cgroup

Comment 3 Stephen Gallagher 2014-07-01 19:09:26 UTC
Created attachment 913886 [details]
File: core_backtrace

Comment 4 Stephen Gallagher 2014-07-01 19:09:31 UTC
Created attachment 913887 [details]
File: dso_list

Comment 5 Stephen Gallagher 2014-07-01 19:09:33 UTC
Created attachment 913888 [details]
File: environ

Comment 6 Stephen Gallagher 2014-07-01 19:09:34 UTC
Created attachment 913889 [details]
File: limits

Comment 7 Stephen Gallagher 2014-07-01 19:09:36 UTC
Created attachment 913890 [details]
File: maps

Comment 8 Stephen Gallagher 2014-07-01 19:09:38 UTC
Created attachment 913891 [details]
File: open_fds

Comment 9 Stephen Gallagher 2014-07-01 19:09:40 UTC
Created attachment 913892 [details]
File: proc_pid_status

Comment 10 Stephen Gallagher 2014-07-01 19:09:42 UTC
Created attachment 913893 [details]
File: var_log_messages

Comment 11 Deepak Bhole 2014-07-02 14:14:59 UTC
Hi, how can we reproduce this?

Comment 12 Stephen Gallagher 2014-07-02 15:05:15 UTC
I'm not certain if it can be reproduced perfectly on pristine Fedora. I had the gnome-3.14 COPR installed, which may have been playing a part.

However, all I did was start up Eclipse and attempt to open a .py file. It crashed every time.


I've since updated to Rawhide and can reproduce it there at will, simply by attempting to load a python file in the Eclipse-pydev python editor.

Comment 13 Deepak Bhole 2014-07-03 20:25:02 UTC
Ah okay. Any chance you have the hs_err file for this? I am looking at the trace and it is not immediately clear as to what the cause could be.

Comment 14 Stephen Gallagher 2014-07-07 18:24:19 UTC
I have some additional information out of ABRT:

Uncaught exception java.lang.NoClassDefFoundError in method org.python.pydev.editor.PyEdit$2.run()

This problem can be caused by a 3rd party code from the jar/class at bundleresource://725.fwk1906029492/org/python/pydev/jython/JythonPlugin.class, bundleresource://718.fwk1906029492/org/python/pydev/editor/scripting/PyEditScripting.class, bundleresource://718.fwk1906029492/org/python/pydev/editor/PyEdit$2.class. In order to provide valuable problem reports, ABRT will not allow you to submit this problem. If you still want to participate in solving this problem, please contact the developers directly.

To the best of my knowledge, I'm not running any third-party plugins. Is there an easy way to force their deletion if I am?

Comment 15 Deepak Bhole 2014-07-07 19:22:48 UTC
I am not well versed enough with Eclipse either, but I am adding Alexander Kurtakov to cc: who might know the answer.

Comment 16 Stephen Gallagher 2014-07-10 14:47:24 UTC
I updated eclipse this morning to:
eclipse-equinox-osgi.x86_64 1:4.4.0-5.fc21
eclipse-platform.x86_64 1:4.4.0-5.fc21
eclipse-pde.x86_64 1:4.4.0-5.fc21
eclipse-p2-discovery.x86_64 1:4.4.0-5.fc21
eclipse-jdt.x86_64 1:4.4.0-5.fc21
eclipse-swt.x86_64 1:4.4.0-5.fc21


I'm still seeing errors like the one in comment #14 now showing up in ABRT, but the application is no longer crashing out and I can view my python files again.

Comment 17 Alexander Kurtakov 2014-11-13 10:37:53 UTC
This is definetely pydev problem. Does it still happen with latest F21 packages?

Comment 18 Steve Baker 2015-02-24 23:46:52 UTC
This is still happening for me on Fedora 21.

I think it is caused by the donation request dialog that comes up the first time a .py file is opened. The only way I've found to prevent this crash is to set the following in the workspace prefs

.metadata/.plugin/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
PYDEV_FUNDING_SHOWN=true
PYDEV_FUNDING_SHOWN_2014=true

I don't know what Fedora's policy is for soliciting donations from upstream projects, but maybe this dialog should be disabled by default.

Comment 19 Alexander Kurtakov 2015-02-24 23:49:35 UTC
(In reply to Steve Baker from comment #18)
> This is still happening for me on Fedora 21.
> 
> I think it is caused by the donation request dialog that comes up the first
> time a .py file is opened. The only way I've found to prevent this crash is
> to set the following in the workspace prefs
> 
> .metadata/.plugin/org.eclipse.core.runtime/.settings/org.python.pydev.prefs
> PYDEV_FUNDING_SHOWN=true
> PYDEV_FUNDING_SHOWN_2014=true
> 
> I don't know what Fedora's policy is for soliciting donations from upstream
> projects, but maybe this dialog should be disabled by default.

Do you by any chance have bluejeans rpm installed (rbjnplugin.rpm)? If yes would you please uninstall it and try without your prefs file.

Comment 20 Steve Baker 2015-02-25 03:01:11 UTC
(In reply to Alexander Kurtakov from comment #19)
> Do you by any chance have bluejeans rpm installed (rbjnplugin.rpm)? If yes
> would you please uninstall it and try without your prefs file.

Yes! Removing rbjnplugin.rpm and opening a python file in a fresh workspace did not crash.

Installing rbjnplugin.rpm and opening a python file in a fresh workspace did crash.

Comment 21 Alexander Kurtakov 2015-02-25 09:23:59 UTC
Marking as duplicate. Please see the many comment in the other bug.

*** This bug has been marked as a duplicate of bug 1160411 ***


Note You need to log in before you can comment on or make changes to this bug.