Issue 12832 - Autopilot->Report only works as user root
Summary: Autopilot->Report only works as user root
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: PC FreeBSD
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: mbr
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-30 11:57 UTC by mbr
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mbr 2003-03-30 11:57:01 UTC
During my tests with OpenOffice1.1Beta and the JDK
I see code which works for root, but doesn't work as user.

Is this the same case for Linux if you cd into the program
dir before you start OO ?

The crash is 100% reproducable: "->File->Autopilot->Report" and
OpenOffice crashes.

This does not happen as user root. If I make
/usr/local/OpenOffice.org-644/program world writable it works.
Bad bad ...

I looked more closly at the crash. Some temporary files seem
to be crated in the CWD, which is really wrong.

  1065 soffice.bin NAMI  "/usr/local/OpenOffice.org-644/program/svd7b.tmp"
  1065 soffice.bin RET   open -1 errno 13 Permission denied
  1065 soffice.bin CALL  mkdir(0xbfbfdaf0,0x1ff)
  1065 soffice.bin NAMI  "/var/tmp/sv1oe.tmp"
  1065 soffice.bin RET   mkdir 0
  1065 soffice.bin CALL  rmdir(0xbfbfdaf0)
  1065 soffice.bin NAMI  "/var/tmp/sv1oe.tmp"
  1065 soffice.bin RET   rmdir 0
  1065 soffice.bin CALL  lstat(0x3f186e68,0xbfbfdec0)
  1065 soffice.bin NAMI  "/var/tmp/sv1oe.tmp"
  1065 soffice.bin RET   lstat -1 errno 2 No such file or directory
  1065 soffice.bin CALL  open(0x3f186e68,0,0)
  1065 soffice.bin NAMI  "/var/tmp/sv1oe.tmp"
  1065 soffice.bin RET   open -1 errno 2 No such file or directory
  1065 soffice.bin PSIG  SIGSEGV caught handler=0x2913a7d0 mask=0x0 code=0xc
  1065 soffice.bin CALL  sigprocmask(0x3,0x29148e64,0)
  1065 soffice.bin RET   sigprocmask 0
  1065 soffice.bin PSIG  SIGPROF caught handler=0x2913a7d0 mask=0x0 code=0x0
  1065 soffice.bin CALL  gettimeofday(0x29148df8,0)
  1065 soffice.bin RET   gettimeofday 0

n unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x31D076EA
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.

Current Java thread:
        at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
        at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:187)
        at $Proxy47.loadStylesFromURL(Unknown Source)
        at
com.sun.star.wizards.common.TextDocument.loadStyleTemplates(TextDocument.java:620)
        at
com.sun.star.wizards.report.ReportWizard.startReportWizard(ReportWizard.java:1590)
        at
com.sun.star.wizards.report.CallReportWizard$ReportWizardImplementation.trigger(CallReportWizard.java:194)
Comment 1 Frank Schönheit 2003-03-31 08:24:29 UTC
Marc, can you reproduce this?
Comment 2 mbr 2003-04-04 08:47:52 UTC
I just fixed this in the build and in the FreeBSD ports cvs. It seems
that one of the initial FreeBSD porters did not look at the manpage for
mkstemp.
Comment 3 marc.neumann 2003-04-22 13:01:58 UTC
please verified this bug and close it if it's fixed.
Comment 4 mbr 2003-04-28 09:44:13 UTC
The fix works. Close this PR.
Comment 5 maho.nakata 2004-01-17 02:39:08 UTC
*** Issue 23108 has been marked as a duplicate of this issue. ***
Comment 6 hans_werner67 2004-02-02 13:00:00 UTC
change subcomponent to 'none'
Comment 7 Martin Hollmichel 2004-02-20 10:49:02 UTC
mark as verified.
Comment 8 Martin Hollmichel 2004-02-20 10:51:07 UTC
close issue.
Comment 9 Martin Hollmichel 2004-08-23 15:55:12 UTC
close issue.