You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyQSTEM sometimes crashes when you reuse the same object with a different number of slices. Using a new pyqstem object in each iteration instead leads to a memory leak.
The attached script shows the problem. On a Mac, it gives the error
Corrupt value: 0x3f0278d13f0278d1
Python(6133,0x1136c5dc0) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6
On linux, it just gives a Segmentation fault (core dumped). It is not 100% reproducible, the attached script crashes every second time or so.
The text was updated successfully, but these errors were encountered:
PyQSTEM has quite a few issues. I will probably not have time to fix them, as I will release its replacement at the MM20 meeting. I have spent quite a bit of time on the new package, and it should be better in every possible way.
Hi Jacob,
PyQSTEM sometimes crashes when you reuse the same object with a different number of slices. Using a new pyqstem object in each iteration instead leads to a memory leak.
The attached script shows the problem. On a Mac, it gives the error
On linux, it just gives a
Segmentation fault (core dumped)
. It is not 100% reproducible, the attached script crashes every second time or so.The text was updated successfully, but these errors were encountered: