Skip to content

Instantly share code, notes, and snippets.

Created April 10, 2012 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4c859a6fd7b37edb16ed to your computer and use it in GitHub Desktop.
Save anonymous/4c859a6fd7b37edb16ed to your computer and use it in GitHub Desktop.
suzanne-holloways-macbook:bnoordhuis-libuv-3081f80 smh8g$ gdb --args out/Debug/run-tests fs_event_watch_dir fs_event_watch_dirGNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 2009)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 "i386-apple-darwin"...Reading symbols for shared libraries ..... done
(gdb) run
Starting program: /Users/smh8g/Desktop/bnoordhuis-libuv-3081f80/out/Debug/run-tests fs_event_watch_dir fs_event_watch_dir
Reading symbols for shared libraries ++++....................... done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x000142bd in run_test_fs_event_watch_dir () at ../test/test-fs-event.c:168
168 ASSERT(r != -1);
(gdb) bt
#0 0x000142bd in run_test_fs_event_watch_dir () at ../test/test-fs-event.c:168
#1 0x000046b0 in run_test_part (test=0xbffffa16 "fs_event_watch_dir", part=0xbffffa29 "fs_event_watch_dir") at ../test/runner.c:260
#2 0x00003a88 in main (argc=3, argv=0xbffff924) at ../test/run-tests.c:51
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment