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. 0xc0000135 only when I use "Release"

0xc0000135 only when I use "Release"

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 4 Posters 553 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.
  • J Offline
    J Offline
    jrod2much
    wrote on last edited by
    #1

    Hello,

    When I build and run Qt in debug deployment mode, my program runs fine. However, when I run it with the release deployment mode, I get the 0xc0000135 error. Please help me, Thank you.
    Juan

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • J jrod2much

      Hello,

      When I build and run Qt in debug deployment mode, my program runs fine. However, when I run it with the release deployment mode, I get the 0xc0000135 error. Please help me, Thank you.
      Juan

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

      @jrod2much Check whether you have a mix of debug and release libraries in your deployment folder

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

      1 Reply Last reply
      4
      • J jrod2much

        Hello,

        When I build and run Qt in debug deployment mode, my program runs fine. However, when I run it with the release deployment mode, I get the 0xc0000135 error. Please help me, Thank you.
        Juan

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by J.Hilk
        #3

        @jrod2much make sure you initialize all variables correctly, and pointers to nullptr's.
        The debuger/debug build does a lot of that internally, and that, - more often than not - results in a different behaviour between debug and release.


        edit:
        Race Conditions may also be a thing, theres a destinct difference in how code is executed between debug and release!


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        J JonBJ 2 Replies Last reply
        5
        • J.HilkJ J.Hilk

          @jrod2much make sure you initialize all variables correctly, and pointers to nullptr's.
          The debuger/debug build does a lot of that internally, and that, - more often than not - results in a different behaviour between debug and release.


          edit:
          Race Conditions may also be a thing, theres a destinct difference in how code is executed between debug and release!

          J Offline
          J Offline
          jrod2much
          wrote on last edited by
          #4

          @J.Hilk That is exactly what is happening, Thank you very much!

          1 Reply Last reply
          1
          • J.HilkJ J.Hilk

            @jrod2much make sure you initialize all variables correctly, and pointers to nullptr's.
            The debuger/debug build does a lot of that internally, and that, - more often than not - results in a different behaviour between debug and release.


            edit:
            Race Conditions may also be a thing, theres a destinct difference in how code is executed between debug and release!

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @J.Hilk

            Race Conditions may also be a thing, theres a destinct difference in how code is executed between debug and release!

            I trust this comment refers to timing differences only --- you don't mean that debug/release Qt code go about things in a different way, do you?

            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