https://issues.apache.org/ooo/show_bug.cgi?id=121285
--- Comment #3 from Ariel Constenla-Haile <[email protected]> --- (In reply to comment #0) > Created attachment 79832 [details] > test library > > aoo3.5m1 rev 1400866 crashes immediately if i run attached macro on attached > spreadsheet. the macro insert rows and copy's cell ranges > on the second sheet. don't care about what is really happening. > > arielch already found the crash happens asynchronously, > and there is no direct way to relate it to the macro. with these stripped version of the document, it's easier to reproduce. Set a break point in ModulZellBereich2.ZeilenOderSpaltenEinfuegen line 171: oNRanges.getByName(sCpyRange).setContent(sTmpRange) and run the macro. It will stop in this line with the following values: sCpyRange = "A_CPY" sTmpRange = "$ORG_BipoDiff.$B$8:$H$13" Press Continue. Crash. #0 0x0000003d9dee59d0 in vtable for __cxxabiv1::__class_type_info () from /lib64/libstdc++.so.6 #1 0x00007f1c91e0bc71 in ScTokenArray::ImplGetReference (this=0x2f85f78, rRange=..., bValidOnly=1 '\001') at /build/aoo/src/playground/trunk/main/sc/source/core/tool/token.cxx:1290 #2 0x00007f1c91e0be42 in ScTokenArray::IsValidReference (this=0x2f85f78, rRange=...) at /build/aoo/src/playground/trunk/main/sc/source/core/tool/token.cxx:1315 #3 0x00007f1c91df76ce in ScRangeData::IsValidReference (this=0x2f85f18, rRange=...) at /build/aoo/src/playground/trunk/main/sc/source/core/tool/rangenam.cxx:410 #4 0x00007f1c9177a29f in ScPosWnd::FillRangeNames (this=0x2ce32f0) at /build/aoo/src/playground/trunk/main/sc/source/ui/app/inputwin.cxx:1448 #5 0x00007f1c9177a643 in ScPosWnd::Notify (this=0x2ce32f0, rHint=...) at /build/aoo/src/playground/trunk/main/sc/source/ui/app/inputwin.cxx:1524 #6 0x00007f1cb5574136 in SfxBroadcaster::Broadcast(SfxHint const&) () from /home/ariel/aoo/openoffice.org3/program/../basis-link/program/libsvl.so #7 0x00007f1c9181fd1f in ScDocFunc::SetNewRangeNames (this=0x7fff342b2df0, pNewRanges=0x333ba68) at /build/aoo/src/playground/trunk/main/sc/source/ui/docshell/docfunc.cxx:4482 #8 0x00007f1c91adb8b0 in ScNamedRangeObj::Modify_Impl (this=0x333baf0, pNewRangeName=0x0, pNewTokens=0x0, pNewContent=0x7fff342b2ea0, pNewPos=0x0, pNewType=0x0, eGrammar= formula::FormulaGrammar::GRAM_PODF_A1, pNewScopeName=0x0) at /build/aoo/src/playground/trunk/main/sc/source/ui/unoobj/nameuno.cxx:192 #9 0x00007f1c91adbe45 in ScNamedRangeObj::setContent (this=0x333baf0, aContent="$ORG_BipoDiff.$B$8:$H$13") at /build/aoo/src/playground/trunk/main/sc/source/ui/unoobj/nameuno.cxx:265 The backtrace is always the same. The SC_HINT_AREAS_CHANGED is broadcaster asynchronously, the notified instance tries to access a dangling object. That said, I have no idea what that code does, so let's hope someone in the know fixes it. The crash is reproducible with latest trunk: r1402787 -- You are receiving this mail because: You are the assignee for the bug.
