Skip to content

Conversation

@alexanderkyte
Copy link
Contributor

No description provided.

@adamralph
Copy link

nice work @alexanderkyte! I'm really looking forward to being able to run xunit 2.0 in Mono

@NTaylorMullen
Copy link

+1 to what @adamralph said hah.

@alexanderkyte
Copy link
Contributor Author

build

@alexanderkyte
Copy link
Contributor Author

I think it's safe to say that all the tests for this are passing, as the broken one looks like a jenkins bug I've been seeing on other bug builds.

Hold off on merging for a bit, I'm putting together a test for this specific crasher. It's pretty hard to extract from xunit, but at least it's not a race condition. It's pretty deterministic.

@alexrp
Copy link
Contributor

alexrp commented Apr 28, 2015

build

@alexanderkyte
Copy link
Contributor Author

I'm seeing the

* Assertion at mini-arm.c:3781, condition `pdata.found == 1' not met

error that has been haunting us on public jenkins arm for a while.

This is a better fix for the problem of what type to give an object
when the actual type can't be loaded in the current domain.
When using a TransparentProxy, we run into the problem that the cache is
shared between all marshalbyrefobjects. The fix here is to not update
the cache when using a TransparentProxy, so that the correct slow path
is used.
@alexanderkyte
Copy link
Contributor Author

@kumpera I've updated the PR to bring the fixes to castclass, and extracted the caching behavior into a function. The indents look a bit absurd in a diff, but when in an editor where a tab is 8 spaces, as per the style guide, it's lined up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants