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 - Secure Edition crash when exporting to PDF
Secure Edition crash when exporting to PDF
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Sun Jun 09, 2013 7:44 am    Post subject: Secure Edition crash when exporting to PDF

Today I got a crash from NO:SE whilst in Writer exporting an ODT document to PDF. I was using the "Export to PDF" function. The export window opened as normal. The crash happened upon choosing a file name and clicking Save in the subsequent file dialog.

Crash log attached. Could not reproduce the crash with repeated attempts.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jun 09, 2013 8:38 am    Post subject:

If you open the /Applications/Utilities/Console application, are there any messages within a minute before and after the time of the crash? If so, can you paste them into your reply post? Per your crash log, the time of the crash was 15:24 your time.

Patrick
Back to top
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Sun Jun 09, 2013 9:45 am    Post subject:

Messages posted below.

Code:

09/06/2013 15:23:29.291 mdworker[360]: Error loading /Applications/NeoOffice Secure Edition.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight:  dlopen(/Applications/NeoOffice Secure Edition.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight, 262): no suitable image found.  Did find:
   /Applications/NeoOffice Secure Edition.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight: no matching architecture in universal wrapper

09/06/2013 15:23:29.292 mdworker[360]: Cannot find function pointer MetadataImporterPluginFactory for factory 8FC14E77-AE84-11D9-B35F-0003934F78AA in CFBundle/CFPlugIn 0x7fea35914600 </Applications> (bundle, not loaded)

09/06/2013 15:24:05.634 com.apple.security.pboxd[332]: __block_global_2: connection failed unexpectedly; terminating process; delegate was (
   0   RemoteViewServices                  0x00007fff8b13a3c9 -[NSRemoteServiceConnection setDelegate:] + 253
   1   com.apple.security.pboxd            0x000000010afd475b com.apple.security.pboxd + 22363
   2   com.apple.security.pboxd            0x000000010afd4c47 com.apple.security.pboxd + 23623
   3   com.apple.security.pboxd            0x000000010afd3ab2 com.apple.security.pboxd + 19122
   4   libxpc.dylib                        0x00007fff8a68e4a2 _xpc_connection_recv_message + 699
   5   libxpc.dylib                        0x00007fff8a68e16d _xpc_connection_wakeup_recv + 165
   6   libxpc.dylib                        0x00007fff8a68c8b4 _xpc_connection_wakeup2 + 1799
   7   libxpc.dylib                        0x00007fff8a68c17c _xpc_connection_wakeup + 145
   8   libdispatch.dylib                   0x00007fff941610b6 _dispatch_client_callout + 8
   9   libdispatch.dylib                   0x00007fff9416329b _dispatch_source_invoke + 691
   10  libdispatch.dylib                   0x00007fff94162305 _dispatch_queue_invoke + 72
   11  libdispatch.dylib                   0x00007fff94162448 _dispatch_queue_drain + 180
   12  libdispatch.dylib                   0x00007fff941622f1 _dispatch_queue_invoke + 52
   13  libdispatch.dylib                   0x00007fff941621c3 _dispatch_worker_thread2 + 249
   14  libsystem_c.dylib                   0x00007fff93499d0b _pthread_wqthread + 404
   15  libsystem_c.dylib                   0x00007fff934841d1 start_wqthread + 13
)

09/06/2013 15:24:05.650 com.apple.launchd.peruser.502[140]: ([0x0-0x39039].org.neooffice.NeoOfficeSecureEdition[318]) Job appears to have crashed: Illegal instruction: 4

09/06/2013 15:24:57.264 com.apple.security.pboxd[373]: _NXTermWindow: error releasing window (1000)

Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jun 09, 2013 6:05 pm    Post subject:

Thank you for the log messages. The "cannot load neolight" message immediately before the crash caught my attention and from that, I noticed from your crash log that you are running the older "2013 Beta" version instead of "2013 Beta 2".

I had fixed a bunch of errors identified during a test upload to the Mac App Store in "2013 Beta 2" so can you download and install "2013 Beta 2" and see if this crash occurs again?

You can download "2013 Beta 2" from the link in the this NeoWiki article.

Patrick
Back to top
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Mon Jun 10, 2013 12:54 am    Post subject:

I didn't notice that update, I'll download and install it today. Thanks!
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jun 12, 2013 12:06 pm    Post subject:

I think I know what might have caused the crash that you saw. When using Apple' App Sandbox, Mac OS X uses a different process for displaying native open or save dialogs: the dialogs are actually displayed by a background process called "pboxd" (also known as the "PowerBox" deamon).

Your crash log indicated that the crash was occurring in Mac OS X's code that communicates with the pboxd process so I looked at our code to see if there might be anything that we could do to reduce the risk of the same crash. What I found was that our code does not release native open and save dialogs immediately after we are done using them so, potentially, NeoOffice may still have a previously displayed open or save hanging around when it creates and displays another open or save dialog.

I changed our code to prevent crashing in native open and save dialog code by ensuring that all previously displayed native dialogs are released before a new one is displayed. My fix is in NeoOffice Secure Edition Beta 3 which we released today so can you download and install "2013 Beta 3" and see if this crash occurs again?

You can download "2013 Beta 3" from the link in the this NeoWiki article.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Jul 15, 2013 2:05 pm    Post subject:

I think that I have finally found the cause for this crashing bug. Details of what I found are in this forum post.

Can you try the following NeoOffice 2013 Beta test patch and see if the crashing is fixed for you? The crashing bug was most likely to happen when using the native Save dialog so I am interested if you are able to run NeoOffice 2013 Beta for several days and using both the Open and Save dialogs periodically during that time:

NeoOffice 2013 Beta:
http://juliette.neooffice.org/test/NeoOffice-2013_Beta-Test-3-Intel.dmg

Note: you will need to install NeoOffice 2013 Beta before you can install the test patch. You can download NeoOffice 2013 Beta from the link in this NeoWiki article.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Jul 15, 2013 9:50 pm    Post subject:

Correction: if you downloaded the NeoOffice 2013 Beta test patch in my last post, please install this one as the last one did not include all of the binaries files that changed:

NeoOffice 2013 Beta:
http://juliette.neooffice.org/test/NeoOffice-2013_Beta-Test-4-Intel.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jul 18, 2013 9:45 pm    Post subject:

FYI. I made some more changes to the native Open and Save dialogs (see this post for details).

Can you try the following NeoOffice 2013 Beta test patch and see if the crashing is fixed for you?:

NeoOffice 2013 Beta:
http://juliette.neooffice.org/test/NeoOffice-2013_Beta-Test-5-Intel.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Jul 19, 2013 1:20 pm    Post subject:

FYI. The crashing bug was still there in the last test patch so I implemented a new fix in our native Open and Save dialog code that hopefully avoids this Apple App Sandbox crashing bug (see this post for what changes I made).

Can you try the following NeoOffice 2013 Beta test patch and see if the crashing is fixed for you?:

NeoOffice 2013 Beta:
http://juliette.neooffice.org/test/NeoOffice-2013_Beta-Test-6-Intel.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Jul 26, 2013 12:13 pm    Post subject:

FYI. I have reimplemented the native Save dialog as a "sheet" attached to a document window like we do for the native Page Layout and Print dialogs. From my limited testing, display the Save dialog as an attached sheet instead of a modal window appears to be much more stable when running NeoOffice in Apple's App Sandbox.

Can you try the following NeoOffice 2013 Beta test patch and see if the crashing is fixed for you?:

NeoOffice 2013 Beta:
http://juliette.neooffice.org/test/NeoOffice-2013_Beta-Test-8-Intel.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jul 30, 2013 6:21 pm    Post subject:

FYI. The fix for this bug is in NeoOffice 2013 Beta 2. To download NeoOffice 2013 Beta 2, use the download link in this NeoWiki article.

Please note that the NeoOffice 2013 Beta 2 installer should find and update your existing NeoOffice 2013 Beta installation. If you don't have NeoOffice 2013 Beta already installed, it will install in /Applications/NeoOffice.app and overwrite any regular NeoOffice installation there if you have not renamed it. So, if you have NeoOffice 3.3 installed, we recommend that you rename it before installing NeoOffice 2013 Beta 2.

NeoOffice Secure Edition testers: NeoOffice 2013 Beta 2 is incompatible with NeoOffice Secure Edition so if you have one of the NeoOffice Secure Edition versions installed, we recommend that you delete your NeoOffice Secure Edition user preference files by executing the following command in a Terminal window before installing NeoOffice 2013 Beta 2:

Quote:
rm -Rf ~/Library/Containers/org.neooffice.NeoOfficeSecureEdition/Data/Library/Preferences/NeoOfficeSecureEdition


Edit by pluby: added special steps for NeoOffice Secure Edition testers.

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