https://bugs.winehq.org/show_bug.cgi?id=40832
Bug ID: 40832 Summary: MultiSpec 2.8.2016 32-Bit: Installs fine but crashes while opening tif images Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kara067@gmail.com Distribution: ---
Created attachment 54792 --> https://bugs.winehq.org/attachment.cgi?id=54792 Backtrace log of crash.
MultiSpec is an free program for multi channel images (Satellite images etc..). Program runs first. But when I try to open a tif image it crashes. Crash log is in the attachment.
I use Debian 64bit.
https://bugs.winehq.org/show_bug.cgi?id=40832
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- You shouldnt even use that wine version to report bugs. We are currently using 1.8 series(stable) and 1.9 series(development).
You need to upgrade your wine and then retest.
https://bugs.winehq.org/show_bug.cgi?id=40832
kara067@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #54792|0 |1 is obsolete| |
--- Comment #2 from kara067@gmail.com --- Created attachment 54795 --> https://bugs.winehq.org/attachment.cgi?id=54795 New backtrace report with wine 1.9.12
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #3 from kara067@gmail.com --- Sorry for the inconvenience. I just move from windows to debian. I installed with apt-get install wine. Checked with update and upgrade but it doesn't give me a newer version.
So I installed 1.9.12 manually but result is not changed. Problem persist. I added the new traceback report.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #4 from super_man@post.com --- Any console output while trying to run?
Also add a download if possible.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #5 from kara067@gmail.com --- (In reply to super_man from comment #4)
Any console output while trying to run?
Also add a download if possible.
Console output is just:
wine: Unhandled page fault on read access to 0x00000000 at address 0x7ecd9ee0 (thread 0009), starting debugger...
And if I get you right you want to a link download the program.
Download Page: https://engineering.purdue.edu/~biehl/MultiSpec/download_win.html Download Link: https://engineering.purdue.edu/~biehl/MultiSpec_Apps/MultiSpecWin32z.exe
Thank you.
https://bugs.winehq.org/show_bug.cgi?id=40832
kara067@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=40832
kara067@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.6.2 |1.9.12
https://bugs.winehq.org/show_bug.cgi?id=40832
kara067@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|MultiSpec 2.8.2016 32-Bit: |MultiSpec 2.8.2016 32-Bit: |Installs fine but crashes |Installs fine but crashes |while opening tif images |while opening any images
https://bugs.winehq.org/show_bug.cgi?id=40832
kara067@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://engineering.purdue. | |edu/~biehl/MultiSpec/downlo | |ad_win.html
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #6 from super_man@post.com --- Crash location
=>0 0x7eb34df8 EDIT_EM_ReplaceSel+0x498(es=0x175148
Might be very well a dupe of 13319, which has a patch that never went in.
https://bugs.winehq.org/show_bug.cgi?id=40832
Roman Pisl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
--- Comment #7 from Roman Pisl rpisl@seznam.cz --- It is not a dupe of bug 13319.
I think the problem is related to and caused by: https://www.winehq.org/pipermail/wine-patches/2013-May/123958.html
It states a precondition that ater EM_GETHANDLE no message is processed. But MSDN says just that "the application calls LocalUnlock before allowing the edit control to receive new messages".
EM_REPLACESEL fails on null pointer derefernce (es->text) after EM_GETHANDLE is called by application.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #8 from Roman Pisl rpisl@seznam.cz --- Created attachment 55900 --> https://bugs.winehq.org/attachment.cgi?id=55900 Fix for this bug
This patch fixes the bug but it is just a simple revert of https://www.winehq.org/pipermail/wine-patches/2013-May/123958.html
https://bugs.winehq.org/show_bug.cgi?id=40832
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #9 from winetest@luukku.com --- Then this bug is regression and the regression field should be filled with the commit that broke it. Also the author should be added into this bug.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #10 from Roman Pisl rpisl@seznam.cz --- Created attachment 55906 --> https://bugs.winehq.org/attachment.cgi?id=55906 Test that passes on Windows but crasches Wine
This is a test that passes on Windows but crashes wine. I think that confusion of the patch that caused regression might come from MSDN - About Edit Controls. There is a section describing process of obtaining a new buffer. But from other parts it is clear that EM_GETHANDLE does not mean complete transfer of the buffer to the application.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #11 from Roman Pisl rpisl@seznam.cz --- The patch that caused regression fixed bug 4742. Now I tried the app from that bug that was crashing and it runs without crash even when the patch is reverted. Wine version 1.9.21.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #12 from Roman Pisl rpisl@seznam.cz --- Duplicates: bug 37636, bug 38939, bug 37336.
https://bugs.winehq.org/show_bug.cgi?id=40832
Roman Pisl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55906|0 |1 is obsolete| |
--- Comment #13 from Roman Pisl rpisl@seznam.cz --- Created attachment 56321 --> https://bugs.winehq.org/attachment.cgi?id=56321 Test for the fix
https://bugs.winehq.org/show_bug.cgi?id=40832
Roman Pisl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55900|0 |1 is obsolete| |
--- Comment #14 from Roman Pisl rpisl@seznam.cz --- Created attachment 56322 --> https://bugs.winehq.org/attachment.cgi?id=56322 Fix for the bug
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #15 from Roman Pisl rpisl@seznam.cz --- This bug is NOT fixed by http://source.winehq.org/git/wine.git/commit/9de8ea75645d7092f888ddd7572f352... which fixed a buffer overflow.
This bug is caused by a NULL pointer that is dereferenced when EM_REPLACESEL is called after EM_GETHANDLE.
https://bugs.winehq.org/show_bug.cgi?id=40832
--- Comment #16 from winetest@luukku.com --- (In reply to Roman Pisl from comment #14)
Created attachment 56322 [details] Fix for the bug
I tested this bug without any patch and then with the patch with same image. And I can confirm a crash without the patch and the patch indeed fixes the crash.
So this is actually a regression bug.
Can you find the commit id?
wine 2.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=40832
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #17 from winetest@luukku.com --- Bruno can you do something about this? This seems to be a regression that causes multiple bugs. The patch should be reverted in wine code.
https://bugs.winehq.org/show_bug.cgi?id=40832
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huw@codeweavers.com
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to winetest from comment #17)
Bruno can you do something about this? This seems to be a regression that causes multiple bugs.
Not really, CC'ing Huw as he is more used to riched code.
https://bugs.winehq.org/show_bug.cgi?id=40832
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |christopher.legg@blueyonder | |.co.uk
--- Comment #19 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- *** Bug 42294 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40832
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |40afb51a70ae491011f44dc9e6c | |1bbf59cf8bd00 CC| |wine.dev@web.de, | |xerox_xerox2000@yahoo.co.uk Status|UNCONFIRMED |NEW Keywords| |download Ever confirmed|0 |1
--- Comment #20 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- In current wine this is needed to avoid the crash:
git revert 9782ad77b54d8743e06ab5eaf6e34a065840698c
git revert 40afb51a70ae491011f44dc9e6c1bbf59cf8bd00
Added regression keyword
https://bugs.winehq.org/show_bug.cgi?id=40832
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f62d8dc58fb3fb5f11a8ab55620 | |ab9b2fbdaf967 Component|-unknown |user32 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #21 from Nikolay Sivov bunglehead@gmail.com --- Works for me, after f62d8dc58fb3fb5f11a8ab55620ab9b2fbdaf967.
https://bugs.winehq.org/show_bug.cgi?id=40832
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=40832
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=40832
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #23 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.5.
https://bugs.winehq.org/show_bug.cgi?id=40832
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://engineering.purdue. |https://web.archive.org/web |edu/~biehl/MultiSpec/downlo |/20181230070934/https://eng |ad_win.html |ineering.purdue.edu/~biehl/ | |MultiSpec_Apps/MultiSpecWin | |32z.exe CC| |focht@gmx.net