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 - eps graphics
eps graphics
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
thboyd
Agent


Joined: Nov 19, 2009
Posts: 18
Location: Boston, MA

PostPosted: Tue Feb 23, 2010 11:58 am    Post subject:

Should this be two one entries?


Code:

Last login: Tue Feb 23 13:55:11 on ttys000
[Toms-iMac:~] tomboyd% /bin/bash -c "ulimit -Ha"
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) unlimited
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 65532
cpu time               (seconds, -t) unlimited
max user processes              (-u) 532
virtual memory          (kbytes, -v) unlimited
[Toms-iMac:~] tomboyd% sysctl -a | grep file
kern.maxfiles = 12288
kern.maxfilesperproc = 10240
kern.corefile = /cores/core.%P
kern.maxfiles: 12288
kern.maxfilesperproc: 10240
kern.ipc.sendfileuiobufs: 64
kern.corefile: /cores/core.%P
kern.hibernatefile:
kern.num_files: 1144
security.mac.file_enforce: 0
appleprofile.allow_new_clients: 1
appleprofile.enable_profiling: 0
appleprofile.max_special_alloc: 1073375232
appleprofile.current_special_alloc: 0
appleprofile.actions.registered_actions: 6
appleprofile.actions.callstack.default_continuous_buffer_size: 2097152
appleprofile.actions.callstack.max_memory: 33554432
appleprofile.actions.kevent.default_continuous_buffer_size: 5242880
appleprofile.actions.kevent.max_memory: 268435456
appleprofile.actions.register_state.default_continuous_buffer_size: 2097152
appleprofile.actions.register_state.max_memory: 33554432
appleprofile.actions.threadinfo.default_continuous_buffer_size: 1048576
appleprofile.actions.threadinfo.max_memory: 88080384
appleprofile.actions.timestamp.default_continuous_buffer_size: 524288
appleprofile.actions.timestamp.max_memory: 33554432
appleprofile.pmcs.cur_sys_reservations: 0
appleprofile.pmcs.max_sys_reservations: 20
appleprofile.pmcs.cur_task_reservations: 0
appleprofile.pmcs.max_task_reservations: 20
appleprofile.pmcs.cur_thread_reservations: 0
appleprofile.pmcs.max_thread_reservations: 20
[Toms-iMac:~] tomboyd%



Was this correct?

_________________
Tom
boydroots.net
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Feb 23, 2010 12:35 pm    Post subject:

Yes. Your output is what I expected. Since your machine is set to allows you to open more than 10,000 files at the same time I suspect that some application on your machine is opening a huge number of files and leaving no more files for NeoOffice to open.

To find out which application is opening a lot of files, can you paste the following command into the Terminal window, press the Return key, and copy the output into this forum topic?:

Code:
lsof | awk '{print $1}' | sort | uniq -c


Patrick
Back to top
thboyd
Agent


Joined: Nov 19, 2009
Posts: 18
Location: Boston, MA

PostPosted: Tue Feb 23, 2010 12:49 pm    Post subject:

I have the following applications running (that I know of):
Safari
Reunion (a genealogy database application)
Adobe Illustrator
Apple mail
Activity Monitor
and
Console
Terminal

Code:
Last login: Tue Feb 23 14:21:01 on ttys000
[Toms-iMac:~] tomboyd% lsof | awk '{print $1}' | sort | uniq -c
  31 Activity
 424 Adobe\x20
  13 AirPort
  34 AppleSpel
   1 COMMAND
  16 ChronoSyn
  29 Console
  33 Database
  37 Dock
  47 Finder
  26 MFSButton
  79 Mail
  16 Microsoft
  26 N124U_But
 120 Reunion
 116 Safari
  63 SystemUIS
  14 TISwitche
  26 Terminal
  26 UserEvent
  74 VMware
  12 WebKitPlu
  92 Xmarks
   7 awk
  21 fontd
  17 iChatAgen
  17 iTunesHel
  59 launchd
  23 loginwind
   9 lsof
  26 mdworker
  10 pboard
 293 soffice.b
  16 tcsh
[Toms-iMac:~] tomboyd%

_________________
Tom
boydroots.net
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Feb 23, 2010 12:58 pm    Post subject:

Adobe is pretty high (nearly 500 files open), but the total for all applications doesn't seem higher than 2,000 so I suspect that one of the applications only uses a really high number of files for a short period of time so can you rerun this command the next time you see any Console messages with "org.neooffice.NeoOffice" in them? Maybe that will show us which application is causing you to hit the Mac OS X limit.

Patrick
Back to top
thboyd
Agent


Joined: Nov 19, 2009
Posts: 18
Location: Boston, MA

PostPosted: Tue Feb 23, 2010 1:11 pm    Post subject:

I'm not sure what all those files are, not anything that I opened. I don't think this issue is limited to eps files. I'm seeing a similar (I think) phenomenon with jpg, png and tiff files. All of my image files are linked, by the way, not embedded.

I have to go to a meeting but will be back in a couple of hours.

_________________
Tom
boydroots.net
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Feb 23, 2010 1:21 pm    Post subject:

thboyd wrote:
I'm not sure what all those files are, not anything that I opened. I don't think this issue is limited to eps files. I'm seeing a similar (I think) phenomenon with jpg, png and tiff files. All of my image files are linked, by the way, not embedded.


Most of Adobe's and NeoOffice's open files are user preference files and application configuration files so the number should not increase much when you open an additional document in either application.

It is the other applications that I am betting spike upward.

Patrick
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Tue Feb 23, 2010 4:49 pm    Post subject: eps graphics

Hi,

Here's the part of the console log that pertains to NeoOffice.

Code:
2/23/10 8:03:43 PM   [0x0-0x20020].org.neooffice.NeoOffice[382]   objc[382]: Class AWTFont is implemented in both /Applications/NeoOffice.app/Contents/MacOS/../basis-link/program/libvcljava2.dylib and /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries/libawt.jnilib. One of the two will be used. Which one is undefined.
2/23/10 8:03:52 PM   soffice.bin[382]   JavaNativeFoundation: GetGlobalVM: JNI_GetCreatedJavaVMs() failed to get any VM.
2/23/10 8:03:58 PM   soffice.bin[382]   Application will become active - Using remote controls
2/23/10 8:24:23 PM   soffice.bin[382]   Application will resign active - Releasing remote controls
2/23/10 8:27:01 PM   [0x0-0x34034].org.mozilla.firefox[819]   Debugger() was called!
2/23/10 8:40:29 PM   soffice.bin[382]   Application will become active - Using remote controls
2/23/10 8:42:36 PM   GrowlHelperApp[237]   Auto-discovered registration ticket in Toast Titanium (located at /Applications/Toast 10 Titanium/Toast Titanium.app)
2/23/10 8:50:44 PM   [0x0-0x40040].org.neooffice.NeoOffice[1289]   objc[1289]: Class AWTFont is implemented in both /Applications/NeoOffice.app/Contents/MacOS/../basis-link/program/libvcljava2.dylib and /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries/libawt.jnilib. One of the two will be used. Which one is undefined.
2/23/10 8:50:54 PM   soffice.bin[1289]   JavaNativeFoundation: GetGlobalVM: JNI_GetCreatedJavaVMs() failed to get any VM.
2/23/10 8:51:01 PM   soffice.bin[1289]   Application will become active - Using remote controls


I also ran the terminal commands you suggested. Here's the output:

Code:
darryl-mcgraths-mac-mini:~ darryl$ /bin/bash -c "ulimit -Ha"
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) unlimited
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 65532
cpu time               (seconds, -t) unlimited
max user processes              (-u) 532
virtual memory          (kbytes, -v) unlimited
darryl-mcgraths-mac-mini:~ darryl$ sysctl -a | grep file
kern.maxfiles = 12288
kern.maxfilesperproc = 10240
kern.corefile = /cores/core.%P
kern.maxfiles: 12288
kern.maxfilesperproc: 10240
kern.ipc.sendfileuiobufs: 64
kern.corefile: /cores/core.%P
kern.hibernatefile:
kern.num_files: 779
security.mac.file_enforce: 0
appleprofile.allow_new_clients: 1
appleprofile.enable_profiling: 0
appleprofile.max_special_alloc: 469395456
appleprofile.current_special_alloc: 0
appleprofile.actions.registered_actions: 6
appleprofile.actions.callstack.default_continuous_buffer_size: 2097152
appleprofile.actions.callstack.max_memory: 33554432
appleprofile.actions.kevent.default_continuous_buffer_size: 5242880
appleprofile.actions.kevent.max_memory: 268435456
appleprofile.actions.register_state.default_continuous_buffer_size: 2097152
appleprofile.actions.register_state.max_memory: 33554432
appleprofile.actions.threadinfo.default_continuous_buffer_size: 1048576
appleprofile.actions.threadinfo.max_memory: 88080384
appleprofile.actions.timestamp.default_continuous_buffer_size: 524288
appleprofile.actions.timestamp.max_memory: 33554432
appleprofile.pmcs.cur_sys_reservations: 0
appleprofile.pmcs.max_sys_reservations: 20
appleprofile.pmcs.cur_task_reservations: 0
appleprofile.pmcs.max_task_reservations: 20
appleprofile.pmcs.cur_thread_reservations: 0
appleprofile.pmcs.max_thread_reservations: 20
darryl-mcgraths-mac-mini:~ darryl$



I hope that helps.

Darryl
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Feb 24, 2010 9:34 am    Post subject: Re: eps graphics

danmac wrote:
Here's the part of the console log that pertains to NeoOffice.


There are no error messages in your Console log so you are definitely not suffering from the same problem that thboyd is. Unfortunately, since there are no error messages in your log, we are going to have to find a different way to troubleshoot this problem. o the next step is for us to try an reproduce this bug on our machines.

If we can reproduce this problem on our machines, then that would be ideal. In order for us to try reproduce this problem, can you do the following?:

1. Open your document and when the problem reoccurs, try to remember what editing actions you did immediately before saving the document.

2. Tell us what editing actions you did and attach the document to this forum topic using the steps in this forum post.

Hopefully, we can then reproduce the problem on our machines if we repeat the same editing actions and save.

Patrick
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Thu Feb 25, 2010 3:47 am    Post subject: eps graphics

Thanks Patrick. I'll do my best, though my memory isn't what it used to be Rolling Eyes

By the way, the second last line in my console log, the one that says

JNI_GetCreatedJavaVMs() failed to get any VM.

isn't a problem?

I really don't know much about all this, but whenever I see 'failed' I start to worry.

Back to editing!

Darryl
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Feb 25, 2010 10:31 am    Post subject: Re: eps graphics

danmac wrote:
JNI_GetCreatedJavaVMs() failed to get any VM.

isn't a problem?


No. That is not a problem. It is just a log message in Apple's Java code that gets printed when we invoke their function for checking if Apple's Java is loaded. On the first check, Java is not loaded and that function tells us that so we load Java. The log message that they print is unnecessary IMHO.

Patrick
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Mon Mar 01, 2010 4:29 am    Post subject: eps graphics

Just a quick update. Since my last post, I have had to delete everything NeoOffice/OpenOffice on the MacMini and reinstall. I was starting to have some really strange behaviour such as the save button not activating after making changes to a document and weird behaviour in a document whereby when editing, page breaks occurred exactly where I wanted them, but in preview and print, the page breaks were all wrong.

I'm beginning to think that maybe I've wasted your time, and that this is not a NeoOffice problem, but that there's something amiss with the system on my MacMini. I also have a MacBook that I use NeoOffice on at work. I don't have anywhere near as many problems. If I have wasted your time, I'm very sorry.

By the way, since reinstalling NeoOffice, I haven't been able to get the eps graphics problem to reappear. I'll keep trying!

Darryl
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Mon Mar 01, 2010 4:42 am    Post subject: eps graphics

Just a quick follow-up to my last post. I am still having the contour wrap problem. If I set an eps graphic's wrap to contour, it looks fine on screen. However, if I save the file, then close it and reopen it, the graphic vanishes. The bounding box is still there and if I turn contour wrap off, the graphic magically reappears, but unless I do that, the text is not wrapped and appears behind the box.

Darryl
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Mar 01, 2010 8:25 am    Post subject: Re: eps graphics

danmac wrote:
Just a quick follow-up to my last post. I am still having the contour wrap problem. If I set an eps graphic's wrap to contour, it looks fine on screen. However, if I save the file, then close it and reopen it, the graphic vanishes. The bounding box is still there and if I turn contour wrap off, the graphic magically reappears, but unless I do that, the text is not wrapped and appears behind the box.


I cannot reproduce this when I turn contour wrap on but then I only have a single EPS image to experiment with.

Can you attach a sample document that has an EPS image set to contour wrap that we can use to try to reproduce this problem on our machines?

Patrick
Back to top
djpimley
The Anomaly
(earlier version)


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

PostPosted: Mon Mar 01, 2010 8:58 am    Post subject:

Many of the free-to-download logos available at Brands of the World are in EPS format, which may be a useful resource when testing.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Mar 01, 2010 9:56 am    Post subject:

djpimley wrote:
Many of the free-to-download logos available at Brands of the World are in EPS format, which may be a useful resource when testing.


Who is this post directed to? If it is directed to me I will be blunt here: users need to provide us with reproducible steps or a sample document that reproduces the problem.

I have already tried to reproduce it several times from my own limited set of EPS images and since I cannot reproduce it, it is clearly a difficult bug to reproduce so I am not going to waste our very limited engineering time randomly downloading images and creating sample documents.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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.