h**o 发帖数: 548 | 1 请问 这会是 什么 错?
func1 call func2, func2 中的printf("end of func2\n")打出来了。然后没执行
printf("after func2\n");却说程序FATAL: Received Segment Violation...dying:
func1(){
...
result = func2();
printf("after func2\n");
...
}
int func2(){
...
printf("end of func2\n");
return result;
}
这是 syslog打出的 错误 信息:
myProcess Parent: recv_fatal_signal on thread #1 pid 3377
myprocess[3371]: [ID 704344 local4.notice] Child process 3377 byebye: 0 0 1
myprocess[3371]: [ID 123356 local4.notice] myProcess P |
|