https://bugs.winehq.org/show_bug.cgi?id=41859
Bug ID: 41859 Summary: pingo crashes when optimizing PNG images Product: Wine Version: 1.9.24 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: danielbermond@yahoo.com Distribution: ---
Created attachment 56266 --> https://bugs.winehq.org/attachment.cgi?id=56266 pingo wine terminal log when using PNG image
With JPG image: works well. With PNG image: it just crashes. Tested with all possible pingo options. Without command line arguments: shows the help screen as usual.
pingo is a command line PNG/JPG image optimizer that is shipped as a single '.exe' without needing installation.
Tested with the 3 methods of running Console User Interface programs: 'wine', 'wineconsole --backend=user' and 'wineconsole --backend=curses'. All of them crashes when using PNG image.
Website: http://css-ig.net/pingo Download: http://css-ig.net/tools/pingo.zip
OS: Arch Linux x86_64 Wine: 1.9.24 (with all optional dependencies installed) pingo: 0.41
https://bugs.winehq.org/show_bug.cgi?id=41859
Daniel Bermond danielbermond@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Distribution|--- |ArchLinux URL| |http://css-ig.net/tools/pin | |go.zip
https://bugs.winehq.org/show_bug.cgi?id=41859
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Also crashes in Windows, most likely a program bug. I can always reproduce the issue in XP.
https://bugs.winehq.org/show_bug.cgi?id=41859
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt Resolution|INVALID |--- Status|RESOLVED |UNCONFIRMED
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Bruno Jesus from comment #1)
Also crashes in Windows, most likely a program bug. I can always reproduce the issue in XP.
While it indeed crashes under XP the application works just fine under Windows 7. The app relies on newer msvcrt behaviour to allocate aligned memory in malloc. Copying msvcrt.dll from Windows 7 and setting reported Windows version to Windows 7 in winecfg (otherwise msvcrt refuses to load) makes the application work under Wine (msvcrt=n).
Reopening.
https://bugs.winehq.org/show_bug.cgi?id=41859
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Confirming.
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- It's also worth to note that the app crashes *after* it has finished its job, so the resulting file (the app overwrites original image) can be used.
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Dmitry Timoshkov from comment #2)
While it indeed crashes under XP the application works just fine under Windows 7. The app relies on newer msvcrt behaviour to allocate aligned memory in malloc. Copying msvcrt.dll from Windows 7 and setting reported Windows version to Windows 7 in winecfg (otherwise msvcrt refuses to load) makes the application work under Wine (msvcrt=n).
Reopening.
Thanks for the re-evaluation ;-)
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #6 from Daniel Bermond danielbermond@yahoo.com --- (In reply to Dmitry Timoshkov from comment #2)
While it indeed crashes under XP the application works just fine under Windows 7. The app relies on newer msvcrt behaviour to allocate aligned memory in malloc. Copying msvcrt.dll from Windows 7 and setting reported Windows version to Windows 7 in winecfg (otherwise msvcrt refuses to load) makes the application work under Wine (msvcrt=n).
Thanks for investigating and for pointing a workaround.
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #7 from Daniel Bermond danielbermond@yahoo.com --- New versions of pingo were released. Author has added Windows XP to supported operating systems.
Version 0.45 is working fine now.
https://bugs.winehq.org/show_bug.cgi?id=41859
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|pingo crashes when |pingo 0.41 crashes when |optimizing PNG images |optimizing PNG images URL|http://css-ig.net/tools/pin |https://web.archive.org/web |go.zip |/20161012072646/http://css- | |ig.net/tools/pingo.zip
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Daniel Bermond from comment #7)
New versions of pingo were released. Author has added Windows XP to supported operating systems.
Version 0.45 is working fine now.
Improving the application is good but there is still a problem in Wine that can be triggered by the old version.
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #9 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Daniel Bermond from comment #7)
New versions of pingo were released. Author has added Windows XP to supported operating systems.
Version 0.45 is working fine now.
Thanks for the update. Did you report the bug to the pingo author with the information provided in this bug report? Do you know what exactly the author has changed in his code to make it XP compatible?
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #10 from Daniel Bermond danielbermond@yahoo.com --- (In reply to Bruno Jesus from comment #8)
(In reply to Daniel Bermond from comment #7)
New versions of pingo were released. Author has added Windows XP to supported operating systems.
Version 0.45 is working fine now.
Improving the application is good but there is still a problem in Wine that can be triggered by the old version.
Nice to see that there is interest in fixing it even after the program starts to work in later versions. :)
https://bugs.winehq.org/show_bug.cgi?id=41859
--- Comment #11 from Daniel Bermond danielbermond@yahoo.com --- (In reply to Dmitry Timoshkov from comment #9)
(In reply to Daniel Bermond from comment #7)
New versions of pingo were released. Author has added Windows XP to supported operating systems.
Version 0.45 is working fine now.
Thanks for the update.
Thank you for the support.
Did you report the bug to the pingo author with the information provided in this bug report?
No. I have not reported anything to pingo author and I'm not in contact with him.
Do you know what exactly the author has changed in his code to make it XP compatible?
I'm not sure, but the website suggests that XP compatibility was given by tests. Also, the webpage says that version 0.42 fixed an error in 0.41 that could cause pingo to crash. You can see it here: http://css-ig.net/contact/
The news page can also be source of some more information: http://css-ig.net/news/
As you can see, unfortunately the program is closed source and there is no details about code or internals.
https://bugs.winehq.org/show_bug.cgi?id=41859
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #12 from Damjan Jovanovic damjan.jov@gmail.com --- With Wine 4.12.1, even emulating Windows XP, I cannot get even the reported Pingo version (0.41) to crash.
$ wine pingo.exe 123.png
Result: --------------------------------------------------------------------------- 1 file => 35.86 KB - (15.13%) saved ---------------------------------------------------------------------------
Download link: http://web.archive.org/web/20161126202542/http://css-ig.net/tools/pingo.zip
Can you provide the specific image it crashes on?