[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with ffi/forwardInvocation and exception handling on OpenSol
From: |
Saso Kiselkov |
Subject: |
Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris |
Date: |
Mon, 28 Jun 2010 15:35:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One note on the side: I'm using stock gcc-4.3.3 from the "gcc-43"
package from opensolaris.org, if that's any help.
BR,
- --
Saso
On 06/28/2010 03:04 PM, David Chisnall wrote:
> On 28 Jun 2010, at 13:18, Saso Kiselkov wrote:
>
>> Sure, I've attached the original source and generated assembly.
>
>
> Well, that looks weird. The unwind data for main() looks correct, but for
> do_throw and -forwardException:, I can't find the the language-specific data
> area's header. It appears to be creating the callsite info, but not actually
> creating any references to it...
>
> You're using GCC 4.3.3, according to the include stuff, but the generated
> assembly looks a bit like nonsense. I wonder if it is trying to make code
> compatible with a Solaris exception ABI that the GNU runtime knows nothing
> about? Even that doesn't seem very likely.
>
> You could try putting a breakpoing on __gnu_objc_personality_v0() and then
> checking that the call to parse_lsda_header() is working correctly for each
> frame.
>
> Can you catch the exception in -forwardInvocation: or does it not even unwind
> through the do_throw() function?
>
> David
>
> --
> This email complies with ISO 3103
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwopSQACgkQRO8UcfzpOHAyngCgifpTyIgSisbyBj38XZNurNXQ
V2cAoMfmF9MlyyYJJa+LDcS121M7uTEs
=vAvJ
-----END PGP SIGNATURE-----
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, (continued)
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, David Chisnall, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, David Chisnall, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, David Chisnall, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, David Chisnall, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, David Chisnall, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris,
Saso Kiselkov <=
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Richard Frith-Macdonald, 2010/06/28
- Re: Problem with ffi/forwardInvocation and exception handling on OpenSolaris, Saso Kiselkov, 2010/06/28