Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Problems after upgrading to Sierra or High Sierra? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - NeoOffice 3.4.1 hanging when idle in OS X 10.10.1
NeoOffice 3.4.1 hanging when idle in OS X 10.10.1
 
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Thu Dec 11, 2014 9:49 am    Post subject: NeoOffice 3.4.1 hanging when idle in OS X 10.10.1 Reply with quote

I've upgraded and shuffled my Macs around at work and my NeoOffice based customer database now runs on a Mac mini with OS X 10.10.1 installed.

It is working fine, I got sent to the right Java installer when I first opened the database, and it all seems to work fine, except when it's been left alone for a while, when NeoOffice appears to hang and needs to be Force Quit.

I've checked that there are no Font problems on this machine.

The hang has happened a few times now and occurs when there is one form open and the machine has been idle and asleep for a time. I'll try to pin down some more specific steps to reproduce if I can. I could attach the .odb file if it would help, but I'd need a little time to produce some dummy data as the real database contains customer records.

I took a sample before I quit it one time which is attached.

I realise NeoOffice 3.4.1 is nearing the end of its life, so if it is unfixable, I can switch to LibreOffice or OpenOffice, albeit reluctantly.

Andy
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Thu Dec 11, 2014 10:37 am    Post subject: Reply with quote

Thank you for the sample. It is hard to tell from the sample, but I don't think this bug is due to Java. Instead, it appears that the hang is occurring when drawing native OS X table headers.

Native table headers are drawn in a few places (the attached screen snapshot shows them in the table editing window). Do you remember which type of database windows you had open when NeoOffice hung? If not, can you grab a screen snapshot of NeoOffice when it hangs next?

amayze wrote:
I realise NeoOffice 3.4.1 is nearing the end of its life, so if it is unfixable, I can switch to LibreOffice or OpenOffice, albeit reluctantly.


While database data can be moved, if you use Base's report engine you can't escape the need for Java so I understand your need for a backup plan.

It is no secret that Apple does not like Java anymore so if you use Base's reporting engine my recommendation is to test out OpenOffice now, not later. Be sure to install the Oracle Report Builder extension so that OpenOffice can run your Base database reports.

My other recommendation is that you may want to hold back on upgrading to future new OS X releases until after you are sure that Java actually works. Every new OS X release breaks something in NeoOffice, OpenOffice, and LibreOffice and since your work depends on a technology that Apple no longer likes, I would recommend being very cautious about upgrading to a new OS X release.

Patrick
Back to top
View user's profile Send private message Visit poster's website
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Thu Dec 11, 2014 11:06 am    Post subject: Reply with quote

Yes, I am aware of Apple's dislike of Java, and I had done some reasonably extensive testing on another machine before I jumped to OS X 10.10, but evidently I missed this problem!

Here's a screen shot of the open window. I think from your description it does include native table headers.

I can live with the hanging. The underlying database is not affected and I'm not losing data, it's just the interface that is hanging, so after a Force Quit there is no need to recover the .odb file as it never changes. I just re-open the original file and carry on.

It is a pain, but it's less of a problem than I had keeping my old Intel Core Duo iMac with OS X 10.6.8 on it working alongside a much newer iMac running OS X 10.9.x!

Thanks again for looking at this.

Andy
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Thu Dec 11, 2014 11:25 am    Post subject: Reply with quote

I will definitely look at this and post a test patch for you to try in the next day or two. At this point, it seems that Apple changed something in their NSTableView class that causes an infinite loop on OS X 10.10.

amayze wrote:
Yes, I am aware of Apple's dislike of Java, and I had done some reasonably extensive testing on another machine before I jumped to OS X 10.10, but evidently I missed this problem!


I didn't mean to imply that you didn't do enough testing. I only wanted to pass on what has worked for me: give yourself a way to rollback to the the last working OS X release.

Personally, I hate the endless upgrade cycle that Apple pushes so for several years now I have been splitting my machine's disk into multiple volumes, installing new OS X releases on separate volumes, and then importing my user from the old volume. The upside is that I can then reboot back into the old OS X volume by pressing the Option key while booting. The downside is that it uses up a lot more disk.

I can't say my approach will work for everyone. I am a bit paranoid about losing data so my approach (and the number of backups I make and store offsite) is probably overkill for most people. I just know that I sleep better at night knowing that I've got some nice fallback options.

Hope that helps.

Patrick
Back to top
View user's profile Send private message Visit poster's website
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Thu Dec 11, 2014 2:41 pm    Post subject: Reply with quote

pluby wrote:
I will definitely look at this and post a test patch for you to try in the next day or two. At this point, it seems that Apple changed something in their NSTableView class that causes an infinite loop on OS X 10.10.

Thanks.

amayze wrote:
Yes, I am aware of Apple's dislike of Java, and I had done some reasonably extensive testing on another machine before I jumped to OS X 10.10, but evidently I missed this problem!
pluby wrote:
I didn't mean to imply that you didn't do enough testing. I only wanted to pass on what has worked for me: give yourself a way to rollback to the the last working OS X release.

No offence taken. There should've been a smiley after the exclamation mark!

pluby wrote:
Personally, I hate the endless upgrade cycle that Apple pushes so for several years now I have been splitting my machine's disk into multiple volumes, installing new OS X releases on separate volumes, and then importing my user from the old volume.

Me too! (The hating endless upgrades bit). But since I have a credit card machine sitting on the same network as my Macs I am obliged by my merchant services provider to use a version of the OS that is still supported with security updates from Apple. However I can never upgrade anything until my accounts software provider officially sanctions their software for the new OS. So given that OS X 10.10 didn't break the accounts software I thought I'd take the opportunity to update to 10.10 and hopefully be able to stay there for a couple of years!

pluby wrote:
I can't say my approach will work for everyone.

You can't ever have too many backups. I've only just recently had to recover from a HD failure on my main work iMac. Thankfully TimeMachine backups to a RAID array on a local NAS and having critical data also backed up on a cloud service meant all I lost was time while the backup was restored to a new external drive.

The only sleep I lost was over worrying if the Mac rebooting at the end of the restore would set off the motion detectors on the shop alarm and give me an unwelcome wake-up call to go and switch it off at silly-o'clock in the morning! Sad

Cheers,

Andy
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Thu Dec 11, 2014 8:31 pm    Post subject: Reply with quote

We have some extra code for drawing native table headers differently depending on whether or not the window is active. I found that this extra code is not needed to draw table headers properly on Yosemite so, in the following test patches, I disabled this extra code when running on Yosemite.

Can you install one of the following test patches and tell us if the hanging still occurs? If it still occurs, can you attach a new sample?:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-9-Test-1-Intel.dmg

NeoOffice 2014.5:
http://nick.neooffice.org/test/NeoOffice-2014.5-Test-2-Intel.dmg

NeoOffice 2014.5 Free Edition:
http://nick.neooffice.org/test/NeoOffice-2014.5_Free_Edition-Test-2-Intel.dmg

Patrick
Back to top
View user's profile Send private message Visit poster's website
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Fri Dec 12, 2014 1:21 pm    Post subject: Reply with quote

I installed NeoOffice-3.4.1-Patch-9-Test-1-Intel this morning and during the course of the day made sure that the Mac was left to go to sleep with the Form window front most and also with the Finder as the front app to make sure the Form window wasn't active.

I haven't experienced a crash so far. The Mac this database runs on is on 8 hours a day 6 days a week. In the first few days of using OS X 10.10 it has hung at some point on most days, so it should be clear soon if the change you have made has fixed the problem.

Thanks again.

Andy
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Fri Dec 12, 2014 1:30 pm    Post subject: Reply with quote

amayze wrote:
I haven't experienced a crash so far. The Mac this database runs on is on 8 hours a day 6 days a week. In the first few days of using OS X 10.10 it has hung at some point on most days, so it should be clear soon if the change you have made has fixed the problem.


That is encouraging news. If you don't see any hanging or crashing in the next several days, let us know and I will put the fix into an official NeoOffice 3.4.1 patch.

Patrick
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11806
Location: California, USA

PostPosted: Thu Dec 18, 2014 5:04 pm    Post subject: Reply with quote

FYI. I have included the fix for this bug in NeoOffice 3.4.1 Patch 10 which can be downloaded from the NeoOffice patch download page.

I have also included the fix in NeoOffice 2014.6 which is available in Apple's Mac App Store.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.02 Seconds