Issue 74738 - OpenOffice service (UNO) hangs converting doc to odt
Summary: OpenOffice service (UNO) hangs converting doc to odt
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Linux, all
: P3 Trivial
Target Milestone: ---
Assignee: jsc
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 16:31 UTC by cpmielk
Modified: 2013-02-24 21:08 UTC (History)
2 users (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 cpmielk 2007-02-21 16:31:15 UTC
Thanks in advance...

1. Hardware

Intel multicore xeon 5150 class


2. OS

Fedora core 6


3. Execution

Using openoffice as an in-house file format conversion service with display
redirected to virual framebuffer:

#!/bin/sh
Xvfb :25 -ac &
openoffice.org-2.0 -accept="socket,host=127.0.0.1,port=9668;urp;" -headless
-nologo -invisible -norestore -display :25 &

Using a small java shim for communications and command protocol:

#!/bin/sh
/opt/jre1.5.0_11/bin/java -cp
.:/usr/lib/openoffice.org2.0/program/classes/ridl.jar:/usr/lib/openoffice.org2.0/program/classes/jurt.jar:/usr/lib/openoffice.org2.0/program/classes/unoil.jar:/usr/lib/openoffice.org2.0/program/classes/juh.jar
URPDocumentConverter 9668 9669 &


4. Problem

Converts many files of various formats without a problem, but hangs when saving
a "doc" file with many embedded items (would prefer it terminate, actually would
prefer it worked like the many times it has).


5. Log

---start copy and paste here---
(I)    x.org loaded video driver of...
(III)  Desktop is: GNOME
(IV)   libgcj version is: libgcj-4.1.1-51.fc6-i386
(V)    kernel is: Linux 2.6.19-1.2911.fc6 #1 SMP Sat Feb 10 15:03:33 EST 2007
i686 i686 i386
(VI)   OpenOffice.org core rpm version is: openoffice.org-core-2.0.4-5.5.10-i386
(VII)  depth of root window:    8 planes
(VIII) accessibility is: false
(VIV)  fedora release is: Fedora Core release 6 (Zod)
...start sestatus details ...
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          permissive
Policy version:                 21
Policy from config file:        targeted
...end sestatus details ...
...start stackreport details ...
0x47e1ef28: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x22f28
0x47e1fbbb: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x23bbb
0x920420:  + 0x420 (__kernel_sigreturn + 0x0)
0x471e642: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x5ae642
(SwNumberTreeNode::InvalidateTree() const + 0x32)
0x45ce595: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x45e595
(SwNumRule::SetInvalidRule(unsigned char) + 0x55)
0x46169a6: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x4a69a6
0x461c1ee: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x4ac1ee
0x457e9f1: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x40e9f1
0x45b1ba3: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x441ba3
0x45b1f61: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x441f61
0x45ad24f: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x43d24f
0x48d984d: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x76984d
0x48da518: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x76a518
0x4800321: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x690321
0x48d6d60: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x766d60
0x472a6f2: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x5ba6f2
0x4926d63: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x7b6d63
0x48dff31a: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x19331a
(SfxObjectShell::SaveAsOwnFormat(SfxMedium&) + 0xba)
0x48e0d4e7: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1a14e7
0x48e0e19b: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1a219b
0x48e0e9d8: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1a29d8
0x48e19ea7: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1adea7
0x48e5f6c5: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1f36c5
0x48e6f2b6: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x2032b6
(SfxBaseModel::storeToURL(rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 0xa6)
0xddce13: /usr/lib/openoffice.org2.0/program/libgcc3_uno.so + 0x5e13
0xddd12a: /usr/lib/openoffice.org2.0/program/libgcc3_uno.so + 0x612a
0xddd72e: /usr/lib/openoffice.org2.0/program/libgcc3_uno.so + 0x672e
0x2b215d: /usr/lib/openoffice.org2.0/program/liburp_uno.so + 0x1d15d
0x2a1c58: /usr/lib/openoffice.org2.0/program/liburp_uno.so + 0xcc58
0x2a2052: /usr/lib/openoffice.org2.0/program/liburp_uno.so + 0xd052
0x47df22fb: /usr/lib/openoffice.org2.0/program/libuno_cppu.so.3 + 0x222fb
0x47df2814: /usr/lib/openoffice.org2.0/program/libuno_cppu.so.3 + 0x22814
0x47df2f4a: /usr/lib/openoffice.org2.0/program/libuno_cppu.so.3 + 0x22f4a
0x47e15ece: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x19ece
0x473333db: /lib/libpthread.so.0 + 0x53db
0x4706326e: /lib/libc.so.6 + 0xcd26e (clone + 0x5e)
...end stackreport details ...
...start sample ldd details ...
        linux-gate.so.1 =>  (0x002a1000)
        libuno_sal.so.3 => /usr/lib/openoffice.org2.0/program/libuno_sal.so.3
(0x0058a000)
        libuno_salhelpergcc3.so.3 =>
/usr/lib/openoffice.org2.0/program/libuno_salhelpergcc3.so.3 (0x0051a000)
        libstore.so.3 => /usr/lib/openoffice.org2.0/program/libstore.so.3
(0x007b3000)
        libdl.so.2 => /lib/libdl.so.2 (0x00a0d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x002ff000)
        libstlport_gcc.so =>
/usr/lib/openoffice.org2.0/program/libstlport_gcc.so (0x00110000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00316000)
        libm.so.6 => /lib/libm.so.6 (0x0021c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x007a2000)
        libc.so.6 => /lib/libc.so.6 (0x007cb000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x001d7000)
        /lib/ld-linux.so.2 (0x80000000)
...end sample ldd details ...
---end copy and paste here---
paste the above into your bug report
Comment 1 kpalagin 2007-02-24 05:55:23 UTC
Can you open that file in OO GUI and save it as .doc?

Could this bug http://www.openoffice.org/issues/show_bug.cgi?id=73457 be 
related?
Comment 2 jsc 2007-02-28 10:09:02 UTC
seems to be a typical multithreading problem

we can't fix it at the moment. Workaround is to use mltiple office instances or
only one  and create your won dispatcher to schedule or serialize the incoming
requests.
Comment 3 jsc 2007-10-16 16:16:17 UTC
closed