http://bugs.winehq.org/show_bug.cgi?id=32104
Bug #: 32104 Summary: KwMusic: crashes during installing Product: Wine Version: unspecified 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 42329 --> http://bugs.winehq.org/attachment.cgi?id=42329 the log of installing
I installed KwMusic(酷我音乐) in wine and it crashed during installing.
my test environment: - Ubuntu 12.04.1 32bit ; - Wine 1.5.16 ; - KwMusic: https://www.dropbox.com/s/ck5pmoc5ls9sk5m/kwmusic2012.exe .
you can reproduce the bug follow: 0. download KwMusic: https://www.dropbox.com/s/ck5pmoc5ls9sk5m/kwmusic2012.exe 1. 'wine kwmusic2012.exe' to begin the installing.
attachment: kwmusic.log is the log of installing
http://bugs.winehq.org/show_bug.cgi?id=32104
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://www.dropbox.com/s/c | |k5pmoc5ls9sk5m/kwmusic2012. | |exe
http://bugs.winehq.org/show_bug.cgi?id=32104
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.5.16
http://bugs.winehq.org/show_bug.cgi?id=32104
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32104
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42329|0 |1 is obsolete| |
--- Comment #1 from Jactry Zeng jactry92@gmail.com 2012-10-30 12:24:52 CDT --- Created attachment 42332 --> http://bugs.winehq.org/attachment.cgi?id=42332 kwmusic.txt is the log
http://bugs.winehq.org/show_bug.cgi?id=32104
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42329|1 |0 is obsolete| | Attachment #42329|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=32104
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42329|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=32104
--- Comment #2 from Qian Hong fracting@gmail.com 2012-12-13 14:40:02 CST --- Created attachment 42799 --> http://bugs.winehq.org/attachment.cgi?id=42799 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=32104
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |fracting@gmail.com Component|-unknown |kernel32 Ever Confirmed|0 |1
--- Comment #3 from Qian Hong fracting@gmail.com 2012-12-13 14:40:48 CST --- Confirming, setting component to kernel32
http://bugs.winehq.org/show_bug.cgi?id=32104
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #4 from hanska2@luukku.com --- fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x17ef44,0x17f600): stub fixme:wincodecs:PngDecoder_Block_GetCount stub fixme:shell:SHAutoComplete stub fixme:explorerframe:taskbar_list_SetProgressValue iface 0x3168e28, hwnd 0x40040, ullCompleted 46c, ullTotal 7530 stub! wine: Unhandled division by zero at address 0x25e1297 (thread 0043), starting debugger...
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=32104
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- still crashing 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=32104
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 35454 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=32104
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Still present in wine-3.3
I tested http://down.kuwo.cn/mbox/kwmusic2014.exe
sha1sum ~/Downloads/kwmusic2014.exe 4fc2c07c405625b71d6e60ebada70880ead05b0c /home/louis/Downloads/kwmusic2014.exe
https://bugs.winehq.org/show_bug.cgi?id=32104
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #8 from Zhiyi Zhang zzhang@codeweavers.com --- I am looking into this. Seems GetPrivateProfileSectionW is not handling pairs with no key correctly.
https://bugs.winehq.org/show_bug.cgi?id=32104
--- Comment #9 from Zhiyi Zhang zzhang@codeweavers.com --- Patch submitted. This should be fixed now.
https://bugs.winehq.org/show_bug.cgi?id=32104
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Zhiyi Zhang from comment #9)
Patch submitted. This should be fixed now.
Nice job. I can confirm the patch fixes the crash. Added keyword ``patch``
Patch is at https://source.winehq.org/patches/data/142782
https://bugs.winehq.org/show_bug.cgi?id=32104
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |aa16304c191ab19a60577f02f42 | |b904df584acaf Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Jactry Zeng jactry92@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=aa16304c191ab19a60577f02f... . Thanks Zhiyi!
https://bugs.winehq.org/show_bug.cgi?id=32104
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.4.
https://bugs.winehq.org/show_bug.cgi?id=32104
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=32104
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #13 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.1.