https://bugs.winehq.org/show_bug.cgi?id=50221
Bug ID: 50221 Summary: Regression: 4nec2 Run-time error '481': Invalid picture Product: Wine Version: 5.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: serge@stroobandt.com Distribution: ---
Created attachment 68727 --> https://bugs.winehq.org/attachment.cgi?id=68727 Run-time error '481': Invalid picture
4nec2 is a free, popular and very stable antenna modelling program. Its installation file can be downloaded for free from: https://www.qsl.net/4nec2/
It runs fine on 64-bit wine 3.20 (Windows XP). However, it crashes at startup with wine 4.x and 5.x versions.
The following error is shown (screenshot attached): Run-time error '481': Invalid picture
I am able to replicate this regression on several machines of mine.
https://bugs.winehq.org/show_bug.cgi?id=50221
serge@stroobandt.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |serge@stroobandt.com
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #1 from serge@stroobandt.com --- Here are some very ancient Wine installation instructions for 4nec2: https://www.qsl.net/4nec2/faq.htm#_Linux
Much, if not all, of this was no longer required with wine 3.20.
https://bugs.winehq.org/show_bug.cgi?id=50221
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Severity|blocker |normal URL| |https://www.qsl.net/4nec2/ CC| |o.dierick@piezo-forte.be
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Issues in a single application are severity 'normal'. Read more about severity levels descriptions there: https://wiki.winehq.org/Bugs#severity
Performing a regression test between 3.20 and 4.x may prove difficult after such a long time, but it may speed up things for the developers if you manage to do so. Instructions for regression testing can be found there: https://wiki.winehq.org/Regression_Testing
Please, attach a normal (=without WINEDEBUG) terminal output. Instructions to get a log can be found there: https://wiki.winehq.org/FAQ#get_log
Link and download keyword added.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #3 from serge@stroobandt.com --- Thanks, Oliver.
For the sake of completeness, I run PlayOnLinux 4.3.4 and winetricks 0.0+20200412-1 on top of wine. This method has served me well with wine 3.20 as it avoids standalone wine "wining" about missing DLLs.
The debug information I was able to get from PlayOnLinux is shown below:
Running wine-4.21 4nec2.exe (Working directory : /home/serge/.PlayOnLinux/wineprefix/4nec2/drive_c/4nec2/exe) 0016:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\NDIS": 00000001 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 731 0021:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\wineusb": c0000142 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114 0009:fixme:ole:OaBuildVersion Version value not known yet. Please investigate it ! 0009:fixme:olepicture:OleLoadPictureEx (00EF02F4,61616,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0032F7A0), partially implemented. 0009:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62 0009:fixme:ole:CoCreateInstanceEx no instance created for interface {9edde9e7-8dee-47ea-99df-e6faf2ed44bf} of class {9456a480-e88b-43ea-9e73-0b2d9b71b1ca}, hres is 0x80004005 0009:err:olepicture:OleLoadPictureEx IPersistStream_Load failed
https://bugs.winehq.org/show_bug.cgi?id=50221
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Created attachment 68731 --> https://bugs.winehq.org/attachment.cgi?id=68731 screenshot showing everything is OK
Playonlinux is not supported in this bugzilla.
Please, retest with a vanilla wine in a fresh wine prefix.
I tested by myself. And it works fine for me with vanilla wine-5.22
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #5 from Serge Y. Stroobandt serge@stroobandt.com --- That is really useful information! Cheers. This clearly demonstrates that I need to take my issue to PlayOnLinux.
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Serge Y. Stroobandt from comment #3)
0009:err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62
Hello,
I know nothing about Playonlinux, but on Debian 8 and vanilla Wine, I currently have libjpeg62-turbo and libjpeg62-turbo:i386 packages installed to get JPEG support in both 32-bit and 64-bit flavors.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #7 from Serge Y. Stroobandt serge@stroobandt.com --- Thank you for the suggestion.
libjpeg62 is available on (X)Ubuntu LTS 20.04 and I installed it. libjpeg62:i386 is not available. libjpeg8 and libjpeg8:i386 were already installed.
Unfortunately, I am still receiving the same error with 64-bit wine v5.19.
https://bugs.winehq.org/show_bug.cgi?id=50221
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #8 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Serge Y. Stroobandt from comment #7)
libjpeg62 is available on (X)Ubuntu LTS 20.04 and I installed it. libjpeg62:i386 is not available.
Hello,
Pure 64-bit Wine can only run pure 64-bit windows applications, which are very uncommon and currently unsupported. https://forum.winehq.org/viewtopic.php?t=33427&p=126290
Shared wow64 Wine build (the default on 64-bit systems) still requires 32-bit dependencies to run 32-bit binaries.
libjpeg62:i386 is available on Ubuntu 20.04: https://packages.ubuntu.com/focal/libjpeg62
Synaptic won't display i386 packages in the default view, if that's what you tried. If you need help installing i386 architecture packages on ubuntu, please check ubuntu forums: https://ubuntuforums.org/showthread.php?t=2418075&p=13856444#post1385644...
Since it works with vanilla wine, it is either an issue of missing dependency or a playonlinux issue. I'll mark the bug as invalid. Feel free to reopen if it can be reproduced with vanilla Wine.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #9 from Serge Y. Stroobandt serge@stroobandt.com --- Excellent, Olivier!
sudo apt install libjpeg62 libjpeg62:i386
indeed solved all my issues.
4nec2 now runs fine with PlayOnLinux 4.3.4 and 64-bit wine version 5.19 on (X)Ubuntu LTS 20.04
Thank you for all your kind suggestions.
Suggestion: Perhaps, it might be worthwhile to make wine dependent on these legacy JPEG library packages.
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #10 from Serge Y. Stroobandt serge@stroobandt.com --- Created attachment 68747 --> https://bugs.winehq.org/attachment.cgi?id=68747 4nec2 memory allocation on 64-bit wine
4nec2 can be a very memory intensive program. If I am not mistaken, running it as a 64-bit wine application allows it to see all available memory. See bottom of attached picture.
https://bugs.winehq.org/show_bug.cgi?id=50221
--- Comment #11 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=50221
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=50221
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.qsl.net/4nec2/ |https://web.archive.org/web | |/20200121203248/https://qsl | |.net/4nec2/4nec2.zip CC| |focht@gmx.net Summary|Regression: 4nec2 Run-time |4nec2 5.x crashes on |error '481': Invalid |startup with run-time error |picture |'481': Invalid picture