whello! when in project-neon-5 i try to debug a crash in gdb i get the following output in konsole, which dr. konqi opens: GNU gdb (Ubuntu 7.7.1-0ubuntu4) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/project-neon5/bin/plasmashell...Reading symbols from /usr/lib/debug//opt/project-neon5/bin/plasmashell...done. done. Attaching to program: /opt/project-neon5/bin/plasmashell, process 2664 Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operation not permitted. (gdb) ----------------------------- nice day! Simon :)
what i wanted to sday is: dr.konqi DOES NOT open as root, and/or you click on "debugi n gdb" the window for passowrd to enter root privledges should open but doesnt... nice day Simon:)
(In reply to Simon Andric from comment #1) > what i wanted to sday is: dr.konqi DOES NOT open as root, and/or you click > on "debugi n gdb" the window for passowrd to enter root privledges should > open but doesnt... Why would drkonqi run as root?
hello! if i quote my first comment: ...Attaching to program: /opt/project-neon5/bin/plasmashell, process 2664 Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operation not permitted.... i believe gdb needs for a root privledge.... but never asks to enter the password... and thats why then gdb doesnt process the error... maybe im mistaken.... but the message seemed to me that way... thank you for your reply! nice day simon
(In reply to Simon Andric from comment #3) > hello! > > if i quote my first comment: > > ...Attaching to program: /opt/project-neon5/bin/plasmashell, process 2664 > Could not attach to process. If your uid matches the uid of the target > process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try > again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf > ptrace: Operation not permitted.... > > > i believe gdb needs for a root privledge.... This is specific to your distro: http://askubuntu.com/questions/41629/after-upgrade-gdb-wont-attach-to-process