terry@debian-wheezy:~$ gdb $( cat ./lo_hacking/forrunning )/instdir/program/soffice.bin core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/terry/lo_hacking/git/libo4/instdir/program/soffice.bin...done. [New LWP 4582] [New LWP 4583] [New LWP 4586] [New LWP 4587] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/terry/lo_hacking/git/libo4/instdir/program/soffice.bin -env:UserInstallat'. Program terminated with signal 11, Segmentation fault. #0 0x00007f9f9450d4f0 in formula::FormulaTokenIterator::GetNonEndOfPathToken ( this=0x92bdd00, nIdx=0) at /home/terry/lo_hacking/git/libo4/formula/source/core/api/token.cxx:1328 1328 const FormulaToken* t = pCur->pArr->pRPN[ nIdx ]; (gdb) set pagination off (gdb) info threads Id Target Id Frame 4 Thread 0x7f9f9dfd1700 (LWP 4587) 0x00007f9fb3e12e33 in poll () from /lib/x86_64-linux-gnu/libc.so.6 3 Thread 0x7f9f9cf84700 (LWP 4586) 0x00007f9fb3e1e6cd in accept () from /lib/x86_64-linux-gnu/libc.so.6 2 Thread 0x7f9fa39e0700 (LWP 4583) 0x00007f9fb3b3264b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 * 1 Thread 0x7f9fb46d47e0 (LWP 4582) 0x00007f9f9450d4f0 in formula::FormulaTokenIterator::GetNonEndOfPathToken (this=0x92bdd00, nIdx=0) at /home/terry/lo_hacking/git/libo4/formula/source/core/api/token.cxx:1328 (gdb) backtrace #0 0x00007f9f9450d4f0 in formula::FormulaTokenIterator::GetNonEndOfPathToken (this=0x92bdd00, nIdx=0) at /home/terry/lo_hacking/git/libo4/formula/source/core/api/token.cxx:1328 #1 0x00007f9f9450d31f in formula::FormulaTokenIterator::Next (this=0x92bdd00) at /home/terry/lo_hacking/git/libo4/formula/source/core/api/token.cxx:1283 #2 0x00007f9f95958aa5 in ScInterpreter::Interpret (this=0x92bdd00) at /home/terry/lo_hacking/git/libo4/sc/source/core/tool/interpr4.cxx:3820 #3 0x00007f9f9576b2e8 in ScFormulaCell::InterpretTail (this=0x35be680, eTailParam=ScFormulaCell::SCITP_NORMAL) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/formulacell.cxx:1573 #4 0x00007f9f95769ffc in ScFormulaCell::Interpret (this=0x35be680) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/formulacell.cxx:1303 #5 0x00007f9f9576d580 in ScFormulaCell::MaybeInterpret (this=0x35be680) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/formulacell.cxx:2081 #6 0x00007f9f9576d6da in ScFormulaCell::IsValue (this=0x35be680) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/formulacell.cxx:2112 #7 0x00007f9f9540b4e4 in (anonymous namespace)::hasStringImpl (eType=CELLTYPE_FORMULA, pFormula=0x35be680) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/cellvalue.cxx:138 #8 0x00007f9f9540c66c in ScRefCellValue::hasString (this=0x7fff772b3f48) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/cellvalue.cxx:558 #9 0x00007f9f955b031e in ScCellIterator::hasString (this=0x7fff772b3ea0) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/dociter.cxx:996 #10 0x00007f9f958b0b46 in ScCompiler::IsColRowName (this=0x7fff772b7670, rName="BAR_STYLE") at /home/terry/lo_hacking/git/libo4/sc/source/core/tool/compiler.cxx:3081 #11 0x00007f9f958b30b1 in ScCompiler::NextNewToken (this=0x7fff772b7670, bInArray=false) at /home/terry/lo_hacking/git/libo4/sc/source/core/tool/compiler.cxx:3571 #12 0x00007f9f958b413d in ScCompiler::CompileString (this=0x7fff772b7670, rFormula="=OFFSET(#REF!,#REF!,0)&T(STYLE(OFFSET(bar_style!topgm,#REF!,0)))") at /home/terry/lo_hacking/git/libo4/sc/source/core/tool/compiler.cxx:3686 #13 0x00007f9f95768a47 in ScFormulaCell::Compile (this=0x3449050, rCxt=..., rFormula="=OFFSET(#REF!,#REF!,0)&T(STYLE(OFFSET(bar_style!topgm,#REF!,0)))", bNoListening=false) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/formulacell.cxx:1018 #14 0x00007f9f95771e8a in ScFormulaCell::CompileNameFormula (this=0x3449050, rCxt=..., bCreateFormulaString=false) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/formulacell.cxx:3449 #15 0x00007f9f9552c991 in (anonymous namespace)::CompileNameFormulaHandler::operator() (this=0x7fff772b8330, p=0x3449050) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/column2.cxx:3036 #16 0x00007f9f95532794 in sc::EachElem, __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator > >, std::__debug::vector > >, mdds::__mtv::iterator_value_node, {anonymous}::CompileNameFormulaHandler>(mdds::__mtv::iterator_value_node &, (anonymous namespace)::CompileNameFormulaHandler &) (rNode=..., rFuncElem=...) at /home/terry/lo_hacking/git/libo4/sc/inc/mtvfunctions.hxx:120 #17 0x00007f9f955306d1 in sc::ProcessElements1, mdds::mtv::noncopyable_managed_element_block<53, EditTextObject>, mdds::mtv::noncopyable_managed_element_block<54, ScFormulaCell> > >, mdds::mtv::noncopyable_managed_element_block<54, ScFormulaCell>, {anonymous}::CompileNameFormulaHandler, sc::FuncElseNoOp >(mdds::multi_type_vector, mdds::mtv::noncopyable_managed_element_block<53, EditTextObject>, mdds::mtv::noncopyable_managed_element_block<54, ScFormulaCell> > > &, (anonymous namespace)::CompileNameFormulaHandler &, sc::FuncElseNoOp &) (rStore=..., rFuncElem=..., rFuncElse=...) at /home/terry/lo_hacking/git/libo4/sc/inc/mtvfunctions.hxx:311 #18 0x00007f9f9552edba in sc::ProcessFormula<{anonymous}::CompileNameFormulaHandler>(sc::CellStoreType &, (anonymous namespace)::CompileNameFormulaHandler &) (rStore=..., rFunc=...) at /home/terry/lo_hacking/git/libo4/sc/inc/mtvcellfunc.hxx:22 #19 0x00007f9f9552cad4 in ScColumn::CompileNameFormula (this=0x7f9f91c66c70, rCxt=..., bCreateFormulaString=false) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/column2.cxx:3071 #20 0x00007f9f95811da6 in ScTable::CompileNameFormula (this=0x7f9f91c66010, rCxt=..., bCreateFormulaString=false) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/table4.cxx:2190 #21 0x00007f9f955fdfe8 in ScDocument::CompileNameFormula (this=0x2a873c8, bCreateFormulaString=false) at /home/terry/lo_hacking/git/libo4/sc/source/core/data/documen4.cxx:569 #22 0x00007f9f95cc621d in ScDocFunc::SetNewRangeNames (this=0x2a89f40, pNewRanges=0x30ee280, bModifyDoc=true, nTab=-1) at /home/terry/lo_hacking/git/libo4/sc/source/ui/docshell/docfunc.cxx:4892 #23 0x00007f9f95cc5fc3 in ScDocFunc::ModifyRangeNames (this=0x2a89f40, rNewRanges=..., nTab=-1) at /home/terry/lo_hacking/git/libo4/sc/source/ui/docshell/docfunc.cxx:4852 #24 0x00007f9f95cc7029 in ScDocFunc::CreateNames (this=0x2a89f40, rRange=..., nFlags=8, bApi=false, aTab=-1) at /home/terry/lo_hacking/git/libo4/sc/source/ui/docshell/docfunc.cxx:5074 #25 0x00007f9f9614d1d9 in ScViewFunc::CreateNames (this=0x33e8680, nFlags=8) at /home/terry/lo_hacking/git/libo4/sc/source/ui/view/viewfunc.cxx:2799 #26 0x00007f9f95fe6937 in ScCellShell::ExecuteEdit (this=0x757c5f0, rReq=...) at /home/terry/lo_hacking/git/libo4/sc/source/ui/view/cellsh1.cxx:1776 #27 0x00007f9f95fdac43 in SfxStubScCellShellExecuteEdit (pShell=0x757c5f0, rReq=...) at /home/terry/lo_hacking/git/libo4/workdir/SdiTarget/sc/sdi/scslots.hxx:7052 #28 0x00007f9fb1483758 in SfxShell::CallExec (this=0x757c5f0, pFunc=0x7f9f95fdac20 , rReq=...) at /home/terry/lo_hacking/git/libo4/include/sfx2/shell.hxx:181 #29 0x00007f9fb17da35e in SfxDispatcher::Call_Impl (this=0x6834ac0, rShell=..., rSlot=..., rReq=..., bRecord=1 '\001') at /home/terry/lo_hacking/git/libo4/sfx2/source/control/dispatch.cxx:310 #30 0x00007f9fb17dd0b3 in SfxDispatcher::_Execute (this=0x6834ac0, rShell=..., rSlot=..., rReq=..., eCallMode=4) at /home/terry/lo_hacking/git/libo4/sfx2/source/control/dispatch.cxx:987 #31 0x00007f9fb145cf8d in SfxBindings::Execute_Impl (this=0x811f390, aReq=..., pSlot=0x7f9f96c44f08, pShell=0x757c5f0) at /home/terry/lo_hacking/git/libo4/sfx2/source/control/bindings.cxx:1290 #32 0x00007f9fb14c0e76 in SfxDispatchController_Impl::dispatch (this=0x31fb0d0, aURL=..., aArgs=empty uno::Sequence, rListener=empty uno::Reference) at /home/terry/lo_hacking/git/libo4/sfx2/source/control/unoctitm.cxx:734 #33 0x00007f9fb14bf209 in SfxOfficeDispatch::dispatch (this=0x31fcb10, aURL=..., aArgs=empty uno::Sequence) at /home/terry/lo_hacking/git/libo4/sfx2/source/control/unoctitm.cxx:359 #34 0x00007f9f997164f9 in framework::MenuBarManager::Select (this=0x2b4b630, pMenu=0x912b2e0) at /home/terry/lo_hacking/git/libo4/framework/source/uielement/menubarmanager.cxx:1088 #35 0x00007f9f9971608f in framework::MenuBarManager::LinkStubSelect (pThis=0x2b4b630, pCaller=0x912b2e0) at /home/terry/lo_hacking/git/libo4/framework/source/uielement/menubarmanager.cxx:1024 #36 0x00007f9fae508864 in Link::Call (this=0x912b348, pCaller=0x912b2e0) at /home/terry/lo_hacking/git/libo4/include/tools/link.hxx:123 #37 0x00007f9faea10fa3 in Menu::Select (this=0x912b2e0) at /home/terry/lo_hacking/git/libo4/vcl/source/window/menu.cxx:1154 #38 0x00007f9faea18652 in Menu::ImplCallSelect (this=0x912b2e0) at /home/terry/lo_hacking/git/libo4/vcl/source/window/menu.cxx:3007 #39 0x00007f9faea18619 in Menu::LinkStubImplCallSelect (pThis=0x912b2e0, pCaller=0x0) at /home/terry/lo_hacking/git/libo4/vcl/source/window/menu.cxx:3004 #40 0x00007f9fae508864 in Link::Call (this=0x544ec40, pCaller=0x0) at /home/terry/lo_hacking/git/libo4/include/tools/link.hxx:123 #41 0x00007f9faeaec337 in ImplHandleUserEvent (pSVEvent=0x30cc5a0) at /home/terry/lo_hacking/git/libo4/vcl/source/window/winproc.cxx:1938 #42 0x00007f9faeaed831 in ImplWindowFrameProc (pWindow=0x27d4480, nEvent=22, pEvent=0x30cc5a0) at /home/terry/lo_hacking/git/libo4/vcl/source/window/winproc.cxx:2549 #43 0x00007f9faeafc019 in SalFrame::CallCallback (this=0x27d5450, nEvent=22, pEvent=0x30cc5a0) at /home/terry/lo_hacking/git/libo4/vcl/inc/salframe.hxx:243 #44 0x00007f9faeafbb42 in SalGenericDisplay::DispatchInternalEvent (this=0x2667ec0) at /home/terry/lo_hacking/git/libo4/vcl/generic/app/gendisp.cxx:91 #45 0x00007f9fa2f1849d in GtkData::userEventFn (data=0x1b55b60) at /home/terry/lo_hacking/git/libo4/vcl/unx/gtk/app/gtkdata.cxx:937 #46 0x00007f9fa2f184f8 in call_userEventFn (data=0x1b55b60) at /home/terry/lo_hacking/git/libo4/vcl/unx/gtk/app/gtkdata.cxx:947 #47 0x00007f9faa634355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #48 0x00007f9faa634688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #49 0x00007f9faa634744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #50 0x00007f9fa2f173f1 in GtkData::Yield (this=0x1b55b60, bWait=true, bHandleAllCurrentEvents=false) at /home/terry/lo_hacking/git/libo4/vcl/unx/gtk/app/gtkdata.cxx:577 #51 0x00007f9fa2f1b3c6 in GtkInstance::Yield (this=0x1b55aa0, bWait=true, bHandleAllCurrentEvents=false) at /home/terry/lo_hacking/git/libo4/vcl/unx/gtk/app/gtkinst.cxx:426 #52 0x00007f9fae52f1e6 in ImplYield (i_bWait=true, i_bAllEvents=false) at /home/terry/lo_hacking/git/libo4/vcl/source/app/svapp.cxx:363 #53 0x00007f9fae52b88f in Application::Yield () at /home/terry/lo_hacking/git/libo4/vcl/source/app/svapp.cxx:395 #54 0x00007f9fae52b83d in Application::Execute () at /home/terry/lo_hacking/git/libo4/vcl/source/app/svapp.cxx:344 #55 0x00007f9fb40e831c in desktop::Desktop::Main (this=0x7fff772bbc50) at /home/terry/lo_hacking/git/libo4/desktop/source/app/app.cxx:1680 #56 0x00007f9fae534b73 in ImplSVMain () at /home/terry/lo_hacking/git/libo4/vcl/source/app/svmain.cxx:157 #57 0x00007f9fae534c73 in SVMain () at /home/terry/lo_hacking/git/libo4/vcl/source/app/svmain.cxx:193 #58 0x00007f9fb412ae3d in soffice_main () at /home/terry/lo_hacking/git/libo4/desktop/source/app/sofficemain.cxx:85 #59 0x0000000000400918 in sal_main () at /home/terry/lo_hacking/git/libo4/desktop/source/app/main.c:48 #60 0x00000000004008f9 in main (argc=4, argv=0x7fff772bbf98) at /home/terry/lo_hacking/git/libo4/desktop/source/app/main.c:47 (gdb)