Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@alan-andrade
Created February 2, 2014 09:25
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 alan-andrade/8765242 to your computer and use it in GitHub Desktop.
Save alan-andrade/8765242 to your computer and use it in GitHub Desktop.
let mut groups: ~[libc::gid_t] = ~[];
let n_groups = unsafe { libc::getgroups(69, groups.as_mut_ptr()) };
id(25518,0x104579000) malloc: *** error for object 0x7fc449c04528: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment