Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335086 - Eclipse crashes if you choose a workspace with underscores by Browse Button only
Summary: Eclipse crashes if you choose a workspace with underscores by Browse Button only
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux-GTK
: P3 normal with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Arun Thondapu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-22 06:04 EST by soenke CLA
Modified: 2013-04-30 07:23 EDT (History)
7 users (show)

See Also:


Attachments
Logfile with additional information (75.63 KB, application/octet-stream)
2011-01-22 06:22 EST, soenke CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description soenke CLA 2011-01-22 06:04:29 EST
Build Identifier: 20100917-0705

i realised a special Bug during browsing for a workspace. If you choose a workspace with underscore e.g. "/home/www/test_workspace" eclipse crashes.

The problem occurs only, if you choose a workspace over the "Browse" Button. If you type in the Workspace, eclipse works fine.

I tried different Eclipse Versions e.g. eclipse helios pdt, eclipse helios jee. Same Problem in all versions.

I do not tested Windows plattform


Here the message printed out by the linux Konsole:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f189970e2b0, pid=3375, tid=139744421926656
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.9.2
# Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.2-0ubuntu1~10.04.1
# Problematic frame:
# C  [libgobject-2.0.so.0+0xf2b0]  g_object_get_qdata+0x20
#
# An error report file with more information is saved as:
# /opt/eclipse-helios-pdt/hs_err_pid3375.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


Reproducible: Always

Steps to Reproduce:
1. Start Eclipse
2. Go to File - Switch Workspace
3. Click the "Browse" Button and browse a Workspace with underscores "/home/www/test_workspace"
4. click "OK"

Remember: If you type in the workspace not using the "Browse" Button, you do not get a failure.
Comment 1 Remy Suen CLA 2011-01-22 06:15:13 EST
(In reply to comment #0)
> # An error report file with more information is saved as:
> # /opt/eclipse-helios-pdt/hs_err_pid3375.log

Please attach this log file to this bug.
Comment 2 soenke CLA 2011-01-22 06:22:05 EST
Created attachment 187356 [details]
Logfile with additional information

the requested logfile.
Comment 3 Remy Suen CLA 2011-01-22 06:28:57 EST
May be related to bug 330476.
Comment 4 Felipe Heidrich CLA 2011-01-25 16:27:32 EST
Bog, maybe Arun can take a look at this bug ?
Comment 5 Bogdan Gheorghe CLA 2011-02-22 14:15:17 EST
Arun, please investigate.
Comment 6 Arun Thondapu CLA 2011-03-24 15:03:52 EDT
I have tried with Eclipse 3.7 M6 Build id: I20110310-1119 on Ubuntu Linux platform and it works fine for me. I can open a workspace with underscores in its name both by browsing to it and by typing the name directly.

Can you please verify with one of the latest I-builds and check whether you're seeing the problem? Also, which Linux distro and version are you using?

Thanks!
Comment 7 Julien Bigot CLA 2011-07-06 07:05:21 EDT
It seems to me that eclipse is more likely to crash when there's a trailing slash at the end of the workspace path.
Comment 8 soenke CLA 2011-07-06 07:36:18 EDT
In reply to comment #6
> Can you please verify with one of the latest I-builds and check whether you're
> seeing the problem? Also, which Linux distro and version are you using?

I apologise for not answering comment 6.

Yesterday I tried a workspace with blanks like "/home/www/test with blanks/...". Eclipse crashed.

Today I tried different workspaces with blanks and underscores. First three times eclipse crashed with different workspaces, after that eclipse worked fine more than 10 times with the same workspaces it crashed before.

I am a bit confused now :P

I will check it out again the next days and give you the exact build and Platform information

In reply to comment #7

> It seems to me that eclipse is more likely to crash when there's a trailing
> slash at the end of the workspace path.

No Problems for me.



I will let the status in "Closed Worksforme" until I checked it.
Comment 9 Julien Bigot CLA 2011-07-06 07:45:43 EDT
I first encountered this bug when upgrading to Indigo (Build id: 20110615-0604) so I don't think the bug should be closed as fixed ...
Comment 10 Arun Thondapu CLA 2011-07-06 10:26:47 EDT
I have tried with many workspaces with different combinations of blanks and underscores in their names (including the trailing slash scenario) but my eclipse has not crashed.
I'm on the latest Indigo version, Build id: I20110613-1736.

(In reply to comment #8)
> In reply to comment #6
> > Can you please verify with one of the latest I-builds and check whether you're
> > seeing the problem? Also, which Linux distro and version are you using?
> 
> I apologise for not answering comment 6.
> 
> Yesterday I tried a workspace with blanks like "/home/www/test with
> blanks/...". Eclipse crashed.
> 
> Today I tried different workspaces with blanks and underscores. First three
> times eclipse crashed with different workspaces, after that eclipse worked fine
> more than 10 times with the same workspaces it crashed before.
> 
> I am a bit confused now :P
> 
> I will check it out again the next days and give you the exact build and
> Platform information
> 
> In reply to comment #7
> 
> > It seems to me that eclipse is more likely to crash when there's a trailing
> > slash at the end of the workspace path.
> 
> No Problems for me.
> 
> 
> 
> I will let the status in "Closed Worksforme" until I checked it.
Comment 11 Philipp Hafen CLA 2012-07-27 04:02:49 EDT
The same bug occurres in my ecplise.
Im using eclipse Juno 4.2.0 on an openSUSE 12.1 64bit Linux distribution.
I already tried other ecplise Versions and installed the sun/oracle JDK instead of the preinstalled openJDK, but no changes to the problem.
Comment 12 Bernd Gloss CLA 2012-10-25 05:19:00 EDT
Hi,

this also happens on my Fedora 17 with the latest updates. Selecting a workspace using the file chooser leads to a crash of eclipse with this error message. The behavior appeared recently. It doesn't help to remove the dashes or underscores from the workspace folder names. However, starting the same workspace just entering the path directly in the dialog box without browsing works fine (as reported by others).

Bernd

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f87e996e7e0, pid=2661, tid=140221905540864
#
# JRE version: 7.0_09
# Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x187e0]  g_object_get_qdata+0x20
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/gloss/hs_err_pid2661.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and 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.
#
Comment 13 Axel Mueller CLA 2013-04-30 07:23:47 EDT
(In reply to comment #12)
> Hi,
> 
> this also happens on my Fedora 17 with the latest updates. Selecting a
> workspace using the file chooser leads to a crash of eclipse with this error
> message. The behavior appeared recently. It doesn't help to remove the
> dashes or underscores from the workspace folder names. However, starting the
> same workspace just entering the path directly in the dialog box without
> browsing works fine (as reported by others).
I can confirm this. Eclipse crashes only when I select the workspace from the browse file dialog. If I enter the path manually there is no problem.

Eclipse 4.2.2
Ubuntu 12.10, 64 Bit
JRE version: 7.0_21-b11


> 
> Bernd
> 
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00007f87e996e7e0, pid=2661, tid=140221905540864
> #
> # JRE version: 7.0_09
> # Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64
> compressed oops)
> # Problematic frame:
> # C  [libgobject-2.0.so.0+0x187e0]  g_object_get_qdata+0x20
> #
> # Failed to write core dump. Core dumps have been disabled. To enable core
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /home/gloss/hs_err_pid2661.log
> #
> # If you would like to submit a bug report, please include
> # instructions on how to reproduce the bug and 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.
> #