Suspected problem with updated Qt library version

Questions about Wine on Linux
Locked
salmo6
Level 2
Level 2
Posts: 10
Joined: Mon Sep 06, 2021 8:44 pm

Suspected problem with updated Qt library version

Post by salmo6 »

I'm a photographer who has been running Topaz DeNoise for Windows under WINE for a long time with good success. I recently upgraded the program from version 3.3.5 to 3.4.1, and the program now crashes under WINE. To be more precise, it crashes when I load a second photo. I can still edit one photo at a time, but as soon as I load a second photo, it crashes. Since I usually load up to 10 photos at a time, this makes the upgrade unusable, so I've reverted back to 3.3.5. I've replicated the problem with a clean .wine directory, as well as with downgraded WINE. (I'm running WINE 7.0-rc5).

I can post the whole backtrace trace here if it would be helpful, but it's kind of long. The head of the file looks the most relevant:

Code: Select all

Unhandled exception: page fault on read access to 0x0000000000000000 in 64-bit code (0x0000000004f25682).
Register dump:
 rip:0000000004f25682 rsp:000000001369f850 rbp:00000000165bac60 eflags:00010206 (  R- --  I   - -P- )
 rax:0000000004f25660 rbx:0000000000000000 rcx:0000000000000000 rdx:00000000165bade0
 rsi:00000000165bade0 rdi:00000000165bac60  r8:0000000000000000  r9:0000000000000000 r10:0000000000000002
 r11:000000000521de58 r12:0000000000000008 r13:0000000010772200 r14:00000000165bab20 r15:00000000166b99b0
Stack dump:
0x000000001369f850:  0000ffff00000000 0000000000000000
0x000000001369f860:  00000702f33367c8 0000000000000028
0x000000001369f870:  00000000165bac60 0000000004ed13e2
0x000000001369f880:  0000000004f25660 00000000165baca0
0x000000001369f890:  00000000166b95e8 0000000004ecc7b0
0x000000001369f8a0:  000000000000000a 0000000000000048
0x000000001369f8b0:  0000000000000000 0000000000000000
0x000000001369f8c0:  0000000016e7f750 0000000010772200
0x000000001369f8d0:  0000000010772d28 0000000010772d28
0x000000001369f8e0:  0000000000000000 0000000010772200
0x000000001369f8f0:  000000001369fa10 0000000000007f01
0x000000001369f900:  00000000107724f0 0000000004ed234e
Backtrace:
=>0 0x0000000004f25682 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0x14f132() in qt6quick (0x00000000165bac60)
  1 0x0000000004ed13e2 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0xfae92() in qt6quick (0x00000000165baca0)
  2 0x0000000004ed234e ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0xfbdfe() in qt6quick (0x000000001369fa10)
  3 0x0000000004ed7318 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0x100dc8() in qt6quick (0x000000001369fbe9)
  4 0x0000000004ee429e ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0x10dd4e() in qt6quick (0x000000001369fbe9)
  5 0x0000000004eac128 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0xd5bd8() in qt6quick (0x000000001369fbe9)
  6 0x0000000004fef3b6 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0x218e66() in qt6quick (0x000000001369fcf9)
  7 0x0000000004fee4f7 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0x217fa7() in qt6quick (0x000000001075ab90)
  8 0x0000000005a6e991 ??$qbswap@$01@@YAPEAXPEBX_JPEAX@Z+0x1dff61() in qt6core (0x000000001075abc0)
  9 0x000000007b62c5a9 BaseThreadInitThunk+0x9(unknown=<internal error>, entry=<internal error>, arg=<internal error>) [Z:\builddir\build\BUILD\wine-7.0-rc5\dlls\kernel32\thread.c:61] in kernel32 (0x0000000000000000)
  10 0x000000017005b1d3 __wine_pop_frame(unknown=<internal error>, entry=<internal error>, arg=<internal error>) [Z:\builddir\build\BUILD\wine-7.0-rc5\include\wine\exception.h:273] in ntdll (0x0000000000000000)
  11 0x000000017005b1d3 RtlUserThreadStart+0x83(entry=[<register RSP not accessible in this frame>, arg=[<register RSP not accessible in this frame>) [Z:\builddir\build\BUILD\wine-7.0-rc5\dlls\ntdll\thread.c:240] in ntdll (0x0000000000000000)
0x0000000004f25682 qt6quick+0x155682: movq	(%rcx),%rax
In particular, the lines:

Code: Select all

0x0000000004f25682 ??0?$QQuickPaletteProviderPrivateBase@VQQuickItem@@VQQuickItemPrivate@@@@QEAA@XZ+0x14f132() in qt6quick (0x00000000165bac60)
jump out at me, as one of the major upgrades for Topaz DeNoise 3.4 is
Updated to Qt 6.2
. Previous versions used QT 5.15, AFAICT.
salmo6
Level 2
Level 2
Posts: 10
Joined: Mon Sep 06, 2021 8:44 pm

Re: Suspected problem with updated Qt library version

Post by salmo6 »

Gah!, this got posted prematurely when I accidentally hit Submit instead of Preview -- anyway, I'm wondering if anyone has suggestions for dealing with this problem. I can see in the directory tree of Topaz DeNoise that there are a load of Qt6* DLLs, whereas in the previous version they're all Qt5* DLLs. I just can't figure out why this would cause a crash only when I load a *second* photo.

In particular, I'd like to try selecting the builtin vs. native library in winecfg, but none of the Qt libraries are listed there. Is there a way to add libraries to that list?
salmo6
Level 2
Level 2
Posts: 10
Joined: Mon Sep 06, 2021 8:44 pm

Re: Suspected problem with updated Qt library version

Post by salmo6 »

A follow-up for future reference:

Since my original post, Topaz released an update to Topaz DeNoise AI 3.5.0, and WINE upgraded to 7.0rc6, and the problem has gone away. Once again, I have full functionality with Topaz DeNoise, with no crashes.
Locked