End of log is
$ cat gadgetron.log
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
this is saying that a std::string
was initialised with a NULL ptr.
as other configurations are ok this is likely a gadgetron master problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
might be worth opening an issue on the gadgetron repo?
I did (#596)
link: gadgetron/gadgetron#596
but some of the builds with DEVEL_BUILD=ON
did not fail. This one for instance.
linux ones fail, osx ones pass (funny - usually it's the other way around)
do you have the entire gadgetron.log to share?
@xueh2 unfortunately as per the original description, the only thing in the gadgetron.log
is the std::logic_error
. gadgetron
throws this error and crashes immediately upon startup.
$ gadgetron > gadgetron.log $ cat gadgetron.log terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
—
@xueh2, this might have been a ccache
problem with our builds. I think it has disappeared now but not sure as we're now having a bug ourselves. Will let you know.
just completely cleared my ccache
and rebuilt, still have the same error (using gadgetron/gadgetron@73ab079)
yes. also on Travis. @casperdcl, can you specify your OS and environment?
ubuntu 16.04 docker (ccppetmr/sirf:latest
) running on top of ubuntu 16.04 (x64), with the following steps:
/opt/SIRF-SuperBuild$ ccache --clear /opt/SIRF-SuperBuild$ git clean -xdf && rm -r sources /opt/SIRF-SuperBuild$ git checkout master && git fetch && git reset --hard origin/master # to use `master` for all (incl `gadgetron`, `SIRF`, etc.): /opt/SIRF-SuperBuild$ cmake -DDEVEL_BUILD=ON \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_STIR_WITH_OPENMP=ON \ -DUSE_SYSTEM_Armadillo=ON -DUSE_SYSTEM_Boost=ON -DUSE_SYSTEM_FFTW3=ON \ -DUSE_SYSTEM_HDF5=ON -DBUILD_siemens_to_ismrmrd=ON -DUSE_SYSTEM_SWIG=ON \ . && make -j /opt/SIRF-SuperBuild$ gadgetron
This is due to a missing GADGETRON_HOME
env variable. Let's see first what upstream says.
closing as will fix with CCPPETMR/SIRF-SuperBuild#115
Closed #158.