PR# 16266 Saving files second time in workbench fails and leads to zero byte file!!

Problem Report Summary
Submitter: paulg_ca
Category: EiffelStudio
Priority: High
Date: 2009/09/16
Class: Bug
Severity: Critical
Number: 16266
Release: 6.4.7.9451
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11
Synopsis: Saving files second time in workbench fails and leads to zero byte file!!

Description
 When we try to save a file from workbench the second time in the current session, it will fail with the following error:

File:/tmp/project7/application.e is not writable, neither .swp file. Please choose a place to save.

But if you select another location, it still produces the same error.

In the strace output we see a seg. fault, see output below.

31982 lstat64("/tmp/project7/application.e.swp", 0xbfffe66c) = -1 ENOENT (No such file or directory)
31982 open("/tmp/project7/application.e.swp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 8
31982 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
31982 close(8) 


We have tested older versions and these do not have the bug:
EiffelStudio 6 (6.4.7.6313 GPL Edition - linux-x86)
EiffelStudio 6 (6.3.7.6070 GPL Edition - linux-x86)

And these version have the bug, we are not sure with version/build introduced this bug.

EiffelStudio 6 (6.4.7.9451 GPL Edition - linux-x86)
EiffelStudio 6 (6.4.7.9263 GPL Edition - linux-x86)

We have verified we are not out of disk space or over quota.
Running RHEL 4.6

We are trying to use Eiffel in our university course, so this is a urgent matter for us.

contact info: paulg [-- * at * --] cse.yorku.ca
To Reproduce
1 - start estudio
2 - start new project
3 - edit your code and save
4 - edit your code and save again

Problem Report Interactions
From:manus_eiffel    Date:2009/09/24    Download   
Although the underlying issue with `iconv' still exists, we have found a workaround that will permit saving of classes. This fix will appear in 6.5 after rev#80889.

From:manus_eiffel    Date:2009/09/24    Download   
We were able to reproduce the problem on one of our machine. The error from the underlying iconv library is:

EILSEQ error in `iconv'. Input conversion stopped due to an input byte that does not belong to the input codeset.: Developer exception.

We are investigating further now and I believe we do not need access to your machine anymore.

From:manus_eiffel    Date:2009/09/24    Download   
Sorry, I wanted to call you but I lost the extension. Could you give me again your phone number + extension?

From:paulg_ca    Date:2009/09/24    Download   
Is there update on this issue ?

From:manus_eiffel    Date:2009/09/18    Download   
1. Go to https://eiffel.webex.com/eiffel/e.php?AT=MI&EventID=130878647&UID=0&PW=NZGZlNDdiZTIy&RT=MiM0 
2. Enter your name and email address. 
3. Enter the meeting password: instant 
4. Click "Join Now". 
5. Follow the instructions that appear on your screen. 

From:manus_eiffel    Date:2009/09/17    Download   
------------------------------------------------------- 
To join the online meeting (Now from iPhones too!) 
------------------------------------------------------- 
1. Go to https://eiffel.webex.com/eiffel/e.php?AT=MI&EventID=130800607&UID=0&PW=NMmMwZjMwY2Zi&RT=MiM0 
2. Enter your name and email address. 
3. Enter the meeting password: instant 
4. Click "Join Now". 
5. Follow the instructions that appear on your screen. 


From:paulg_ca    Date:2009/09/17    Download   
I available during normal business hours (8:30am - 4:30pm EST) and I am willing to try the WebEx client.

Paul 

From:manus_eiffel    Date:2009/09/16    Status: Analyzed    Download   
Is there a date and time where I could shadow what you are doing? We would do the shadow using Webex Meeting Center which works on Linux as long as you have Java installed.