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

Lionel Elie Mamane <lio...@mamane.lu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |er...@redhat.com,
                   |                            |markus.mohrhard@googlemail.
                   |                            |com

--- Comment #15 from Lionel Elie Mamane <lio...@mamane.lu> ---
Since that "formula" module is shared with Calc, would our Calc
"FindTheExpert"s have some clue on what change could have caused this?


In the backtrace, the problematic line is:

        if( pFuncPage->GetCategory() !=
static_cast<sal_Int32>(pFuncDesc->getCategory()->getNumber() + 1) )


The problem is that pFuncDesc->getCategory() returns some kind of "smart
pointer" that contains a null raw pointer, so ->getNumber() segfaults.
IFunctionCategory seems to be an abstract class with two implementations:
reportdesign/source/ui/inc/FunctionHelper.hxx: class FunctionCategory
sc/inc/funcdesc.hxx: class ScFunctionCategory

To chase this I suppose we should follow how/when these are created and filled
out, or maybe how/when a meaningful "category" member is filled in pFuncDesc.

What strikes me is that just before the crash, the display of the formula is
e.g.
 =COUNT( ) )
instead of
 =COUNT( )

Maybe that's linked...

-- 
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