https://bugs.freedesktop.org/show_bug.cgi?id=81147
--- Comment #4 from Douglas Mencken <dougmenc...@gmail.com> --- I confirm it too. But on my side it crashes inside XPropertyList::Count() called by SvxColorTabPage::UpdateModified(): Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000002c Crashed Thread: 0 Thread 0 Crashed: 0 libsvxcorelo.dylib 0x06239df4 XPropertyList::Count() const + 20 1 libcuilo.dylib 0x3366b9d8 SvxColorTabPage::UpdateModified() + 24 2 libcuilo.dylib 0x3366b9d8 SvxColorTabPage::UpdateModified() + 24 3 libcuilo.dylib 0x33670714 SvxColorTabPage::Reset(SfxItemSet const*) + 516 4 libsfxlo.dylib 0x00c72558 SfxTabDialog::ActivatePageHdl(TabControl*) + 1048 5 libvcllo.dylib 0x02fc841c TabControl::calculateRequisition() const + 140 6 libvcllo.dylib 0x02fc85a4 TabControl::GetOptimalSize() const + 20 7 libvcllo.dylib 0x02f540d8 Window::get_ungrouped_preferred_size() const + 152 8 libvcllo.dylib 0x02f56520 Window::get_preferred_size() const + 32 ... * it fails on (XPropertyList*) this, where "this" is already NULL, so let's dig up to the caller * void SvxColorTabPage::UpdateModified() <cui/source/tabpages/tpcolor.cxx:585> -- bool bEnable = pColorList->Count(); <---- pColorList is already NULL here * `long XPropertyList::Count() const' returns `maList.size();' but it's called as `bool bEnable = pColorList->Count();' to do things like m_pBtnModify->Enable( bEnable ); etc. * since when are sizes true/false?! * why pColorList isn't initialized in ctor? but only in SvxColorTabPage::Update, which is called on bottom of strangely titled IMPL_LINK_NOARG(SvxColorTabPage, ClickLoadHdl_Impl) * maybe the logic was: `bool bEnable = false; if (pColorList) { if (pColorList->Count() > 0) { bEnable = true; } }' ? -- 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