what is this error and how to solve it

Runtime Error(SIGSEGV)

SIGSEGV is a runtime error caused by an invalid memory reference or a segmentation fault.

Maybe you are trying to access an array element out of bound or trying to use too much memory.(Array of size 10^8 or similar)

Some of the other causes of a segmentation fault are : Using uninitialized pointers, reference of NULL pointers, accessing memory that the program doesn’t own.

1 Like