That's all correct, LayoutKind.Sequential will care that the struct is
passed to native functions with that layout, i.e. not reordered. At
least that's my understanding of that attribute.

But the GLib functions don't want this managed struct or the native
equivalent to it, instead they want a "native" GIOChannel struct, which
is saved in IOChannel.Handle. For !ppc it will get this by accident
because the first thing in the struct is the Handle but on PPC it fails
because of the different argument passing.

-- 
segfault in g_io_add_watch on PPC
https://bugs.launchpad.net/bugs/127424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to