Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created March 22, 2016 14:11
Show Gist options
  • Save cleverca22/97b94a574743f46d236b to your computer and use it in GitHub Desktop.
Save cleverca22/97b94a574743f46d236b to your computer and use it in GitHub Desktop.
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778ccf000) = 0x7f84a49d9000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778cd7000) = 0x7f84a49d1000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778cdf000) = 0x7f84a49c9000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 97, 0x778c23000) = -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
ptr = os_mmap(0, args.size, PROT_READ|PROT_WRITE, MAP_SHARED,bo->rws->fd, args.addr_ptr);
fprintf(stderr, "radeon: mmap failed, errno: %i, ptr: %p\n", errno, ptr);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment