Question: Ex. 1 .9-Anyone who programmed in Unix environment using C or C++ (or other languages as well) surely experienced the famous error message segmentation fault

 Ex. 1 .9-Anyone who programmed in Unix environment using C or

Ex. 1 .9-Anyone who programmed in Unix environment using C or C++ (or other languages as well) surely experienced the famous error message "segmentation fault (core dumped)." Explain what this error message mean and list possible reason for this error. What does "segmentation mean in this context? What does "core" mean in this context? Ex. .1When a compiler generates the binary code for a source program written in a high- level programming language, it does not know where and how the binary code will be loaded by the operating system. Why not? In order to generate a binary code, the compiler, however, must make certain assumptions on where and how the binary code will be loaded in the main program by the operating system. What are the reasonable assumptions that are made by most of compilers in terms of where and how? Ex. 1 .12-What happens when we double-click a progran icon? Or type a command at the prompt? Describe all the steps happening in OS until we see the application on the screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!