Photo Ninja 1.2.5 (32 bit)

Questions about Wine on Linux
Locked
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

Hi,

I'm having trouble running Photo Ninja (a RAW converter) on Wine 1.7.38. It installs but crashes on startup. There seems to be a problem with the function MSVCRT_memmove_s in msvcr90. I know this isn't the latest development version, but I get the same error running on 1.7.42 via PlayOnLinux. Interestingly, it doesn't happen if I go back to Wine version 1.4.1. I will also note that when I install vcrun2008 through winetricks (to override msvcr90), it still crashes on startup but doesn't give as useful of a backtrace. Here is the terminal output:

Code: Select all

WINEPREFIX=~/.wineprefixes/Photo_Ninja/ wine ~/.wineprefixes/Photo_Ninja/drive_c/Program\ Files/PictureCode/PhotoNinja32_1.2.5/PhotoNinja32.exe 
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
fixme:system:SetProcessDPIAware stub!
err:module:import_dll Library QtXmlPcQt324.dll (which is needed by L"C:\\Program Files\\PictureCode\\PhotoNinja32_1.2.5\\plugins\\imageformats\\qsvg4.dll") not found
fixme:msg:pack_message msg 80 (WM_SETICON) not supported yet
fixme:msg:pack_message msg 80 (WM_SETICON) not supported yet
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:win:RegisterTouchWindow (0x20048 00000000): stub
fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
fixme:imm:ImmReleaseContext (0x20048, 0x173bd0): stub
fixme:win:FlashWindowEx 0x32f2d4
fixme:win:FlashWindowEx 0x32f224
err:shell:SHGetFileInfoW pidl is null!
err:shell:SHGetFileInfoW pidl is null!
err:msvcrt:MSVCRT__invalid_parameter (null):0 (null): (null) 0
wine: Unhandled exception 0xc0000417 in thread 9 at address 0x7b83b6ae (thread 0009), starting debugger...
Unhandled exception: 0xc0000417 in 32-bit code (0x7b83b6ae).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b83b6ae ESP:0032d014 EBP:0032d088 EFLAGS:00000246(   - --  I  Z- -P- )
 EAX:7b827121 EBX:7b8bc000 ECX:00000000 EDX:00000000
 ESI:c0000417 EDI:00000000
Stack dump:
0x0032d014:  0032d034 00000000 7bcca000 c0000417
0x0032d024:  00000001 00000000 7b83b6ae 00000000
0x0032d034:  0032d0b0 7dee2a01 7deb1b7f 00000018
0x0032d044:  00000000 f75f0dbb f778e000 00000001
0x0032d054:  7dee2a00 0032d098 f75f10cc 00000001
0x0032d064:  7dee2a00 7deb1b7f 7deb1b15 0032d0b0
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x7b83b6ae in kernel32 (+0x2b6ae) (0x0032d088)
  1 0x7de6128d MSVCRT__invalid_parameter+0x8c() in msvcr90 (0x0032d0e8)
  2 0x7de720f4 MSVCRT_memmove_s+0x113() in msvcr90 (0x0032d138)
0x7b83b6ae: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (119 modules)
PE	  370000-  37a000	Deferred        qgif4
PE	  380000-  38b000	Deferred        qico4
PE	  390000-  3c4000	Deferred        qjpeg4
PE	  3d0000-  3d9000	Deferred        qtga4
PE	  400000-  dca000	Export          photoninja32
PE	 fb70000- fbaa000	Deferred        qmng4
PE	 fbb0000- fbf7000	Deferred        qtiff4
PE	10000000-10c3b000	Deferred        qtwebkitpcqt324
PE	64000000-640dd000	Deferred        qtnetworkpcqt324
PE	65000000-657ef000	Deferred        qtguipcqt324
PE	66000000-66048000	Deferred        qtsvgpcqt324
PE	67000000-67271000	Deferred        qtcorepcqt324
ELF	7b800000-7ba62000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba62000	\               kernel32
ELF	7bc00000-7bce7000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bce7000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d25b000-7d32b000	Deferred        crypt32<elf>
  \-PE	7d260000-7d32b000	\               crypt32
ELF	7d32b000-7d36e000	Deferred        rsaenh<elf>
  \-PE	7d330000-7d36e000	\               rsaenh
ELF	7d530000-7d54f000	Deferred        wintab32<elf>
  \-PE	7d540000-7d54f000	\               wintab32
ELF	7d595000-7d59e000	Deferred        librt.so.1
ELF	7d59e000-7d5a5000	Deferred        libffi.so.6
ELF	7d5a5000-7d5aa000	Deferred        libgpg-error.so.0
ELF	7d5aa000-7d5c2000	Deferred        libresolv.so.2
ELF	7d5c2000-7d5c6000	Deferred        libkeyutils.so.1
ELF	7d5c6000-7d611000	Deferred        libdbus-1.so.3
ELF	7d611000-7d64d000	Deferred        libp11-kit.so.0
ELF	7d64d000-7d661000	Deferred        libtasn1.so.6
ELF	7d661000-7d6e7000	Deferred        libgcrypt.so.11
ELF	7d6e7000-7d6f3000	Deferred        libkrb5support.so.0
ELF	7d6f3000-7d6f8000	Deferred        libcom_err.so.2
ELF	7d6f8000-7d728000	Deferred        libk5crypto.so.3
ELF	7d728000-7d7e6000	Deferred        libkrb5.so.3
ELF	7d7e6000-7d8ac000	Deferred        libgnutls.so.26
ELF	7d8ac000-7d8f1000	Deferred        libgssapi_krb5.so.2
ELF	7d8f1000-7d95e000	Deferred        libcups.so.2
ELF	7d967000-7d980000	Deferred        userenv<elf>
  \-PE	7d970000-7d980000	\               userenv
ELF	7d980000-7d9b7000	Deferred        uxtheme<elf>
  \-PE	7d990000-7d9b7000	\               uxtheme
ELF	7d9b7000-7d9bd000	Deferred        libxfixes.so.3
ELF	7d9bd000-7d9c8000	Deferred        libxcursor.so.1
ELF	7d9c8000-7d9d8000	Deferred        libxi.so.6
ELF	7d9d8000-7d9dc000	Deferred        libxcomposite.so.1
ELF	7d9dc000-7d9e7000	Deferred        libxrandr.so.2
ELF	7d9e7000-7d9f2000	Deferred        libxrender.so.1
ELF	7d9f2000-7d9f8000	Deferred        libxxf86vm.so.1
ELF	7d9f8000-7d9fc000	Deferred        libxinerama.so.1
ELF	7d9fc000-7da03000	Deferred        libxdmcp.so.6
ELF	7da03000-7da07000	Deferred        libxau.so.6
ELF	7da07000-7da29000	Deferred        libxcb.so.1
ELF	7da29000-7db5d000	Deferred        libx11.so.6
ELF	7db5d000-7db70000	Deferred        libxext.so.6
ELF	7db70000-7db82000	Deferred        libavahi-client.so.3
ELF	7db82000-7db90000	Deferred        libavahi-common.so.3
ELF	7db92000-7dc26000	Deferred        winex11<elf>
  \-PE	7dba0000-7dc26000	\               winex11
ELF	7dc9d000-7dcc6000	Deferred        libexpat.so.1
ELF	7dcc6000-7dd01000	Deferred        libfontconfig.so.1
ELF	7dd01000-7dd29000	Deferred        libpng12.so.0
ELF	7dd29000-7dd43000	Deferred        libz.so.1
ELF	7dd43000-7dde3000	Deferred        libfreetype.so.6
ELF	7dde3000-7de05000	Deferred        libtinfo.so.5
ELF	7de05000-7de2a000	Deferred        libncurses.so.5
ELF	7de2a000-7dee5000	Dwarf           msvcr90<elf>
  \-PE	7de40000-7dee5000	\               msvcr90
ELF	7dee5000-7e02d000	Deferred        msvcp90<elf>
  \-PE	7df20000-7e02d000	\               msvcp90
ELF	7e02d000-7e052000	Deferred        imm32<elf>
  \-PE	7e030000-7e052000	\               imm32
ELF	7e052000-7e095000	Deferred        winspool<elf>
  \-PE	7e060000-7e095000	\               winspool
ELF	7e095000-7e1a0000	Deferred        comctl32<elf>
  \-PE	7e0a0000-7e1a0000	\               comctl32
ELF	7e1a0000-7e28d000	Deferred        comdlg32<elf>
  \-PE	7e1b0000-7e28d000	\               comdlg32
ELF	7e28d000-7e2b8000	Deferred        msacm32<elf>
  \-PE	7e290000-7e2b8000	\               msacm32
ELF	7e2b8000-7e371000	Deferred        winmm<elf>
  \-PE	7e2c0000-7e371000	\               winmm
ELF	7e371000-7e3c6000	Deferred        liblcms2.so.2
ELF	7e3e8000-7e409000	Deferred        mscms<elf>
  \-PE	7e3f0000-7e409000	\               mscms
ELF	7e409000-7e442000	Deferred        ws2_32<elf>
  \-PE	7e410000-7e442000	\               ws2_32
ELF	7e442000-7e4b3000	Deferred        setupapi<elf>
  \-PE	7e450000-7e4b3000	\               setupapi
ELF	7e4b3000-7e537000	Deferred        rpcrt4<elf>
  \-PE	7e4c0000-7e537000	\               rpcrt4
ELF	7e537000-7e67a000	Deferred        ole32<elf>
  \-PE	7e550000-7e67a000	\               ole32
ELF	7e67a000-7e7bf000	Deferred        oleaut32<elf>
  \-PE	7e690000-7e7bf000	\               oleaut32
ELF	7e7bf000-7e839000	Deferred        shlwapi<elf>
  \-PE	7e7d0000-7e839000	\               shlwapi
ELF	7e839000-7ea70000	Deferred        shell32<elf>
  \-PE	7e850000-7ea70000	\               shell32
ELF	7ea70000-7eaeb000	Deferred        advapi32<elf>
  \-PE	7ea80000-7eaeb000	\               advapi32
ELF	7eaeb000-7ec0a000	Deferred        gdi32<elf>
  \-PE	7eb00000-7ec0a000	\               gdi32
ELF	7ec0a000-7ed66000	Deferred        user32<elf>
  \-PE	7ec20000-7ed66000	\               user32
ELF	7ef66000-7ef73000	Deferred        libnss_files.so.2
ELF	7ef73000-7ef7f000	Deferred        libnss_nis.so.2
ELF	7ef7f000-7ef98000	Deferred        libnsl.so.1
ELF	7ef98000-7efde000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73fa000-f75a8000	Deferred        libc.so.6
ELF	f75a8000-f75ad000	Deferred        libdl.so.2
ELF	f75ae000-f75ca000	Deferred        libpthread.so.0
ELF	f75e3000-f75ec000	Deferred        libnss_compat.so.2
ELF	f75ec000-f77a2000	Dwarf           libwine.so.1
ELF	f77a4000-f77c6000	Deferred        ld-linux.so.2
ELF	f77c6000-f77c7000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\PictureCode\PhotoNinja32_1.2.5\PhotoNinja32.exe
	0000002d    0
	0000002c    0
	0000002b    0
	0000002a    0
	00000029    0
	00000028    0
	00000027   -2
	00000026   -2
	00000025   -2
	00000024   -2
	00000023   -2
	00000022   -2
	00000009    0 <==
0000000e services.exe
	0000001d    0
	0000001c    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000021    0
Any help? Or should I file a bug?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by dimesio »

Code: Select all

err:module:import_dll Library QtXmlPcQt324.dll (which is needed by L"C:\\Program Files\\PictureCode\\PhotoNinja32_1.2.5\\plugins\\imageformats\\qsvg4.dll") not found
That's one problem. That dll is not part of Windows, so it should have been installed by your app.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

dimesio wrote:

Code: Select all

err:module:import_dll Library QtXmlPcQt324.dll (which is needed by L"C:\\Program Files\\PictureCode\\PhotoNinja32_1.2.5\\plugins\\imageformats\\qsvg4.dll") not found
That's one problem. That dll is not part of Windows, so it should have been installed by your app.
That certainly makes sense to me. However, I can't find that dll either on my Wine installation or on Windows (I also installed Photo Ninja there for testing purposes). That error message also pops up when I run it under wine-1.4.1, and the program still runs fine under that version, so I guess this error must not be critical.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by dimesio »

I downloaded the trial version from http://www.picturecode.com/download.php, and can't reproduce the problem in 1.7.42. You are right about that missing dll not being fatal; I get that message, too, but no crash.

Try a clean wineprefix in 1.7.42 (plain Wine--no PlayOnLinux).
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

dimesio wrote:I downloaded the trial version from http://www.picturecode.com/download.php, and can't reproduce the problem in 1.7.42. You are right about that missing dll not being fatal; I get that message, too, but no crash.

Try a clean wineprefix in 1.7.42 (plain Wine--no PlayOnLinux).
Okay, thanks. I was using 1.7.38 because I'm on Linux Mint and that's the latest version in the PPA. I'll have to figure out how to get the latest version.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

Okay, well, I managed to compile the latest and greatest Wine from source on my machine. (I gave it an alias called devwine, since it is installed on my /home). Here is the output of devwine --version:

Code: Select all

wine-1.7.42-158-gf920dfd
I'm still getting the same error, too. I have no idea why I would be getting it if you aren't. Very frustrating. Anyway, here is the error log. It seems to have a little more verbose information about the error, which maybe someone can make sense out of.

Code: Select all

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
fixme:system:SetProcessDPIAware stub!
err:module:import_dll Library QtXmlPcQt324.dll (which is needed by L"Z:\\home\\dan\\.wineprefixes\\Photo_Ninja\\drive_c\\Program Files\\PictureCode\\PhotoNinja32_1.2.5\\plugins\\imageformats\\qsvg4.dll") not found
fixme:msg:pack_message msg 80 (WM_SETICON) not supported yet
fixme:msg:pack_message msg 80 (WM_SETICON) not supported yet
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:win:RegisterTouchWindow (0x20048 00000000): stub
fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
fixme:imm:ImmReleaseContext (0x20048, 0x1724f8): stub
fixme:win:FlashWindowEx 0x32f2d4
fixme:win:FlashWindowEx 0x32f224
err:shell:SHGetFileInfoW pidl is null!
err:shell:SHGetFileInfoW pidl is null!
err:msvcrt:MSVCRT__invalid_parameter (null):0 (null): (null) 0
wine: Unhandled exception 0xc0000417 in thread 9 at address 0x7b83b9ae (thread 0009), starting debugger...
Unhandled exception: 0xc0000417 in 32-bit code (0x7b83b9ae).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b83b9ae ESP:0032d014 EBP:0032d088 EFLAGS:00000246(   - --  I  Z- -P- )
 EAX:7b8273b1 EBX:7b8bd000 ECX:00000000 EDX:00000000
 ESI:c0000417 EDI:00000000
Stack dump:
0x0032d014:  0032d034 00000000 7bcca000 c0000417
0x0032d024:  00000001 00000000 7b83b9ae 00000000
0x0032d034:  0032d0b0 7decba01 7de9ab9f 00000018
0x0032d044:  00000000 f75c8eeb f7766000 00000001
0x0032d054:  7decba00 0032d098 f75c91fc 00000001
0x0032d064:  7decba00 7de9ab9f 7de9ab35 0032d0b0
Backtrace:
=>0 0x7b83b9ae RaiseException+0x5e(code=<couldn't compute location>, flags=<couldn't compute location>, nbargs=<couldn't compute location>, args=<couldn't compute location>) [/home/dan/wine32-git/dlls/kernel32/except.c:84] in kernel32 (0x0032d088)
  1 0x7de4a11d MSVCRT__invalid_parameter+0x8c() in msvcr90 (0x0032d0e8)
  2 0x7de5af54 MSVCRT_memmove_s+0x113(dest=0x4bcd7b68, numberOfElements=0x2, src=0x0(nil), count=0x2) [/home/dan/wine32-git/dlls/msvcr90/../msvcrt/heap.c:692] in msvcr90 (0x0032d138)
0x7b83b9ae RaiseException+0x5e [/home/dan/wine32-git/dlls/kernel32/except.c:84] in kernel32: subl	$4,%esp
84	    RtlRaiseException( &record );
Modules:
Module	Address			Debug info	Name (117 modules)
PE	  360000-  36a000	Deferred        qgif4
PE	  370000-  37b000	Deferred        qico4
PE	  380000-  3b4000	Deferred        qjpeg4
PE	  3c0000-  3fa000	Deferred        qmng4
PE	  400000-  dca000	Export          photoninja32
PE	 fb80000- fb89000	Deferred        qtga4
PE	 fb90000- fbd7000	Deferred        qtiff4
PE	10000000-10c3b000	Deferred        qtwebkitpcqt324
PE	64000000-640dd000	Deferred        qtnetworkpcqt324
PE	65000000-657ef000	Deferred        qtguipcqt324
PE	66000000-66048000	Deferred        qtsvgpcqt324
PE	67000000-67271000	Deferred        qtcorepcqt324
ELF	7b800000-7ba66000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba66000	\               kernel32
ELF	7bc00000-7bce7000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bce7000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7c93a000-7ca0a000	Deferred        crypt32<elf>
  \-PE	7c940000-7ca0a000	\               crypt32
ELF	7d331000-7d374000	Deferred        rsaenh<elf>
  \-PE	7d340000-7d374000	\               rsaenh
ELF	7d554000-7d573000	Deferred        wintab32<elf>
  \-PE	7d560000-7d573000	\               wintab32
ELF	7d5b9000-7d5c2000	Deferred        librt.so.1
ELF	7d5c2000-7d5c9000	Deferred        libffi.so.6
ELF	7d5c9000-7d5ce000	Deferred        libgpg-error.so.0
ELF	7d5ce000-7d5e6000	Deferred        libresolv.so.2
ELF	7d5e6000-7d5ea000	Deferred        libkeyutils.so.1
ELF	7d5ea000-7d635000	Deferred        libdbus-1.so.3
ELF	7d635000-7d671000	Deferred        libp11-kit.so.0
ELF	7d671000-7d685000	Deferred        libtasn1.so.6
ELF	7d685000-7d70b000	Deferred        libgcrypt.so.11
ELF	7d70b000-7d717000	Deferred        libkrb5support.so.0
ELF	7d717000-7d71c000	Deferred        libcom_err.so.2
ELF	7d71c000-7d74c000	Deferred        libk5crypto.so.3
ELF	7d74c000-7d80a000	Deferred        libkrb5.so.3
ELF	7d80a000-7d8d0000	Deferred        libgnutls.so.26
ELF	7d8d0000-7d915000	Deferred        libgssapi_krb5.so.2
ELF	7d915000-7d982000	Deferred        libcups.so.2
ELF	7d98c000-7d9a5000	Deferred        userenv<elf>
  \-PE	7d990000-7d9a5000	\               userenv
ELF	7d9a5000-7d9dd000	Deferred        uxtheme<elf>
  \-PE	7d9b0000-7d9dd000	\               uxtheme
ELF	7d9dd000-7d9e3000	Deferred        libxfixes.so.3
ELF	7d9e3000-7d9ee000	Deferred        libxcursor.so.1
ELF	7d9ee000-7d9fe000	Deferred        libxi.so.6
ELF	7d9fe000-7da02000	Deferred        libxcomposite.so.1
ELF	7da02000-7da0d000	Deferred        libxrandr.so.2
ELF	7da0d000-7da18000	Deferred        libxrender.so.1
ELF	7da18000-7da1e000	Deferred        libxxf86vm.so.1
ELF	7da1e000-7da22000	Deferred        libxinerama.so.1
ELF	7da22000-7da29000	Deferred        libxdmcp.so.6
ELF	7da29000-7da2d000	Deferred        libxau.so.6
ELF	7da2d000-7da4f000	Deferred        libxcb.so.1
ELF	7da4f000-7db83000	Deferred        libx11.so.6
ELF	7db83000-7db96000	Deferred        libxext.so.6
ELF	7db97000-7dba9000	Deferred        libavahi-client.so.3
ELF	7dba9000-7dbb7000	Deferred        libavahi-common.so.3
ELF	7dbb9000-7dc4d000	Deferred        winex11<elf>
  \-PE	7dbc0000-7dc4d000	\               winex11
ELF	7dccd000-7dcf6000	Deferred        libexpat.so.1
ELF	7dcf6000-7dd31000	Deferred        libfontconfig.so.1
ELF	7dd31000-7dd59000	Deferred        libpng12.so.0
ELF	7dd59000-7dd73000	Deferred        libz.so.1
ELF	7dd73000-7de13000	Deferred        libfreetype.so.6
ELF	7de13000-7dece000	Dwarf           msvcr90<elf>
  \-PE	7de30000-7dece000	\               msvcr90
ELF	7dece000-7e016000	Deferred        msvcp90<elf>
  \-PE	7df10000-7e016000	\               msvcp90
ELF	7e016000-7e03b000	Deferred        imm32<elf>
  \-PE	7e020000-7e03b000	\               imm32
ELF	7e03b000-7e07e000	Deferred        winspool<elf>
  \-PE	7e040000-7e07e000	\               winspool
ELF	7e07e000-7e18a000	Deferred        comctl32<elf>
  \-PE	7e090000-7e18a000	\               comctl32
ELF	7e18a000-7e277000	Deferred        comdlg32<elf>
  \-PE	7e190000-7e277000	\               comdlg32
ELF	7e277000-7e2a2000	Deferred        msacm32<elf>
  \-PE	7e280000-7e2a2000	\               msacm32
ELF	7e2a2000-7e35b000	Deferred        winmm<elf>
  \-PE	7e2b0000-7e35b000	\               winmm
ELF	7e35b000-7e3b0000	Deferred        liblcms2.so.2
ELF	7e3d3000-7e3f4000	Deferred        mscms<elf>
  \-PE	7e3e0000-7e3f4000	\               mscms
ELF	7e3f4000-7e42e000	Deferred        ws2_32<elf>
  \-PE	7e400000-7e42e000	\               ws2_32
ELF	7e42e000-7e49f000	Deferred        setupapi<elf>
  \-PE	7e440000-7e49f000	\               setupapi
ELF	7e49f000-7e523000	Deferred        rpcrt4<elf>
  \-PE	7e4b0000-7e523000	\               rpcrt4
ELF	7e523000-7e665000	Deferred        ole32<elf>
  \-PE	7e540000-7e665000	\               ole32
ELF	7e665000-7e7aa000	Deferred        oleaut32<elf>
  \-PE	7e680000-7e7aa000	\               oleaut32
ELF	7e7aa000-7e824000	Deferred        shlwapi<elf>
  \-PE	7e7c0000-7e824000	\               shlwapi
ELF	7e824000-7ea6e000	Deferred        shell32<elf>
  \-PE	7e830000-7ea6e000	\               shell32
ELF	7ea6e000-7eaea000	Deferred        advapi32<elf>
  \-PE	7ea80000-7eaea000	\               advapi32
ELF	7eaea000-7ec09000	Deferred        gdi32<elf>
  \-PE	7eb00000-7ec09000	\               gdi32
ELF	7ec09000-7ed65000	Deferred        user32<elf>
  \-PE	7ec20000-7ed65000	\               user32
ELF	7ef65000-7ef72000	Deferred        libnss_files.so.2
ELF	7ef72000-7ef7e000	Deferred        libnss_nis.so.2
ELF	7ef7e000-7ef97000	Deferred        libnsl.so.1
ELF	7ef97000-7efdd000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73d1000-f73d6000	Deferred        libdl.so.2
ELF	f73d6000-f7584000	Deferred        libc.so.6
ELF	f7585000-f75a1000	Deferred        libpthread.so.0
ELF	f75a7000-f75b0000	Deferred        libnss_compat.so.2
ELF	f75c4000-f777a000	Dwarf           libwine.so.1
ELF	f777c000-f779e000	Deferred        ld-linux.so.2
ELF	f779e000-f779f000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\dan\.wineprefixes\Photo_Ninja\drive_c\Program Files\PictureCode\PhotoNinja32_1.2.5\PhotoNinja32.exe
	00000030    0
	0000002f    0
	0000002e    0
	0000002d    0
	0000002c    0
	0000002b    0
	0000002a   -2
	00000029   -2
	00000028   -2
	00000027   -2
	00000026   -2
	00000025   -2
	00000009    0 <==
0000000e services.exe
	0000001d    0
	0000001c    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000024    0
	00000023    0
	00000022    0
	00000021    0
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Photo Ninja 1.2.5 (32 bit)

Post by lahmbi5678 »

Hi,

you could try

winetricks mfc42

kind regards,
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by dimesio »

Did you reinstall the app to a clean wineprefix after upgrading Wine? If you didn't, try that.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

dimesio wrote:Did you reinstall the app to a clean wineprefix after upgrading Wine? If you didn't, try that.
Yes, it was a clean wineprefix. I removed the original wineprefix and then let wine create a new one when I installed Photo Ninja again. I wonder if this could somehow be a system specific bug, if it's happening for me but not others?
Last edited by montag_dp on Wed May 13, 2015 11:05 pm, edited 2 times in total.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

lahmbi5678 wrote:Hi,

you could try

winetricks mfc42

kind regards,
Thanks for the suggestion. Still the same error, though.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by dimesio »

I only tested the demo, and that may not exhibit the problem. Test the demo and see if you still get a crash.

I also don't get this:

Code: Select all

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
That's unlikely to be the cause of the problem, but you can get rid of it by either installing 32 bit p11-kit or uninstalling p11-kit altogether.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

dimesio wrote:I only tested the demo, and that may not exhibit the problem. Test the demo and see if you still get a crash.
I am actually using the demo as well (haven't bought a license yet, but am really interested in doing so, especially if it works well on Wine). As far as I can tell, the only difference between the demo and the full version is that the demo won't let you save JPEG or TIFF files, so it shouldn't affect the startup problems.
dimesio wrote:I also don't get this:

Code: Select all

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
That's unlikely to be the cause of the problem, but you can get rid of it by either installing 32 bit p11-kit or uninstalling p11-kit altogether.
Thanks, I removed those packages and don't get that warning anymore. The startup crash is still there, though.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by dimesio »

At the point where your console output says

Code: Select all

err:msvcrt:MSVCRT__invalid_parameter (null):0 (null): (null) 0
mine says

Code: Select all

fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
That's right before your crash, so I'd say that has something to do with it, but I have no idea why you get that error and I just get a fixme.

What version of gcc did you use to compile Wine?
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

dimesio wrote:At the point where your console output says

Code: Select all

err:msvcrt:MSVCRT__invalid_parameter (null):0 (null): (null) 0
mine says

Code: Select all

fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
That's right before your crash, so I'd say that has something to do with it, but I have no idea why you get that error and I just get a fixme.

What version of gcc did you use to compile Wine?
Output of gcc --version:

Code: Select all

gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Since my machine is 64-bit, I followed the instructions here:

http://wiki.winehq.org/WineOn64bit#head ... 674bd61b37

to compile it. So it was all done in a 32-bit lxc container. I then installed wine from the repos outside of the container to ensure all the dependencies are satisfied, but I've been running the version I compiled from source. I don't know if that information is helpful to you at all.

Another interesting thing is that, when I run it with wine-1.6.2 instead of the latest development version, it sometimes crashes with the same error, but in msvcrt instead of msvcr90. However, it doesn't always crash, it's probably about 1/4 of the time or maybe even less. When it doesn't crash, I get the same fixme message that you are getting. So it is definitely pretty strange, because I get behavior similar to what you are seeing, but on wine-1.6.2, and it sometimes crashes and other times just gives the fixme message.

I wonder if there is some way to compile it with an option to always just give the fixme message instead of an error?
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Photo Ninja 1.2.5 (32 bit)

Post by lahmbi5678 »

Hi,

I tried it on opensuse 13.2 32bit in a clean wineprefix. It got stuck at the first run. I couldn't click the accept button of the license agreement. Then I had to run it a few times, until I finally was able click the accept button (probably some kind of race condition in wine?). It seemed to work at that time. At the next run I got the same (or similar) exception like montag_dp. Quite annoying.

In my opinion this is a bug in wine, though it may not always be reproducible, so file a bug.

kind regards,
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by dimesio »

I tested in a second wineprefix and did get the crash, though I didn't do anything different. I now have one working and one non-working wineprefix, with no idea why. So I agree, file a bug.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

Okay guys, thanks for the help. I will do that.
montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

montag_dp
Level 2
Level 2
Posts: 14
Joined: Tue May 12, 2015 5:21 pm

Re: Photo Ninja 1.2.5 (32 bit)

Post by montag_dp »

Here's an update about the bug report. One of the commenters on the bug report seems to think this is a memory management bug with the application itself, not a bug with wine. He was also kind enough to explain how to get the 64 bit version to work with a dll override + copying the msvcr90.dll that ships with Photo Ninja to the appropriate directory within windows/winsxs. I've written it up as a new AppDB report here:

https://appdb.winehq.org/objectManager. ... &iId=32164

So, at least for my purposes, my question is answered, as the 64 bit version runs great with Wine. That's actually better, because the developer has stated on his website that the 32 bit version may eventually stop being supported.
Locked