https://bugs.winehq.org/show_bug.cgi?id=48657
Bug ID: 48657 Summary: GdipGetNearestColor crash in Subtitle Edit Product: Wine Version: 5.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: oskarw85.spam@gmail.com CC: dmitry@baikal.ru Regression SHA1: 5ca9da2c0197ac1260975c1b7b643dbd11185715 Distribution: Debian
Created attachment 66512 --> https://bugs.winehq.org/attachment.cgi?id=66512 Terminal log during crash
Steps to reproduce: 1. Install Subtitle Edit 3.5.13 from https://github.com/SubtitleEdit/subtitleedit/releases/download/3.5.13/Subtit... 2. Run after installing 3. Application will crash almost immediately after starting.
I managed to git bisect first bad commit: git bisect bad 5ca9da2c0197ac1260975c1b7b643dbd11185715 is the first bad commit commit 5ca9da2c0197ac1260975c1b7b643dbd11185715 Author: Dmitry Timoshkov dmitry@baikal.ru Date: Fri Feb 7 18:31:38 2020 +0800
gdiplus: Make GdipGetNearestColor print FIXME only if indexed bitmap is associated with the graphics object.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 9fe62ebe33709629e4e20646059d6753eb55d1cc 6dd228c81c4850a3cc2da975c80f1dfd16a8a982 M dlls
https://bugs.winehq.org/show_bug.cgi?id=48657
--- Comment #1 from Oskar Wróbel oskarw85.spam@gmail.com --- Created attachment 66514 --> https://bugs.winehq.org/attachment.cgi?id=66514 backtrace
https://bugs.winehq.org/show_bug.cgi?id=48657
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |zzhang@codeweavers.com
--- Comment #2 from Zhiyi Zhang zzhang@codeweavers.com --- Confirmed with wine-5.2
https://bugs.winehq.org/show_bug.cgi?id=48657
--- Comment #3 from Zhiyi Zhang zzhang@codeweavers.com --- Created attachment 66516 --> https://bugs.winehq.org/attachment.cgi?id=66516 patch
https://bugs.winehq.org/show_bug.cgi?id=48657
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Zhiyi Zhang from comment #3)
Created attachment 66516 [details] patch
This looks like a correct way to fix this. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=48657
Nguyen Chinh Huu huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huupoke12@gmail.com
--- Comment #5 from Nguyen Chinh Huu huupoke12@gmail.com --- *** Bug 48660 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48657
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |christianuceda@yahoo.com
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 48630 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48657
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=48657
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |83e95a609c8ee598ddd8f105497 | |4689e47e5168b Status|NEW |RESOLVED
--- Comment #7 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by 83e95a609c8ee598ddd8f1054974689e47e5168b
https://bugs.winehq.org/show_bug.cgi?id=48657
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sakphul@mailbox.org
--- Comment #8 from Zhiyi Zhang zzhang@codeweavers.com --- *** Bug 48679 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48657
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.3.
https://bugs.winehq.org/show_bug.cgi?id=48657
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |newbie13xd@gmail.com
--- Comment #10 from Zhiyi Zhang zzhang@codeweavers.com --- *** Bug 48703 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48657
Nguyen Chinh Huu huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|huupoke12@gmail.com |