FreeBSD 10.0 amd64 tinyxml2-20140124 gcc version 4.7.4 (FreeBSD Ports Collection) Linking to tinyxml2 dynamically causes a segmentation fault when I run a program: [OUTPUT] $ g++ test.cpp -o test -ltinyxml2 $ ./test test.xml Segmentation fault (core dumped) [/OUTPUT] I can link to it statically without encountering the same problem: [OUTPUT] $ g++ test.cpp -o test /usr/local/lib/libtinyxml2.a $ ./test test.xml Loading XML contents.... Name=sword [/OUTPUT] NOTE: This also seems to affect textproc/tinyxml, though I have not tried statically linking yet.
Auto-assigned to maintainer bf@FreeBSD.org
Maintainer reset.
Is this bug still relevant?
sample program seems to work. feedback timeout