Skip to content

Intermittent segmentation faults in main after fork

I’m taking a class on how to learn programming multi process programs on linux on university. I’m still very green and trying my best to learn, so any thing you might see that is wrong would be welcome. I have a problem that asks me to iterate an array, one half on main process, the other half on …

error JAVA_HOME is not defined correctly

When Ii run command mvn spring-boot:run, I got error: when I check above path java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64 is not exist. My java version is: I check JAVA_HOME in /etc/environment Is it because of different version in JAVA_HOME I got the error? I try to change the JAVA_HOME path to other ver…

Pass values from C program to Assembly language

I would like to pass values from C program to Assembly using the linked assembly method instead of inline assembly method in C. Below is the Assembly program(GCD) which is am working on. And this is the C program from with I am trying to pass the values to assembly program When I compile using the below metho…