Search results

  1. S

    Bus error while initializing a member array of a struct

    Hi experts, Currently I'm facing a problem that bus error occurs while initializing a member array of a struct, the struct is pointed to a mapped shared memory(mapped by mmap()). Below is my test application code, the bus error occurs while memset data in the init() function. The shared memory...
Top