Closed peterlauro closed 4 years ago
Thanks for an excellent bug report! I'll make a PR to fix this.
@peterlauro I posted a PR which should fix this problem. Could you please verify that the fix works also for you.
If you wish to share your name and email address I can tag you in the fix commit.
@matiaselo Thanks, I will verify the PR today evening.
Name: Peter Lauro Email: lauro_konik@hotmail.com
BR,
with the posted PR, the sysinfo example works on my configuration (Rapberry Pi 3B+). odp_sysinfo.log
with the posted PR, the sysinfo example works on my configuration (Rapberry Pi 3B+). odp_sysinfo.log
Thanks, I'll merge the patches once the validation tests pass.
ODP compiled on raspberry Pi 3 B+; gnu gcc 8.2.0; rasbian 32 bits;
the reason of sigsegv: the usage of printf formater "lu" on type uint64_t instead of "llu" in odp_ishm.c; function int _odp_ishm_term_local(void): lines 2040, 2052 and 2055.
odp configuration: config_odp.txt
run of example/sysinfo/odp_sysinfo [segmentation_sysinfo.txt] (https://github.com/OpenDataPlane/odp/files/4054492/segmentation_sysinfo.txt)
gdb output: gdb_sysinfo.txt
suggested solution: odp_ishm.c.txt