https://bugs.documentfoundation.org/show_bug.cgi?id=91127

            Bug ID: 91127
           Summary: Crash on closing the Field dialog
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: vmik...@collabora.co.uk

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff09ed7dd in vcl::Window::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/vcl/source/window/window.cxx:554
554         if ( mpWindowImpl->mbFrame )
(gdb) print mpWindowImpl
$1 = (WindowImpl *) 0x9999999999999999
(gdb) up
#1  0x00007ffff0a55c36 in Control::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/vcl/source/control/ctrl.cxx:76
76          Window::dispose();
(gdb) 
#2  0x00007ffff2bb82c2 in SvTreeListBox::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/svtools/source/contnr/treelistbox.cxx:1584
1584        Control::dispose();
(gdb) up
#3  0x00007fffd5b2c791 in SwDBTreeList::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/sw/source/uibase/dbui/dbtree.cxx:205
205         SvTreeListBox::dispose();
(gdb) 
#4  0x00007ffff0b2f62c in OutputDevice::disposeOnce (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/vcl/source/outdev/outdev.cxx:203
203         dispose();
(gdb) 
#5  0x00007ffff08aa77e in VclPtr<vcl::Window>::disposeAndClear (this=0x2154cb8)
at /home/vmiklos/git/libreoffice/master/include/vcl/vclptr.hxx:209
209                 aTmp->disposeOnce();
(gdb) 
#6  0x00007ffff088d51f in VclBuilder::disposeBuilder (this=0x20f7c90) at
/home/vmiklos/git/libreoffice/master/vcl/source/window/builder.cxx:536
536             aI->m_pWindow.disposeAndClear();
(gdb) bt
#0  0x00007ffff09ed7dd in vcl::Window::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/vcl/source/window/window.cxx:554
#1  0x00007ffff0a55c36 in Control::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/vcl/source/control/ctrl.cxx:76
#2  0x00007ffff2bb82c2 in SvTreeListBox::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/svtools/source/contnr/treelistbox.cxx:1584
#3  0x00007fffd5b2c791 in SwDBTreeList::dispose (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/sw/source/uibase/dbui/dbtree.cxx:205
#4  0x00007ffff0b2f62c in OutputDevice::disposeOnce (this=0x2154ea0) at
/home/vmiklos/git/libreoffice/master/vcl/source/outdev/outdev.cxx:203
#5  0x00007ffff08aa77e in VclPtr<vcl::Window>::disposeAndClear (this=0x2154cb8)
at /home/vmiklos/git/libreoffice/master/include/vcl/vclptr.hxx:209
#6  0x00007ffff088d51f in VclBuilder::disposeBuilder (this=0x20f7c90) at
/home/vmiklos/git/libreoffice/master/vcl/source/window/builder.cxx:536
#7  0x00007ffff08e540d in VclBuilderContainer::disposeBuilder (this=0x20f8b10)
at /home/vmiklos/git/libreoffice/master/vcl/source/window/dialog.cxx:462
#8  0x00007ffff09a46f0 in TabPage::dispose (this=0x20f88f0) at
/home/vmiklos/git/libreoffice/master/vcl/source/window/tabpage.cxx:95
#9  0x00007ffff3c63ca1 in SfxTabPage::dispose (this=0x20f88f0) at
/home/vmiklos/git/libreoffice/master/sfx2/source/dialog/tabdlg.cxx:181
#10 0x00007fffc4f6e572 in SwFldDBPage::dispose (this=0x20f88f0) at
/home/vmiklos/git/libreoffice/master/sw/source/ui/fldui/flddb.cxx:94
#11 0x00007ffff0b2f62c in OutputDevice::disposeOnce (this=0x20f88f0) at
/home/vmiklos/git/libreoffice/master/vcl/source/outdev/outdev.cxx:203
#12 0x00007ffff3bcdaaa in VclPtr<SfxTabPage>::disposeAndClear (this=0x2013908)
at /home/vmiklos/git/libreoffice/master/include/vcl/vclptr.hxx:209
#13 0x00007ffff3c64a31 in SfxTabDialog::dispose (this=0x2013320) at
/home/vmiklos/git/libreoffice/master/sfx2/source/dialog/tabdlg.cxx:401
#14 0x00007ffff0b2f62c in OutputDevice::disposeOnce (this=0x2013320) at
/home/vmiklos/git/libreoffice/master/vcl/source/outdev/outdev.cxx:203
#15 0x00007ffff3a90d5a in VclPtr<vcl::Window>::disposeAndClear (this=0x20107e8)
at /home/vmiklos/git/libreoffice/master/include/vcl/vclptr.hxx:209
#16 0x00007ffff3a8cf67 in SfxChildWindow::~SfxChildWindow (this=0x20107d0,
__in_chrg=<optimized out>) at
/home/vmiklos/git/libreoffice/master/sfx2/source/appl/childwin.cxx:201
#17 0x00007fffd591ef62 in SwChildWinWrapper::~SwChildWinWrapper
(this=0x20107d0, __in_chrg=<optimized out>) at
/home/vmiklos/git/libreoffice/master/sw/source/uibase/inc/chldwrap.hxx:27
#18 0x00007fffd591f02a in SwFldDlgWrapper::~SwFldDlgWrapper (this=0x20107d0,
__in_chrg=<optimized out>) at
/home/vmiklos/git/libreoffice/master/sw/source/uibase/inc/fldwrap.hxx:25
#19 0x00007fffd591f05a in SwFldDlgWrapper::~SwFldDlgWrapper (this=0x20107d0,
__in_chrg=<optimized out>) at
/home/vmiklos/git/libreoffice/master/sw/source/uibase/inc/fldwrap.hxx:25

Sounds like vcl::Window::dispose() is called twice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to