Results 1 to 3 of 3

Thread: Breakpad does not produce dump files with 'release' build

  1. #1
    Join Date
    Jun 2012
    Posts
    63
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Breakpad does not produce dump files with 'release' build

    I've integrated breakpad into my program using instructions from here:

    https://github.com/JPNaude/dev_notes...eakpad-with-Qt

    It works but only for debug build. For release builds no dump file is written. Any idea why this is happening ?

    When crash occurs I can see line: 'BreakpadQt crash' printed on debug builds.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Breakpad does not produce dump files with 'release' build

    As written even on the page you linked to breakpad needs debug symbols to work.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2012
    Posts
    63
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Breakpad does not produce dump files with 'release' build

    Quote Originally Posted by wysota View Post
    As written even on the page you linked to breakpad needs debug symbols to work.
    Thanks for quick answer!

    Actually it seems that if I have code like:

    int *d;
    *d=5;
    delete d;
    delete d;

    no .dmp file is generated with release builds, breakpads' exception handler does not get caught I guess.

    But this kind of exception will get caught by breakpad and .dmp file is written even with release builds.

    model is of class: QStandardItemModel
    model->setItem(99999999, 0, 0);


    This is what gets printed with release build on output:

    Qt has caught an exception thrown from an event handler. Throwing
    exceptions from an event handler is not supported in Qt. You must
    reimplement QApplication::notify() and catch all exceptions there.

    BreakpadQt crash

Similar Threads

  1. QTL: Debug build faster than release build?
    By tuli in forum Qt Programming
    Replies: 4
    Last Post: 17th March 2013, 22:49
  2. Replies: 2
    Last Post: 3rd October 2011, 23:04
  3. Replies: 1
    Last Post: 15th August 2011, 23:26
  4. Problems with release build
    By murtuzakabul in forum Qt Programming
    Replies: 3
    Last Post: 12th March 2011, 07:41
  5. .png not displayed with release build
    By mnemonic_fx in forum Qt Tools
    Replies: 1
    Last Post: 5th July 2007, 09:41

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.