Bug 116769

Summary: Draw crashes when editing text in a shape (debug)
Product: LibreOffice Reporter: Heiko Tietze <heiko.tietze>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: aron.budea, samuel.mehrbrodt, serval2412, xiscofauli
Priority: medium Keywords: haveBacktrace
Version: 6.1.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=116342
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105537    
Attachments: sdraw --backtrace

Description Heiko Tietze 2018-04-03 12:39:40 UTC
Likely a follow-up to bug 116342

Create a new shape, double-click and enter Test as text. Leave the shape, double-click again in the white space area, and if that does crash it will after leaving the shape again after editing the text.

Console output is

warn:svx:5854:5854:svx/source/accessibility/AccessibleTextHelper.cxx:1431: Unhandled exception.
warn:legacy.osl:5854:5854:svx/source/accessibility/AccessibleTextHelper.cxx:815: AccessibleTextHelper_Impl::UpdateVisibleChildren error while determining visible children
warn:legacy.osl:5854:5854:svx/source/svdraw/svdmrkv1.cxx:335: SdrMarkView::UndirtyMrkPnt(): Selected points on an object that is not a PolyObj!
warn:legacy.osl:5854:5854:svx/source/dialog/rulritem.cxx:674: Wrong MemberId
warn:sd.core:5854:5854:sd/source/core/PageListWatcher.cxx:95: ImpPageListWatcher::GetSdPage(PageKind::Standard): page number 1 >= 1
Comment 1 Heiko Tietze 2018-04-03 13:07:10 UTC
Created attachment 141049 [details]
sdraw --backtrace

Draw crashes only randomly with gdb behind.
Comment 2 Xisco FaulĂ­ 2018-04-03 13:17:03 UTC
I can't reproduce it in

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

debug only ?
Comment 3 Xisco FaulĂ­ 2018-04-03 13:18:57 UTC
I can reproduce it with a debug build...

Version: 6.1.0.0.alpha0+
Build ID: 5231050887ef88dcb542d9bdb738d4820b2e8bb3
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86@71-TDF-dbg, Branch:master, Time: 2018-03-20_00:14:10
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 4 Julien Nabet 2018-08-19 13:35:28 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this with gtk2 or gtk3 rendering.
Do you still reproduce this with more recent daily builds?
Comment 5 Heiko Tietze 2018-08-20 11:29:19 UTC
No crash with 6.1 (fresh) without debug symbols or 6.2 (master) with --enable-debug.