stephanlphilips / DM_solver

GNU General Public License v2.0
7 stars 3 forks source link

Wild pointer on preloading Hamiltonian & Noise #6

Open R0ckySu opened 4 years ago

R0ckySu commented 4 years ago
python3(25516,0x700006c47000) malloc: *** error for object 0x7fdfe526b600: pointer being freed was not allocated
python3(25516,0x700006c47000) malloc: *** set a breakpoint in malloc_error_break to debug

Crash happened frequently when calling calculate_evolution(). I managed to commented "#pragma omp parallel for" for preload_hamilonian() and preload_noise() to avoid crashing.

stephanlphilips commented 4 years ago

Is it possible to provide a minimally working example (or not working in this case)?