Leyart / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

Crash/doesn't respond after several lock/unlocks of Windows session #436

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reported here:
https://twitter.com/JonKimbel/status/494985034810408960

I wasn't able to reproduce it yet.

Original issue reported on code.google.com by davidcapello on 31 Jul 2014 at 11:19

GoogleCodeExporter commented 9 years ago
Note for the developer: It could be related to Allegro library and DirectX 
issues when the device is lost

Original comment by davidcapello on 31 Jul 2014 at 11:21

GoogleCodeExporter commented 9 years ago
Recorded the issue using CamStudio: https://www.youtube.com/watch?v=POYCjH7FMTg

CamStudio doesn't capture the Windows lock screen, so I added YouTube 
annotations to denote when the computer was locked - make sure annotations are 
enabled on your device!

Original comment by helpimtr...@gmail.com on 2 Aug 2014 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by davidcapello on 3 Aug 2014 at 12:52

GoogleCodeExporter commented 9 years ago
Thanks for the video Jon. I was able to reproduce the issue (just leaving a 
running window for a long period of time).

Note for the developer:
IDirectDrawSurface2_Restore() call in restore_all_ddraw_surfaces() function 
returns a failed HRESULT = 0x8876024B (DDERR_WRONGMODE, can't restore all 
surfaces or this surface because it was created in a different mode)

https://github.com/aseprite/aseprite/blob/ed6090bc36cefd2ba6f27a46867e5c834bd73c
82/src/allegro/src/win/wddbmpl.c#L122

Original comment by davidcapello on 3 Aug 2014 at 1:21