It’s time to execute this second application

We would like to get a complete “core” file, so extend apllicable limits for this session :

[wou@redhat threads]$ ulimit -c unlimited

Then, start the application :

[wou@redhat threads]$ ./multi_threads
we are runing thread #1
we are runing thread #2
we are runing thread #3
we are runing thread #4
we are runing thread #5
we are runing thread #10
we are runing thread #6
we are runing thread #7
we are runing thread #8
we are runing thread #9
Segmentation fault (core dumped)