对C中地址处的映射区域的错误权限
我在C中使用共享内存。在这一行中,我想更改我使用的共享内存中数组的元素,我从valgrind得到了这个错误:
==11668== Process terminating with default action of signal 11 (SIGSEGV)
==11668== Bad permissions for mapped region at address 0x484002D
==11668== at 0x10977A: put_item (program.c:203)
==11668== ...