Description
Describe the bug
When using mdarray in C++ code alone, it works as expected. However, when using the python interface, we get memory issues such as:
- Caught signal 11 (Segmentation fault: address not mapped to object at address (nil))
- munmap_chunk(): invalid pointer, Aborted (core dumped)
- corrupted double-linked list. Aborted (core dumped)
Steps/Code to reproduce bug
A PR in cuOpt that reproduces the bug is here: https://github.com/rapidsai/cuopt/pull/605. In this PR, mdarray is declared as a member variable in a class and not at all used (null op)
Expected behavior
The C++ version is working just fine. The mdarray
(in this case) is not part of the cython or python class, so it should work fine.
Environment details (please complete the following information):
cuOpt needs to be installed to reproduce the bug. There may be other projects (like cuGraph) that can be used to reproduce the bug.
Additional context
Add any other context about the problem here.
Activity