-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eviacam 2.1.2 crashs on Debian 9 #9
Comments
It looks as if there is some multi-thread issue. I most likely could be related to the "check for updates" feature which spans a secondary thread to do the job. Therefore, first of all make sure you run ./configure script with the "--disable-updates-check" switch. Perhaps you could also remove the wxSocketBase::Initialize(); and wxSocketBase::Shutdown(); calls in eviacamapp.cpp |
Unfortunately the issue occurs also with Sometimes I get another error message: or *** Error in '/usr/local/bin/eviacam': double free or corruption (fasttop): 0x00007f1d940e6e50 *** or process finished abnormally. segmentation fault I've tested eviacam 2.1.2, 2.1.1, 2.1.0, 2.0.1 and 1.7.2 (with added wxWidgets 3.x support). It occurs if I want to click on something (before the click sound appears). But not on every click. Thanks for your help. |
I've compiled eViacam 2.1.2 with Attached you find the crash.txt. The "Conditional jump or move depends on uninitialised value(s)" errors are logged at startup. I hope this information is helpful for you. |
Try the following:
|
eviacam crashes, also if "Beep on click" is disabled.
eviacam does not crash. It also does not crash with enabled "Enable dwell click" if the "No click" toggle button is activated. I think it has something to do with the click action, because the issue occurs only after a click. As soon as the click is performed eviacam crashes. (But not after every click.) I've created a gdb backtrace gdb.txt. |
I found out that eviacam does not crash after a click if the click window is disabled. It crashes only with enabled click window. |
Interesting finding. I bet this happens when the camera thread "touches" the Click Window for update. Specifically, when CClickWindowController::ActionDone is called. In theory, such call is surrounded by wxMutexGuiEnter and wxMutexGuiLeave should be safe (see viacamcontroller.cpp:526 and [1]) but ... In interesting try would be commenting out the line where ActionDone is called and see what happens. |
I think that's the reason. I've changed Line 147 in dwellclick.cpp to
and eviacam does not crash after a click with enabled click window. Thank you!!! |
A better workaround for this issue is to change only Line 320 in clickwindowcontroller.cpp to
So the click actions will work as expected and only the buttons of the click window are not updated. |
This issue should have been fix in commit a598ace |
I can confirm that the issue is fixed with this commit. Thank you! |
Hi,
I've issues with eviacam 2.1.2 (master branch) on Debian 9.1 (stable, XFCE).
After using eviacam a few minutes eviacam suddenly crashes with the following errors:
The text was updated successfully, but these errors were encountered: