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

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - A given file crashes NeoOffice on start - OOOrg works OK.
A given file crashes NeoOffice on start - OOOrg works OK.
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
zircon
Pure-blooded Human


Joined: Aug 14, 2009
Posts: 33
Location: Japan

PostPosted: Fri Nov 27, 2009 2:53 pm    Post subject: A given file crashes NeoOffice on start - OOOrg works OK.

A file crashes NeoOffice every time, but can be opened using Open Office (Windows.)

The file is work for hire so I can't attach it. The crash report is attached.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Nov 27, 2009 4:33 pm    Post subject:

I noticed from your crash log that you have the following system hack installed on your machine. System hacks inject their code into all running applications and we have found that bugs in some system hack can cause applications like NeoOffice to hang or crash in unexpected places in the code:

/Library/InputManagers/Smart Crash Reports

To disable this system hack, move the above folder to your Desktop and reboot. You can find the folder by double-clicking on the main volume icon on your desktop and, in the Finder window that appears, navigating down through the Library and InputManagers subfolders.

After moving the folder and rebooting, does NeoOffice still crash when you open your document?

If NeoOffice still crashes after moving the folder and rebooting, we are going to need a sample document that we can use to reproduce the crash.

I understand that the problem occurs with a proprietary document but I am pretty certain that if the system hack is not the cause of the crash, then something specific in your document is what triggers the crash.

The crash log indicates that the crashing is occurring during some sorting operation. Is it possible remove all of the proprietary data in your document except for the data that is being sorted and attach that? If not, can you describe how we would create data that is similar to the data that you are sorting and tell us what settings you have on that data that might trigger sorting on opening?

The key for us is that we need to be able to reproduce the crashing behavior in order to determine the cause of the crash before we can begin fixing it.

Patrick
Back to top
zircon
Pure-blooded Human


Joined: Aug 14, 2009
Posts: 33
Location: Japan

PostPosted: Sat Nov 28, 2009 9:00 am    Post subject:

OK - I did the following:

- removed /Library/InputManagers/Smart Crash Reports
(administrator rights were required.)
- rebooted machine
- double-clicked on problem file -> crash
- opened problem file using OOOrg 3.1 -> no problem
- pared file to narrow down problem to a certain formula.
- reconfirmed that the file still crashed NeoOffice.

The resulting test file and newest crash log are attached.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Nov 28, 2009 10:30 am    Post subject:

Thank you for that sample .ods file. Using that file, I can easily reproduce the crash in NeoOffice 3.0.1 Patch 1. Also, I can open the file in OpenOffice.org 3.0.1 (the version of OpenOffice.org that NeoOffice is based on) so this is definitely caused by a bug in our code.

I will immediately start searching for the cause of this bug. Once I find the cause and fix it, I will post a test patch that you can try. I hope to find the cause in the next one or two days.

Patrick
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Sat Nov 28, 2009 10:44 am    Post subject:

FYI: I have opened bug 3573 to track this issue.

-- fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Nov 28, 2009 3:00 pm    Post subject:

I think that I have fixed this crashing bug. Can you install the following test patch and tell us if this bug is fixed for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0.1-Patch-1-Test-7-Intel.dmg
http://joe.neooffice.org/test/NeoOffice-2.2.6-Patch-1-Test-6-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.0.1-Patch-1-Test-7-PowerPC.dmg
http://joe.neooffice.org/test/NeoOffice-2.2.6-Patch-1-Test-6-PowerPC.dmg

Patrick
Back to top
zircon
Pure-blooded Human


Joined: Aug 14, 2009
Posts: 33
Location: Japan

PostPosted: Sat Nov 28, 2009 4:37 pm    Post subject:

Hi Patric

Looks fixed. After installing the Intel patch I opened both the test and original files three times without a crash.

Thank you ever so much - this makes me very happy!

TK
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 04, 2009 10:18 am    Post subject:

I found a new bug that my fix for your bug causes. The new bug is that on some PowerPC machines installation of shared extensions will hang. This bug, in turn, causes the patch installer to hang for some users.

I have reworked my fix for your bug so that it does not cause the patch installer to hang on PowerPC machines. Can you install the following test patch and tell us if this bug is still fixed for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0.1-Patch-1-Test-8-Intel.dmg
http://joe.neooffice.org/test/NeoOffice-2.2.6-Patch-1-Test-7-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.0.1-Patch-1-Test-8-PowerPC.dmg
http://joe.neooffice.org/test/NeoOffice-2.2.6-Patch-1-Test-7-PowerPC.dmg

Patrick
Back to top
rays
The Anomaly
(earlier version)


Joined: Sep 23, 2004
Posts: 475
Location: Geneva, Switzerland

PostPosted: Fri Dec 04, 2009 1:37 pm    Post subject:

If ever someone needs evidence of the quality outcomes that are achievable through this project's approach to an iterative development process, this is certainly a case!

Thanks, Patrick, for looking after our PowerPC interests on equal terms with our more recent MacIntels.

_________________
Ray Saunders
World Scout Bureau
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 04, 2009 2:01 pm    Post subject:

rays wrote:
Thanks, Patrick, for looking after our PowerPC interests on equal terms with our more recent MacIntels.


Ed, Fran, and I all use G5 PowerPC Macs as our primary work machines so we definitely have a vested interest in making sure that NeoOffice is stable on both Intel and PowerPC chips.

I do all of my NeoOffice development PowerPC before I test any changes on Intel because I have found that there are bugs in Apple's compiler on PowerPC that can cause very weird crashes. Because of these PowerPC compiler bugs and because Sun's OpenOffice.org engineers do not support PowerPC, there are lots of fixes for crashing bugs in the NeoOffice code that are not in the OpenOffice.org code.

Patrick
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Tue Dec 08, 2009 1:53 pm    Post subject:

FYI. The fix is included in NeoOffice 3.0.1 Patch 2. You can download the patch from the following URL:

http://www.neooffice.org/neojava/patch.php

Also, The fix is included in NeoOffice 2.2.6 Patch 2. You can download that patch from the following URL:

http://www.neooffice.org/neojava/oldpatch.php

-- fran
Back to top
zircon
Pure-blooded Human


Joined: Aug 14, 2009
Posts: 33
Location: Japan

PostPosted: Wed Dec 09, 2009 10:32 am    Post subject:

The problem remains fixed on my machine with NeoOffice-3.0.1-Patch-1-Test-8-Intel. (Tested using the same sample file.)

Thanks again.
Back to top
zircon
Pure-blooded Human


Joined: Aug 14, 2009
Posts: 33
Location: Japan

PostPosted: Thu Dec 10, 2009 2:11 am    Post subject:

NeoOffice 3.0.1 Patch 2 works as well.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Dec 10, 2009 6:16 am    Post subject:

zircon wrote:
NeoOffice 3.0.1 Patch 2 works as well.


Thank you for verifying that the fix works in all of the patches. The fix for that crashing bug was very tricky to implement and it really helps to know that in each patch the fix still works.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Dec 28, 2009 9:59 pm    Post subject:

FYI. The fix fo this bug has been included in the NeoOffice 3.0.2 Early Access release. Early Access Program members can download it from the following URL:

http://www.neooffice.org/neojava/earlyaccessdownload.php

Patrick
Back to top
Display posts from previous:   
   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.