New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete some dead code containing bugs. #205
Conversation
@rmottola, please can you see if this fixes it for NetBSD? |
Thanks for the work... unfortunately, even if everything builds, test situation improves a little, but can't be said to be usable:
I'm puzzled, more test fails, but this exception with no stack looks worse? |
Exited normally implies that the test passed. Is this definitely one of the failing ones? |
When executing "make test" I see:
It looks it is failing, if I execute it:
Is it normal to throw an exception here? It looks that it gdb lying to us. |
Yes, an exception is normal there. This test is checking that we can correctly unwind through |
I checked in packages and don't see other debuggers (just frontends to gdb). I thought of lldb, but it is not available. Others I don't know. I'm using gdb 8.3 . Is there perhaps a way to set a breakpoint or enable exception stopping? a bit like a breakpoint in "NSException raise" ? |
You can try breaking in the cleanup function that's called in objc_send_initialize or in the personality function? |
I noticed that Line 176 in 06da6a9
I did thus put a breakpoint in: Line 773 in 4180811
You meant that cleanup? where is it defined - it has one parameter compared to the one mentioned above. It will be invoked by the program just once.
I tried very crudely continuing to step through the program to have a better idea where it ends, it took hundreds of "enter"... these are the last steps:
I wonder how it can stop at line 239... which would be before free and before abort. It never exits from _Unwind_RaiseException
|
|
Fixes #203