Clicking with the tablet pen crashes due to not set CXO_SYSTEM flag (?)
Summary:
Clicking with the graphic tablet pen crashes these softwares : Gimp 2.99.4, Inkscape 1.0.2, MyPaint 2.0.1.
The use of these software is impossible with a graphic tablet with Windows OS.
This issue looks like a Gtk v3 bug.
Everything works perfectly with Gimp 2.10.24 or Inkscape 0.92.5. No issue in this case.
Steps to reproduce:
1 - Open software and create a new document
2 - Click with the pen of the graphic tablet and the software crashes
What happened ?
The move of the pen is Ok
A simple click of the pen trigger software crash
What should have happened ?
Gimp should have continued to run
Trace file of the bug
Here is the command prompt just after the crash of Gimp v2.99.4 :
Here is the automatic trace file generated by Gimp :Gimp2.99.4_-_Trace_file_by_automatic_bug_tracker.txt
Here is the trace file generated with GDB.exe and GDK_DEBUG=input
as an environment variable :gimp2994_GDK_DEBUG_events_backtrace.txt
Here is the .bat file used for this last report file (inspired by the .bat file in the Inkscape project) : gdb_create_backtrace_gimp.bat
Best explanation of the bug
The issue has been reported to the GTK project here : GTK issue #3860
The best explanation is here : Explanation of the bug
On my side I looked for other issues that could be related to the present problem. I found several issues that have in common the way the graphics tablet is recognized on the fly (not only at the initialization of the software)
Weblink to issues which seems identical
Version Info :
- Windows 10 Pro x64 20H2 19042.867
- Gimp 2.99.4
- Graphic Tablet : Gaomon M10K2018, Gaomon software V16.0.0.21 (2021-01-04), Driver 7.1.7610.16485 (2018-11-02)
- Inkscape v1.0.2 (e86c870879, 2021-01-15, custom)
- MyPaint 2.0.1