Random crash due to some memory allocation error

macOS 10.13.6

On my MacBook I’ve imported a Cubase 5 project which was created on Windows.
I’ve re-saved it as Cubase 9 project.

The app randomly crashes when performing playback.
It may crash after 5 seconds of playback, or after 10 mins of it.

Not sure if the source of error is an audio track or a KONTAKT instrument or even user interface.
Please take a look at the crash log attached.

The crash occurs in the Thread 0 because of «Invalid pointer dequeued from free list».
We can see NSWindow, NSView, CGContextSaveGState among the entries of the call stack.
Hence it might be an UI error.

cubase_crash.log.zip (26.3 KB)