Issue 74044 - Java-UNO: Multiprocessor environment causes randomly DisposedException
Summary: Java-UNO: Multiprocessor environment causes randomly DisposedException
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 2.1
Hardware: All Windows Server 2003
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 09:37 UTC by mikesg
Modified: 2017-05-20 11:22 UTC (History)
2 users (show)

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


Attachments
Crash report XML (5.16 KB, text/plain)
2007-01-31 13:32 UTC, mikesg
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mikesg 2007-01-31 09:37:02 UTC
The problem discussion began in the forum:
http://www.oooforum.org/forum/viewtopic.phtml?t=52286
Summary:
Connecting to OO and generating lengthy documents using the UNO API crashes on
multiple processor machines with 
com.sun.star.lang.DisposedException: java.io.EOFException
        at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:176)

When connecting/listening using pipes, or DisposedException again, but because
of a SocketException: Connection reset when connecting using socket.

The problem was spotted under Windows TS 2003, but is reproducable in XP SP2 if
it runs on a Core Duo machine, while on the same version of Windows it runs fine
on single processor machine. The solution was to run the process by specifying
an affinity mask to use only one processor (there is no problem if distinct
instances of OO work on distinct processor, as long as one instance is not
allowed to use multiple processors).

Tests were made with OO2.0.3, 2.1.0, 2.2 development version, all with the same
result.

Short-timed connections(<5-10 seconds) manage to survive in most cases, but the
lengthy ones fail even if there is only one user working (no matter Terminal
server or a workstation).

Mike
Comment 1 kpalagin 2007-01-31 11:15:39 UTC
mikesg,
does crash reporter invoke on crash? Do you get report id back? Post it here, 
if possible.
Comment 2 michael.ruess 2007-01-31 11:43:21 UTC
Reassigned to CN.
Comment 3 mikesg 2007-01-31 13:32:12 UTC
Created attachment 42607 [details]
Crash report XML
Comment 4 chne 2007-02-08 10:10:53 UTC
on top of stack: sw680mi.dll => os
Comment 5 Oliver Specht 2007-06-06 12:40:34 UTC
Set target to OOo Later
Comment 6 merkisoft 2011-06-12 13:36:33 UTC
i've got the same issue at one of my customers computer.
she get's the com.sun.star.lang.DisposedException all the time when converting multiple odt to pdf.

thanks for working on this issue.

fabian
Comment 7 Marcus 2017-05-20 11:22:09 UTC
Reset assigne to the default "issues@openoffice.apache.org".