On 10/6/14 16:37, Andrew Haley wrote: > On 06/10/14 05:08, Chen Gang wrote: >> After try normal configure, get almost the same result, I guess, our >> testsuite under Darwin x86_64 is OK. >> >> If no any additional reply within a week, I shall continue to try to >> analyze the libjava Throw_2 issue. > > Throw_2 is a test specially contrived to detect segfaults that are > not being correctly detected and turned into NullPointerException()s. > A failure indicates that the segfault signal handler is broken. >
OK, thank, at present, it passes compiling (can generate 'Throw_2.exe'), and after run it without any parameters, "1" is printed, but "2" is not printed. Under Fedora 20 x86_64, the same gcc code, it is OK ("2" can be printed), but under Darwin x86_64, it is "Abort trap: 6" instead of. The related code: "try{Double.parseDouble(str());}catch", and "str(){return null;}". And I shall continue to try to analyze it (within this month), and welcome any additional ideas, suggestions, and completion for it, Thanks -- Chen Gang Open, share, and attitude like air, water, and life which God blessed