https://bugs.freedesktop.org/show_bug.cgi?id=73126

          Priority: medium
            Bug ID: 73126
          Assignee: [email protected]
           Summary: IDE: attempt to advance a dereferenceable iterator
                    outside its valid range
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: 4.3.0.0.alpha0+ Master
         Component: BASIC
           Product: LibreOffice

STR:

(1) Enable macro recording in your LibreOffice (Tools > LibreOfficeDev
    > Advanced > "Optional (unstable) options" > "Enable Macro
    recording (limited)") and enable macro security at least as
    permissive as High (Tools > Options > LibreOfficeDev > Security >
    "Macro Security").  I do not *know* that enabling macro recording
    is necessary; it is just the way my LibreOffice is set up.

(2) Open the (soon-to-be) attached file with_macros.odt.  If the
    program presents warning "This document contains macros. ...",
    click <OK>.  Program displays window with_macros.odt; the sheet
    has words in the first five columns of three rows.

(3) Take menu options Tools > Macros > "Organize Macros" >
    "LibreOfficeDev Basic...".  Program presents window
    "LibreOfficeDev Basic Macros".

(4) In the pane "Macro from" expand with_macros.ods > Standard >
    Module1.  Click on that Module1.  Program shows two macros in the
    pane "Existing macros in: Module1"; macro Main is selected.

(5) Cllick <Edit>.  Program presents window
    "with_macros.ods.Standard".

(6) Click in the right pane and type <ctrl>+<End>.  Status bar shows
    <Ln 53, Col 1>.

(7) Select the definition of del_2b2_cells by typing 33 times
    <shift>+<up-arrow>.  The program hightlights text from the line
    "sub del_2b2_cells to the end of the source; status bar shows "Ln
    20, Col 1".

(8) Type <Delete>, Program aborts.  The interesting messages in the
    terminal:

        /usr/include/c++/4.7/debug/safe_iterator.h:359:error: attempt to
advance a 
            dereferenceable (start-of-sequence) iterator 21 steps, which falls  
            outside its valid range.

        Objects involved in the operation:
        iterator @ 0x0x7fffe0abb9f0 {
        type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPN13accessibility13ParagraphInfoENSt9__cxx19986vectorIS4_SaIS4_EEEEENSt7__debug6vectorIS4_S8_EEEE
(mutable iterator);
          state = dereferenceable (start-of-sequence);
          references sequence with type
`NSt7__debug6vectorIN13accessibility13ParagraphInfoESaIS2_EEE' @
0x0x7fffe0abb9f0
        }
        Application Error


My LibreOffice is master commit 480c7c2, fetched 2013-12-27 02:33 UTC,
configured as:
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-crashdump
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
built and running on debian-wheezy 64-bit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to