gdb-dashboard: Segmentation fault on printing objects

I am trying to debug MongoDB built from source, which is a very large binary. When I run gdb with dashboard, I am able to run the mongod program just fine, but when it reaches my breakpoint, it prints about half of the modules and then crashes with a segmentation fault. I have confirmed both that my gdb config works just fine on a smaller binary, and that gdb without dashboard works just fine on mongod.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 23 (15 by maintainers)

Most upvoted comments

OK at least I can reproduce the segmentation fault, let me look into this.

Actually, try it without the flag --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars

It works!