Results 1 to 2 of 2

Thread: How to obain segfault backtrace of QML app

  1. #1
    Join Date
    Apr 2014
    Posts
    125
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Question How to obain segfault backtrace of QML app

    Hello

    I have compiled qt from the sources using ./configure -release -force-debug-info
    Then I added CONFIG+= debug in my myapp.pro
    How can I print the segfault backtrace of my applicaiton to see where it is crashing:
    - when the main.qml is started from qmlscene
    - when the app is standalone i.e. started as ./myapp

    Thanks

    Mut

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to obain segfault backtrace of QML app

    You either run the application in the debugger or you analyize the dumped core (at least on Linux).

    Just to be sure: you have C++ based QML types that segfault, right?

    Cheers,
    _

Similar Threads

  1. Segfault
    By Dumbledore in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 07:31
  2. Backtrace to be read
    By mtrpoland in forum Qt Programming
    Replies: 1
    Last Post: 29th September 2007, 21:13
  3. backtrace and unwind with c++
    By TheRonin in forum General Programming
    Replies: 4
    Last Post: 11th July 2007, 16:27
  4. Replies: 4
    Last Post: 19th May 2007, 14:10
  5. segfault
    By conexion2000 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2006, 12:34

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.