Steven R. Brandt
Steven R. Brandt
It will probably take a little time before this code is ready for master. Until then, I invite you to look here: https://github.com/stevenrbrandt/HPXCompMaker
Note there are no errors, nothing aborts, and result.py is written.
It seems that there was, in fact a segfault ``` at /usr/include/c++/7/ext/atomicity.h:81 81 if (__gthread_active_p()) #0 __gnu_cxx::__exchange_and_add_dispatch (__mem=0x7fff7819b818, __val=-1) at /usr/include/c++/7/ext/atomicity.h:81 #1 0x00000000004f2bfd in std::_Sp_counted_base::_M_release (this=0x7fff7819b810) at /usr/include/c++/7/bits/shared_ptr_base.h:151 #2 0x00000000004ed015...
I'm wondering if this is the bug Kevin recently fixed?
``` #9 0x00000000004f2c1e in std::_Sp_counted_base::_M_release (this=0x7fff700c3ed0) at /usr/include/c++/7/bits/shared_ptr_base.h:154 #10 0x00000000004ed015 in std::__shared_count::~__shared_count (this=0x7fff940ac848, __in_chrg=) at /usr/include/c++/7/bits/shared_ptr_base.h:684 #11 0x00007ffff6c33bfe in std::__shared_ptr::~__shared_ptr (this=0x7fff940ac840, __in_chrg=) at /usr/include/c++/7/bits/shared_ptr_base.h:1123 #12 0x00007ffff6c33c1a in std::shared_ptr::~shared_ptr ( this=0x7fff940ac840,...
``` 17 0x00000000004f2c1e in std::_Sp_counted_base::_M_release (this=0x7fff940ac810) at /usr/include/c++/7/bits/shared_ptr_base.h:154 #18 0x00000000004ed015 in std::__shared_count::~__shared_count (this=0x7fff900cefa8, __in_chrg=) at /usr/include/c++/7/bits/shared_ptr_base.h:684 #19 0x00007ffff6c33bfe in std::__shared_ptr::~__shared_ptr (this=0x7fff900cefa0, __in_chrg=) at /usr/include/c++/7/bits/shared_ptr_base.h:1123 #20 0x00007ffff6c33c1a in std::shared_ptr::~shared_ptr ( this=0x7fff900cefa0,...
Not sure how to make a small test out of this. I am attaching the source. [files.zip](https://github.com/STEllAR-GROUP/phylanx/files/5845457/files.zip)
Also, this variation is important ``` from phylanx import Phylanx @Phylanx def foo2(a): a["groups"] = None @Phylanx def foo(): a={"groups":1,"fish":2} b={"LEFT":a, "RIGHT":[3,4]} foo2(b["LEFT"]) foo() ``` which yields ``` Traceback (most...
@hkaiser and I don't think the Random Forest code can be made to work unless it is solved. :(
Maybe a less ambitious random forest, one which leaves the dictionary manipulation to Python, might be possible. --Steve