that is u program has illegal operation, so system send such a signal to u. u can add some print to see where u segment fault. i forget, but there is a way to run gdb and break u program when have such illegal access.
i still suggest u to search and download this valgrind, it can generate a report to show which one is wrong.
[quote:b4f4fe8732="cheungming"]that is u program has illegal operation, so system send such a signal to u. u can add some print to see where u segment fault. i forget, but there is a way to run gdb and break u program when have such illegal access.
i still suggest u to search and download this valgrind, it can generate a report to show which one is wrong.[/quote]
Thank you!