Bug 28840 - wine32 should require libjpeg.so.8
Summary: wine32 should require libjpeg.so.8
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA8, IN_ERRATA9
Depends on:
Blocks:
 
Reported: 2021-04-26 10:32 CEST by Nicolas Pomarède
Modified: 2024-01-02 18:13 CET (History)
5 users (show)

See Also:
Source RPM: wine-6.6-1.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Pomarède 2021-04-26 10:32:23 CEST
Description of problem:

When running some windows program under wine, I noticed that some win32 programs sometime crash immediately with following logs in console :

0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:err:wincodecs:jpeg_decoder_create Failed reading JPEG because unable to find libjpeg.so.8
0024:fixme:ole:CoCreateInstanceEx no instance created for interface {9edde9e7-8dee-47ea-99df-e6faf2ed44bf} of class {9456a480-e88b-43ea-9e73-0b2d9b71b1ca}, hr 0x80004005.
0024:err:olepicture:OleLoadPicture IPersistStream_Load failed
0024:err:wincodecs:jpeg_decoder_create Failed reading JPEG because unable to find libjpeg.so.8
0024:fixme:ole:CoCreateInstanceEx no instance created for interface {9edde9e7-8dee-47ea-99df-e6faf2ed44bf} of class {9456a480-e88b-43ea-9e73-0b2d9b71b1ca}, hr 0x80004005.
0024:err:olepicture:OleLoadPicture IPersistStream_Load failed
wine: Unhandled page fault on read access to 00000004 at address 0081B5BC (thread 0024), starting debugger...
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x0081b5bc).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0081b5bc ESP:0021f5cc EBP:0021f624 EFLAGS:00210297(  R- --  I S -A-P-C)
 EAX:00000000 EBX:0021f5f8 ECX:0193d35c EDX:00000000
 ESI:0021f5d8 EDI:00000000
Stack dump:
0x0021f5cc:  0021f630 0021f664 00000000 00000000
0x0021f5dc:  008125bb 0021f5f4 00000000 00000000
0x0021f5ec:  018cb7a0 00000000 018cb7a0 ffffffff
0x0021f5fc:  00000002 00000002 00831707 00000000
0x0021f60c:  00000000 018cb848 00000000 00000000
0x0021f61c:  3e4cc000 00000003 0021f630 00831502
Backtrace:
=>0 0x0081b5bc in 828 (+0xab5bc) (0x0021f624)
  1 0x00831502 in 828 (+0xc1501) (0x0021f630)
  2 0x00000001 (0x0021f640)
  3 0x008316e3 in 828 (+0xc16e2) (0x0021fc68)
  4 0x0083341e in 828 (+0xc341d) (0x0021fc88)
  5 0x008333c2 in 828 (+0xc33c1) (0x0021fcac)
  6 0x0083335c in 828 (+0xc335b) (0x0021fcd0)
  7 0x0083335c in 828 (+0xc335b) (0x0021fcf4)
  8 0x0083335c in 828 (+0xc335b) (0x0021fd18)
  9 0x0083335c in 828 (+0xc335b) (0x0021fd3c)
  10 0x0083335c in 828 (+0xc335b) (0x0021fd60)
  11 0x0083335c in 828 (+0xc335b) (0x0021fd84)
  12 0x0083335c in 828 (+0xc335b) (0x0021fda8)
  13 0x008337cf in 828 (+0xc37ce) (0x0021fe20)
  14 0x0080b56f in 828 (+0x9b56e) (0x0021fe90)
  15 0x0080b7c1 in 828 (+0x9b7c0) (0x0021ff30)
  16 0x7b62dae0 EntryPoint+0xffffffff() in kernel32 (0x007a8e08)
  17 0x007e2bd5 in 828 (+0x72bd4) (0x007e21a1)
  18 0x04fcfb01 (0xffc8a0f0)

As seen in the log, the program was unable to find libjpe8.so (32 bit version)

Manually installing it with "urpmi libjpeg8" fixes the problem.

Also, "urpmq --requires wine64" shows that wine is correctly requiring libjpeg.so.8()(64bit)
but "urpmq --requires wine32" doesn't show libjpeg.so.8

Proposed fix : wine32 should require libjpeg8 (32bit), similar to wine64 already requiring libjpeg8 (64bit)
Comment 1 Morgan Leijström 2021-04-26 13:10:19 CEST
Thank you for reporting.

Added to
 https://wiki.mageia.org/en/Ways_to_install_programs#Wine

Other deps reported missing:
 Bug 28814 - Wine 32bit install on 64bit system doesn't pull mesa 32bit drivers

I wonder if there are more we should try to hunt for, maybe compare output of "urpmq --requires wine64" and "urpmq --requires wine32", but there may be false positives, and some misses still?

Whiteboard: (none) => MGA8TOO
CC: (none) => fri
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=28814
Keywords: (none) => FOR_ERRATA8

Comment 2 Morgan Leijström 2021-04-26 13:23:27 CEST
https://wiki.mageia.org/en/Mageia_8_Errata#Various_software

Keywords: FOR_ERRATA8 => IN_ERRATA8

Comment 3 Aurelian R 2021-04-26 18:04:50 CEST
(In reply to Morgan Leijström from comment #1)
> Other deps reported missing:
>  Bug 28814 - Wine 32bit install on 64bit system doesn't pull mesa 32bit
> drivers
> 
> I wonder if there are more we should try to hunt for, maybe compare output
> of "urpmq --requires wine64" and "urpmq --requires wine32", but there may be
> false positives, and some misses still?

In bug https://bugs.mageia.org/show_bug.cgi?id=28814 I detailed the issue and a solution for it.
Regards.

CC: (none) => arusanu

Comment 4 Aurelien Oudelet 2021-04-30 10:30:25 CEST
Hi, thanks for reporting this.
Assigned to the package maintainer.

Source RPM: wine32-6.6-1.mga9 => wine-6.6-1.mga9.src.rpm
CC: (none) => ouaurelien
Assignee: bugsquad => rverschelde

Rémi Verschelde 2021-07-23 23:41:44 CEST

Assignee: rverschelde => pkg-bugs
CC: (none) => rverschelde, thierry.vignaud

Comment 5 Morgan Leijström 2022-01-28 15:55:41 CET
ping?
Comment 6 Thierry Vignaud 2022-07-22 12:03:13 CEST
Both lib64jpeg8 & libjpeg8 are pulled in as of wine-7.12-3.mga9

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 7 Morgan Leijström 2022-07-22 18:11:21 CEST
Is mga8 fixed?

And what about Bug 28814
 - Wine 32bit install on 64bit system doesn't pull mesa 32bit drivers

Whiteboard: MGA8TOO => (none)
Version: Cauldron => 8
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 8 Morgan Leijström 2022-07-22 18:28:17 CEST
ALso, same question (fixed for mga8?) for Bug 27603
 - Wine32 5.21.1 : app window not visible because dependancy freetype is missing

BUT: A more general question - I am no expert of wine - but IIUC, package wine is for 32 bit systems, and should not pull 64 bit libs? (but only 32 bit libs)

On 64 bit systems, wine64 and wine32 should both be installed, and it sounds logical they should require the 64 and 32 libs respectively.

As said I am no expert, but seem logical to me.

If I am wrong, we need to correct
https://wiki.mageia.org/en/Ways_to_install_programs#Wine
which I wrote most of.

CC: ouaurelien => sturm-fr

Comment 9 Morgan Leijström 2022-07-22 18:33:19 CEST
Same question of mga8 for
Bug 30462 - WINE totally broken - no DLLs can be found even though they exist
Comment 10 sturmvogel 2022-07-22 20:15:03 CEST
I reopened Bug 30462 as it is still broken.
Comment 11 Morgan Leijström 2022-07-22 21:45:08 CEST
Thank you sturmvogel for digging into this, and improving the wiki :)
Comment 12 Morgan Leijström 2024-01-02 18:13:09 CET
I notice this bug is listed in errata 9, flagging it so.

Keywords: (none) => IN_ERRATA9


Note You need to log in before you can comment on or make changes to this bug.