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 - Ms Word table copied but NeoO crashes when saving
Ms Word table copied but NeoO crashes when saving
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Enaid
Blue Pill


Joined: Feb 13, 2006
Posts: 4

PostPosted: Thu Apr 16, 2009 2:31 am    Post subject: Ms Word table copied but NeoO crashes when saving

Hello

I have noticed that NeoOffice staff is always interested in crashing bugs. It is nothing urgent as there are easy workarounds.

I apologize in advance if this has been reported, I have found issued solved already with tables from .doc documents.

Description: a heavily formatted table (from a Ms Word document in .doc format) copies and pastes correctly from that document (opened in NeoO) into another NeoO document in .doc format.

When the file with the pasted table is saved, NeoO crashes (other behaviours have been observed but all end up crashing).

The first lines of the failure report are:

Process: soffice.bin [155]
Path: /Applications/NeoOffice.app/Contents/MacOS/soffice.bin
Identifier: org.neooffice.NeoOffice
Version: 3.0 (3.0 Patch 0 Intel (pluby:guibomacmini.local.))
Code Type: X86 (Native)
Parent Process: launchd [62]

Date/Time: 2009-04-15 10:53:16.404 +0100
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010
Crashed Thread: 1

Application Specific Information:

Java information:
Version: Java HotSpot(TM) Client VM (1.5.0_16-133 mixed mode, sharing)
Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_16-133) for macosx-x86, built on Aug 27 2008 11:00:20 by root with gcc 4.0.1 (Apple Inc. build 5465)
Exception type: Bus Error (0xa) at pc=0x108aacf1

By the way the tble copies and pastes correctly in HTML and it saves. By saving in ODT, the save is successful and the table is kept and can be modified and resaved. This table appears to be heavily formatted. This do not appear to happen with OpenOffice 3.0.1 on a PC.

Hope it is of some interest,

E
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Thu Apr 16, 2009 7:17 am    Post subject:

Thank you for reporting this.

I see from the portion of the crash log (or failure report) you included that you you do not have Patch 1 intstalled yet. Please download and install the latest patch from the following url:

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

If the crash still occurs after installing the latest patch, attach the entire crash log (not just a portion of it) here. There is information in the crash log that is helpful to the developers in diagnosing what is causing the crash.

--fran
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Thu Apr 16, 2009 7:25 am    Post subject:

I tried to replicate this using the .doc file provided by Enaid.

Here are the steps I used:
- opened the document in NeoOffice 3.0 Patch 1
- used Cmd-A to select all
- used Cmd-C to copy the selected bits
- opened a new NeoOffice Writer document
- saved it as a .doc file
- used Cmd-V to paste into the new .doc file
- selected the Save icon in the toolbar

Result: NeoOffice hung with a spinning beachball.

I have attached a sample.

--fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Apr 16, 2009 7:47 am    Post subject:

narf wrote:
Result: NeoOffice hung with a spinning beachball.

I have attached a sample.


I cannot reproduce any crashing or hanging with NeoOffice 3.0 Patch 1.

Nevertheless, I looked at your sample and what I found odd is that the hanging is occurring in a very basic Mac OS X function called malloc(). This function is used to allocate memory is called hundreds of thousands times per minute when running NeoOffice or any other memory-intensive application. Since malloc() is deadlocking on its own lock, this is either a Mac OS X kernel bug or one other possible cause is that one of your machine's memory cards is going bad.

Have you been experiencing any kernel panics on your machine recently?

Patrick
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Thu Apr 16, 2009 9:21 am    Post subject:

I think the hang I experienced was due to a problem on my machine. I booted into single user mode and ran fsck on my system following the instructions in this Apple support article.

My file system was modified and after a reboot I was able to copy and paste the table from one .doc file to another in NeoOffice.

--fran
Back to top
Enaid
Blue Pill


Joined: Feb 13, 2006
Posts: 4

PostPosted: Thu Apr 16, 2009 11:21 am    Post subject:

Applied patch 1. I have only had time to try once and it has happened something very similar to Narf: after NeoOffice prompting whether to keep the current format (.doc), spinning beachball for a while (unlike previous occasions that crashed straight away), then NeoOffice crashes.

Occurrence:
1-Open a .doc format document with NeoOffice.
2-Open .doc format document with the table (posted earlier)
3-Copy table from second document, command-c
4-Paste table on first document, command-v
5-Click save button on NeoOffice
6-Click on Keep current format button

Crash described above.

Attached, the report -crash log- generated by OS.

As said, I have only tried once, upon reading your posts.

If I get consitent behaviour with that particular table, I will post later.

Thank you as ever for the interest.

Enaid
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Apr 16, 2009 11:52 am    Post subject:

I can now consistently reproduce this bug in NeoOffice 3.0 Patch 1 using the steps in your last post. Since I cannot reproduce this bug in OpenOffice.org 3.0.1 or my matching Go-oo build, this is definitely a bug in NeoOffice's code.

I have created bug 3449 to track the progress of this bug and I will post when I have a fix for you to test.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Apr 17, 2009 9:05 am    Post subject:

I think that I have fixed this bug. I found that this bug is really an OpenOffice.org 3.0 bug. While Sun Microsystems' OpenOffice.org engineers fixed this crashing bug in OpenOffice.org 3.0.1, that code causes bug 3405 so we use the OpenOffice.org 3.0 code.

I have posted links to a test patch in my last post in bug 3449. Can you paste the applicable link into your web browser to download and install the test patch and tell us if the bug is fixed for you?

Patrick
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Fri May 01, 2009 9:44 am    Post subject:

FYI. Patrick has included the fix for this bug in NeoOffice 3.0 Patch 2. You can download the patch from the following URL:

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

--fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Feb 03, 2010 12:42 pm    Post subject:

In order to fix bug 3586, I had to backported OpenOffice 3.1.1's .doc file import and export code.

I tested that the fix does not break my fix for this bug. But just to be safe can you NeoOffice 3.0.2 test patch and tell us if the bug is fixed for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0.2-Patch-0-Test-3-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.0.2-Patch-0-Test-3-PowerPC.dmg

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.