|
Description
|
C++ exceptions were working in nevada build 19, but are broken in build 38. Test case:
extern "C" int printf(const char*, ...);
int main()
{
try {
throw 1;
}
catch(int) {
printf("ok\n");
}
return 0;
}
Compile with Sun C++ compiler using -xarch=amd64 option. Run the a.out, and it should print "ok". Instead, it core dumps. Using the same C++ runtime library (libCrun.so.1) on S10u1 works, but on nevada build 38 the program crashes.
Something has gone wrong in the unwind code in /lib/64/libc.so.1 on amd64.
|