Xojo freezes on save

Today it occurs again and again: I hit Cmd+s and every third time it will freeze. I have to Force Quit Xojo.

Then I’m clearing cache and restart the machine, and it works again for two three times, and then it freezes again.

Activity Monitor says: Memory used is 8 of 16 GB. Harddisk is only half full.
I don’t even know where to start looking for the problem or what question to ask.

OSX 10.9.2, rMBP Mid 2012, 16GB Ram, Xojo 2014r1

I never encountered this problem before.

An odd problem like this may be the first sign of hard drive failure. I’m not trying to alarm you, but I would back up, then look there first.

I use Tech Tool Pro to test a traditional drive. If you have an SSD or fusion, it will be trickier.

SSD …

run a check project before you save would you ?

when you hit “save” the first thing that happens is any uncommitted changes in editors and the inspector get saved and I’m curious if there’s something that can’t be committed for some reason (conflicting name etc)

Actually it seems like the failure is more likely to occur AFTER I have run a project Check (Cmd+k). (The checks are fine and I save)

Edit: My current work is in version control format (.xojo_project). Now I saved it as a .xojo_binary_project file and removed all remaining .xojo_??? files. For the moment this seems to be more stable, at least I did not have any failures in the last half hour.

I also checked my disk with SSD Health and SMARTReporter, which does not show any problems .

[quote]smartctl 6.1 2013-03-16 r3800 [x86_64-apple-darwin12.3.0] (local build)
Copyright © 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: APPLE SSD SM768E
Serial Number: S119NYAC709758
LU WWN Device Id: 5 002538 043584d30
Firmware Version: CXM90A1Q
User Capacity: 751,277,983,744 bytes [751 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Apr 9 22:07:30 2014 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x02) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 2880) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 48) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x001a 200 200 000 Old_age Always - 0
5 Reallocated_Sector_Ct 0x0033 100 100 000 Pre-fail Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 5095
12 Power_Cycle_Count 0x0032 091 091 000 Old_age Always - 8516
169 Unknown_Attribute 0x0013 253 253 010 Pre-fail Always - 5181039201024
173 Unknown_Attribute 0x0032 193 193 100 Old_age Always - 21488926757
192 Power-Off_Retract_Count 0x0012 099 099 000 Old_age Always - 65
194 Temperature_Celsius 0x0022 064 031 000 Old_age Always - 36 (Min/Max 12/69)
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age Always - 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error

1 Extended offline Completed without error 00% 5094 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.[/quote]

For what it’s worth, I had an SSD last year that showed perfectly healthy SMART status right up to the day it stopped allowing me to write to it. THEN SMART showed total failure.

Also FWIW, I had really strange drive issues in January that resulted in me replacing my boot SSD (and a separate hard drive). Problems are completely gone now. Turns out the original SSD needed a firmware update (and it now working great hosting VMware Fusion VMs).

Next time it happens, use Activity Monitor to sample the IDE app?