Re: [eigen] segfault in adjoint unit test |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] segfault in adjoint unit test
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 29 Aug 2009 11:22:23 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=e6yvAAA8WtuPfbR9zZT+yTiwJ34Tw9w42Zen5AUSRSc=; b=Ak2KdW+IXFsTAXQ5Q4j5PIlNIMgSH50JhwnU0rs5trOYwkcLRUlY52vY7xxb4HRNwT ZrQ0troZrXbtQopSV1FFailhMeuiiXKY9PEMVSIrWkar1wKLh8Lj56EEOM4P1aVaZdwH xbPc0Zo+QyVUmSNv5w4iMtqqjhceCNioOFCUs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=e61zoMiF/DlQTh/We6Q7fnteXpvgyfTy0KtRMAfpTRV/ntWX6S6g3mweVgUxJXKS4T vXgjFn0FfFQTmkXhP7rSEEv8W8opuIrBsqMTCB2/zwJNLVqN1yLLB9Ghr10U7tIHLKMN oAOjf+m4zfdyo+2QoAoGLAFXfF6FtviR+u61Y=
2.0 or devel? SSE enabled or not? Just so I can try to reproduce...
can you get a backtrace? perhaps disable assertion checking if that
helps getting a better backtrace, and make sure the test is compiled
without -O2...
Benoit
2009/8/29 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
> Hi,
>
> I noticed a segfault in the adjoint unit test. It disappears when I change
>
> VERIFY(ei_isApprox(v1.dot(square * v2), square.adjoint() * v1.dot(v2),
> largerEps));
>
> to
>
> VERIFY(ei_isApprox(v1.dot(square * v2), (square.adjoint() *
> v1).eval().dot(v2), largerEps));
>
> and it also does not appear when inlining is disabled. I don't know
> how to nail down the error. I guess it's some nestByValue related
> issue...
>
> Regards,
> Hauke
>
>
>