Open NN--- opened 5 years ago
Getting this as well after my machine wakes from sleep. Dump here: https://www.dropbox.com/s/30pjcwpglcuig5g/Trap-190714-1336.dmp?dl=0
Have been getting this for several years. I think it is related to screen size changes. @NN--- Did you have a higher res monitor connected to the docking station? I get the error when the screen comes back from screensaver (blank). Other windows move around on the screen (mostly sliding to the right). Suspect the screensaver screen size is 2k while the physical screen is larger. Need to determine the values causing the assert failure so the code can handle it (or in my case get a new video card and drivers).
Correct. I have HiDPI on my laptop and non HiDPI on external monitor.
Same here: HiDPI on my main monitor with 150% scaling, 100% scaling on second monitor. Get this every time my machine wakes from sleep.
I did a debug build of ConEmu and took a similar error at a different location: ConEmuSize.cpp line 1680. The values being checked are all zeroes.
// Default values for Win10 if for unknown reason we failed to retrieve them
if (!fi.Win10Stealthy.left)
{
// We shall not get here, WinAPI MUST return proper values
<--- Hmmm
_ASSERTE(fi.Win10Stealthy.left && fi.Win10Stealthy.right && fi.Win10Stealthy.bottom);
<--- failed
const int def_val = !c ? 7 : 6; // 6 for caption-less
fi.Win10Stealthy = MakeRect(def_val, 0, def_val, def_val);
}
Going to turn on logging and let it run again.
The separate issue appears to be related to a debug build exposing an uninitialized storage problem. I have a work around to that. Trying to recreate this with the debug build but no luck yet.
On Windows 10, I can reproduce this error by running the Split: Duplicate active 'shell' split to bottom: Split(0,0,50)
command.
It works fine on the first two splits (3 consoles). When I split the 3rd time to generate a 4th console, it throws up this error. My default shell is the cmd.exe shell.
It's worth noting that if I create the split shells using the New Console Dialog, I don't get this error. It's only if I use the hotkey.
Versions
ConEmu build: 190714 x64 OS version: Windows 10 1903 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd
Problem description
Got assertion
Steps to reproduce
Actual results
No crash
Expected results
Crash
Additional files