Surface Pen - switching from stylus tip to eraser then back to tip causes crash.
GIMP version: GNU Image Manipulation Program version 2.10.2
Operating System: Windows 10 Pro 1803 64bit
Package: Torrent of 2.10.2 stable from gimp.org
Description of the bug
Using a Microsoft Surface Book 2 with Surface Pen and WinTab x64 1.0.20. Installed wintab to get pressure sensitivity working. Can draw fine with the Surface Pen tip. I can switch to the pen eraser and it will work multiple times but once i switch back to the pen tip GIMP crashes with a popup stating "fatal error: unhandled exception". Clicking ok on the popup closes GIMP.
I uninstalled GIMP from Add Remove Programs and then re-downloaded and reinstalled but the issue persisted
Will try to attach a screen recording from the XBOX app which shows the steps to recreate. It does not show the popup error due to limitations with the recording software but you can hear the windows notification jingle. GIMPCrash-SurfacePen
Will also try to attach a screenshot showing the popup error
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Start GIMP and create new drawing or open existing image file
- Draw on screen with Pencil or Brush tool (havn't tried others yet) using surface Pen tip
- Use surface Pen eraser to erase part of image
- Use surface Pen tip and attempt to Draw
…
Expected result: GIMP should change the image to match the tips movement
Actual result: Cursor will keep up with tip as if drawing but no change will occur in the image and either instantly or after a few seconds fatal error will popup
Additional information
If you have a backtrace for a crash or a warning, paste it here. Got a crash/bug report window by running gimp from the command prompt and replicating.
GNU Image Manipulation Program version 2.10.2
git-describe: Unknown, shouldn't happen
C compiler:
Using built-in specs.
COLLECT_GCC=x86_64-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-w64-mingw32/7.3.0/lto-wrapper
Target: x86_64-w64-mingw32
Configured with: /var/tmp/portage/cross-x86_64-w64-mingw32/gcc-7.3.0-r1/work/gcc-7.3.0/configure --host=x86_64-pc-linux-gnu --target=x86_64-w64-mingw32 --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/x86_64-w64-mingw32/gcc-bin/7.3.0 --includedir=/usr/lib/gcc/x86_64-w64-mingw32/7.3.0/include --datadir=/usr/share/gcc-data/x86_64-w64-mingw32/7.3.0 --mandir=/usr/share/gcc-data/x86_64-w64-mingw32/7.3.0/man --infodir=/usr/share/gcc-data/x86_64-w64-mingw32/7.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-w64-mingw32/7.3.0/include/g++-v7 --with-python-dir=/share/gcc-data/x86_64-w64-mingw32/7.3.0/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 7.3.0-r1 p1.1' --disable-esp --enable-libstdcxx-time --enable-poison-system-directories --with-sysroot=/usr/x86_64-w64-mingw32 --disable-bootstrap --disable-multilib --with-multilib-list=m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --disable-vtable-verify --disable-libvtv --disable-libquadmath --enable-lto --without-isl --disable-libsanitizer --disable-default-pie --enable-default-ssp --enable-threads=posix
Thread model: posixa
gcc version 7.3.0 (Gentoo 7.3.0-r1 p1.1)
using GEGL version 0.4.2 (compiled against version 0.4.2)
using GLib version 2.56.1 (compiled against version 2.56.1)
using GdkPixbuf version 2.36.12 (compiled against version 2.36.12)
using GTK+ version 2.24.31 (compiled against version 2.24.32)
using Pango version 1.42.1 (compiled against version 1.42.1)
using Fontconfig version 2.13.0 (compiled against version 2.13.0)
using Cairo version 1.15.12 (compiled against version 1.15.12)
> fatal error: unhandled exception
Stack trace:
-------------------
Error occurred on Thursday, July 5, 2018 at 13:16:57.
gimp-2.10.exe caused an Access Violation at location 0000000000494A2A in module gimp-2.10.exe Reading from location 0000000000000168.
AddrPC Params
0000000000494A2A 0000000003D7B8B0 0000000002E55320 0000000002EDD460 gimp-2.10.exe!0x94a2a
00000000685F4003 0000000000C6FB30 0000000003D7B8B0 0000000000000064 libglib-2.0-0.dll!g_source_get_time
00000000685F3490 0000D3B100000000 0000000000000040 000000001DDB7060 libglib-2.0-0.dll!g_main_context_dispatch
00000000685F37E8 0000000000000000 0000000000000000 0000000003DE91C0 libglib-2.0-0.dll!g_main_context_dispatch
00000000685F3C63 0000000000000000 0000000000000000 0000000000401580 libglib-2.0-0.dll!g_main_loop_run
0000000000401A30 000000000000001D 0000000002E765D0 0000000001690840 gimp-2.10.exe!0x1a30
0000000000800D1D 0000000000000000 0000000002E77430 0000000000A25C90 gimp-2.10.exe!0x400d1d
00000000004013F7 0000000000000000 0000000000000000 0000000000000000 gimp-2.10.exe!0x13f7
00000000004014FB 0000000000000000 0000000000000000 0000000000000000 gimp-2.10.exe!0x14fb
00007FF93D1C3034 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk
00007FF93F9C1431 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart
gimp-2.10.exe 2.10.2.0
ntdll.dll 10.0.17134.137
KERNEL32.DLL 10.0.17134.1
KERNELBASE.dll 10.0.17134.137
msvcrt.dll 7.0.17134.1
SHELL32.dll 10.0.17134.137
libgimpcolor-2.0-0.dll
libgimpconfig-2.0-0.dll
libgimpmath-2.0-0.dll
cfgmgr32.dll 10.0.17134.1
ucrtbase.dll 10.0.17134.137
libgimpmodule-2.0-0.dll
libgimpthumb-2.0-0.dll
libgimpwidgets-2.0-0.dll
shcore.dll 10.0.17134.112
GDI32.dll 10.0.17134.1
RPCRT4.dll 10.0.17134.112
exchndl.dll 0.8.2.0
libcairo-2.dll
gdi32full.dll 10.0.17134.112
combase.dll 10.0.17134.112
PSAPI.DLL 10.0.17134.1
USER32.dll 10.0.17134.1
msvcp_win.dll 10.0.17134.137
bcryptPrimitives.dll 10.0.17134.1
win32u.dll 10.0.17134.1
libfontconfig-1.dll
windows.storage.dll 10.0.17134.137
advapi32.dll 10.0.17134.1
libfreetype-6.dll 2.9.1.0
sechost.dll 10.0.17134.1
libgdk-win32-2.0-0.dll 2.24.31.0
libgdk_pixbuf-2.0-0.dll 2.36.12.0
IMM32.dll 10.0.17134.1
shlwapi.dll 10.0.17134.1
ole32.dll 10.0.17134.137
libgegl-0.4-0.dll
kernel.appcore.dll 10.0.17134.112
libgegl-npd-0.4.dll
profapi.dll 10.0.17134.1
libgexiv2-2.dll
powrprof.dll 10.0.17134.1
libgtk-win32-2.0-0.dll 2.24.31.0
FLTLIB.DLL 10.0.17134.1
libharfbuzz-0.dll
libintl-8.dll 0.19.8.0
comdlg32.dll 10.0.17134.1
liblcms2-2.dll
libmypaint-1-3-0.dll
libpango-1.0-0.dll 1.42.1.0
libpangocairo-1.0-0.dll 1.42.1.0
libpangoft2-1.0-0.dll 1.42.1.0
zlib1.dll
libgimpbase-2.0-0.dll
libglib-2.0-0.dll 2.56.1.0
libbabl-0.1-0.dll
libgio-2.0-0.dll 2.56.1.0
WS2_32.dll 10.0.17134.1
libgmodule-2.0-0.dll 2.56.1.0
MSIMG32.dll 10.0.17134.1
VERSION.dll 10.0.17134.1
libgcc_s_seh-1.dll
libpng16-16.dll
libexpat-1.dll
libbz2-1.dll
libstdc++-6.dll
gdiplus.dll 10.0.17134.137
libexiv2.dll
libatk-1.0-0.dll 2.28.0.0
libgraphite2.dll
COMCTL32.dll 5.82.17134.137
WINSPOOL.DRV 10.0.17134.1
libjson-c-4.dll
libfribidi-0.dll
libpangowin32-1.0-0.dll 1.42.1.0
libpcre-1.dll
IPHLPAPI.DLL 10.0.17134.1
DNSAPI.dll 10.0.17134.1
libwinpthread-1.dll 1.0.0.0
NSI.dll 10.0.17134.1
bcrypt.dll 10.0.17134.112
PROPSYS.dll 7.0.17134.112
USP10.dll 10.0.17134.1
OLEAUT32.dll 10.0.17134.48
libgobject-2.0-0.dll 2.56.1.0
mgwhelp.dll 0.8.2.0
libpixman-1-0.dll
libiconv-2.dll 1.15.0.0
libffi-6.dll
dbghelp.dll 6.3.9600.17298
uxtheme.dll 10.0.17134.1
clbcatq.dll 2001.12.10941.16384
MSCTF.dll 10.0.17134.1
cairo.dll
CIE.dll
double.dll
fast-float.dll
float.dll
gegl-fixups.dll
gggl-lies.dll
gggl-table-lies.dll
gggl-table.dll
gggl.dll
gimp-8bit.dll
grey.dll
half.dll
HCY.dll
HSL.dll
HSV.dll
naive-CMYK.dll
simple.dll
sse-half.dll
sse2-float.dll
sse2-int16.dll
sse2-int8.dll
sse4-int8.dll
two-table.dll
u16.dll
u32.dll
ycbcr.dll
gegl-core.dll
libjson-glib-1.0-0.dll
CRYPTSP.dll 10.0.17134.1
rsaenh.dll 10.0.17134.1
CRYPTBASE.dll 10.0.17134.1
winhttp.dll 10.0.17134.137
exr-load.dll
libIlmImf-2_2.dll
libHalf-2_2.dll
libIex-2_2.dll
libIlmThread-2_2.dll
libImath-2_2.dll
gegl-common-gpl3.dll
gegl-common.dll
jp2-load.dll
libjasper-4.dll
libjpeg-8.dll
jpg-load.dll
pixbuf.dll
png-load.dll
ppm-load.dll
raw-load.dll
libraw-16.dll
libgomp-1.dll
WSOCK32.dll 10.0.17134.1
rgbe-load.dll
svg-load.dll
librsvg-2-2.dll
libcroco-0.6-3.dll
libxml2-2.dll
liblzma-5.dll 5.2.4.0
text.dll
tiff-load.dll
libtiff-5.dll
webp-load.dll
libwebp-7.dll
exr-save.dll
jpg-save.dll
npy-save.dll
png-save.dll
ppm-save.dll
rgbe-save.dll
save-pixbuf.dll
sdl-display.dll
SDL.dll 1.2.14.0
WINMM.dll 10.0.17134.1
winmmbase.dll 10.0.17134.1
tiff-save.dll
webp-save.dll
lcms-from-profile.dll
npd.dll
path.dll
transformops.dll
vector-fill.dll
vector-stroke.dll
gegl-generated.dll
matting-levin.dll
libumfpack.dll
libcholmod.dll
libsuitesparseconfig.dll
libmetis.dll
libccolamd.dll
libcolamd.dll
libcamd.dll
libopenblas.dll
libamd.dll
libgfortran-4.dll
libquadmath-0.dll
seamless-clone.dll
libgegl-sc-0.4.dll
seamless-clone-compose.dll
libwimp.dll
libpixmap.dll
libpixbufloader-png.dll
dwmapi.dll 10.0.17134.1
libpixbufloader-svg.dll
mscms.dll 10.0.17134.1
USERENV.dll 10.0.17134.1
ColorAdapterClient.dll 10.0.17134.1
icm32.dll 10.0.17134.1
TextInputFramework.dll 10.0.17134.1
CoreUIComponents.dll 10.0.17134.112
CoreMessaging.dll 10.0.17134.137
ntmarta.dll 10.0.17134.1
wintypes.dll 10.0.17134.112
shfolder.dll 10.0.17134.1
Wintab32.dll 1.0.0.20
DHid.dll 1.0.0.20
MSVCR100.dll 10.0.40219.325
MSVCP100.dll 10.0.40219.325
HID.DLL 10.0.17134.1
apphelp.dll 10.0.17134.1
Ninput.dll 10.0.17134.1
comctl32.DLL 6.10.17134.137
WindowsCodecs.dll 10.0.17134.1
Windows 10.0.17134
DrMingw 0.8.2