[Libreoffice-bugs] [Bug 130378] Switch from 6.2 to 6.3, Extension Java Development, Fatal Exception: Signal 6 / Core Dumps / Unstable API ?

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 3 11:56:08 UTC 2020


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

--- Comment #1 from Michael Massee <michael at massee.de> ---
okay after do more debuging, one of many examples for a core dump

just a code snippet


                try {
                        XSearchable xSearchableFromRange =
getXSearchableFromRange(rangePos);
                        XSearchDescriptor searchDescriptor =
xSearchableFromRange.createSearchDescriptor();
                        searchDescriptor.setSearchString(".*");
                        searchDescriptor.setPropertyValue("SearchBackwards",
true); // letzte eintrag suchen
                       
searchDescriptor.setPropertyValue("SearchRegularExpression", true);
                        result =
getRangePositionFromResult(xSearchableFromRange, searchDescriptor);

                } catch (IllegalArgumentException | UnknownPropertyException |
PropertyVetoException | WrappedTargetException e) {
                        logger.fatal(e);
                }
                return result;
        }

        private Position getRangePositionFromResult(XSearchable
xSearchableFromRange, XSearchDescriptor searchDescriptor) {
                Position result = null;

// CORE DUMP by findfirst
                Object findFirstResult =
xSearchableFromRange.findFirst(searchDescriptor);

                XCellRange xCellRangeResult =
UnoRuntime.queryInterface(XCellRange.class, findFirstResult);
                if (xCellRangeResult != null) {
                        XCellRangeAddressable xCellRangeAddressable =
UnoRuntime.queryInterface(XCellRangeAddressable.class, xCellRangeResult);
                        CellRangeAddress cellRangeAddress =
xCellRangeAddressable.getRangeAddress();
                        result = Position.from(cellRangeAddress.StartColumn,
cellRangeAddress.StartRow);
                }
                return result;
        }



Application Error


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x1368e)[0x7f16ca04368e]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3bac6)[0x7f16ca06bac6]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f16c9c7df20]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f16c9c7de97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f16c9c7f801]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2d6cbf2)[0x7f16ccff6bf2]
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5AbortERKN3rtl8OUStringE+0xa2)[0x7f16ccf6c402]
/usr/lib/libreoffice/program/libmergedlo.so(+0x1c76f40)[0x7f16cbf00f40]
/usr/lib/libreoffice/program/libmergedlo.so(+0x2ce93b4)[0x7f16ccf733b4]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x16832)[0x7f16ca046832]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3b98f)[0x7f16ca06b98f]
/usr/lib/jvm/adoptopenjdk-8-jdk-hotspot/jre/lib/amd64/server/libjvm.so(+0x86431d)[0x7f168372631d]
/usr/lib/jvm/adoptopenjdk-8-jdk-hotspot/jre/lib/amd64/server/libjvm.so(JVM_handle_linux_signal+0x189)[0x7f168372af19]
/usr/lib/jvm/adoptopenjdk-8-jdk-hotspot/jre/lib/amd64/server/libjvm.so(+0x85c7e8)[0x7f168371e7e8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f16c9c7df20]
/usr/lib/libreoffice/program/libsclo.so(+0x3465e4)[0x7f168a6a15e4]
/usr/lib/libreoffice/program/libsclo.so(+0x35d2cd)[0x7f168a6b82cd]
/usr/lib/libreoffice/program/libsclo.so(+0x4feb8a)[0x7f168a859b8a]
/usr/lib/libreoffice/program/libsclo.so(+0x4fec57)[0x7f168a859c57]
/usr/lib/libreoffice/program/libsclo.so(+0x4ff869)[0x7f168a85a869]
/usr/lib/libreoffice/program/libsclo.so(+0x3c2522)[0x7f168a71d522]
/usr/lib/libreoffice/program/libsclo.so(_ZN16ScCellRangesBase9Find_ImplERKN3com3sun4star3uno9ReferenceINS2_4util17XSearchDescriptorEEEPK9ScAddress+0x15f)[0x7f168ad98f2f]
/usr/lib/libreoffice/program/libsclo.so(_ZN16ScCellRangesBase9findFirstERKN3com3sun4star3uno9ReferenceINS2_4util17XSearchDescriptorEEE+0x49)[0x7f168ad99119]
/usr/lib/libreoffice/program/libgcc3_uno.so(+0x9092)[0x7f16b1ba0092]
/usr/lib/libreoffice/program/libgcc3_uno.so(+0x8155)[0x7f16b1b9f155]
/usr/lib/libreoffice/program/libgcc3_uno.so(+0x8a5a)[0x7f16b1b9fa5a]
/usr/lib/libreoffice/program/libjava_uno.so(+0x12bee)[0x7f16149cbbee]
/usr/lib/libreoffice/program/libjava_uno.so(Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call+0x2df)[0x7f16149cc1df]
[0x7f1673aa1a96]
Aborted (core dumped)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200203/b7ecf359/attachment.htm>


More information about the Libreoffice-bugs mailing list