win-snap.exe crashes when taking a screenshot of modal window
Submitted by Morty
Link to original bug (#760625)
Description
Environment: Gimp 2.8.18 (64) Windows 10 Pro 64 WinPLC7 V5.046
Win-snap crashes when taking a screenshot of the "Baugruppenzustand"-Window of WinPLC7. Taking a screenshot of the main window, as well as the whole screen (including that specific window), works fine.
Start gimp File->Create->Screen Shot->Grab Single Window->Pull Crossjier over Modal window New window:
** (win-snap:4000)_ Error *** Error creating DIB section: Der Vorgang wurde erfolgrech beendet. (Translation: The Process ended successfully")
-> OK
New window:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\win-snap.exe
This application has requested the Runtime to terminate it in an unusual way.
I tried running gimp using gimp-2.8.exe --verbose --stack-trace-mode=always --debug-handlers -c but didn't get any additional output besides
-------------------------
Loading module 'C:\Program Files\GIMP 2\lib\gimp\2.0\modules\libdisplay-filter-lcms.dll'
GIMP-Error: Plug-in crashed: "win-snap.exe"
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\win-snap.exe)
The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.
------------------------
Version: 2.8.16
See also
Edited by lillolollo