AICAN-Research / FAST-Pathology

⚡ Open-source software for deep learning-based digital pathology
BSD 2-Clause "Simplified" License
121 stars 24 forks source link

runInThread crashes on macOS #26

Closed smistad closed 2 years ago

smistad commented 2 years ago

Application Specific Information: -[NSOpenGLContext setView:] must be called from the main thread.

Stacktrace: Thread 11 Crashed:: QThread 0 com.apple.AppKit 0x00007fff2e134abc -[NSOpenGLContext setView:] + 229 1 libqcocoa.dylib 0x000000010639fb39 0x10634c000 + 342841 2 libqcocoa.dylib 0x000000010639f502 0x10634c000 + 341250 3 libQt5Gui.5.14.0.dylib 0x0000000101fa94f7 QOpenGLContext::makeCurrent(QSurface*) + 167 4 libQt5OpenGL.5.14.0.dylib 0x000000010251d954 QGLContext::makeCurrent() + 100 5 fastpathology 0x0000000100c765cb fast::ProcessWidget::runInThread(std::__1::basic_string<char,