Closed mikejiang closed 6 years ago
The latest investigation shows the single line of libxml2
API call crashes rstudio
after header-only
version of flowWorkspace
is loaded.
xmlDocPtr doc = xmlReadFile(sFileName.c_str(), NULL, 0);
which again, runs perfectly fine at R console
.
I will try the newer version of rstudio
to see if it helps
by attaching gdb
to rsession
of rsutdio
, I got backtrace info https://gist.github.com/mikejiang/f1218d22b0a34968958e89f861235dc3
which failed at some call of boost library. Not sure if it has to do with the discrepancy between BH
used by us and boost
used to compile rstudio
I've confirmed that rstudio 1.1.383
fixed the issue.
The
headeronly
branch works fine for all the test cases atR
console, but crashes R session withinrstudio
for severalworkspaces
. e.g. the test case below will fail in rstudioI've spend the past two days trying to pinpoint the source of problem without success. Not sure if it has something to do with
rstudio
( I am usingVersion 1.0.153
).To test it, the
flowWorkspace/headeronly
branch is required as well asRProtoBufLib/headeronly