Date: Wed, 15 Oct 2014 05:25:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194375] New: textproc/tinyxml2: Linking to shared object created segfault Message-ID: <bug-194375-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194375 Bug ID: 194375 Summary: textproc/tinyxml2: Linking to shared object created segfault Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bf@FreeBSD.org Reporter: antumdeluge@gmail.com Assignee: bf@FreeBSD.org Flags: maintainer-feedback?(bf@FreeBSD.org) 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. --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer bf@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194375-13>