-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abort R session with mlrMBO through a hundred sequence of 'mbo' function calls #484
Comments
Thanks for your report. Can you provide a minimal example that allows to reproduce the issue please? |
I already did that with the issue above with two scripts " mainDeterministicmlrMBO.R" and " trialDeterministicmlrMBO.R ". |
It took about 20 minutes of running your code for me to trigger the bug, somewhere in the 4 nested loops, doing three different calls to mbo and various bookkeeping things. Digging through all of this makes debugging much harder than necessary; please provide a simple example that immediately shows the bug. |
I'm on it. The problem seems to be some C++-code in the lhs package which I assume causes some memory corruption that does not immediately trigger a crash. I assume that is why ricky151192's code example is so long. |
The bug was this one: bertcarnell/lhs#21 My PR for the remotes::install_github("mb706/lhs") and see if that works. |
P.S. @ricky151192 thanks for providing the example. We knew for a while that there is a segfault hidden somewhere in the |
I am glad to have been helpful! Apparently, with this version of LHS library, I was able to run without errors/crashes the previous example code. |
That solves the issue as far as mlrMBO is concerned. |
I recently updated mlrMBO to version 1.1.3 on R 3.5.1 with Windows 10.
Currently, I am trying to execute an experiment that requires hundred of experiments using mlrMBO library.
However, I figured out that a problem from mlrMBO seems to abort of R session without any warnings or error notification (both using: Rgui.exe, Rscript.exe, and RStudio)
To be clear on the issue, the code below calls several hundred times the “mbo” function in a sequential way and not in parallel.
Also, I kept under control the memory RAM usage from the R process during the execution but is not reach a critical amount of RAM used.
Here below, I reported the simple example code that stops the R session each time I execute the code.
The code below is composed of two scripts: “mainDeterministicmlrMBO.R” and “trialDeterministicmlrMBO.R”
-------- mainDeterministicmlrMBO.R -------
-------- trialDeterministicmlrMBO.R ---------
Thank you in advance.
The text was updated successfully, but these errors were encountered: