vle-forge / rvle

R wrapper
GNU General Public License v3.0
1 stars 3 forks source link

crash with rstudio and boost::spirit #17

Closed rtrepos closed 6 years ago

rtrepos commented 9 years ago

To reproduce the bug, we have to launch the simulation of file generic_with_header.vpz of record package record.meteo (which relies on pkg vle.reader which is linked to boost::spirit) : it works with R and it crashes on rstudio.

It seems that the problem occurs on vle/reader/table_file_reader.hpp:109 in the instantiation of the grammar of boost spirit (classic).

Note: I haven't found any tool for debugging this in rstudio specifically.

rtrepos commented 9 years ago

The carsh seems to be due to symbols of boost::spirit that are replaced in rstudio by those imported from the plugin of record.meteo. A fix is to set --visibility=hidden in gcc flags of record.meteo pkg.

quesnel commented 6 years ago

Since VLE2, the rvle binary package is alone and does not depend of VLE dll. So, this kind of error must not appear.