Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-16613

debugger produces endless SIGSEGV messages when debug symbols refer to non-existent source files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Not Evaluated
    • Resolution: Done
    • Qt Creator 3.5.1, Qt Creator 4.0.3
    • Qt Creator 4.2.1
    • Debugger
    • None
    • Ubuntu 16.04 on x86_64, Qt 5.7, qtcreator 3.5.1 (from standard Ubuntu repos), and downloaded qtcreator 4.0.3 installed into home directory
    • 26331f771a48f8123d2106b5e3c9ecf95a24a32e et al

    Description

      I have a project built against libqjson0 (Ubuntu 16.04), which has the -dev and -dbg packages also installed. When debugging, an error in this qjson library causes causes a segmentation fault that repeatedly and endlessly produces new SIGSEGV dialog windows that eventually completely hang my X server such that I have to kill the whole Xorg process and re-login to a new session.

      I then used qmake command line tools to build the project and then debug it with gdb. gdb correctly stops on the line causing the seg fault specified by the debug symbols of the qjson library, however gdb is unable to locate the source file indicated. It appears the qjson debug symbols have a non-portable path for the qt base source files.

      qtcreator should not go into an endless loop which causes system-wide problems in the event the debug symbols point to an incorrect source code path when a runtime error occurs.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            jhemsing James Hemsing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes