Issue 72873 - "hangs" on opening document with link that times out
Summary: "hangs" on opening document with link that times out
Status: CLOSED DUPLICATE of issue 28625
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.4
Hardware: PC (x86_64) Unix, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 09:16 UTC by davidnwelton
Modified: 2006-12-22 10:51 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 davidnwelton 2006-12-22 09:16:09 UTC
Hi,

My wife was working on her thesis, and apparently "saved" some images in it from
the web (she thought she saved the actual images, which might be a UI issue in
and of itself, but we'll chalk it up to not knowing the program that well).

This morning, when she went to open the document, it hung (causing general panic
and marital strife, as she had already managed to corrupt the file yesterday,
making Linux, OO, and the world of computer very unpopular in the household!).

Thanks to the prompt suggestions of some people on the OO channel in IRC, and
some straceing on my part, I noticed that it was hung on a connect system call,
to port 80 on some site.

So, basically the problem is this: if there is a server that goes stale, opening
a document "hangs" until things time out.  Since that might take 5 or 10
minutes, your average user is just going to surmise that things have gone to
hell and that they can no longer open their document.

I think what ought to happen is that it attempts to open any linked bits and
pieces in a separate thread, or in some other non-blocking way.

I am not including the actual document, I think that to replicate it, all you
have to do is create a document that links to a site that "takes too long to
respond" (not something that simply doesn't exist).  It shouldn't be too hard to
do that with a tweaked local server.
Comment 1 maison.godard 2006-12-22 09:19:22 UTC
please provide the document to allow reproducing the problem more easilly
Comment 2 davidnwelton 2006-12-22 09:53:47 UTC
I will include a minimal document that illustrates the problem.  However, be
aware that it depends on an external server 'not working' in just the right way,
so if I use one that then comes back on line, it might appear as if everything
is ok.

Thanks,
Dave
Comment 3 michael.ruess 2006-12-22 10:49:05 UTC
D not a document. This is a known problem. See issue 28625.

*** This issue has been marked as a duplicate of 28625 ***
Comment 4 michael.ruess 2006-12-22 10:51:04 UTC
Closing duplicate.