You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Install ceres-solver with MacPorts (either from binary with "port install
ceres-solver" or source with "port -s install ceres-solver").
2. Compile the program at http://julianpanetta.com/macports_bugs/test_ceres.cc
with /usr/bin/clang++:
/usr/bin/clang++ -g -O0 -std=c++11 -I/opt/local/include
-I/opt/local/include/eigen3 test_ceres.cc -L/opt/local/lib -lceres -lglog
-lgflags -lcholmod -lcxsparse -framework accelerate -o broken
3) ./broken
What is the expected output? What do you see instead?
It should print 0..19, but it intermittently segfaults partway through or
throws a std::length error because Ceres has scribbled over the arrays v1s and
v2s.
What version of the product are you using? On what operating system?
I've tried with 1.9.0 installed from MacPorts on both OS 10.9.3 and 10.9.4.
Please provide any additional information below.
I've filed a ticket with MacPorts because this only seems to happen with a
MacPorts-installed (statically linked) Ceres. The test program runs fine when
statically linked against a Ceres version manually built with cmake (both the
git head, and the stable 1.9.0 release). However, the MacPorts configuration is
so minimal it's unclear where the problem could be. More details are at:
https://trac.macports.org/ticket/44627
Original issue reported on code.google.com by [email protected] on 13 Aug 2014 at 4:15
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 13 Aug 2014 at 4:15The text was updated successfully, but these errors were encountered: