Issue 96644 - (W) Program crash when formatting a paragraph, add hyperlink to it, select and copy it, and then press ENTER at the end of it.
Summary: (W) Program crash when formatting a paragraph, add hyperlink to it, select an...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOO300m9
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 84405
  Show dependency tree
 
Reported: 2008-11-27 06:25 UTC by doze_worm
Modified: 2013-08-07 14:44 UTC (History)
5 users (show)

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


Attachments
a document for reproducing the problem (7.59 KB, application/vnd.oasis.opendocument.text)
2008-11-28 02:27 UTC, doze_worm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description doze_worm 2008-11-27 06:25:21 UTC
[Steps]
1. Create a word document, and input a paragraph of text.
2. Ctrl+A, select the whole paragraph, then press F11 in keyboard, and we got
the "Styles and Formatting" Dialog-box. Chose any Formatting, such as: Heading 1.
3. Incert a hyperlink for any type, e.g. Web, and to anywhere, e.g.
http://www.google.com.
4. Ctrl+A, select the whole paragraph. Press Ctrl+C, and then put the cursor at
the end of the paragraph. Lastly, press ENTER.

[Result]
program crash and quit.

[Expectedness]
program run normally.
Comment 1 michael.ruess 2008-11-27 11:49:08 UTC
I cannot reproduce this with the given steps. Could you please attach a small
document where I just need to select all and press enter to get the crash? There
must be a little thing which we both perform differently...
Comment 2 doze_worm 2008-11-28 02:27:57 UTC
Created attachment 58350 [details]
a document for reproducing the problem
Comment 3 doze_worm 2008-11-28 02:33:22 UTC
I upload a document. First three steps has already been done.
Just need to operate the 4th step.
Hope you can see the problem this time.
Comment 4 michael.ruess 2008-11-28 08:54:23 UTC
MRU->OD: could you please have a look, the crash happens in SwNumRule::SetName. 
You just need to open the attached document, select all and copy to clipboard
(essential !), travel to end and create a paragraph break. The crash has been
reported for 35 times now, so we should try a 3.1 fix.
Comment 5 Oliver-Rainer Wittmann 2008-11-28 12:07:20 UTC
This is a serious defect --> target OOo 3.0.1
Comment 6 Oliver-Rainer Wittmann 2008-11-28 12:10:19 UTC
;-) forgot to set new target
Comment 7 Oliver-Rainer Wittmann 2008-12-01 09:02:31 UTC
Fixed in cws sw301bf04 - changed files:
/sw/inc/doc.hxx, 1.156.62.1
/sw/source/core/doc/docfmt.cxx, 1.52.92.1.22.1
/sw/source/core/txtnode/ndtxt.cxx, 1.86.132.3
Comment 8 Oliver-Rainer Wittmann 2008-12-01 09:05:20 UTC
OD->MRU: Checked in internal installation set of cws sw301bf04 - please verify.

OD->doze_worm: This issue does not depend on issue 84405. I think you want to
make issue 84405 depend on this one. Right? If yes, please change the dependency.
Comment 9 Oliver-Rainer Wittmann 2008-12-01 09:31:55 UTC
forgot to assign to MRU ;-)
Comment 10 michael.ruess 2008-12-01 14:55:18 UTC
Verified fix in CWS sw301bf04.
Comment 11 doze_worm 2008-12-02 02:58:17 UTC
doze_worm->OD: Thank you kindly for your prompt. But how could I change the
dependency. At least, repealing the dependency at present. Otherwise, there
would be a cycle in dependent relation. But I can find nowhere to accomplish
this. Could you give me some hints?
Comment 12 doze_worm 2008-12-02 04:03:07 UTC
doze_worm->OD: I'v got it. And the dependency has been corrected.
Comment 13 amy2008 2008-12-31 02:39:37 UTC
CC
Comment 14 michael.ruess 2009-01-13 11:54:23 UTC
Checked fix in OOO300m15 and DEV300m38.
Comment 15 oleghitekschool 2009-01-15 06:53:53 UTC
I checked on PC, WIN XP with DEV300m37 - crushes as described.
Comment 16 michael.ruess 2009-01-15 08:41:10 UTC
mru->orodov: yes, because the fix is integrated in DEV300m38...