Description: I'm programming Calc and I need to create a Dialog Box with some object. I can create the empty dialog box without problems. But I cannot insert any object in it (buttons, check box, list box, etc.): each time I try to insert one of these object LO crashes Steps to Reproduce: 1. Open BASIC IDE 2. Edit dialog box 3. Try to insert an object Actual Results: Libre Office crashes and dialog box remains empty Expected Results: Inserting objects in dialog box in order to personalize it and use it as I need Reproducible: Always User Profile Reset: No Additional Info: Operating System where crashes: Ubuntu Linux 18.04. No problem with Windows 10
which Linux version do you use? did the same issue happen with LibO 6.0.6 too?
Reproduced in Versión: 6.1.2.1 Id. de compilación: 65905a128db06ba48db947242809d14d3f9a93fe Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; Configuración regional: es-ES (es_ES); Calc: group threaded
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=4b4942224b550235da228655677b5c068a053254 author Armin Le Grand <Armin.Le.Grand@cib.de> 2018-04-16 22:34:50 +0200 committer Armin Le Grand <Armin.Le.Grand@cib.de> 2018-05-25 12:31:32 +0200 commit 4b4942224b550235da228655677b5c068a053254 (patch) tree a660a04a1f7a3eee910da780ece271d68942201d parent f8edef392245c292398a80f6a858ca19f32df9c3 (diff) SOSAW080: Derive SdrObjGroup from SdrObjList Bisected with: bibisect-linux64-6.2 Adding Cc: to Armin Le Grand
reproduced crash with Version: 6.1.3.1 (x64) Build-ID: a9670562c26181ec3afbe381c9ff499ae88c98b7 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; Gebietsschema: de-DE (de_DE); Calc: and Version: 6.2.0.0.alpha0+ (x64) Build ID: b9234b43ed259a10cf9077032af0f79740f01d8b CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; Locale: de-DE (de_DE); Calc: threaded
Yup, another case where without check the SdrPage was accessed from SdrObject with the SdrObject not being inserted to a SdrPage yet. This worked in the past since a ptr at SdrObject to the SdrPage was set early without the SdrObject being added to the SdrPage (inconsistent stage). Added the needed workaround to DlgEdObj::EndCreate() to have a valid DlgEdForm at the new DlgEdObj when DlgEdObj::SetDefaults() is called.
Fix at gerrit: https://gerrit.libreoffice.org/#/c/62000/
Armin Le Grand committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=92b849b9297cbf78bddf5e48bdbd44303a7021db tdf#120674 set DlgEdForm early in DlgEdObj::EndCreate It will be available in 6.2.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.
Armin Le Grand committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5e582b7755c9d1e7e358cf5734c8b93d5219622d&h=libreoffice-6-1 tdf#120674 set DlgEdForm early in DlgEdObj::EndCreate It will be available in 6.1.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.
Armin Le Grand committed a patch related to this issue. It has been pushed to "libreoffice-6-1-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6ed093ba595a8989928d363cf7752dedb546199f&h=libreoffice-6-1-3 tdf#120674 set DlgEdForm early in DlgEdObj::EndCreate It will be available in 6.1.3. 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.
Verified in Version: 6.2.0.0.alpha1+ Build ID: 19a0698079fbba36646a2d06eaec3a7fde60b2f5 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: threaded @Armin, Thanks for fixing this!!!
*** Bug 121552 has been marked as a duplicate of this bug. ***
*** Bug 121559 has been marked as a duplicate of this bug. ***