Hello,

I am using Ubuntu 18.04 LTS on VMWare on Windows host.

I have been trying to run a c code using the Ubuntu terminal command line:
gcc -mcmodel=large xxx.c -o xxx
./xxx
[list of input files]

It then reports segmentation fault. To further investigate it, I use the gdb.

gdb --args ./xxx
[list of input files]
(gdb) run

It reports an error: During startup program terminated with signal SIGSEGV, Segmentation fault.

I found that some explanation for this error that states: the shell or the wrapper specified with ' exec-wrapper ' crashed, not your program. Most often, this is caused by something odd in your shell's non-interactive mode initialization file.

Can someone please help me how to work around this issue?

Thanks,