Results 1 to 5 of 5

Thread: App Crash on Start-up

  1. #1
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default App Crash on Start-up

    Hi guys. I'm having trouble with my application. My code works well as it compiles smoothly without any error upon build. However, when I tried to run the .exe file I get a crash message.

    I'm on Windows XP SP2 and this is the error that I get.


    How can I trace what the source of the crash is? BTW, I have other Qt projects which works fine - only this specific app crashes. TIA.

  2. #2
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: App Crash on Start-up

    Hi freekill.

    It's hard to tell without any peace of code, it could lots of things, are you triyng to use some pointers without allocating them ? You shoud debug your aplication to see what line it's causing the crash.
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  3. #3
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: App Crash on Start-up

    Hi John. I sure can tell I'm using a lot of pointers since I'm communicating between threads. I currently have 3 threads working on the application. I have a producer thread (I call this capturing thread since it's job is to capture images from webcam), I also have a separate processing thread (called this one computing thread) and the main thread to handle my GUI events. Here's the compiled codes. It's starting to be a big application but there's still a lot to do about it but it should at least work right now. Again, TIA.
    Attached Files Attached Files

  4. #4
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: App Crash on Start-up

    Here are the other files.
    Attached Files Attached Files

  5. #5
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: App Crash on Start-up

    Did you try to use debugger to find out where the problem is?
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

Similar Threads

  1. Crash: Heap corruption due to selectedRows()
    By Ankitha Varsha in forum Qt Programming
    Replies: 16
    Last Post: 1st October 2010, 00:55
  2. QString comparison gives wierd crash
    By supergillis in forum Qt Programming
    Replies: 0
    Last Post: 1st June 2009, 22:09
  3. Crash in QTableWidget
    By ghorwin in forum Qt Programming
    Replies: 3
    Last Post: 29th October 2007, 16:57
  4. Questions about kill() and start() of QProcess
    By mp33919 in forum Qt Programming
    Replies: 5
    Last Post: 23rd June 2007, 13:00
  5. Replies: 5
    Last Post: 24th April 2006, 15:42

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.