Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Strange gdb effect :: DebugRun & ReleaseRun have strange behaviour in threaded mtcnn All test in Relase mode

Strange gdb effect :: DebugRun & ReleaseRun have strange behaviour in threaded mtcnn All test in Relase mode

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 733 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by RahibeMeryem
    #1

    Hi,

    My program using multi threaded face detection via opencv. There is a very strange behaviour.

    when I run the program the mtcnn loading the models files correctly and boxing the faces

    but in release mode same code same machine does not loading the models file and not boxing the faces . ?

    What could be different between these release and debug modes ?

    jsulmJ 1 Reply Last reply
    0
    • R RahibeMeryem

      Hi,

      My program using multi threaded face detection via opencv. There is a very strange behaviour.

      when I run the program the mtcnn loading the models files correctly and boxing the faces

      but in release mode same code same machine does not loading the models file and not boxing the faces . ?

      What could be different between these release and debug modes ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @RahibeMeryem said in Debug & Release have strange behaviour in threaded mtcnn:

      What could be different between these release and debug modes ?

      Debug and release version of the libraries you're using.
      Do you use release builds of your libs when using release build of your app?

      And which platform and Qt version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply
      2
      • R Offline
        R Offline
        RahibeMeryem
        wrote on last edited by RahibeMeryem
        #3

        @jsulm Qt5.12.2 is the Qt version

        and both are using the System Environment . this makes me crazy ..

        same executable in the Qt creator . when I hit Green run button mtcnn not boxing the face,

        same executable if I hit the Green with the debug ikon run button its working ?

        it looks difference is the debugger attachment.

        whet I build the app debug or release mode same behaiviour as above.

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @RahibeMeryem said in Debug & Release have strange behaviour in threaded mtcnn:

          What could be different between these release and debug modes ?

          Debug and release version of the libraries you're using.
          Do you use release builds of your libs when using release build of your app?

          And which platform and Qt version?

          R Offline
          R Offline
          RahibeMeryem
          wrote on last edited by
          #4

          @jsulm

          what is the running gdb mechanism on the Qtcreator ?

          If I run the program through clicking Debug in Release mode my app working and drawing faceboxes.

          But when I just hit Run icon its not.

          How the gdb makes it working ? is it library and environment issue I think. How can I get full command line which Qtcreator executing when hitting the DebugRun ? any idea ?

          jsulmJ 1 Reply Last reply
          0
          • R RahibeMeryem

            @jsulm

            what is the running gdb mechanism on the Qtcreator ?

            If I run the program through clicking Debug in Release mode my app working and drawing faceboxes.

            But when I just hit Run icon its not.

            How the gdb makes it working ? is it library and environment issue I think. How can I get full command line which Qtcreator executing when hitting the DebugRun ? any idea ?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @RahibeMeryem Is there any output in the Application Output tab in QtCreator if the app is not working properly?
            Also you can compare your debug and release configurations in the Kit you're using.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RahibeMeryem
              wrote on last edited by
              #6

              I found the solution to use linuxqtdeploy to use same library base.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved