flint icon indicating copy to clipboard operation
flint copied to clipboard

get_memory_usage causes segfault on Mac OS X.

Open monien opened this issue 1 year ago • 1 comments

The function get_memory_usage defined in src/generic_files/profiler.c uses /proc/self/status which does not exist on Mac OS X. Reading from it causes a segfault.

monien avatar Apr 06 '24 21:04 monien

Yeah, there are also problems with non-x86 systems using profiler.h (I suspect you are affected by this as well).

If you find a solution, please let us know!

albinahlback avatar Apr 06 '24 23:04 albinahlback