Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #1816
Closed
Open
Issue created Oct 22, 2015 by Derek Bruening@derekbrueningContributor

gdb auto-debug script crashes gdb

> gdb --args bin32/drrun -loglevel 4 -c suite/tests/bin/libclient.drxmgr-test.dll.so -- suite/tests/bin/common.eflags
GNU gdb (GDB) Fedora 7.9.1-19.fc22
Copyright (C) 2015 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-redhat-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 bin32/drrun...Reading symbols from /work/dr/git/build_x86_dbg_tests/bin32/drrun.debug...done.
done.
warning: File "/work/dr/git/build_x86_dbg_tests/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/work/dr/git/src/tools".
To enable execution of this file add
        add-auto-load-safe-path /work/dr/git/build_x86_dbg_tests/.gdbinit
line to your configuration file "/home/walnut/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/walnut/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"
(gdb) run
Starting program: /work/dr/git/build_x86_dbg_tests/bin32/drrun -loglevel 4 -c suite/tests/bin/libclient.drxmgr-test.dll.so -- suite/tests/bin/common.eflags
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.21-8.fc22.i686
process 18451 is executing new program: /work/dr/git/build_x86_dbg_tests/lib32/debug/libdynamorio.so.6.0
Loading gdb scripts for debugging DynamoRIO...
<log dir=/work/dr/git/build_x86_dbg_tests/bin32/../logs/common.eflags.18451.00000000>
Executing gdb command: add-symbol-file '/work/dr/git/build_x86_dbg_tests/suite/tests/bin/libclient.drxmgr-test.dll.so' 0xf778c770
<Starting application /work/dr/git/build_x86_dbg_tests/suite/tests/bin/common.eflags (18451)>
Executing gdb command: add-symbol-file '/work/dr/git/build_x86_dbg_tests/lib32/debug/libdynamorio.so' 0xf7013c0c
Segmentation fault (core dumped)
Assignee
Assign to
Time tracking