Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7094

Double tab completion causes crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 6.04.00, 6.02/08
    • 6.04.00
    • Core Libraries
    • None
    • Linux

    Description

      TH1F *h = new TH1F("h","h",100,0,10) 
      h->GetXaxis()->SetTi

      and press tab twice results in

      #10 0x0000000000000000 in ?? ()
      #11 0x00007febfa91e121 in TIter::TIter (this=0x308fa30, col=0x2f289c0, dir=true) at include/TCollection.h:152
      #12 0x00007febfaa7a221 in TViewPubDataMembersIter::Next (this=0x308fa10) at /home/axel/build/root/trunk/src/core/meta/src/TViewPubDataMembers.cxx:427
      #13 0x00007febfa91e1f3 in TIter::Next (this=0x7fff84997fa0) at include/TCollection.h:158
      #14 0x00007febfa91e165 in TIter::operator() (this=0x7fff84997fa0) at include/TCollection.h:157
      #15 0x00007febfa490c07 in TTabCom::MakeClassFromVarName (this=0x2c82f30, varName=0x305da50 "h->GetXaxis()", context=
      0x7fff849983a8: TTabCom::kCXX_IndirectMember, iter=1) at /home/axel/build/root/trunk/src/core/rint/src/TTabCom.cxx:2302
      #16 0x00007febfa490b34 in TTabCom::MakeClassFromVarName (this=0x2c82f30, varName=0x2e5f400 "h->GetXaxis()->SetTi", context=
      0x7fff84999820: TTabCom::kCXX_IndirectMember, iter=0) at /home/axel/build/root/trunk/src/core/rint/src/TTabCom.cxx:2283
      #17 0x00007febfa48e0c4 in TTabCom::Hook (this=0x2c82f30, buf=0x2c7ef20 "h->GetXaxis()->SetTi", pLoc=0x7fff84999bcc, out=...) at /home/axel/build/root/trunk/src/core/rint/src/TTabCom.cxx:1775
      #18 0x00007febfa482c07 in TRint::TabCompletionHook (this=0x1c4a950, buf=0x2c7ef20 "h->GetXaxis()->SetTi", pLoc=0x7fff84999bcc, out=...) at /home/axel/build/root/trunk/src/core/rint/src/TRint.cxx:749
      #19 0x00007febfaabd834 in (anonymous namespace)::ROOTTabCompletion::Complete (this=0x7febfae1f678 <(anonymous namespace)::TextInputHolder::getHolder()::sTIHolder+112>, line=..., cursor=
      0x7fff8499a268: 20, r=..., displayCompletions=...) at /home/axel/build/root/trunk/src/core/textinput/src/Getline.cxx:51

      Attachments

        Activity

          People

            esakella Elissavet Sakellari (Inactive)
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: