Skip to content

Instantly share code, notes, and snippets.

@Haroperi
Created September 27, 2013 01:21
Show Gist options
  • Save Haroperi/6722957 to your computer and use it in GitHub Desktop.
Save Haroperi/6722957 to your computer and use it in GitHub Desktop.
[~/work/now/mlr/third_party/dtm_release/dtm]$ gdb main haro@harombp 2013/09/27 10:19:13
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ..... done
(gdb) run
Starting program: /Users/haro/work/now/mlr/third_party/dtm_release/dtm/main
Reading symbols for shared libraries ++++. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xffffffffffffffe8
0x00007fff864e768a in std::ostream::sentry::sentry ()
(gdb) thread apply all info stack
Thread 1 (process 98293):
#0 0x00007fff864e768a in std::ostream::sentry::sentry ()
#1 0x00007fff864e7b0d in std::__ostream_insert<char, std::char_traits<char> > ()
#2 0x00007fff864e7c58 in std::operator<< <std::char_traits<char> > ()
#3 0x0000000100002d92 in google::FlagsTypeWarn ()
#4 0x0000000100002660 in __cxx_global_var_init31 ()
#5 0x0000000100002cca in global constructors keyed to a ()
#6 0x00007fff5fc0d510 in __dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE ()
#7 0x00007fff5fc0bcfc in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#8 0x00007fff5fc0bdb6 in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#9 0x00007fff5fc0211a in __dyld__ZN4dyld24initializeMainExecutableEv ()
#10 0x00007fff5fc06996 in __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ ()
#11 0x00007fff5fc016de in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKcl ()
#12 0x00007fff5fc01052 in __dyld__dyld_start ()
(gdb) The program is running. Exit anyway? (y or n) n
Not confirmed.
(gdb) The program is running. Exit anyway? (y or n) y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment