Bug 144241 - Infinite recursion in ImplBorderWindow::Resize when showing "Convert Text to Table" dialog in German UI
Summary: Infinite recursion in ImplBorderWindow::Resize when showing "Convert Text to ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All macOS (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.3.0
Keywords:
Depends on:
Blocks: Dialog
  Show dependency treegraph
 
Reported: 2021-09-01 11:58 UTC by Stephan Bergmann
Modified: 2023-12-22 23:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of dialog with English UI (103.62 KB, image/png)
2021-09-01 12:58 UTC, Stephan Bergmann
Details
screenshot of dialog with German UI (96.01 KB, image/png)
2021-09-01 12:58 UTC, Stephan Bergmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Bergmann 2021-09-01 11:58:00 UTC
With a recent local master build on macOS (but not with a similar build on Linux, with neither the gtk3 nor the gen VCL plugin), bisecting showed that <https://git.libreoffice.org/core/+/f72013ca65c7a33991d5fb124b919fe7cde269e2%5E!> "use max of avg digit or 'average char' width to measure Edit space" causes the following issue when the LibreOffice UI language is "German (Germany)" (but not when it is "Default - English (USA)":  In Writer, selecting some text and doing "Table - Convert - Text to Table..." ("Tabelle - Umwandeln - Text in Tabelle..." in the German UI) to display the "Convert Text to Table" dialog causes infinite recursion within ImplBorderWindow::Resize (resulting in a SIGSEGV crash) at

[...]
> frame #13950: 0x000000010aec84d0 libvcllo.dylib`vcl::Window::queue_resize(this=0x00000002c0e13230, eReason=Layout) at vcl/source/window/window2.cxx:1351:28
> frame #13951: 0x000000010ace466c libvcllo.dylib`ImplSmallBorderWindowView::Init(this=0x00000002c09f4320, pDev=0x00000002c0e04900, nWidth=22, nHeight=31) at vcl/source/window/brdwin.cxx:557:20
> frame #13952: 0x000000010aceb8fc libvcllo.dylib`ImplBorderWindow::Resize(this=0x00000002c0e13740) at vcl/source/window/brdwin.cxx:1736:19
> frame #13953: 0x000000010aec84d0 libvcllo.dylib`vcl::Window::queue_resize(this=0x00000002c0e13230, eReason=Layout) at vcl/source/window/window2.cxx:1351:28
> frame #13954: 0x000000010ace466c libvcllo.dylib`ImplSmallBorderWindowView::Init(this=0x00000002c09f4320, pDev=0x00000002c0e04900, nWidth=22, nHeight=31) at vcl/source/window/brdwin.cxx:557:20
> frame #13955: 0x000000010aceb8fc libvcllo.dylib`ImplBorderWindow::Resize(this=0x00000002c0e13740) at vcl/source/window/brdwin.cxx:1736:19
> frame #13956: 0x000000010aec84d0 libvcllo.dylib`vcl::Window::queue_resize(this=0x00000002c0e13230, eReason=Layout) at vcl/source/window/window2.cxx:1351:28
> frame #13957: 0x000000010ace466c libvcllo.dylib`ImplSmallBorderWindowView::Init(this=0x00000002c09f4320, pDev=0x00000002c0e04900, nWidth=22, nHeight=31) at vcl/source/window/brdwin.cxx:557:20
> frame #13958: 0x000000010aceb8fc libvcllo.dylib`ImplBorderWindow::Resize(this=0x00000002c0e13740) at vcl/source/window/brdwin.cxx:1736:19
> frame #13959: 0x000000010aec84d0 libvcllo.dylib`vcl::Window::queue_resize(this=0x00000002c0e13230, eReason=Layout) at vcl/source/window/window2.cxx:1351:28
> frame #13960: 0x000000010ace466c libvcllo.dylib`ImplSmallBorderWindowView::Init(this=0x00000002c09f4320, pDev=0x00000002c0e04900, nWidth=22, nHeight=31) at vcl/source/window/brdwin.cxx:557:20
> frame #13961: 0x000000010aceb8fc libvcllo.dylib`ImplBorderWindow::Resize(this=0x00000002c0e13740) at vcl/source/window/brdwin.cxx:1736:19
> frame #13962: 0x000000010aec84d0 libvcllo.dylib`vcl::Window::queue_resize(this=0x00000002c0e13230, eReason=Layout) at vcl/source/window/window2.cxx:1351:28
> frame #13963: 0x000000010ace466c libvcllo.dylib`ImplSmallBorderWindowView::Init(this=0x00000002c09f4320, pDev=0x00000002c0e04900, nWidth=22, nHeight=31) at vcl/source/window/brdwin.cxx:557:20
> frame #13964: 0x000000010aceb8fc libvcllo.dylib`ImplBorderWindow::Resizeˇ(this=0x00000002c0e13740) at vcl/source/window/brdwin.cxx:1736:19
> frame #13965: 0x000000010add0570 libvcllo.dylib`vcl::Window::ImplCallResize(this=0x00000002c0e13740) at vcl/source/window/event.cxx:520:5
> frame #13966: 0x000000010aedb7b4 libvcllo.dylib`vcl::Window::ImplPosSizeWindow(this=0x00000002c0e13740, nX=210, nY=28, nWidth=22, nHeight=31, nFlags=PosSize) at vcl/source/window/window.cxx:1617:13
> frame #13967: 0x000000010aee2768 libvcllo.dylib`vcl::Window::setPosSizePixel(this=0x00000002c0e13740, nX=210, nY=28, nWidth=22, nHeight=31, nFlags=PosSize) at vcl/source/window/window.cxx:2775:18
> frame #13968: 0x000000010aec8150 libvcllo.dylib`vcl::Window::SetPosSizePixel(this=0x00000002c0e13740, rNewPos=0x000000016fdf9058, rNewSize=0x000000016fdf9048) at vcl/source/window/window2.cxx:1264:5
> frame #13969: 0x000000010adde7ac libvcllo.dylib`VclContainer::setLayoutPosSize(rWindow=0x00000002c0e13740, rPos=0x000000016fdf93c0, rSize=0x000000016fdf9390) at vcl/source/window/layout.cxx:68:13
> frame #13970: 0x000000010adde840 libvcllo.dylib`VclContainer::setLayoutAllocation(rChild=0x00000002c0e13740, rAllocPos=0x000000016fdf93c0, rChildAlloc=0x000000016fdf9390) at vcl/source/window/layout.cxx:79:9
> frame #13971: 0x000000010ade5618 libvcllo.dylib`VclGrid::setAllocation(this=0x00000002c09a6860, rAllocation=0x000000016fdf9598) at vcl/source/window/layout.cxx:1350:17
> frame #13972: 0x000000010addedcc libvcllo.dylib`VclContainer::SetPosSizePixel(this=0x00000002c09a6860, rAllocPos=0x000000016fdf95a8, rAllocation=0x000000016fdf9598) at vcl/source/window/layout.cxx:158:9
> frame #13973: 0x000000010adde7ac libvcllo.dylib`VclContainer::setLayoutPosSize(rWindow=0x00000002c09a6860, rPos=0x000000016fdf9670, rSize=0x000000016fdf9660) at vcl/source/window/layout.cxx:68:13
> frame #13974: 0x000000010addeb44 libvcllo.dylib`VclContainer::setLayoutAllocation(rChild=0x00000002c09a6860, rAllocPos=0x000000016fdf9720, rChildAlloc=0x000000016fdf9730) at vcl/source/window/layout.cxx:129:5
> frame #13975: 0x000000010ade637c libvcllo.dylib`VclFrame::setAllocation(this=0x00000002c09c2fb0, rAllocation=0x000000016fdf9818) at vcl/source/window/layout.cxx:1468:9
> frame #13976: 0x000000010addedcc libvcllo.dylib`VclContainer::SetPosSizePixel(this=0x00000002c09c2fb0, rAllocPos=0x000000016fdf9828, rAllocation=0x000000016fdf9818) at vcl/source/window/layout.cxx:158:9
> frame #13977: 0x000000010adde7ac libvcllo.dylib`VclContainer::setLayoutPosSize(rWindow=0x00000002c09c2fb0, rPos=0x000000016fdf9b30, rSize=0x000000016fdf9b20) at vcl/source/window/layout.cxx:68:13
> frame #13978: 0x000000010adde840 libvcllo.dylib`VclContainer::setLayoutAllocation(rChild=0x00000002c09c2fb0, rAllocPos=0x000000016fdf9b30, rChildAlloc=0x000000016fdf9b20) at vcl/source/window/layout.cxx:79:9
> frame #13979: 0x000000010addff10 libvcllo.dylib`VclBox::setAllocation(this=0x00000002c097fe30, rAllocation=0x000000016fdf9cb8) at vcl/source/window/layout.cxx:363:13
> frame #13980: 0x000000010addedcc libvcllo.dylib`VclContainer::SetPosSizePixel(this=0x00000002c097fe30, rAllocPos=0x000000016fdf9cc8, rAllocation=0x000000016fdf9cb8) at vcl/source/window/layout.cxx:158:9
> frame #13981: 0x000000010adde7ac libvcllo.dylib`VclContainer::setLayoutPosSize(rWindow=0x00000002c097fe30, rPos=0x000000016fdf9fd0, rSize=0x000000016fdf9fc0) at vcl/source/window/layout.cxx:68:13
> frame #13982: 0x000000010adde840 libvcllo.dylib`VclContainer::setLayoutAllocation(rChild=0x00000002c097fe30, rAllocPos=0x000000016fdf9fd0, rChildAlloc=0x000000016fdf9fc0) at vcl/source/window/layout.cxx:79:9
> frame #13983: 0x000000010addff10 libvcllo.dylib`VclBox::setAllocation(this=0x00000002c0e27ad0, rAllocation=0x000000016fdfa158) at vcl/source/window/layout.cxx:363:13
> frame #13984: 0x000000010addedcc libvcllo.dylib`VclContainer::SetPosSizePixel(this=0x00000002c0e27ad0, rAllocPos=0x000000016fdfa168, rAllocation=0x000000016fdfa158) at vcl/source/window/layout.cxx:158:9
> frame #13985: 0x000000010adde7ac libvcllo.dylib`VclContainer::setLayoutPosSize(rWindow=0x00000002c0e27ad0, rPos=0x000000016fdfa2b8, rSize=0x000000016fdfa2a8) at vcl/source/window/layout.cxx:68:13
> frame #13986: 0x000000010adde840 libvcllo.dylib`VclContainer::setLayoutAllocation(rChild=0x00000002c0e27ad0, rAllocPos=0x000000016fdfa2b8, rChildAlloc=0x000000016fdfa2a8) at vcl/source/window/layout.cxx:79:9
> frame #13987: 0x000000010ae8bf4c libvcllo.dylib`SystemWindow::setPosSizeOnContainee(this=0x0000000284edb3f0, aSize=Size @ 0x000000016fdfa2c8, rBox=0x00000002c0e27ad0) at vcl/source/window/syswin.cxx:1036:5
> frame #13988: 0x000000010ae8c340 libvcllo.dylib`SystemWindow::setOptimalLayoutSize(this=0x0000000284edb3f0) at vcl/source/window/syswin.cxx:1085:5
> frame #13989: 0x000000010ae8c3d0 libvcllo.dylib`SystemWindow::DoInitialLayout(this=0x0000000284edb3f0) at vcl/source/window/syswin.cxx:1097:9
> frame #13990: 0x000000010ad938f4 libvcllo.dylib`Dialog::StateChanged(this=0x0000000284edb3f0, nType=InitShow) at vcl/source/window/dialog.cxx:760:9
> frame #13991: 0x000000010aede0dc libvcllo.dylib`vcl::Window::CompatStateChanged(this=0x0000000284edb3f0, nStateChange=InitShow) at vcl/source/window/window.cxx:3886:9
> frame #13992: 0x000000010add0364 libvcllo.dylib`vcl::Window::ImplCallInitShow(this=0x0000000284edb3f0) at vcl/source/window/event.cxx:491:5
> frame #13993: 0x000000010add04b0 libvcllo.dylib`vcl::Window::ImplCallInitShow(this=0x0000000284ed85a0) at vcl/source/window/event.cxx:506:22
> frame #13994: 0x000000010aedfbd4 libvcllo.dylib`vcl::Window::Show(this=0x0000000284ed85a0, bVisible=true, nFlags=NONE) at vcl/source/window/window.cxx:2297:13
> frame #13995: 0x000000010aedfdb0 libvcllo.dylib`vcl::Window::Show(this=0x0000000284edb3f0, bVisible=true, nFlags=NONE) at vcl/source/window/window.cxx:2325:43
> frame #13996: 0x000000010ad95eac libvcllo.dylib`Dialog::ImplStartExecute(this=0x0000000284edb3f0) at vcl/source/window/dialog.cxx:1002:5
> frame #13997: 0x000000010ad96b18 libvcllo.dylib`Dialog::Execute(this=0x0000000284edb3f0) at vcl/source/window/dialog.cxx:1050:11
> frame #13998: 0x000000010b4da41c libvcllo.dylib`SalInstanceDialog::run(this=0x00000002c0e360e0) at vcl/source/app/salvtables.cxx:1651:23
> frame #13999: 0x00000002f1cde000 libswuilo.dylib`weld::DialogController::run(this=0x000000014d1ea3f0) at include/vcl/weld.hxx:2494:47
> frame #14000: 0x00000002f1d51c2c libswuilo.dylib`AbstractSwConvertTableDlg_Impl::Execute(this=0x00000002c09f97a0) at sw/source/ui/dialog/swdlgfact.cxx:162:20
> frame #14001: 0x000000028a065374 libswlo.dylib`SwBaseShell::Execute(this=0x00000002b660ec70, rReq=0x00000002c2f07b00) at sw/source/uibase/shells/basesh.cxx:992:37
> frame #14002: 0x000000028a063ec4 libswlo.dylib`SfxStubSwBaseShellExecute(pShell=0x00000002b660ec70, rReq=0x00000002c2f07b00) at workdir/SdiTarget/sw/sdi/swslots.hxx:2180:1
> frame #14003: 0x0000000103c5bbc8 libsfxlo.dylib`SfxDispatcher::Call_Impl(this=0x00000002b51d33f0, rShell=0x00000002b660ec70, rSlot=0x000000028a5bf288, rReq=0x00000002c2f07b00, bRecord=true) at sfx2/source/control/dispatch.cxx:253:9
> frame #14004: 0x0000000103c5c584 libsfxlo.dylib`SfxDispatcher::PostMsgHandler(this=0x00000002b51d33f0, pReq=SfxRequest @ 0x00000002c2f07b00) at sfx2/source/control/dispatch.cxx:990:13
> frame #14005: 0x0000000103c710f4 libsfxlo.dylib`decltype(__f=0x00000002b51cbe28, __a0=0x00000002b51cbe38, __args=nullptr)).*fp(static_cast<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >>(fp1))) std::__1::__invoke<void (SfxDispatcher::*&)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*&, std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >, void>(void (SfxDispatcher::*&)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*&, std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) at ~/llvm/inst/include/c++/v1/type_traits:3865:23
> frame #14006: 0x0000000103c71018 libsfxlo.dylib`std::__1::__bind_return<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), std::__1::tuple<SfxDispatcher*, std::__1::placeholders::__ph<1> >, std::__1::tuple<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&>, __is_valid_bind_return<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), std::__1::tuple<SfxDispatcher*, std::__1::placeholders::__ph<1> >, std::__1::tuple<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&> >::value>::type std::__1::__apply_functor<void (__f=0x00000002b51cbe28, __bound_args=size=2, (null)=__tuple_indices<0, 1> @ 0x000000016fdfcd7f, __args=size=1)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), std::__1::tuple<SfxDispatcher*, std::__1::placeholders::__ph<1> >, 0ul, 1ul, std::__1::tuple<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&> >(void (SfxDispatcher::*&)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), std::__1::tuple<SfxDispatcher*, std::__1::placeholders::__ph<1> >&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&>&&) at ~/llvm/inst/include/c++/v1/__functional/bind.h:257:12
> frame #14007: 0x0000000103c70f98 libsfxlo.dylib`std::__1::__bind_return<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), std::__1::tuple<SfxDispatcher*, std::__1::placeholders::__ph<1> >, std::__1::tuple<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&>, __is_valid_bind_return<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), std::__1::tuple<SfxDispatcher*, std::__1::placeholders::__ph<1> >, std::__1::tuple<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&> >::value>::type std::__1::__bind<void (this=0x00000002b51cbe28, __args=nullptr)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>::operator()<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> > >(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) at ~/llvm/inst/include/c++/v1/__functional/bind.h:292:20
> frame #14008: 0x0000000103c70f1c libsfxlo.dylib`decltype(__f=0x00000002b51cbe28, __args=nullptr)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>&>(fp)(static_cast<std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >>(fp0))) std::__1::__invoke<std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>&, std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> > >(std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>&, std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) at ~/llvm/inst/include/c++/v1/type_traits:3940:23
> frame #14009: 0x0000000103c70ecc libsfxlo.dylib`void std::__1::__invoke_void_return_wrapper<void, true>::__call<std::__1::__bind<void (__args=0x00000002b51cbe28, __args=nullptr)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>&, std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> > >(std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>&, std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) at ~/llvm/inst/include/c++/v1/__functional/invoke.h:61:9
> frame #14010: 0x0000000103c70e78 libsfxlo.dylib`std::__1::__function::__alloc_func<std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >)>::operator(this=0x00000002b51cbe28, __arg=nullptr)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) at ~/llvm/inst/include/c++/v1/__functional/function.h:172:16
> frame #14011: 0x0000000103c6f99c libsfxlo.dylib`std::__1::__function::__func<std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (SfxDispatcher::*)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >), SfxDispatcher*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >)>::operator(this=0x00000002b51cbe20, __arg=nullptr)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) at ~/llvm/inst/include/c++/v1/__functional/function.h:346:12
> frame #14012: 0x0000000104055b78 libsfxlo.dylib`std::__1::__function::__value_func<void (std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >)>::operator(this=0x00000002b51e16b0, __args=nullptr)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >&&) const at ~/llvm/inst/include/c++/v1/__functional/function.h:499:16
> frame #14013: 0x0000000104055914 libsfxlo.dylib`std::__1::function<void (std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >)>::operator(this= Function = SfxDispatcher::PostMsgHandler(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >) , __arg=<unavailable>)(std::__1::unique_ptr<SfxRequest, std::__1::default_delete<SfxRequest> >) const at ~/llvm/inst/include/c++/v1/__functional/function.h:1176:12
> frame #14014: 0x0000000104055830 libsfxlo.dylib`SfxHintPoster::DoEvent_Impl(this=0x00000002b51e16a0, pPostedHint=0x00000002c2f07b00) at sfx2/source/notify/hintpost.cxx:42:9
> frame #14015: 0x00000001040557b8 libsfxlo.dylib`SfxHintPoster::LinkStubDoEvent_Impl(instance=0x00000002b51e16a0, data=0x00000002c2f07b00) at sfx2/source/notify/hintpost.cxx:38:1
> frame #14016: 0x000000010aefe43c libvcllo.dylib`Link<void*, void>::Call(this=0x00000002b6812288, data=0x00000002c2f07b00) const at include/tools/link.hxx:111:45
> frame #14017: 0x000000010aefb580 libvcllo.dylib`ImplHandleUserEvent(pSVEvent=0x00000002b6812280) at vcl/source/window/winproc.cxx:2014:30
> frame #14018: 0x000000010aef8690 libvcllo.dylib`ImplWindowFrameProc(_pWindow=0x0000000116e2b570, nEvent=UserEvent, pEvent=0x00000002b6812280) at vcl/source/window/winproc.cxx:2584:13
> frame #14019: 0x00000001179bcb5c libvclplug_osxlo.dylib`SalFrame::CallCallback(this=0x0000000116e2bd20, nEvent=UserEvent, pEvent=0x00000002b6812280) const at vcl/inc/salframe.hxx:306:29
> frame #14020: 0x00000001179d166c libvclplug_osxlo.dylib`AquaSalInstance::ProcessEvent(this=0x00000001178c2fd0, aEvent=<unavailable>) at vcl/osx/salinst.cxx:390:22
> frame #14021: 0x000000010b4c7d1c libvcllo.dylib`SalUserEventList::DispatchUserEvents(this=0x000000016fdfd7f0)::$_0::operator()() const at vcl/source/app/salusereventlist.cxx:119:58
> frame #14022: 0x000000010b4c75fc libvcllo.dylib`SalUserEventList::DispatchUserEvents(this=0x00000001178c2fd0, bHandleAllCurrentEvents=false) at vcl/source/app/salusereventlist.cxx:120:13
> frame #14023: 0x00000001179d2090 libvclplug_osxlo.dylib`AquaSalInstance::DoYield(this=0x00000001178c2fd0, bWait=true, bHandleAllCurrentEvents=false) at vcl/osx/salinst.cxx:528:22
> frame #14024: 0x000000010b576c98 libvcllo.dylib`ImplYield(i_bWait=true, i_bAllEvents=false) at vcl/source/app/svapp.cxx:465:48
> frame #14025: 0x000000010b5769b0 libvcllo.dylib`Application::Yield() at vcl/source/app/svapp.cxx:532:5
> frame #14026: 0x000000010b576920 libvcllo.dylib`Application::Execute() at vcl/source/app/svapp.cxx:444:9
> frame #14027: 0x00000001002d3a78 libsofficeapp.dylib`desktop::Desktop::Main(this=0x000000016fdff108) at desktop/source/app/app.cxx:1602:13
> frame #14028: 0x000000010b591284 libvcllo.dylib`ImplSVMain() at vcl/source/app/svmain.cxx:199:35
> frame #14029: 0x00000001179d17a4 libvclplug_osxlo.dylib`AquaSalInstance::handleAppDefinedEvent(pEvent=0x000000013ac36100) at vcl/osx/salinst.cxx:411:20
> frame #14030: 0x0000000117a55570 libvclplug_osxlo.dylib`-[VCL_NSApplication sendEvent:](self=0x0000000116f08020, _cmd="sendEvent:", pEvent=0x000000013ac36100) at vcl/osx/vclnsapp.mm:101:9
> frame #14031: 0x000000019ba2f7a8 AppKit`-[NSApplication _handleEvent:] + 76
> frame #14032: 0x000000019b5d1e74 AppKit`-[NSApplication run] + 636
> frame #14033: 0x000000019b5a3878 AppKit`NSApplicationMain + 1064
> frame #14034: 0x00000001179d5a84 libvclplug_osxlo.dylib`AquaSalInstance::SVMainHook(this=0x00000001178c2fd0, pnInit=0x000000016fdff038) at vcl/osx/salinst.cxx:996:5
> frame #14035: 0x000000010b591244 libvcllo.dylib`ImplSVMain() at vcl/source/app/svmain.cxx:192:54
> frame #14036: 0x000000010b592920 libvcllo.dylib`SVMain() at vcl/source/app/svmain.cxx:231:12
> frame #14037: 0x0000000100341f4c libsofficeapp.dylib`soffice_main at desktop/source/app/sofficemain.cxx:98:12
> frame #14038: 0x0000000100003f44 soffice`sal_main at desktop/source/app/main.c:49:15
> frame #14039: 0x0000000100003f1c soffice`main(argc=2, argv=0x000000016fdff258) at desktop/source/app/main.c:47:1
> frame #14040: 0x0000000198d11430 libdyld.dylib`start + 4
Comment 1 Caolán McNamara 2021-09-01 12:53:38 UTC
we have this condition

if (nOrigLeftBorder != mnLeftBorder ||
    nOrigTopBorder != mnTopBorder ||
    nOrigRightBorder != mnRightBorder ||
    nOrigBottomBorder != mnBottomBorder)
{
    pCtrl->queue_resize();
}

which must be true on each recursive attempt through ImplSmallBorderWindowView::Init for some reason
Comment 2 Caolán McNamara 2021-09-01 12:57:57 UTC
The bisected commit presumably has affected the width of the widget "othered" in sw/uiconfig/swriter/ui/converttexttable.ui which has

<property name="width_chars">1</property>
<property name="max_width_chars">1</property>

hacking those to, say, 5 might workaround the problem to see if its an overly narrow vcl Edit which is causing the problem
Comment 3 Stephan Bergmann 2021-09-01 12:58:01 UTC
Created attachment 174697 [details]
screenshot of dialog with English UI
Comment 4 Stephan Bergmann 2021-09-01 12:58:35 UTC
Created attachment 174698 [details]
screenshot of dialog with German UI
Comment 5 Stephan Bergmann 2021-09-01 13:00:57 UTC
One difference I notice (with the problematic f72013ca65c7a33991d5fb124b919fe7cde269e2 temporarily reverted) is that with German UI the "Other" (i.e., "Sonstige") edit box is narrower (see attachment 174698 [details]) than with the English UI (see attachment 174697 [details]).
Comment 6 Stephan Bergmann 2021-09-01 13:08:24 UTC
(In reply to Caolán McNamara from comment #2)
> The bisected commit presumably has affected the width of the widget
> "othered" in sw/uiconfig/swriter/ui/converttexttable.ui which has
> 
> <property name="width_chars">1</property>
> <property name="max_width_chars">1</property>
> 
> hacking those to, say, 5 might workaround the problem to see if its an
> overly narrow vcl Edit which is causing the problem

yes, that change makes the crash go away
Comment 7 Caolán McNamara 2021-09-09 14:13:23 UTC
Seems this is not the first time this has arisen: https://cgit.freedesktop.org/libreoffice/core/commit/?id=27be8a263eddb54cb6b66cc0f832bfd02016a694

Initial hackery seems to date to bug#57090
Comment 8 Commit Notification 2021-09-09 18:42:48 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/905d7e3d9cff386a819faa6582cfb1700b529e34

tdf#144241 don't return a negative width for osx edit region

It will be available in 7.3.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 9 Caolán McNamara 2021-09-09 18:44:06 UTC
That should do it