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

--- Comment #7 from Julien Nabet <[email protected]> ---
(In reply to Kohei Yoshida from comment #6)
> (In reply to Julien Nabet from comment #5)
> > I get no error messages "BASIC runtime error. '91' Object variable not set"
> > before crash.
> > However, I must tell I use enable-dbgutil so perhaps it crashes before these
> > messages only in this case.
> 
> I'd like to have someone with a release build confirming what I'm seeing.

Just for the record, with 5.2.5.1 LO Debian package (so release build), I don't
have these messages.
Perhaps someone will be luckier than me.

BTW, here's some gdb session:
Thread 1 "soffice.bin" hit Breakpoint 1, ScVbaRange::ApplicationRange
(xContext=uno::Reference to (cppu::ComponentContext *) 0x55555819aa10, Cell1=
    uno::Any("string": "CRAM!MOISANNEE"), Cell2=uno::Any(void)) at
/home/julien/lo/libreoffice/sc/source/ui/vba/vbarange.cxx:4211
4211        if ( Cell1.hasValue() && !Cell2.hasValue() && !sRangeName.isEmpty()
)
(gdb) n
4213            uno::Reference< beans::XPropertySet > xPropSet(
getCurrentExcelDoc(xContext), uno::UNO_QUERY_THROW );
(gdb) n
4215            uno::Reference< container::XNameAccess > xNamed(
xPropSet->getPropertyValue( "NamedRanges" ), uno::UNO_QUERY_THROW );
(gdb) n
4216            uno::Reference< sheet::XCellRangeReferrer > xReferrer;
(gdb) n
4219                xReferrer.set ( xNamed->getByName( sRangeName ),
uno::UNO_QUERY );
(gdb) p sRangeName
$3 = "CRAM!MOISANNEE"
(gdb) p xNamed->getByName( sRangeName )
The program being debugged entered a std::terminate call, most likely

of course this exception is catched but when continuing after some lines, xView
is an empty ref.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to