Bug 72565

Summary: FILESAVE segmentation fault
Product: LibreOffice Reporter: Terrence Enger <lo_bugs>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: medium    
Version: 4.3.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: terminal output
backtrace from segfault

Description Terrence Enger 2013-12-10 13:27:42 UTC
Created attachment 90576 [details]
terminal output

I am sorry to file a bug reporting a failure which I myself cannot
reproduce, but I did happen to save terminal output and a backtrace
from the core file, so here it is.


Here are steps which, alas, do not reproduce the problem.  At least I
think this is what I was doing.  Throughout, do not type the quotation
marks.

(1) Start in new writer document "Untitled 1".

(2) Type "<ctrl>+<F12>".  Program displays dialog "Insert Table" with
    defaults columns = 2, rows = 2.

(3) Type "<alt>+I" (or click <Insert>).  Program closes the dialog.
    In "Untitled 1" there is a 2-by-2 table and the caret is in row 1,
    column 1.

(4) Type "The quick<tab>brown fox<tab>jumps over<tab>well, you know
    the rest".  The caret is at the end of the text in row 2, column
    2.

(5) Take menu options File > "Save As...".  Program presents Save
    dialog.

(6) In Name field of the dialog, type "/tmp/thing<Enter>".

    Once, the program segfaulted.  Several times since, the program
    has saved the file and redisplayed the Writer window. Sigh.


I saw this in master commit b092637, fetched 2013-12-06 12:20 UTC,
configured with:

    --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.
Comment 1 Terrence Enger 2013-12-10 13:29:17 UTC
Created attachment 90577 [details]
backtrace from segfault
Comment 2 Terrence Enger 2014-04-22 16:51:45 UTC
I am closing this as duplicate of bug 76121 "FILEOPEN: crash in file
picker with oxygen-gtk theme", which is RESOLVED NOTOURBUG.

My recent observations are that the crash requires both of the
following conditions:

(*) LibreOffice is using native dialogs.

(*) In the dialog "Save As", you display the contents of a directory
    other than the default one.

*** This bug has been marked as a duplicate of bug 76121 ***