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

debugging with run in terminal fails with restricted ptrace on ubuntu 10.10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.1.0
    • Debugger
    • None

      ptrace is restricted on hardened linux to child processes. this effectively disallows gdb --pid
      unfortunately mainstream distros (ubuntu 10.10) go for hardened now.
      creator should preload some code into the debugee that does something like http://websvn.kde.org/trunk/KDE/kdelibs/kdeui/util/kcrash.cpp?r1=1206730&r2=1206729&pathrev=1206730
      note that the code is wrong. You must not use undefined ptrace request values. Howeber, It is possibly they did this to work around missaligned kernel header vs kernel version packages in ubuntu.

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

            hjk hjk
            aep Arvid Picciani (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes