Re: [dev] Dev builds m92 and m93 core dumps

2010-11-15 Thread Stephan Bergmann

On 11/16/10 00:10, Paul Gress wrote:

On 11/15/10 06:01 PM, Paul Gress wrote:
I should of at least attached the relevant text of the core dump:

8611/12: Incurred fault #6, FLTBOUNDS %pc = 0xF8C869ED
8611/12: siginfo: SIGSEGV SEGV_MAPERR addr=0x0058
8611/12: Received signal #11, SIGSEGV [default]
8611/12: siginfo: SIGSEGV SEGV_MAPERR addr=0x0058


This truss output shows that soffice.bin crashed due to a SEGV.  What 
would be needed to track this down is a stack trace obtained from the 
generated core file.


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Dev builds m92 and m93 core dumps

2010-11-15 Thread Paul Gress

On 11/15/10 06:01 PM, Paul Gress wrote:

Hi all,

My platform OS - Solaris Express 11 (b151a)
Hardware - HP Z800 Dual 5590 processors, 24 gig ram

When I start OOO exactly 55 seconds later I get a core dump, leaving the 
program alone, non-interactive, it happens by itself.  The core dumps started 
with m92 on Opensolaris b134.  I upgraded today to Solaris Express 11 and 
installed m93 and still the same core dump.

I've entered the command:

bash-4.0$ truss -f -o /export/home/Rad/ooo.err.txt /opt/ooo-dev3/program/swriter
/opt/ooo-dev3/program/soffice[119]: wait: 8611: Memory fault(coredump)
bash-4.0$

I have compressed ooo.err.txt to approximately 120 kb.

I would be happy to attach it if anybody is interested, or unless someone knows 
what is bothering OOO.

As a workaround I've reinstalled m91, no problems, just a slow startup.




I should of at least attached the relevant text of the core dump:

8611/12:Incurred fault #6, FLTBOUNDS  %pc = 0xF8C869ED
8611/12:  siginfo: SIGSEGV SEGV_MAPERR addr=0x0058
8611/12:Received signal #11, SIGSEGV [default]
8611/12:  siginfo: SIGSEGV SEGV_MAPERR addr=0x0058
8604:Received signal #18, SIGCLD, in waitid() [caught]
8604:  siginfo: SIGCLD CLD_DUMPED pid=8611 status=0x000B
8604:waitid(P_ALL, 0, 0x08046FB0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) 
Err#4 EINTR
8604:lwp_sigmask(SIG_SETMASK, 0x0002, 0x, 0x, 
0x) = 0xFFBFFEFF [0x]
8604:setcontext(0x08046AA0)
8604:waitid(P_ALL, 0, 0x08046FB0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
8604:waitid(P_ALL, 0, 0x08046FB0, 
WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) Err#10 ECHILD
8604:write(2, " / o p t / o o o - d e v".., 71)= 71
8604:waitid(P_ALL, 0, 0x08046FB0, 
WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) Err#10 ECHILD
8604:sigaction(SIGCLD, 0x08046F80, 0x08047000)= 0
8604:ioctl(2, TIOCGSID, 0x0804705C)= 0
8604:getsid(0)= 8573
8604:ioctl(2, TIOCGPGRP, 0x0804708C)= 0
8604:read(10, 0x080746A8, 8192)= 0
8604:fcntl(10, F_GETFL)= 8192
8604:fstat64(1, 0x080476A8)= 0
8604:fstat64(2, 0x080476A8)= 0
8604:_exit(11)


Paul


[dev] Dev builds m92 and m93 core dumps

2010-11-15 Thread Paul Gress

Hi all,

My platform OS - Solaris Express 11 (b151a)
Hardware - HP Z800 Dual 5590 processors, 24 gig ram

When I start OOO exactly 55 seconds later I get a core dump, leaving the 
program alone, non-interactive, it happens by itself.  The core dumps started 
with m92 on Opensolaris b134.  I upgraded today to Solaris Express 11 and 
installed m93 and still the same core dump.

I've entered the command:

bash-4.0$ truss -f -o /export/home/Rad/ooo.err.txt /opt/ooo-dev3/program/swriter
/opt/ooo-dev3/program/soffice[119]: wait: 8611: Memory fault(coredump)
bash-4.0$

I have compressed ooo.err.txt to approximately 120 kb.

I would be happy to attach it if anybody is interested, or unless someone knows 
what is bothering OOO.

As a workaround I've reinstalled m91, no problems, just a slow startup.

Thanks,

Paul


[dev] RE: Develop Digital Rights Management module

2010-11-15 Thread Lim, Nicholas
Hi,

I have something to add on to my previous email and do hope to get some
clarification on regards the security from you.

In OpenOffice, there is an option under
Tools>Options>OpenOffice.org>Paths>Temporary files specify the root
directory for all the temp files generated by OpenOffice when it is
started. From my understanding, these temp files are for undo operations
and recovery process. Please correct me if I am wrong.

Temp file generated process as identify below:
- When OpenOffice is started, a directory /tmp/sv.tmp is
created, where  is a 3 character random string.
- Within the tmp directory, there will be few tmp files follow the same
naming convention (e.g. sv.tmp) created for recovery process and
undo operation)
- Once a file is saved, a new zipped file format is created in the tmp
directory and the name of the file follows the same naming convention as
above mentioned. (e.g. /tmp/sv.tmp/sv.tmp)
- The entire tmp directory will be deleted upon application shutdown.


My questions are:

1. Are the temp files which are not in zipped file format encrypted?
2. What is the main purpose of having the temp files?
3. I noticed that the temp file always maintain at 0 byte even though I
have entered some data into the document. Why?
4. What is the main purpose of having the temp file in zipped file
format?
5. Are we able to intercept the above process to ensure that the temp
file is always encrypted and decrypted upon recovery process or undo
operations? Is yes, are we able to customize it in UNO extension? Please
advise the package in SVN? So that we can look at the code at the point
where:
- temp file created when OpenOffice is started
- temp file created in zipped format once it is saved
- recovery process
- undo operation
6. Any other temp files will be created in OpenOffice environment when
it is started? If yes, are they encrypted and why they are needed?

Hope to hear you soon and appreciate with your kind assistance.

Thanks and Regards
Nicholas


-Original Message-
From: Lim, Nicholas 
Sent: Friday, November 12, 2010 3:02 PM
To: 'dev@openoffice.org'
Cc: 'nicholaslim1...@hotmail.com'
Subject: Develop Digital Rights Management module

Hi, 

I am new to OpenOffice development and inexperience with UNO extension. 
For your info, I am more toward Java programming platform and have zero
background with C and C++ programming.
Lately, I am given a task to implement and integrate Digital Rights
Management with OpenOffice.org. 
Before I start coding, I would like to find out more on how Open Office
can comply base on the Security Standard for DRM application defined by
Microsoft as stated in the following URL:
http://msdn.microsoft.com/en-us/library/cc542513(v=VS.85).aspx
 
This is very much involve in memory management and security.
 
I have search through the Internet but there is no information related
to OpenOffice memory management.
 
Therefore, just wonder are we able to control the memory via UNO
extension which I doubt so. Is there any API provided? Or I will
definitely need to touch the core programming codes which written in C++
programming language.
 
Anyway, would be appreciate if you are able to provide some pointers for
the following example:
I have an OpenOffice document consists of 10 pages encrypted
information, only page 5 information is decrypted and rendered/viewed by
the user.
So my question is, are we able to make it only page 5 decrypted
information to be buffered in the memory? In other words, hackwer will
not be able to access information of other pages in the buffer other
than page 5. Can it be done?
 
Please kindly advise and would be much appreciate.
 
Thanks and Regards
Nicholas

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Open Office Metadata in Writer

2010-11-15 Thread Mathias Bauer

On 11/15/2010 05:53 PM, Björn Michaelsen wrote:

Hi Anil,

Am Mon, 15 Nov 2010 11:35:49 -0500
schrieb Anil Chukkapalli:


  Can you please suggest how to solve my problem. I then want to look
at api that allows me to do it. Can you also please suggest if this
is the right approach, or if there is a better way to do the above. I
would ideally want to attempt doing by hand to see if it works and
then start attempting it using code. I am using OOo writer 2.3 (the
old one yes) and the corresponding sdk.


Have you considered the metadata support in writer?

http://wiki.services.openoffice.org/wiki/Writer/Metadata_Support


And in case you wanted to stay with 2.3: may be smart tags are something 
to consider:


http://wiki.services.openoffice.org/wiki/Smart_Tags

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamfor...@gmx.de".
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Open Office Metadata in Writer

2010-11-15 Thread Björn Michaelsen
Hi Anil,

Am Mon, 15 Nov 2010 11:35:49 -0500
schrieb Anil Chukkapalli :

>  Can you please suggest how to solve my problem. I then want to look
> at api that allows me to do it. Can you also please suggest if this
> is the right approach, or if there is a better way to do the above. I
> would ideally want to attempt doing by hand to see if it works and
> then start attempting it using code. I am using OOo writer 2.3 (the
> old one yes) and the corresponding sdk.

Have you considered the metadata support in writer?

http://wiki.services.openoffice.org/wiki/Writer/Metadata_Support

Best Regards,

Bjoern

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Open Office Metadata in Writer

2010-11-15 Thread Anil Chukkapalli
Hi,  I want to write custom XML tags to text (in content.xml). The intent of
this effort is to write additional tags(information) that does not show up
in OOo writer, however the information can be analyzed using another
program. These tags should not alter text in any way as shown in OOo writer.
Before attempting to code the solution i tried this approach by hand, just
to see if it works. I defined custom xml tags in meta.xml and then used
these tags in content.xml (around selected portions of my text i added these
custom tags). The text around which i added these custom tags does not show
up in OOo writer.

 Can you please suggest how to solve my problem. I then want to look at api
that allows me to do it. Can you also please suggest if this is the right
approach, or if there is a better way to do the above. I would ideally want
to attempt doing by hand to see if it works and then start attempting it
using code. I am using OOo writer 2.3 (the old one yes) and the
corresponding sdk.

Thanks,
Anil


Re: [dev] Re: Debugging Hanging OOo

2010-11-15 Thread Mathias Bauer

On 11/12/2010 08:58 AM, Oliver Brinzing wrote:

Hi Mathias,


The next best thing would be to have an OOo build with some debugging 
information prepared (my
recommendation would be to have the modules desktop, vcl, framework and sal 
with debug information) and


is there a chance to download an OOo build (win xp 32bit) with debugging 
information ?
i do not have any knowledge about the build process and no time to build it 
myself ;-)


You don't need a full debug build, a few libraries would be enough. If 
you can make a build of your own, I can tell you more.


On Friday we had an idea - the hang-up could be caused by the clipboard 
code of OOo that always had some threading issues. We also discussed a 
possible solution that we could try out. So if you want, we could 
provide you with a test build and you could see if it works better. But 
of course, absence of evidence is not evidence of absence. :-)


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamfor...@gmx.de".
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org