Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21514

GDB engine needs 2-3 minutes to first show local variables in qt_memfill24_ssse3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.8.0-beta1, Qt Creator 4.9.0-beta1
    • Debugger
    • openSUSE Tumbleweed, GDB 8.2 linked to libpython 3.6.5, running on a Core i7-6560U

    Description

      When stopping with a breakpoint on function qt_memfill24_ssse3 (see https://codereview.qt-project.org/244656), GDB needs 2-3 minutes to run the Python dumper script.

      Log:

      638^done
      
      >&"python theDumper.fetchVariables({\"autoderef\":1,\"context\":\"\",\"displaystringlimit\":\"100\",\"dyntype\":1,\"expanded\":[\"inspect\",\"watch\",\"local\",\"return\"],\"fancy\":1,\"formats\":{},\"nativemixed\":0,\"partialvar\":\"\",\"passexceptions\":0,\"qobjectnames\":1,\"resultvarname\":\"\",\"stringcutoff\":\"10000\",\"token\":639,\"typeformats\":{},\"watchers\":[]})\n"
      
      d639: python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["inspect","watch","local","return"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":639,"typeformats":{},"watchers":[]})
      dTIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS: "python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["inspect","watch","local","return"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":639,"typeformats":{},"watchers":[]})"
      
      dCONTINUE DEBUGGER AS REQUESTED BY USER
      
      >~"result={token=\"0\",data=[{iname=\"local.dest\",name=\"dest\",origaddr=\"0x7fffffffc418\",address=\"0x5b8cd0\",address=\"0x5b8cd0\",numchild=\"1\",type=\"quint24\",value=\"\",},{iname=\"local.color\",name=\"color\",address=\"0x7fffffffc410\",numchild=\"1\",type=\"quint24\",value=\"\",},{iname=\"local.count\",name=\"count\",numchild=\"0\",type=\"qsizetype\",value=\"10000\",},{iname=\"local.v\",name=\"v\",numchild=\"0\",type=\"quint32\",value=\"0\",},{iname=\"local.m\",name=\"m\",address=\"0x7fffffffc640\",type=\"__m128i\",value=\"0000:0000:0000:0000:0000:0000:0000:0000\",},{iname=\"local.end\",name=\"end\",origaddr=\"0x7fffffffc638\",address=\"0x5c0200\",address=\"0x5c0200\",numchild=\"1\",type=\"quint24\",value=\"\",},{iname=\"local.x\",name=\"x\",numchild=\"0\",type=\"uchar\",value=\"2\",},{iname=\"local.y\",name=\"y\",numchild=\"0\",type=\"uchar\",value=\"1\",},{iname=\"local.z\",name=\"z\",numchild=\"0\",type=\"uchar\",value=\"0\",},{iname=\"local.shuffleMask\",name=\"shuffleMask\",address=\"0x7ffff73ab770\",numchild=\"17\",type=\"uchar[17]\",value=\"@0x7ffff73ab770\",},{iname=\"local.mval1\",name=\"mval1\",address=\"0x7fffffffc450\",type=\"__m128i\",value=\"0000:0000:0000:0000:0000:0000:0000:0000\",},{iname=\"local.mval2\",name=\"mval2\",address=\"0x7fffffffc440\",type=\"__m128i\",value=\"5e04:043d:306e:5d60:6c6d:6462:5e00:2635\",},{iname=\"local.mval3\",name=\"mval3\",address=\"0x7fffffffc620\",type=\"__m128i\",value=\"0000:0000:0000:0000:0000:0000:0000:0000\",},{iname=\"local.ptr\",name=\"ptr\",origaddr=\"0x7fffffffc618\",address=\"0x0\",numchild=\"0\",type=\"uchar*\",value=\"0x0\",},{iname=\"local.ptr_end\",name=\"ptr_end\",origaddr=\"0x7fffffffc610\",address=\"0x0\",numchild=\"0\",type=\"uchar*\",value=\"0x0\",},{iname=\"local.left\",name=\"left\",numchild=\"0\",type=\"qptrdiff\",value=\"0\",},],typeinfo=[],partial=\"0\",counts={},timings=[]}\n"
      >639^done
       <Rebuild Watchmodel 72 @ 13:20:33.402 [137581ms] >
       Finished retrieving data
      

      GDB is not stuck waiting: top shows it's at 100% CPU all the time.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes