Search results

  1. S

    Bus error while initializing a member array of a struct

    I thought this could be a alignment problem, but after print the address of the data that is going to be initialized, I find the address is aligned, please check the test log below. The test code is running on a Cortex-A72 64-bit core with Linux 5.10.120. I also print the pageSize and the...
  2. 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