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

Using openCV, timed out waiting for gdb reply

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.1
    • Debugger

    Description

      This very simple code

      #include <opencv2/core/core.hpp>
      
      int main()
      {
          while (1)
          {
              cv::Point2d a(0.0,0.0);
              cv::Point2d b(1.0,1.0);
              a = a + b;
              cv::Mat flipImg;
          }
          return 0;
      }

      is compiled with this command line,

      g++ -I/usr/local/include/opencv2 -L/usr/local/lib/ -g -o exec.x main.cpp -lopencv_core -std=c++11
      

      on Ubuntu 14.04, with gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3).

      After executing exec.x, I do "Attach to running application" in qtcreator and I select the process.

      The GNU gdb version is (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1

      I set a breakpoint inside the While and I iterate over the lines using F10. I get the bug when trying to go from line a = a + b; to line cv::Mat flipImg;.

      Attachments

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

        Activity

          People

            hjk hjk
            yvon yvon kerdoncuff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes