Bug 132381 - In IMAGE popup window, selecting tab Crop generates SIGSEGV in loolwsd
Summary: In IMAGE popup window, selecting tab Crop generates SIGSEGV in loolwsd
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-24 14:12 UTC by Erik Devriendt
Modified: 2020-05-01 07:03 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Extract of syslog showing the stack trace cause by the SIGSEGV (13.25 KB, text/plain)
2020-04-24 14:12 UTC, Erik Devriendt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Devriendt 2020-04-24 14:12:18 UTC
Created attachment 159902 [details]
Extract of syslog showing the stack trace cause by the SIGSEGV

When editing a ODT document containing a picture (e.g. nextclouds own About.odt), selecting the tab Crop in the IMAGE popup window generates a SIGSEGV in loolwsd

This could be related to Bug 106280 but this time it is in LibreOffice Online.

I found the problem in my system consisting of NextCloud combined with Collabora Office CODE version.

Steps to reproduce the behavior:

    Open About.odt
    select the picture in the document
    In the sidebar, in the part Position and Size, click the little square to get more options. The IMAGE popup window appears.
    All tabs, except the Crop tab can be selected and the corresponding options appear.
    When clicking the Crop tab, the IMAGE window disappears after 2 seconds

Operating system: Linux Mint 19.3

Web server: Apache2

Database: SQLite

PHP version: 7.2.24

Nextcloud version: 18.04

Version of the richdocuments app 3.5.3

Version of Collabora Online 4.2
Comment 1 Aron Budea 2020-04-27 15:07:04 UTC
Confirmed, thanks for reporting!
Comment 2 Aron Budea 2020-05-01 07:03:35 UTC
This should be fixed by the following commit (by Armin Le Grand) in master:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=2a81384f499ef053ea1b52f05e8f74b13c0b6e0e

The fix will also come as part of the next Collabora Online 4.2 update.