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 - Crash in Calc after deleting row
Crash in Calc after deleting row
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Thu Feb 17, 2011 4:56 pm    Post subject:

Woke the MacBook and tried to working copy a row to paste in its destination after being closed for half a day. Ball spun and then NO went away.
These are the console messages.

2/17/11 4:32:59 AM Mail[237] *** Failed to decode 7bit" data, treating as binary
2/17/11 6:11:35 AM [0x0-0xd00d].com.elgato.eyetvhelper[129] ***Wakein::CancelEvents: requested event type: wakepoweron
2/17/11 6:11:35 AM [0x0-0xd00d].com.elgato.eyetvhelper[129] ***Wakein::CancelEvents: requested app name: com.elgato.eyetv
2/17/11 6:11:35 AM [0x0-0xd00d].com.elgato.eyetvhelper[129] ***Wakein: 1 entries in power event schedule table
2/17/11 6:11:35 AM [0x0-0xd00d].com.elgato.eyetvhelper[129] *** date: 03/31/32 06:00:00
2/17/11 6:11:35 AM [0x0-0xd00d].com.elgato.eyetvhelper[129] *** appName: com.elgato.workaround
2/17/11 6:11:35 AM [0x0-0xd00d].com.elgato.eyetvhelper[129] *** eventType: wakepoweron
2/17/11 4:33:34 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/17/11 4:33:34 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/17/11 4:33:35 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/17/11 4:33:35 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/17/11 4:33:49 PM [0x0-0x40f40f].org.neooffice.NeoOffice[15647] Invalid memory access of location 0xc eip=0x953bf640
2/17/11 4:33:59 PM com.apple.launchd.peruser.503[95] ([0x0-0x40f40f].org.neooffice.NeoOffice[15647]) Job appears to have crashed: Bus error
2/17/11 4:34:02 PM ReportCrash[16688] Saved crash report for soffice.bin[15647] version 3.1.2 Patch 4 (3.1.2 Patch 4 Intel (pluby:guibomacmini.local.)) to /Users/ken/Library/Logs/DiagnosticReports/soffice.bin_2011-02-17-163402_MB-2.crash

I had been playing with neither Elgato nor Sony for months--use calibre instead. Will try to remove Sony.

Started recovery to get line number before sending this but it will likely repeat.
Hope it helps. Would like to be rid of this bug for me.
-Ken
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Feb 17, 2011 7:56 pm    Post subject:

Thank you for the crash log and sample Calc document. Unfortunately, when I open the document, select row 2169, copy it, and then delete it using keyboard shortcuts, NeoOffice does not crash for me.

From your crash log you do not have any system hacks on your machine. What is interesting is that the crash log shows the crash occurring in NeoOffice's underlying OpenOffice.org code's "insert row" code. Maybe the crash occurs as a result of an action immediately after you deleted the row?

If pressing the delete row key shortcut was the very last thing you did, then do you remember the edits that you made (which may have been many hours before) before you copied the row?

Patrick
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Thu Feb 17, 2011 9:51 pm    Post subject:

Yes, I probably did copy, delete, and insert many times before I halted work hours before. It did NOT die for me either when I tried it after the recovery without save, and sending to you. I'll have to wait for another occurrence as I would like a clean start and failure but it comes only when it does.

I removed the Sony system launcher preference file but could not find the code launcher itself. Have not rebooted, yet, which might be needed to clean it out. I have avoided hacks since system 7.8 or so--used a few back in 7.01 and 7.1--bad for stability. The closest I come now is Adobe's Flash started by IMDb except when it fails and had not been "re-opened" for hours.

Rest a while--or do another of your tasks, Thanks,
-Ken
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Feb 18, 2011 2:04 am    Post subject:

After reading your post, I opened a clean copy of your sample document and I was finally able to reproduce the crash repeatedly using the following steps:

1. Select row 2169, copy it, and then delete it using the Command-Dash key shortcut

2. Undo the row deletion using the Command-Z key shortcut

3. Select empty row 2171 and delete it using the Command-Dash key

Since this crash does not occur in OpenOffice.org 3.1.1 or my Go-oo build (both of which NeoOffice is based on), this crashing bug is clearly a NeoOffice bug.

I have created bug 3648 and will start investigating the cause of this bug. When I have a fix for this bug (hopefully in the next few days), I will post a test patch for you to try.

Patrick
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Fri Feb 18, 2011 1:47 pm    Post subject:

I'm so glad that it is not just my doing. Sorry, that you have a bug to chase.
-Ken
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Feb 21, 2011 6:24 pm    Post subject:

FYI. Although I do not have a fix for this crashing bug yet, I did finally locate the cause of it. The cause is my fix for bug 3608 which fixes a rather nasty Calc bug introduced by Novell's Go-oo engineers.

That bug fix cannot realistically be removed so I have to continue investigating why that bug fix causes crashing in your spreadsheet.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Feb 22, 2011 8:37 pm    Post subject:

I think that I have fixed this Go-oo crashing bug. It took me 3 days of debugging to find a fix for it without causing Calc to slow to a crawl, but with the following test patch, I can no longer get NeoOffice to crash when inserting or deleting rows in your sample document.

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.1.2-Patch-4-Test-5-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-4-Test-5-PowerPC.dmg

Patrick
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Wed Feb 23, 2011 12:12 am    Post subject: First Real Crash in a While

I was trying to insert a line to copy line up but never got there. Had file open for a while but save had occurred and don't know exactly where I was.

NeoOffice-3.1.2-Patch-4-Test-5-Intel was installed.

console last part:

2/22/11 10:18:36 PM [0x0-0xd00d].com.elgato.eyetvhelper[129] ***Wakein: 1 entries in power event schedule table
2/22/11 10:18:36 PM [0x0-0xd00d].com.elgato.eyetvhelper[129] *** date: 03/31/32 06:00:00
2/22/11 10:18:36 PM [0x0-0xd00d].com.elgato.eyetvhelper[129] *** appName: com.elgato.workaround
2/22/11 10:18:36 PM [0x0-0xd00d].com.elgato.eyetvhelper[129] *** eventType: wakepoweron
2/22/11 10:18:38 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/22/11 10:18:38 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/22/11 11:04:59 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/22/11 11:05:00 PM [0x0-0xf00f].com.sony.ebook.readerlibrarylauncher[131] MacInterfacesChangedCallback: 1 keys changed
2/22/11 11:56:01 PM [0x0-0x75d75d].org.neooffice.NeoOffice[24272] Invalid memory access of location 0x40343a34 eip=0x206cf9e
2/22/11 11:56:05 PM com.apple.launchd.peruser.503[95] ([0x0-0x75d75d].org.neooffice.NeoOffice[24272]) Job appears to have crashed: Segmentation fault
2/22/11 11:56:06 PM ReportCrash[24379] Saved crash report for soffice.bin[24272] version 3.1.2 Patch 4 (3.1.2 Patch 4 Intel (pluby:guibomacmini.local.)) to /Users/ken/Library/Logs/DiagnosticReports/soffice.bin_2011-02-22-235606_MB-2.crash
2/22/11 11:56:14 PM [0x0-0x778778].org.neooffice.NeoOffice[24384] objc[24384]: Class AWTFont is implemented in both /Applications/NeoOffice.app/Contents/basis-link/program/libvcljava2.dylib and /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libawt.jnilib. One of the two will be used. Which one is undefined.
2/22/11 11:56:14 PM soffice.bin[24384] JavaNativeFoundation: GetGlobalVM: JNI_GetCreatedJavaVMs() failed to get any VM.
2/22/11 11:56:14 PM soffice.bin[24384] Apple AWT: +[ThreadUtilities getJNIEnvUncached] attempting to attach current thread after JNFObtainEnv() failed
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Wed Feb 23, 2011 12:45 am    Post subject:

A little more: I had altered a line (current 2142) for Mr. Sunshine listing (rating went down 6.0 and then back up 7.5), then did a Find for the first Pioneers of Television (232), and was inserting a line before it for an older show to record on the 23rd. Don't think any of that matters but for near completeness. Full save seem a tad faster and save of an autosave is more so.
-Ken
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Feb 23, 2011 9:20 am    Post subject:

Thanks for the list of steps that you were doing when the crash occurred. With them, I can now reproduce the crash. Since the crashing is now occurring in a different place in the OpenOffice.org code than before, I have to assume that my fix for the original crash is causing code to be executed that should not be executed and that, in turn, causes the crash.

I will rework my original bug fix to fix this crash and I will post a test patch when I have a fix.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Feb 23, 2011 10:15 am    Post subject:

I think that I have fixed this new crashing bug. My feeling was that my original fix in the last test patch tried too hard to keep updating cells after any bad data errors are encountered. In the following test patch, a took a much more conservative approach and when bad data errors are encountered, the code now just stops the cell updating process. This stopped both the original crash and the latest crash that you reported for me.

Can you install the following test patch and tell us if there is still any crashing for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-4-Test-6-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-4-Test-6-PowerPC.dmg

Patrick
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Wed Feb 23, 2011 12:39 pm    Post subject: Test 6 OK so far

NeoOffice-3.1.2-Patch-4-Test-6-Intel seems OK so far.
In quitting Test-5 with just 1 saved sheet open, it died. Had just awakened the MacBook.
I'll report if any new problems. Thanks again.
-Ken
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Feb 23, 2011 12:43 pm    Post subject: Re: Test 6 OK so far

kklare wrote:
In quitting Test-5 with just 1 saved sheet open, it died. Had just awakened the MacBook.


I ran into that too with Test-5 and I believe it is caused by the same code that causes the crash you first reported in Test-5.

Patrick
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Wed Feb 23, 2011 12:54 pm    Post subject:

Realized I had not included the Console Report, messages crossing.
-Ken
Back to top
kklare
Keymaker


Joined: May 01, 2009
Posts: 79
Location: Los Alamos, NM, USA

PostPosted: Wed Feb 23, 2011 2:41 pm    Post subject:

We're back a step. The drag from Find dialog starts to fail after some switches of focus. No specific formulation yet.
-Ken

Specific: I entered text in the Find dialog, scrolled a non-frontal window to get its text box visible, could not drag text to that box from the frontal Find box.
-Ken


Last edited by kklare on Wed Feb 23, 2011 2:52 pm; edited 2 times in total
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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.