Bug 80940 - choosing a color for a drawing object causes segfault
Summary: choosing a color for a drawing object causes segfault
Status: RESOLVED DUPLICATE of bug 81147
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2014-07-05 10:51 UTC by Fahad Al-Saidi
Modified: 2014-07-10 12:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
from gdb on core file, with symbols (9.21 KB, text/plain)
2014-07-05 19:37 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fahad Al-Saidi 2014-07-05 10:51:59 UTC
choosing a color for a drawing object causes crash.

how to repoduce the bug:

- draw an object such as a rectangle.
- click on area color to choose a color.
- writer crashes.

Notice also that color drop list is empty.


here is the backtrace 
http://pastebin.com/BeEGasf4
Comment 1 Terrence Enger 2014-07-05 19:37:25 UTC
Created attachment 102308 [details]
from gdb on core file, with symbols

I have managed to provoke a segfault in (whitespace added):

    #0  0x00007fc739bef5f8 in XPropertyList::Count (this=0x0)
        at /home/terry/lo_hacking/git/libo2/svx/source/xoutdev/xtable.cxx:147

The terminal output ends with three occurrences of the message
(whitespace added):

    warn:legacy.osl:5674:1:include/rtl/ref.hxx:163:
        Reference::operator->() : null body


STR

(1) Create new Writer document "Untitled 1".

(2) If the window does not have the Drawing toolbar at the bottome,
    then select View > Toolbars > Drawing.  Program displays Drawing
    toolbar at bottom of the LibreOffice window; mouse cursor is
    I-beam.

(3) If the shape icon is not Rectangle, right-click the icon and
    select Rectangle from the pop-up menu.  Program again displays the
    ellipse icon and the tooltip is still Ellipse.  I see this as a
    bug in itself.  The mouse cursor becomes a cross-hair.

(4) If the shape icon in Drawing toolbar is Rectangle, click Rectangle
    icon.  Mouse cursor becomes crosshair.

(5) In the document area, drag mouse cursor a bit.  Program displays a
    blue rectangle with handles.

(6) Click within the blue rectangle.  No visible result.

(7) Right-click within the blue rectangle.  Program presents pop-up
    menu.

(8) In pop-up menu, select "Area...".

    Program action expected: to present window Area, tab Area; Section
        contains dropdown list with Color selected, and list of colors
        shows "Blue 9" selected.

    Program action observed:  segfault.


This observation is from master commit dc795cb, fetched 2014-07-02
2357 UTC, configured:

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


For comparison, I see no crash with LibreOffice 3.5.4.2 as delivered
with debian-wheezy.
Comment 2 Terrence Enger 2014-07-09 20:23:41 UTC
Correcting comment 1:  The master version that I fetched on 2014-07-02 is 397362d.
Comment 3 Terrence Enger 2014-07-10 12:34:27 UTC

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