ocular-motor-lab / OpenIris

GNU Affero General Public License v3.0
9 stars 1 forks source link

Crash without logging any error sometimes with Spinnaker camera running at 500Hz #4

Closed ocular-motor-lab closed 1 year ago

ocular-motor-lab commented 1 year ago

This only happens sometimes. But often enough to be disruptive. There was nothing logged in the logfile. The error occurs when using the comment Stop Tracking. The UI freezes for a bit and then (I don't remember 100% sure) the UI closes.

RoksanaSadeghi commented 1 year ago

@jotero In debug mode, the code stopped at ImageEye.cs, line 308, with the following error message: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Screenshot 2023-05-04 114516
jotero commented 1 year ago

Fixed. It was related to the way the cameras were being stopped and disposed.