Bug 104495 - Drag&drop category in dialog AutoText crashes LibreOffice
Summary: Drag&drop category in dialog AutoText crashes LibreOffice
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.4.0 target:5.3.0.1 target:5.2.4
Keywords: bibisectRequest, haveBacktrace, regression
Depends on:
Blocks:
 
Reported: 2016-12-08 12:17 UTC by Markus Müller
Modified: 2016-12-13 14:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
"lowriter --backtrace" output (9.58 KB, text/x-log)
2016-12-08 12:17 UTC, Markus Müller
Details
bt with symbols (9.70 KB, text/plain)
2016-12-08 21:17 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Müller 2016-12-08 12:17:55 UTC
Created attachment 129396 [details]
"lowriter --backtrace" output

Similar to bug #67817 LibreOffice Writer crashes when performing drag&drop in the AutoText dialog.

Steps to reproduce:
- open document
- open AutoText dialog
- click one of the available categories (e.g. "Standard") and try to move it (drag&drop)
- Writer crashes
Comment 1 Cor Nouws 2016-12-08 19:29:43 UTC
thanks for filing Markus.

Confirm this on Linux 64 bits in 5.1.6.3 and in 5.4 master.
OK in 4.4.7.2 > regression
Comment 2 Julien Nabet 2016-12-08 21:17:05 UTC
Created attachment 129407 [details]
bt with symbols

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

I attached bt with symbols
Comment 3 Julien Nabet 2016-12-08 21:24:39 UTC
Let's give it a try.
I submitted a patch to gerrit for master branch, see https://gerrit.libreoffice.org/#/c/31773/
Comment 4 Commit Notification 2016-12-09 09:07:53 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=8776c20c1c72110d0f205150913eb17cdf3f1aaa

tdf#104495: prevent autotext to crash when drag&drop

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2016-12-09 12:44:24 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-5-3":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=56261b0bb06e29b71e2cc555086100282e54d62e&h=libreoffice-5-3

tdf#104495: prevent autotext to crash when drag&drop

It will be available in 5.3.0.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2016-12-09 15:12:15 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-5-2":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5d647341feac4ef2870923bde70ddcff33a24032&h=libreoffice-5-2

tdf#104495: prevent autotext to crash when drag&drop

It will be available in 5.2.5.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Julien Nabet 2016-12-09 15:28:18 UTC
I submitted the backport for 5.2.4 version to review, see https://gerrit.libreoffice.org/#/c/31794/
Let's put this one to FIXED.
Comment 8 Commit Notification 2016-12-13 11:31:51 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-5-2-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=70acd9855b5095e18daede7661a8cfc36bd3544f&h=libreoffice-5-2-4

tdf#104495: prevent autotext to crash when drag&drop

It will be available in 5.2.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Julien Nabet 2016-12-13 14:31:25 UTC
Cleaning targets