Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321109

Summary: Eclipse crashes wenn open file with extension other than .txt or .java
Product: [Eclipse Project] Platform Reporter: Alexey Lyaguzin <alnat73>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: arunkumar.thondapu, craig.watcham, pinnamur, remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: Other   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
Log file is autogenerated none

Description Alexey Lyaguzin CLA 2010-07-28 07:22:04 EDT
Build Identifier: 20100617-1415

Aftre the clean installation i create new project and file in it. When file has a extension .txt or .java or without extension, everzthing works perfect. With other extensions: .bb or .pl eclipse crashes

# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.2-b01 mixed mode linux-amd64 )
# Problematic frame:
# C  [libpthread.so.0+0x82b1]  __pthread_mutex_lock+0x11

I can also attach the log file

uname -a: Linux ncbille02 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux

Reproducible: Always

Steps to Reproduce:
1. Create new project (common)
2. Create new file in it with extension .pm
3. Eclipse crashes
Comment 1 Alexey Lyaguzin CLA 2010-07-28 07:24:37 EDT
Created attachment 175390 [details]
Log file is autogenerated
Comment 2 Remy Suen CLA 2010-07-28 07:26:19 EDT
Are you using KDE?
Comment 3 Alexey Lyaguzin CLA 2010-07-28 08:07:42 EDT
No, I am using Xming als X-Server and starting xtrem from cygwin. But the same problem with putty + Xming

OS: Linux SuSE 10.2
Comment 4 Craig Watcham CLA 2011-07-17 06:18:10 EDT
Does it still crash if you right click and select "Open With..." -> "Text Editor"?

On my system double clicking a .pl file opens in the system editor (gedit in my case)
Comment 5 Arun Thondapu CLA 2013-07-16 10:22:15 EDT
I tested this with Eclipse 4.3 on Ubuntu 12.04 and Eclipse doesn't crash for me (the file with a different extension opens in an external editor - gedit).

I'm closing the bug as WORKSFORME. Please feel free to reopen it if you are able to reproduce this crash on a recent Linux distro with the latest Eclipse version.