Results 1 to 2 of 2

Thread: error: Exception at 0x778f7ef8, code: 0xc0000138: , flags=0x1 (execution cannot be c

  1. #1
    Join Date
    Jul 2016
    Posts
    53
    Thanks
    13
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default error: Exception at 0x778f7ef8, code: 0xc0000138: , flags=0x1 (execution cannot be c

    :-1: error: Exception at 0x778f7ef8, code: 0xc0000138: , flags=0x1 (execution cannot be continued) (first chance) - Destructor
    Hi,

    i setup destructor to clear the objects and I am receiving this error.

    :-1: error: Exception at 0x778f7ef8, code: 0xc0000138: , flags=0x1 (execution cannot be continued) (first chance)



    Code snippets:



    HomeController .h
    -------
    class HomeController : public QObject

    {
    Q_OBJECT

    public:

    explicit HomeController (QObject *parent=0);

    ~HomeController();
    };


    HomeController::~HomeController()

    {


    }


    Thanks in advance.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: error: Exception at 0x778f7ef8, code: 0xc0000138: , flags=0x1 (execution cannot b

    i setup destructor to clear the objects and I am receiving this error.
    The code snippet shows exactly nothing related to the error. Your destructor does nothing to clear any "objects" - it is an empty method. The QObject destructor will also be called by your HomeController destructor, so you probably did something wrong before your code gets to the HomeController destructor to corrupt the QObject base class instance.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. The following user says thank you to d_stranz for this useful post:

    Mathan (23rd September 2016)

Similar Threads

  1. error execution
    By rafik in forum Qt Programming
    Replies: 5
    Last Post: 29th January 2016, 04:07
  2. App doesn't start on other machines. QtSql4.dll, exception code 0x0000005
    By Sacha_D in forum Installation and Deployment
    Replies: 2
    Last Post: 20th November 2012, 07:22
  3. Exception code c0000005 in QtWebKit4.dll
    By lukaslang in forum Qt Programming
    Replies: 3
    Last Post: 12th April 2011, 17:44
  4. Replies: 1
    Last Post: 2nd June 2010, 17:14
  5. Execution error
    By Shuchi Agrawal in forum Installation and Deployment
    Replies: 10
    Last Post: 9th February 2007, 13:12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.