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

--- Comment #7 from Terrence Enger <[email protected]> ---
Created attachment 72791
  --> https://bugs.freedesktop.org/attachment.cgi?id=72791&action=edit
typescript with backtrace from Linux

I have succeeded in provoking at least a couple of superficially
different segfaults.  For the attached backtrace, here is what I did
as closely as I can reconstruct it.

( 1) Presume existence of bugs_058893/subdoc.odt.  [This brings us to
     line 14 of the typescript.]

( 2) Make not to exist the template and the master document that we
     shall create in following steps.  [line 15]

( 3) Run LibreOffice; specifically 
         ./soffice.bin --norestore --writer
     Program displays empty Writer document "Untitled 1" [line 23]

( 4) Type "This is the template.<enter>".  The program displays that
     text in the document.

( 5) Take menu options File > "Save As".  The program displays dialog
     Save.

( 6) Navigate to your templates folder (mine is
    
~/lo_hacking/git/libo2/solver/unxlngi6/installation/opt/share/template/common)
     and press <enter>.  The program displays the contents of that
     folder.  (For me that was just folders internal/, layout/, and
     wizard/.

( 7) In Name field, type "bug_058893" and click to open the drop-down
     list of file formats.

( 8) In the drop-down list of file formats, click "ODF Tdext Document
     Template (.ott)" and click <Save>.  The program displays the
     document window and changes the title to bug_058839.ott.  [line
     23]

( 9) Take menu options File > New > Templates.  The program displays
     dialog Template Manager.

(10) Double click "My Templates".  The program displays some files,
     including ~.lock.bug_058893... and bug_058893. [line 35]

(11) Click bug_058893.  The program displays Writer document "Untitled
     1" with content "This is the tmplate."  The caret is before the
     first letter.

(12) Take menu options File > Send > "Create Master Document".  Program
     displays dialog "Name and Path of Master Document" with file type
     "ODF Master Document" selected.

(13) Navigate to your chosen folder.  Then type name "master" and click
     Save.  Program displays the document window, changes the title to
     master.odm, and displays the floating navigator toolbar.

(14) In the navigator toolbar click the Insert icon and select File.
     Program displays dialog Insert.

(15) Select file subdoc.odt and click Open.  The program displays
     document window master.odm with two paragraphs ...

         This is the subdoc.
         This is the template.

     There is a fine border around the first paragraph.

(16) On the toolbar click the Save icon.  Program runs a progress bar
     across the bottom of the screen and clears the document-modified
     flag in the status bar.

(17) Switch to window bug_058893.ott.

(18) Change the content to read "This is the template, updated one
     time."  Program sets the modified flag in the status bar.

(19) Take menu options File > Save.  Program runs a progress bar across
     the bottom of the screen and clears the document-modified flag in
     the status bar.

(20) Switch to the window master.odm and take menu options File >
     Close.  Program displays document window bug_058893.ott.  [line
     53]

(21) Take menu options File > "Recent Documents" and select master.odm.
     Program displays dialog "... Would you like to change the
     document, and ...".

(22) Click Yes.  Program displays dialog "... Do want to update style
     based formatting ...".

(23) Click "Update Styles".  

     Expected program action: display Writer document master.odm.

     Actual program action: Program displays window master.odm with no
     content but only a gray background in the content area and quickly
     produces a segmentation fault in in SfxRequest::IsCancelled.
     [line 59]


This is from master commit 58376a6, pulled 2013-01-02 and subsequently
lightly hacked in irrelevant ways, configured with

    --enable-dbgutil
    --enable-crashdump
    --disable-build-mozilla
    --without-system-postgresql
    --without-myspell-dicts
    --without-help
    --with-extra-buildid

and built and executing on ubuntu-natty (11.04) with classic desktop
(no effects):

    $ uname -a
    Linux cougar-natty 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC
2012 i686 athlon i386 GNU/Linux
    $ gcc --version
    gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

-- 
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