Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007440 [Squeak] Morphic block always 01-12-10 01:57 04-18-10 21:59
Reporter wiz View Status public  
Assigned To wiz
Priority immediate Resolution fixed  
Status closed   Product Version trunk
Summary 0007440: In sq 8859 Saving a project hangs (even after avoiding the first two problems)
Description
For this one in a fresh sq 8859 (or earlier same prob in 8720)
open a new morphic project
rename it (to avoid the first problem]
patch PasteupMorph>prepareToBeSaved by removing bogus #isTileMorph predicate (to avoid second problem.

Enter the new project you just created and renamed.
Select "Save Project" from world menu or Projects on menu bar.

You will get the initial save dialog.
Select Save or Save on local disk to continue.

Project will then hang in the process of saving.
Additional Information Other strange things are happening at this point but I haven't had a chance to separate things out.

Breaking out of the stall ( I requested jump to previous project during the hang.)
This opened a debug window MessageNotUnderstood: MorphicProject>>isScriptEditorMorph

I was still in the same project not it's parent.
At this point when I looked on disk the project was saved in the squeaklets folder. (Whether saved whole or saved corrupted I have not checked yet.)
Some previous attempted save projects had folders named after them.
e.g. a TestSave.001 folder and a Project TestSave.002.pr appeared in the Squeaklets folder. Those were earlier attempts.

The Test2Save.001.pr file appeared as well. That was this present attempt. The debug log for the MNU error is attached.

File sizes

Test2Save.001.pr 203.9 KB (208781 bytes) (Current attempt. With fileout of #preparedToBeSaved patch.

TestSave.002.pr 201.5 KB (206340 bytes) (Previous attempt to save an "empty" project does not contain saved code.)

Well, thats enough for now. Questions needing anwsering are:

1) What currently is the expected behavior of "Save Project to Disk"? !!!?

2) What causes an Unnamed project to report a primative failure. Old behavior was to request a name?

3) What causes the hang?

4) Why did interupting it work?

Enviornmental factors:

Running
'/home/hubuntu/Documents/squeakish/pharo fixes/pharo vm folder/squeak' '/home/hubuntu/MySqtrunkCurrent.image'

sq is a fresh 8720 updated to 8859.
system is Ubuntu 8.04
vm is from pharo-vm-0.15.1b-linux.zip package




Attached Files  SqueakDebug10jan11a.log [^] (4,593 bytes) 01-12-10 01:57

- Relationships
related to 0007445closed andreas In 8864 Saveing a project can still hang (4th bug and counting) 

- Notes
(0013465 - 484 - 597 - 597 - 597 - 597 - 597)
wiz
01-12-10 03:18

Found a fourth bug

The isScriptEditorMorph is used to replace

obj class == ScriptEditorMorph

in MorpicProject>exportSegmentWithCatagories: catList classes: classList fileName: aFileName directory: aDirectory
'ar 1/3/2010 19:01 MorphicProject exportSegmentWithCatagories:classes:fileName:directory: {file in/out}'

however obj can be any object and the backstop

Morph>isScriptEditorMorph
    ^false

only covers morphs it needs also to be in Object or maybe ProtoObject
 
(0013467 - 51 - 51 - 51 - 51 - 51 - 51)
wiz
01-12-10 23:03

In 8864. Code causing behavior apparently reverted.
 

- Issue History
Date Modified Username Field Change
01-12-10 01:57 wiz New Issue
01-12-10 01:57 wiz File Added: SqueakDebug10jan11a.log
01-12-10 03:18 wiz Note Added: 0013465
01-12-10 23:03 wiz Status new => resolved
01-12-10 23:03 wiz Fixed in Version  => 3.11
01-12-10 23:03 wiz Resolution open => fixed
01-12-10 23:03 wiz Assigned To  => wiz
01-12-10 23:03 wiz Note Added: 0013467
01-13-10 18:20 wiz Relationship added related to 0007445
04-18-10 21:59 andreas Status resolved => closed


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
48 total queries executed.
35 unique queries executed.
Powered by Mantis Bugtracker