Issue 114594

Summary: assertion: some post-it data already exists
Product: Writer Reporter: 400guy <tenger>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m87   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description 400guy 2010-09-19 13:34:03 UTC
To reproduce the message ...

(*) Open a new Writer document.  Program displays empty document
    "Untitled 1".

(*) Type ctrl-alt-N to insert a comment.  The program presents Debug
    Output dialog box "sentence indices out of range" as reported in
    issue 114579.

(*) Type alt-N to ignore the assertion.  Program positions the
    character cursor in new comment in the right margin.

(*) Select menu options File > Print.  Program presents Print dialog
    box.

(*) In the drop-down list of options for Comments, select "Place at
    end of document".  Program shows the new value of the Comments
    option.

(*) Type alt-P to print.  Program displays Debug Output ...

        Error: some post-it data already exists
        From File
/home/terry/OOo_hacking/DEV300_m87/sw/source/core/view/printdata.cxx at Line 86
        Abort ? (Yes=abort / No=ignore / Cancel=core dump)

(*) Type alt-N to continue.  Program displays the same Debug Output.

(*) Type alt-N to continue.  Printing continues normally.

(*) Select menu options File > Print.  Program displays the previously
    quoted Debug Output.

(*) Type alt-N to continue past all four displays of the Debug Output.
    Program displays the Print dialog; the option for Comments is
    still "Place at end of document.

(*) Type alt-P to print.  The program presents twice the previously
    quoted Debug Output.

(*) Type alt-N to continue past all two displays of the Debug Output.
    Printing continues normally.

Execution under gdb shows that most but not all executions of the
DBG_ASSERT statement raise the assertion.

I am running a non-product build of DEV300_m87.