Bug 106280 - Crash if I open the Image dialog and click the 'Crop' tab (gtk3)
Summary: Crash if I open the Image dialog and click the 'Crop' tab (gtk3)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium critical
Assignee: Caolán McNamara
URL:
Whiteboard: target:5.4.0
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2017-03-02 12:46 UTC by Gülşah Köse
Modified: 2018-04-13 16:01 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
bt with debug symbols (16.41 KB, text/plain)
2017-03-02 21:10 UTC, Julien Nabet
Details
example image (5.52 KB, image/jpeg)
2017-03-03 10:08 UTC, Gülşah Köse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gülşah Köse 2017-03-02 12:46:58 UTC
Description:
When i clicked to the Crop tab of Image dialog I've get following messages from consol output:

warn:svl:7757:1:svl/source/undo/undo.cxx:1167: SfxUndoManager::MarkTopUndoAction(): suspicious call!
warn:legacy.osl:7757:1:svx/source/svdraw/svdmrkv1.cxx:335: SdrMarkView::UndirtyMrkPnt(): Selected points on an object that is not a PolyObj!
warn:legacy.osl:7757:1:framework/source/uiconfiguration/ImageArrayData.cxx:85: ImageAryData::Load: failed to load image 'cmd/lc_rotate180.png' from icon theme 'breeze'

Steps to Reproduce:
1. Open Writer
2. Insert an image (jpg)
3. Format->Image->Properties (From menu)
4. Click the "Crop" tab

Actual Results:  
LibreOffice is terminating with error(as described above).

Expected Results:
I don't know exactly


Reproducible: Always

User Profile Reset: No

Additional Info:
LibreOfficeDev 5.4.0.0.alpha0 afd2e7177656bcc6b6fa4cc0734df111d180c4ee


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Gülşah Köse 2017-03-02 12:50:40 UTC
Error message is:

warn:svl:7933:1:svl/source/undo/undo.cxx:1167: SfxUndoManager::MarkTopUndoAction(): suspicious call!
warn:legacy.osl:7933:1:svx/source/svdraw/svdmrkv1.cxx:335: SdrMarkView::UndirtyMrkPnt(): Selected points on an object that is not a PolyObj!
warn:legacy.osl:7933:1:framework/source/uiconfiguration/ImageArrayData.cxx:85: ImageAryData::Load: failed to load image 'cmd/lc_rotate180.png' from icon theme 'breeze'
warn:vcl.gdi:7933:1:vcl/source/outdev/map.cxx:1517: MapUnit::MapPixel approximated with 72dpi
soffice.bin: /home/gulsah/LibreOffice/libreoffice/vcl/headless/svpgdi.cxx:1357: void SvpSalGraphics::releaseCairoContext(cairo_t*, bool, const basegfx::B2DRange&) const: Assertion `nFormat == CAIRO_FORMAT_ARGB32 && "need to implement CAIRO_FORMAT_A1 after all here"' failed.
soffice.bin: /home/gulsah/LibreOffice/libreoffice/vcl/headless/svpgdi.cxx:1357: void SvpSalGraphics::releaseCairoContext(cairo_t*, bool, const basegfx::B2DRange&) const: Assertion `nFormat == CAIRO_FORMAT_ARGB32 && "need to implement CAIRO_FORMAT_A1 after all here"' failed.


Fatal exception: Signal 6
Comment 2 Xisco Faulí 2017-03-02 12:55:44 UTC
I can't reproduce it in

Version: 5.4.0.0.alpha0+
Build ID: d3676ceeec55a41337ce5e6bc596f4f100d0638e
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

your build is from February 14th. Could you please try with the latest daily build ?
Comment 3 Gülşah Köse 2017-03-02 19:45:10 UTC
Still reproducable.
Updated my repo LibreOfficeDev 5.4.0.0.alpha0 446568bfad252daf1861ea7e0c53fe4c72a31a53
Comment 4 Xisco Faulí 2017-03-02 20:19:59 UTC
I would recommend you to reset your profile and try again...
Comment 5 Julien Nabet 2017-03-02 21:10:23 UTC
Created attachment 131585 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today + enable-dbgutil, I could reproduce this.

Remark: I only reproduce this with gtk3 rendering.
I don't reproduce this with gtk/kde4/gen rendering.
Comment 6 Julien Nabet 2017-03-02 21:14:39 UTC
Since I did a "make clean", profile was brand new.
(git commit I used: a5c947579253a7f4e784004e18929af5ab22fa28)
Comment 7 Julien Nabet 2017-03-02 21:16:37 UTC
Caolán: thought you might be interested in this one since it's specific to gtk3.
Comment 8 Xisco Faulí 2017-03-03 09:44:39 UTC
out of curiosity, do you reproduce the crash with any image you insert or with some specific ones? In case of the second one, could you please indicate the extension or attach one image?
Comment 9 Gülşah Köse 2017-03-03 10:08:46 UTC
Created attachment 131596 [details]
example image

(In reply to Xisco Faulí from comment #8)
I do not think it's image-addiction but to be sure you can try image at the attach.