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 - 'Silent' crash when undoing large paste in HTML document
'Silent' crash when undoing large paste in HTML document
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Sat Jun 06, 2009 5:31 am    Post subject: 'Silent' crash when undoing large paste in HTML document

I opened an HTML document and was undoing a paste into a table in that document when NeoOffice crashed silently. Crash log is attached.

NeoOffice 3.0 Patch 2 iBook 1.33 GHz 512 MB PowerPC G4, OS X 10.4.11
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Sat Jun 06, 2009 7:27 am    Post subject: Re: 'Silent' crash when undoing large paste in HTML document

James3359 wrote:
I opened an HTML document and was undoing a paste into a table in that document when NeoOffice crashed silently.


Can you give us exact steps, including a sample document if necessary, to reproduce the crash? I have not been able to reproduce it on my system.

--fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Jun 06, 2009 7:42 am    Post subject: Re: 'Silent' crash when undoing large paste in HTML document

narf wrote:
Can you give us exact steps, including a sample document if necessary, to reproduce the crash? I have not been able to reproduce it on my system.


Also, were you using the latest NeoOffice 3.0 test patch? If not, can you install NeoOffice 3.0 Patch 3 that I released a few minutes ago and see if you can reproduce the crashing with that patch?

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Sat Jun 06, 2009 10:32 pm    Post subject:

I have now tried this again. First checking the repeatability of the crash with Patch 2 and then trying again after installing Patch 3. Unfortunately it is still occurring.

Here are the steps to reproduce:
  • In NO, open the attached html and odt files.
  • In the html file select all the contents of the diary table.
  • In the odt file select all the contents of the table. Go back to the html file and use Cmd-Shift-V for Paste Special and choose Unformatted text.
  • The paste takes quite a while to execute, when it is finished use Cmd-Z to undo the paste.
  • At this point NO crashes silently.


I don't know if there is value in attaching lots of crash logs, but here they are anyway. Crash Log 2 was me verifying the repeatability of the crash in Patch 2 Crash Logs 3 & 4 (in the next post) are me reproducing it with Patch 3 installed.
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Sat Jun 06, 2009 10:33 pm    Post subject:

Crash Logs 3 & 4 as promised
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Sun Jun 07, 2009 9:05 am    Post subject:

Thank you for providing the sample documents and the steps to reproduce the crash. I can also reproduce the crash on my G5 running 10.4.11.

I have opened bug 3488 to track this. When there is status to report from the bug, it will be posted here.

--fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jun 09, 2009 9:01 pm    Post subject:

I think that I have fixed this bug. Can you install the applicable test patch from the links below and tell us if the bug is fixed for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0-Patch-3-Test-1-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.0-Patch-3-Test-1-PowerPC.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jun 09, 2009 10:54 pm    Post subject:

Ooops. Ignore my last post. I have not fixed this yet. I had forgotten that I need to paste as unformatted text to reproduce this bug. Sad

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Jun 15, 2009 6:15 pm    Post subject:

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

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0-Patch-3-Test-2-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.0-Patch-3-Test-2-PowerPC.dmg

BTW. This was a particularly nasty bug. I found that the cause is that the OpenOffice.org 3.0.1 code cannot properly always handle the case where a "#" character is at the end of a line so I fixed this bug by a hack: when OpenOffice.org asks NeoOffice's code which characters in a paragraph will fit on a line of a given length and a "#" character would be the last character in that line, the NeoOffice code now pushes all trailing "#" characters to the next line.

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Tue Jun 16, 2009 8:52 am    Post subject:

Well done Patrick for tracking down this obscure bug and fixing it. I can confirm that it has solved the problem for me. As you may have appreciated the Paste Unfomatted text was a mistake (and takes a long time to execute on my machine), hence the Cmd-Z to undo it - so I have been avoiding making that mistake. Many thanks again for fixing this.

James
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Thu Jun 18, 2009 7:37 am    Post subject:

FYI. The fix for this bug is included in NeoOffice 3.0 Patch 4. You can download the patch from the following URL:

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

--fran
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.