More gcc 5 issues - calling C++ from C

Orion Poplawski orion at cora.nwra.com
Wed Feb 18 01:30:43 UTC 2015


On 02/17/2015 03:48 PM, Orion Poplawski wrote:
> I'm starting to see a segfault in the plplot tests building on F23.  I see
> that the C code is calling some C++ code in this case.  This has worked before
> for a long time so I'm wondering what has changed it this regard.
>
> valgrind reports:
>
> 11: ==28186== Invalid read of size 8
> 11: ==28186==    at 0x73079DC: operator<< (ostream:132)
> 11: ==28186==    by 0x73079DC: operator<< <std::ios_base& (*)(std::ios_base&)>
> (LASi.h:121)


It appears that recompiling the lasi package which this uses has cleared 
this up.  Looks like more C++ ABI issues.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the devel mailing list