dynobo / normcap

OCR powered screen-capture tool to capture information instead of images
https://dynobo.github.io/normcap/
Other
1.8k stars 91 forks source link

Segmentation fault in Qt6 after the screen region is selected #658

Open yurivict opened 6 days ago

yurivict commented 6 days ago

What happened?

$ normcap
Segmentation fault

The stack is:

#0  0x0000000030f543c1 in QWidget::testAttribute_helper(Qt::WidgetAttribute) const () at /usr/local/lib/qt6/libQt6Widgets.so.6
#1  0x0000000030f013cb in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt6/libQt6Widgets.so.6
#2  0x000000002f51f744 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt6/libQt6Core.so.6
#3  0x0000000030eff540 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
    at /usr/local/lib/qt6/libQt6Widgets.so.6
#4  0x0000000030f688c5 in ??? () at /usr/local/lib/qt6/libQt6Widgets.so.6
#5  0x0000000030f67a49 in ??? () at /usr/local/lib/qt6/libQt6Widgets.so.6
#6  0x0000000030efeee8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt6/libQt6Widgets.so.6
#7  0x0000000030effe39 in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt6/libQt6Widgets.so.6
#8  0x000000002f51f744 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt6/libQt6Core.so.6
#9  0x0000000031717f98 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/local/lib/qt6/libQt6Gui.so.6
#10 0x000000003177943b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt6/libQt6Gui.so.6
#11 0x00000000335519ff in ??? () at /usr/local/lib/qt6/plugins/platforms/../..//libQt6XcbQpa.so.6
#12 0x000000002fe19ee1 in ??? () at /usr/local/lib/libglib-2.0.so.0
#13 0x000000002fe1a28f in ??? () at /usr/local/lib/libglib-2.0.so.0
#14 0x000000002fe1a326 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0
#15 0x000000002f78ba6e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt6/libQt6Core.so.6
#16 0x000000002f528c07 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt6/libQt6Core.so.6
#17 0x000000002f51ff34 in QCoreApplication::exec() () at /usr/local/lib/qt6/libQt6Core.so.6

How did you install NormCap?

None

Operating System + Version?

FreeBSD 14.1

[Linux only] Display Server (DS) + Desktop environment (DE)?

No response

Debug log output?*

n/a