http://bugs.winehq.org/show_bug.cgi?id=32137
Bug #: 32137 Summary: Kugou2012: crashes when installing Product: Wine Version: 1.5.16 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jactry92@gmail.com Classification: Unclassified
Created attachment 42403 --> http://bugs.winehq.org/attachment.cgi?id=42403 'kugou_crash.txt' is the log
Kugou(酷狗音乐) crashed wine during installing and there were four error windows.
You can reproduce it follow: 0. download it: http://downmini.kugou.com/Kugou2012.exe ; 1. 'wine Kugou2012.exe' to begin the installation *(there was another bug(32136) which cause some text can't display normally, you can get a workaroud here: http://bugs.winehq.org/show_bug.cgi?id=32136 ); 3.just let it install until the four error windows appear, and it will crash Wine.
my test environment: - Ubuntu 12.04.1 - Wine 1.1.15 - Kugou2012
attachments: 'kugou_crash.txt' is the log; 'picture.png' is what it look like when crashing wine.
http://bugs.winehq.org/show_bug.cgi?id=32137
--- Comment #1 from Jactry Zeng jactry92@gmail.com 2012-11-05 07:25:49 CST --- Created attachment 42404 --> http://bugs.winehq.org/attachment.cgi?id=42404 'picture.png' is what it look when crashing wine
http://bugs.winehq.org/show_bug.cgi?id=32137
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://downmini.kugou.com/K | |ugou2012.exe
http://bugs.winehq.org/show_bug.cgi?id=32137
--- Comment #2 from Qian Hong fracting@gmail.com 2012-12-13 13:45:31 CST --- Created attachment 42798 --> http://bugs.winehq.org/attachment.cgi?id=42798 Patch: Dirty hack
Confirming, a +relay,+snoop,+tid,+gdiplus,+profile trace show that GdipLoadImageFromFile try to open a file with completely wrong name, so GdipGetImage{Height,Width} pass zero value to *height/*width, that is why we get a 'divide by zero'.
I'm not very sure why GdipLoadImageFromFile get a wrong file name, it seems that there is something wrong with GetPrivateProfileSection. I've attached a dirty hack which make this installer happy.
http://bugs.winehq.org/show_bug.cgi?id=32137
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |fracting@gmail.com Ever Confirmed|0 |1
--- Comment #3 from Qian Hong fracting@gmail.com 2012-12-13 13:46:08 CST --- Setting status to new.
http://bugs.winehq.org/show_bug.cgi?id=32137
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Component|-unknown |kernel32
--- Comment #4 from Qian Hong fracting@gmail.com 2012-12-13 13:47:33 CST --- Assume component kernel32.
http://bugs.winehq.org/show_bug.cgi?id=32137
--- Comment #5 from Qian Hong fracting@gmail.com 2012-12-13 14:38:12 CST --- Sorry, I reply to the wrong bug, please ignore Comment 2 to Comment 4, my bad.
http://bugs.winehq.org/show_bug.cgi?id=32137
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernel32 |-unknown
http://bugs.winehq.org/show_bug.cgi?id=32137
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42798|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=32137
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #6 from Teras teras@luukku.com --- I got no crash while installing, pure wine
wine 1.7.36
https://bugs.winehq.org/show_bug.cgi?id=32137
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Qian Hong fracting@gmail.com --- $ sha1sum Kugou2012.exe 986c0edc36441147a576259d7b64db93f87fe1a3 Kugou2012.exe
Retested with wine 1.7.35, doesn't crash. Assume fixed.
https://bugs.winehq.org/show_bug.cgi?id=32137
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.37.