Created attachment 316373 [details] error report file When trying to setup the python interpreter in pydev preferences I get a SEGSEGV. !SESSION 2008-09-10 15:36:13.129 ----------------------------------------------- eclipse.buildId=I20080617-2000 java.version=1.6.0_0 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 -debug -consoleLog !ENTRY org.eclipse.update.configurator 4 0 2008-09-10 15:36:14.214 !MESSAGE /home/jkeating/.eclipse/org.eclipse.platform_3.4.0_793567567/plugins is not a valid plugins directory. Application Started: 5909 org.python.pydev.ui.interpreters.PythonInterpreterManager:Interpreter is not properly configured! Please go to window->preferences->PyDev->Python Interpreters and configure it. If this is not supposed to be a Python project, change the project type on the project properties to the project you want (e.g.: Jython project). org.python.pydev.ui.NotConfiguredInterpreterException: org.python.pydev.ui.interpreters.PythonInterpreterManager:Interpreter is not properly configured! Please go to window->preferences->PyDev->Python Interpreters and configure it. If this is not supposed to be a Python project, change the project type on the project properties to the project you want (e.g.: Jython project). at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getDefaultInterpreter(AbstractInterpreterManager.java:124) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getSystemModulesManager(ProjectModulesManager.java:191) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagers(ProjectModulesManager.java:413) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagersInvolved(ProjectModulesManager.java:506) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getCompletePythonPath(ProjectModulesManager.java:523) at org.python.pydev.plugin.nature.PythonPathNature.getCompleteProjectPythonPath(PythonPathNature.java:81) at org.python.pydev.plugin.nature.PythonNature$RebuildPythonNatureModules.run(PythonNature.java:110) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY org.python.pydev.core 4 4 2008-09-10 15:36:19.370 !MESSAGE org.python.pydev.ui.interpreters.PythonInterpreterManager:Interpreter is not properly configured! Please go to window->preferences->PyDev->Python Interpreters and configure it. If this is not supposed to be a Python project, change the project type on the project properties to the project you want (e.g.: Jython project). !STACK 0 org.python.pydev.ui.NotConfiguredInterpreterException: org.python.pydev.ui.interpreters.PythonInterpreterManager:Interpreter is not properly configured! Please go to window->preferences->PyDev->Python Interpreters and configure it. If this is not supposed to be a Python project, change the project type on the project properties to the project you want (e.g.: Jython project). at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getDefaultInterpreter(AbstractInterpreterManager.java:124) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getSystemModulesManager(ProjectModulesManager.java:191) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagers(ProjectModulesManager.java:413) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getManagersInvolved(ProjectModulesManager.java:506) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getCompletePythonPath(ProjectModulesManager.java:523) at org.python.pydev.plugin.nature.PythonPathNature.getCompleteProjectPythonPath(PythonPathNature.java:81) at org.python.pydev.plugin.nature.PythonNature$RebuildPythonNatureModules.run(PythonNature.java:110) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY org.python.pydev 1 1 2008-09-10 15:36:33.871 !MESSAGE Information about process of adding new interpreter: - Opening dialog to request executable (or jar). - Chosen interpreter file:'/usr/bin/python - Ok, file is non-null. Getting info on:/usr/bin/python - Beggining task:Getting libs totalWork:100 - Setting task name:Mounting executable string... - Setting task name:Executing: /usr/bin/python -u /usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_1.3.18/PySrc/interpreterInfo.py - Setting task name:Making pythonpath environment... /usr/bin/python -u /usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_1.3.18/PySrc/interpreterInfo.py - Setting task name:Making exec... /usr/bin/python -u /usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_1.3.18/PySrc/interpreterInfo.py - Setting task name:Reading output... - Setting task name:Waiting for process to finish. - Success getting the info. Result:/usr/bin/python # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000000008267fd, pid=31103, tid=140551574591824 # # Java VM: OpenJDK 64-Bit Server VM (1.6.0_0-b11 mixed mode linux-amd64) # Problematic frame: # V [libjvm.so+0x21d7fd] # # An error report file with more information is saved as: # /home/jkeating/hs_err_pid31103.log # # If you would like to submit a bug report, please visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
I tried again after removing .eclipse and projects/.metadata and got another crash. Attached.
Created attachment 316376 [details] error report file
org.python.pydev.editor.codecompletion.revisited.PythonPathHelper.isValidSourceFile should probably be added to the JIT excludes in eclipse.ini (part of the eclipse SRPM). I'll be away for the next two weeks but won't complain if someone does this and pushes a build.
Hmm, it's not reproducible for me on x86-64, nor i386, with rawhide packages. Is it still happening? Can, you please provide versions of java-1.6.0-openjdk, eclipse-platform and eclipse-pydev? When reproducible we can have a look at the Andrew's proposal whether is effective, or not.
java-1.6.0-openjdk-1.6.0.0-0.20.b11.fc10.x86_64 eclipse-platform-3.4.0-23.fc10.x86_64 eclipse-pydev-1.3.18-1.fc10.x86_64 Still happens here.
Thanks for the info. I finally reproduced it. It happens only when selecting /usr/bin/python2 for me, which is symlink to /usr/bin/python binary (which when selected runs OK). Seems to be x86-64 related only, i386 runs nice. Will have a look whether 1) is it happening with eclipse-pydev-1.3.20, 2) fix in eclipse.ini would do the trick.
OK, this happens with 1.3.20 too and whether /usr/bin/python* is symlink or not.
Created attachment 317664 [details] Crash in org.python.pydev.ui.filetypes.FileTypesPreferencesPage.getDottedValidSourceFiles()
I did locally what Andrew suggested -XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile but had to add this one more line, because I faced one more crash -XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles Attaching log. (This is just a workaround, OpenJDK is what should be fixed I guess.) Will build eclipse (platform) package.
eclipse passed build in Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=64266 eclipse-3.4.0-24.fc10 should fix your problem, please confirm when in Rawhide.
I can now setup the interpreter. Things are looking better.