On Sep 3, 2012, at 5:52 PM, Cody Permann <[email protected]> wrote:

> 
> 
> On Mon, Sep 3, 2012 at 4:36 PM, Roy Stogner <[email protected]> wrote:
> 
> On Mon, 3 Sep 2012, Ataollah Mesgarnejad wrote:
> 
> > I updated to revision 5994 few days ago and now I get a strange error when 
> > I compile in debug mode when I try to get a pointer to a system.
> > Here is what happens for example for adaptivity_ex5:
> >
> > Failed to convert N7libMesh6SystemE pointer to 
> > PN7libMesh15TransientSystemINS_20LinearImplicitSystemEEE
> > The N7libMesh6SystemE appears to be a 
> > N7libMesh15TransientSystemINS_20LinearImplicitSystemEEE
> 
> Any OSX experts in the audience?  This looks like a dynamic_cast
> returning null for a cast which obviously should have succeeded...
> 
> Yes, this error is very repeatable with newer versions of XCode.  The error 
> doesn't appear to be libMesh related, rather it appears that it might 
> actually be a bug in one of the system libraries.  John and I have both 
> looked at this error a few times and still haven't come up with an 
> explanation as to why this is happening.  There are two workarounds that we 
> advise you to consider while we look for a path forward: 1) You can revert 
> your version of XCode and continue using the older version until a fix is 
> discovered (Sorry, I don't know the exact version on the top of my head but 
> can probably get that for you).  2) build with static libraries 
> (--disable-shared).  I don't think upgrading to the current version of 
> libMesh had anything to do with this error. You probably also recently 
> updated XCode through automatic updates.
> 
Yes I did. I'll try to dig a bit deeper and see where that null gets generated 
too.

Thanks as always,
Ata
> On a side note, we are going to be forced to fix this issue one way or 
> another very soon, there are serious security vulnerabilities in older 
> versions of XCode (arbitrary remote code execution) so our enterprise people 
> aren't too happy with our current solution :)
> 
> Cody
> 
> ---
> Roy
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
> 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to