Can't get Photoscape to run :-(

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MT Brain
Level 2
Level 2
Posts: 11
Joined: Fri Mar 13, 2009 6:53 am

Can't get Photoscape to run :-(

Post by MT Brain »

Hey guys,

I switched to Ubuntu a while ago and LOVE it. Only one thing bothers me: using Wine, I can get any Windows app I installed so far (except Sam & Max Season 1) to run, but my all-time favourite, the one I really use regularly, namely Photoscape, is giving me headaches all the time.

It has been running for a while now, but every now and then I seem to unwittingly make some weird change to the system (new updates? Upgrade to Jaunty?) and it will stop working. Right now, I'm at the end of my wits. Can anybody help me? Can you make any sense of this:



thebrightside@MISTERDEATHFUCK:~/.wine/drive_c/Program Files/PhotScp$ wine PhotoScape.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x315cc0,0x00000000), stub!
wine: Unhandled page fault on read access to 0x00000048 at address 0x4b277cd7 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000048 in 32-bit code (0x4b277cd7).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:4b277cd7 ESP:00315570 EBP:00315580 EFLAGS:00010256( - 00 RIZAP1)
EAX:00110000 EBX:012174f0 ECX:00000048 EDX:00000011
ESI:012176c0 EDI:00000000
Stack dump:
0x00315570: 01217604 012176c0 00110000 012174a8
0x00315580: 0031559c 4b2ec395 00110000 00315598
0x00315590: 000001ca 01217570 00110002 003155c8
0x003155a0: 4b2ec898 0000000e 012174a8 012177ce
0x003155b0: 00000000 012173b0 00000005 01217574
0x003155c0: 00000000 00000007 00315604 4b278b84
Backtrace:
=>1 0x4b277cd7 in gdiplus (+0x47cd7) (0x00315580)
2 0x4b2ec395 in gdiplus (+0xbc395) (0x0031559c)
3 0x4b2ec898 in gdiplus (+0xbc898) (0x003155c8)
4 0x4b278b84 in gdiplus (+0x48b84) (0x00315604)
5 0x4b2b88eb in gdiplus (+0x888eb) (0x00315624)
6 0x4b2b8c6a in gdiplus (+0x88c6a) (0x00315760)
7 0x4b2a2b9f in gdiplus (+0x72b9f) (0x00315988)
8 0x4b2a2e23 in gdiplus (+0x72e23) (0x00315fe8)
9 0x4b2a2efb in gdiplus (+0x72efb) (0x0031600c)
10 0x4b26fe60 in gdiplus (+0x3fe60) (0x00316030)
11 0x005ac67e in photoscape (+0x1ac67e) (0x0000001c)
12 0x00000000 (0x00000000)
0x4b277cd7: movl 0x0(%edi,%ecx,1),%ecx
Modules:
Module Address Debug info Name (111 modules)
PE 400000- 9f3000 Export photoscape
PE 4b230000-4b3d3000 Export gdiplus
PE 5d360000-5d36e000 Deferred mfc80enu
PE 78130000-781cb000 Deferred msvcr80
PE 781d0000-782df000 Deferred mfc80
ELF 7b800000-7b93c000 Deferred kernel32<elf>
\-PE 7b820000-7b93c000 \ kernel32
ELF 7bc00000-7bca7000 Deferred ntdll<elf>
\-PE 7bc10000-7bca7000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
PE 7c420000-7c4a7000 Deferred msvcp80
ELF 7dcaa000-7dcbe000 Deferred msimg32<elf>
\-PE 7dcb0000-7dcbe000 \ msimg32
ELF 7ddcf000-7dde3000 Deferred riched32<elf>
\-PE 7ddd0000-7dde3000 \ riched32
ELF 7dde3000-7ddf8000 Deferred midimap<elf>
\-PE 7ddf0000-7ddf8000 \ midimap
ELF 7ddf8000-7de20000 Deferred msacm32<elf>
\-PE 7de00000-7de20000 \ msacm32
ELF 7de20000-7de7f000 Deferred libpulse.so.0
ELF 7de7f000-7de98000 Deferred msacm32<elf>
\-PE 7de80000-7de98000 \ msacm32
ELF 7de98000-7df60000 Deferred libasound.so.2
ELF 7df60000-7df66000 Deferred libattr.so.1
ELF 7df66000-7df6d000 Deferred libgdbm.so.3
ELF 7df6d000-7df72000 Deferred libcap.so.2
ELF 7df72000-7df79000 Deferred libasound_module_pcm_pulse.so
ELF 7df79000-7dfb0000 Deferred winealsa<elf>
\-PE 7df80000-7dfb0000 \ winealsa
ELF 7dfd4000-7e007000 Deferred uxtheme<elf>
\-PE 7dfe0000-7e007000 \ uxtheme
ELF 7e007000-7e00b000 Deferred libgpg-error.so.0
ELF 7e00b000-7e074000 Deferred libgcrypt.so.11
ELF 7e074000-7e106000 Deferred libkrb5.so.3
ELF 7e106000-7e1a3000 Deferred libgnutls.so.26
ELF 7e1e0000-7e1f2000 Deferred libtasn1.so.3
ELF 7e1f2000-7e1f6000 Deferred libkeyutils.so.1
ELF 7e1f6000-7e1ff000 Deferred libkrb5support.so.0
ELF 7e1ff000-7e223000 Deferred libk5crypto.so.3
ELF 7e223000-7e24e000 Deferred libgssapi_krb5.so.2
ELF 7e24e000-7e285000 Deferred libcups.so.2
ELF 7e288000-7e291000 Deferred librt.so.1
ELF 7e2b1000-7e2ba000 Deferred libxcursor.so.1
ELF 7e2ba000-7e2bf000 Deferred libxfixes.so.3
ELF 7e2bf000-7e2c3000 Deferred libxcomposite.so.1
ELF 7e2c3000-7e2cb000 Deferred libxrandr.so.2
ELF 7e2cb000-7e2d5000 Deferred libxrender.so.1
ELF 7e2d5000-7e2d8000 Deferred libxinerama.so.1
ELF 7e2d8000-7e2dd000 Deferred libxdmcp.so.6
ELF 7e2dd000-7e2f7000 Deferred libxcb.so.1
ELF 7e2f7000-7e2fb000 Deferred libxau.so.6
ELF 7e2fb000-7e300000 Deferred libuuid.so.1
ELF 7e300000-7e3ef000 Deferred libx11.so.6
ELF 7e3ef000-7e3ff000 Deferred libxext.so.6
ELF 7e3ff000-7e405000 Deferred libxxf86vm.so.1
ELF 7e405000-7e41d000 Deferred libice.so.6
ELF 7e41d000-7e426000 Deferred libsm.so.6
ELF 7e426000-7e42a000 Deferred libcom_err.so.2
ELF 7e43f000-7e4da000 Deferred winex11<elf>
\-PE 7e450000-7e4da000 \ winex11
ELF 7e520000-7e547000 Deferred libexpat.so.1
ELF 7e547000-7e574000 Deferred libfontconfig.so.1
ELF 7e574000-7e58a000 Deferred libz.so.1
ELF 7e58a000-7e601000 Deferred libfreetype.so.6
ELF 7e601000-7e622000 Deferred imm32<elf>
\-PE 7e610000-7e622000 \ imm32
ELF 7e622000-7e66d000 Deferred riched20<elf>
\-PE 7e630000-7e66d000 \ riched20
ELF 7e66d000-7e701000 Deferred winmm<elf>
\-PE 7e680000-7e701000 \ winmm
ELF 7e701000-7e7a7000 Deferred oleaut32<elf>
\-PE 7e710000-7e7a7000 \ oleaut32
ELF 7e7a7000-7e86c000 Deferred comctl32<elf>
\-PE 7e7b0000-7e86c000 \ comctl32
ELF 7e86c000-7e981000 Deferred shell32<elf>
\-PE 7e880000-7e981000 \ shell32
ELF 7e981000-7e9b8000 Deferred winspool<elf>
\-PE 7e990000-7e9b8000 \ winspool
ELF 7e9b8000-7ea13000 Deferred shlwapi<elf>
\-PE 7e9d0000-7ea13000 \ shlwapi
ELF 7ea13000-7ea7f000 Deferred msvcrt<elf>
\-PE 7ea20000-7ea7f000 \ msvcrt
ELF 7ea7f000-7eae2000 Deferred rpcrt4<elf>
\-PE 7ea90000-7eae2000 \ rpcrt4
ELF 7eae2000-7eb88000 Deferred ole32<elf>
\-PE 7eaf0000-7eb88000 \ ole32
ELF 7eb88000-7ec28000 Deferred gdi32<elf>
\-PE 7eba0000-7ec28000 \ gdi32
ELF 7ec28000-7ed74000 Deferred user32<elf>
\-PE 7ec40000-7ed74000 \ user32
ELF 7ed74000-7edc7000 Deferred advapi32<elf>
\-PE 7ed80000-7edc7000 \ advapi32
ELF 7edc7000-7eddd000 Deferred libresolv.so.2
ELF 7edf6000-7ee15000 Deferred iphlpapi<elf>
\-PE 7ee00000-7ee15000 \ iphlpapi
ELF 7ee15000-7ee42000 Deferred ws2_32<elf>
\-PE 7ee20000-7ee42000 \ ws2_32
ELF 7ee42000-7ee57000 Deferred lz32<elf>
\-PE 7ee50000-7ee57000 \ lz32
ELF 7ee57000-7ee72000 Deferred version<elf>
\-PE 7ee60000-7ee72000 \ version
ELF 7ef9c000-7efa8000 Deferred libnss_files.so.2
ELF 7efa8000-7efc1000 Deferred libnsl.so.1
ELF 7efc1000-7efe7000 Deferred libm.so.6
ELF 7efec000-7eff7000 Deferred libnss_nis.so.2
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF f7d01000-f7d05000 Deferred libdl.so.2
ELF f7d05000-f7e68000 Deferred libc.so.6
ELF f7e69000-f7e82000 Deferred libpthread.so.0
ELF f7e9b000-f7fd2000 Deferred libwine.so.1
ELF f7fd4000-f7ff5000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\PhotScp\PhotoScape.exe
00000019 0
00000009 0 <==
0000000c
00000014 0
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000016 0
00000015 0
00000011 0
00000010 0
00000017
00000018 0
Backtrace:
=>1 0x4b277cd7 in gdiplus (+0x47cd7) (0x00315580)
2 0x4b2ec395 in gdiplus (+0xbc395) (0x0031559c)
3 0x4b2ec898 in gdiplus (+0xbc898) (0x003155c8)
4 0x4b278b84 in gdiplus (+0x48b84) (0x00315604)
5 0x4b2b88eb in gdiplus (+0x888eb) (0x00315624)
6 0x4b2b8c6a in gdiplus (+0x88c6a) (0x00315760)
7 0x4b2a2b9f in gdiplus (+0x72b9f) (0x00315988)
8 0x4b2a2e23 in gdiplus (+0x72e23) (0x00315fe8)
9 0x4b2a2efb in gdiplus (+0x72efb) (0x0031600c)
10 0x4b26fe60 in gdiplus (+0x3fe60) (0x00316030)
11 0x005ac67e in photoscape (+0x1ac67e) (0x0000001c)
12 0x00000000 (0x00000000)


Perhaps you have some idea what is going wrong.

Thanks!
Matthias.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't get Photoscape to run :-(

Post by dimesio »

It's crashing in native gdiplus. Remove the override and see if that fixes it. If that works, but you need the override for some other app, set it for that app only rather than globally.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Can't get Photoscape to run :-(

Post by austin987 »

On Fri, May 1, 2009 at 8:11 AM, dimesio <[email protected]> wrote:
It's crashing in native gdiplus. Remove the override and see if that fixes it. If that works, but you need the override for some other app, set it for that app only rather than globally.





Did you install native gdiplus, or did the application?

--
-Austin
MT Brain
Level 2
Level 2
Posts: 11
Joined: Fri Mar 13, 2009 6:53 am

Post by MT Brain »

I checked the config, there was no override for gdiplus, and adding one surely didn't change anything :-)

I'm not sure whether I am running it natively, in fact I haven't even heard of it before today. I remember using wine-tricks to install, if I remember correctly, vcrun6 to get Photoscape running in the first place. I also installed Microsoft Visual C++ 2005 Redistributable, it actually appears twice in the Wine Application Uninstaller.

Can you give me some more info on gdiplus? Should I uninstall Visual C++ 2005 and install it from scratch?

Thanks, I really appreciate it!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

MT Brain wrote:I checked the config, there was no override for gdiplus, and adding one surely didn't change anything :-)

I'm not sure whether I am running it natively, in fact I haven't even heard of it before today. I remember using wine-tricks to install, if I remember correctly, vcrun6 to get Photoscape running in the first place. I also installed Microsoft Visual C++ 2005 Redistributable, it actually appears twice in the Wine Application Uninstaller.

Can you give me some more info on gdiplus? Should I uninstall Visual C++ 2005 and install it from scratch?

Thanks, I really appreciate it!
I downloaded Photoscape 3.3 and it installs and runs fine for me in 1.1.20 without any overrides. The app itself installs Visual C++ 2005, so I don't know why you installed it again.

Try renaming your wineprefix and reinstalling the app to a clean one. You didn't say what Wine version you're using--if it's not the latest development release, upgrade.
MT Brain
Level 2
Level 2
Posts: 11
Joined: Fri Mar 13, 2009 6:53 am

Post by MT Brain »

Hi, thanks! I just upgraded to 1.1.20 and renamed my wineprefix, i.e. installed to a clean one: I get an error message saying "The program PhotoScape.exe has encountered a serious problem and needs to close."

Also, PhotoScape does not appear in my Wine "Programs" menu, instead, the old programs from the previous Wineprefix are still there. How do I get that? Is the Wine menu stored someplace else (I guess so, but how do I get it to connect with the new wineprefix)?

Here's the current output for PhotoScape:

thebrightside@MISTERDEATHFUCK:~/.wine/drive_c/Program Files/PhotScap$ wine PhotoScape.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.MFCLOC" (8.0.50608.0)
fixme:win:EnumDisplayDevicesW ((null),0,0x315cc0,0x00000000), stub!
wine: Unhandled page fault on read access to 0x00000048 at address 0x4b277cd7 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000048 in 32-bit code (0x4b277cd7).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:4b277cd7 ESP:00315570 EBP:00315580 EFLAGS:00010256( - 00 RIZAP1)
EAX:00110000 EBX:013430f0 ECX:00000048 EDX:00000011
ESI:013432c0 EDI:00000000
Stack dump:
0x00315570: 01343204 013432c0 00110000 013430a8
0x00315580: 0031559c 4b2ec395 00110000 00315598
0x00315590: 000001ca 01343170 00110002 003155c8
0x003155a0: 4b2ec898 0000000e 013430a8 013433ce
0x003155b0: 00000000 01342fb0 00000005 01343174
0x003155c0: 00000000 00000007 00315604 4b278b84
Backtrace:
=>0 0x4b277cd7 in gdiplus (+0x47cd7) (0x00315580)
1 0x4b2ec395 in gdiplus (+0xbc395) (0x0031559c)
2 0x4b2ec898 in gdiplus (+0xbc898) (0x003155c8)
3 0x4b278b84 in gdiplus (+0x48b84) (0x00315604)
4 0x4b2b88eb in gdiplus (+0x888eb) (0x00315624)
5 0x4b2b8c6a in gdiplus (+0x88c6a) (0x00315760)
6 0x4b2a2b9f in gdiplus (+0x72b9f) (0x00315988)
7 0x4b2a2e23 in gdiplus (+0x72e23) (0x00315fe8)
8 0x4b2a2efb in gdiplus (+0x72efb) (0x0031600c)
9 0x4b26fe60 in gdiplus (+0x3fe60) (0x00316030)
10 0x005ac67e in photoscape (+0x1ac67e) (0x0000001c)
11 0x00000000 (0x00000000)
0x4b277cd7: movl 0x0(%edi,%ecx,1),%ecx
Modules:
Module Address Debug info Name (108 modules)
PE 400000- 9f3000 Export photoscape
PE 4b230000-4b3d3000 Export gdiplus
PE 78130000-781cb000 Deferred msvcr80
PE 781d0000-782dd000 Deferred mfc80
ELF 7b800000-7b948000 Deferred kernel32<elf>
\-PE 7b820000-7b948000 \ kernel32
ELF 7bc00000-7bcb1000 Deferred ntdll<elf>
\-PE 7bc10000-7bcb1000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
PE 7c420000-7c4a7000 Deferred msvcp80
ELF 7dca6000-7dcba000 Deferred msimg32<elf>
\-PE 7dcb0000-7dcba000 \ msimg32
ELF 7dcba000-7dcce000 Deferred riched32<elf>
\-PE 7dcc0000-7dcce000 \ riched32
ELF 7dcce000-7dce3000 Deferred midimap<elf>
\-PE 7dcd0000-7dce3000 \ midimap
ELF 7dce3000-7dd09000 Deferred msacm32<elf>
\-PE 7dcf0000-7dd09000 \ msacm32
ELF 7dd09000-7dd0f000 Deferred libattr.so.1
ELF 7dd0f000-7dd16000 Deferred libgdbm.so.3
ELF 7dd16000-7dd75000 Deferred libpulse.so.0
ELF 7dd75000-7de3d000 Deferred libasound.so.2
ELF 7de3e000-7de56000 Deferred msacm32<elf>
\-PE 7de40000-7de56000 \ msacm32
ELF 7de56000-7de8d000 Deferred winealsa<elf>
\-PE 7de60000-7de8d000 \ winealsa
ELF 7deb1000-7dee5000 Deferred uxtheme<elf>
\-PE 7dec0000-7dee5000 \ uxtheme
ELF 7dee5000-7df4e000 Deferred libgcrypt.so.11
ELF 7df4e000-7df60000 Deferred libtasn1.so.3
ELF 7df60000-7df76000 Deferred libresolv.so.2
ELF 7df76000-7e008000 Deferred libkrb5.so.3
ELF 7e008000-7e0a5000 Deferred libgnutls.so.26
ELF 7e0e0000-7e0e5000 Deferred libcap.so.2
ELF 7e0e5000-7e0ec000 Deferred libasound_module_pcm_pulse.so
ELF 7e0ec000-7e0f0000 Deferred libgpg-error.so.0
ELF 7e0f0000-7e0f4000 Deferred libkeyutils.so.1
ELF 7e0f4000-7e0fd000 Deferred libkrb5support.so.0
ELF 7e0fd000-7e101000 Deferred libcom_err.so.2
ELF 7e101000-7e125000 Deferred libk5crypto.so.3
ELF 7e125000-7e150000 Deferred libgssapi_krb5.so.2
ELF 7e150000-7e187000 Deferred libcups.so.2
ELF 7e18a000-7e193000 Deferred librt.so.1
ELF 7e1b3000-7e1bc000 Deferred libxcursor.so.1
ELF 7e1bc000-7e1c1000 Deferred libxfixes.so.3
ELF 7e1c1000-7e1c5000 Deferred libxcomposite.so.1
ELF 7e1c5000-7e1cd000 Deferred libxrandr.so.2
ELF 7e1cd000-7e1d7000 Deferred libxrender.so.1
ELF 7e1d7000-7e1dd000 Deferred libxxf86vm.so.1
ELF 7e1dd000-7e1e0000 Deferred libxinerama.so.1
ELF 7e1e0000-7e1e5000 Deferred libxdmcp.so.6
ELF 7e1e5000-7e1ff000 Deferred libxcb.so.1
ELF 7e1ff000-7e203000 Deferred libxau.so.6
ELF 7e203000-7e208000 Deferred libuuid.so.1
ELF 7e208000-7e2f7000 Deferred libx11.so.6
ELF 7e2f7000-7e307000 Deferred libxext.so.6
ELF 7e307000-7e31f000 Deferred libice.so.6
ELF 7e31f000-7e328000 Deferred libsm.so.6
ELF 7e341000-7e3dd000 Deferred winex11<elf>
\-PE 7e350000-7e3dd000 \ winex11
ELF 7e433000-7e45a000 Deferred libexpat.so.1
ELF 7e45a000-7e487000 Deferred libfontconfig.so.1
ELF 7e487000-7e49d000 Deferred libz.so.1
ELF 7e49d000-7e514000 Deferred libfreetype.so.6
ELF 7e52d000-7e54e000 Deferred imm32<elf>
\-PE 7e530000-7e54e000 \ imm32
ELF 7e54e000-7e5a7000 Deferred riched20<elf>
\-PE 7e560000-7e5a7000 \ riched20
ELF 7e5a7000-7e63a000 Deferred winmm<elf>
\-PE 7e5b0000-7e63a000 \ winmm
ELF 7e63a000-7e721000 Deferred oleaut32<elf>
\-PE 7e650000-7e721000 \ oleaut32
ELF 7e721000-7e7ea000 Deferred comctl32<elf>
\-PE 7e730000-7e7ea000 \ comctl32
ELF 7e7ea000-7e974000 Deferred shell32<elf>
\-PE 7e800000-7e974000 \ shell32
ELF 7e974000-7e9aa000 Deferred winspool<elf>
\-PE 7e980000-7e9aa000 \ winspool
ELF 7e9aa000-7ea08000 Deferred shlwapi<elf>
\-PE 7e9c0000-7ea08000 \ shlwapi
ELF 7ea08000-7ea76000 Deferred msvcrt<elf>
\-PE 7ea20000-7ea76000 \ msvcrt
ELF 7ea76000-7eae3000 Deferred rpcrt4<elf>
\-PE 7ea80000-7eae3000 \ rpcrt4
ELF 7eae3000-7ebdc000 Deferred ole32<elf>
\-PE 7eb00000-7ebdc000 \ ole32
ELF 7ebdc000-7ec32000 Deferred advapi32<elf>
\-PE 7ebf0000-7ec32000 \ advapi32
ELF 7ec32000-7ecd3000 Deferred gdi32<elf>
\-PE 7ec40000-7ecd3000 \ gdi32
ELF 7ecd3000-7ee1f000 Deferred user32<elf>
\-PE 7ecf0000-7ee1f000 \ user32
ELF 7ee1f000-7ee4c000 Deferred ws2_32<elf>
\-PE 7ee30000-7ee4c000 \ ws2_32
ELF 7ee4c000-7ee67000 Deferred version<elf>
\-PE 7ee50000-7ee67000 \ version
ELF 7ef91000-7ef9d000 Deferred libnss_files.so.2
ELF 7ef9d000-7efa8000 Deferred libnss_nis.so.2
ELF 7efa8000-7efc1000 Deferred libnsl.so.1
ELF 7efc1000-7efe7000 Deferred libm.so.6
ELF 7efeb000-7efff000 Deferred lz32<elf>
\-PE 7eff0000-7efff000 \ lz32
ELF f7c10000-f7c19000 Deferred libnss_compat.so.2
ELF f7c1a000-f7c1e000 Deferred libdl.so.2
ELF f7c1e000-f7d81000 Deferred libc.so.6
ELF f7d82000-f7d9b000 Deferred libpthread.so.0
ELF f7db4000-f7eef000 Deferred libwine.so.1
ELF f7ef1000-f7f12000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\PhotScap\PhotoScape.exe
00000019 0
00000009 0 <==
0000000c
00000014 0
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000016 0
00000015 0
00000011 0
00000010 0
00000017
00000018 0
Backtrace:
=>0 0x4b277cd7 in gdiplus (+0x47cd7) (0x00315580)
1 0x4b2ec395 in gdiplus (+0xbc395) (0x0031559c)
2 0x4b2ec898 in gdiplus (+0xbc898) (0x003155c8)
3 0x4b278b84 in gdiplus (+0x48b84) (0x00315604)
4 0x4b2b88eb in gdiplus (+0x888eb) (0x00315624)
5 0x4b2b8c6a in gdiplus (+0x88c6a) (0x00315760)
6 0x4b2a2b9f in gdiplus (+0x72b9f) (0x00315988)
7 0x4b2a2e23 in gdiplus (+0x72e23) (0x00315fe8)
8 0x4b2a2efb in gdiplus (+0x72efb) (0x0031600c)
9 0x4b26fe60 in gdiplus (+0x3fe60) (0x00316030)
10 0x005ac67e in photoscape (+0x1ac67e) (0x0000001c)
11 0x00000000 (0x00000000)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

The menu entries you'll have to fix manually. http://wiki.winehq.org/FAQ#head-9893ae5 ... af2e69b391

As to your crash, when you reinstalled, was it Photoscape only, nothing else, no winetricks? Because you're still getting the crash in native gdiplus, and that doesn't happen for me. My console output looks like this:

Code: Select all

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.MFCLOC" (8.0.50608.0)
fixme:win:EnumDisplayDevicesW ((null),0,0x315cc0,0x00000000), stub!
fixme:win:LockWindowUpdate (0x10032), partial stub!
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:dciman:DCICreatePrimary 0x350 0xe4129c
So I think your wineprefix isn't really clean. Try again, with Photoscape only, no winetricks, nothing else.
MT Brain
Level 2
Level 2
Posts: 11
Joined: Fri Mar 13, 2009 6:53 am

Post by MT Brain »

Hmmm, that's interesting. I definitely installed to a new Wineprefix, and Photoscape was the one and only thing I installed. Thanks for the link to the FAQ - what worries me: if I follow the steps described there, am I not going to lose the menu entries for wincfg, the uninstaller and "Browse C:\ drive" as well?

Also, removing old entries will not solve my other problem: when I installed Photoscape, no menu entries were created for it. Sure I could do it manually, but something must be screwed up so they no longer get created automatically.

Also, when I run Photoscape with the new version of Wine, I get the "serious problem" error window after the following output:


thebrightside@MISTERDEATHFUCK:~/.wine/drive_c/Program Files/PhotScap$ wine PhotoScape.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.MFCLOC" (8.0.50608.0)
fixme:win:EnumDisplayDevicesW ((null),0,0x315cc0,0x00000000), stub!
wine: Unhandled page fault on read access to 0x00000048 at address 0x4b277cd7 (thread 0009), starting debugger...


When I close that window, the rest appears.
Obviously, I can fix the first one by installing vcrun2005 with Winetricks (i.e. Visual C++ 2005), which then indeed leaves me with the old output from the first post - and the "serious error" window after:

fixme:win:EnumDisplayDevicesW ((null),0,0x315cc0,0x00000000), stub!
wine: Unhandled page fault on read access to 0x00000048 at address 0x4b277cd7 (thread 0009), starting debugger...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

MT Brain wrote:Hmmm, that's interesting. I definitely installed to a new Wineprefix, and Photoscape was the one and only thing I installed. Thanks for the link to the FAQ - what worries me: if I follow the steps described there, am I not going to lose the menu entries for wincfg, the uninstaller and "Browse C:\ drive" as well?
Yes. You can always just browse to those directories and manually delete only the items you want.
Also, removing old entries will not solve my other problem: when I installed Photoscape, no menu entries were created for it. Sure I could do it manually, but something must be screwed up so they no longer get created automatically.
There's a whole thread here somewhere about menu problems in Gnome, and AFAIK, there is no solution yet.
Also, when I run Photoscape with the new version of Wine, I get the "serious problem" error window after the following output:
That error window is just telling you that something crashed, which you know anyway from the console output.

Try this: in winecfg, set gdiplus to builtin only, then try running the app.
MT Brain
Level 2
Level 2
Posts: 11
Joined: Fri Mar 13, 2009 6:53 am

Post by MT Brain »

Hmmm, that's interesting! When I set it to builtin, Photoscape does run (awesome!!), but then it won't display pictures: the thumbnails are empty, and when I open a picture, it is a black rectangular space on my editor window. Also, the grid is not displayed correctly, blue dots on black background.

The amazing thing is that with builtin gdiplus, that program runs WAY faster than it did before, when I was obviously using a non-broken version of the native gdiplus.

Any way I can tweak that?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

MT Brain wrote:Hmmm, that's interesting! When I set it to builtin, Photoscape does run (awesome!!), but then it won't display pictures: the thumbnails are empty, and when I open a picture, it is a black rectangular space on my editor window. Also, the grid is not displayed correctly, blue dots on black background.

The amazing thing is that with builtin gdiplus, that program runs WAY faster than it did before, when I was obviously using a non-broken version of the native gdiplus.

Any way I can tweak that?
Try testing different override settings:
native only
native, builtin
builtin, native

Don't install gdiplus with winetricks, just set the overrides. Photoscape installs its own gdiplus.
MT Brain
Level 2
Level 2
Posts: 11
Joined: Fri Mar 13, 2009 6:53 am

Post by MT Brain »

Tried all of them with another clean installation. Nothing. It either crashes or isn't usable because nothing is displayed...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

MT Brain wrote:Tried all of them with another clean installation. Nothing. It either crashes or isn't usable because nothing is displayed...
What version of Photoscape are you using? I downloaded the current one, 3.3; if you're using an older version, try upgrading.

Something is going wrong with Photoscape's gdiplus on your system, and I don't know what. Photoscape needs it--even on my system, I get the blank thumbnails when I set the override to builtin only or builtin, native, but I don't get a crash from the other possibilities (including no overrides set).

But I'm on openSUSE, not Ubuntu, so it could be a difference in the distro packages. You could try compiling Wine from source and see if Photoscape still crashes; if it doesn't crash on your system with vanilla Wine, then it's something in the Ubuntu packages. Beyond that, I'm afraid I'm running out of ideas.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Probably a dumb question, but what do you do when people tell you to use a "clean wineprefix"? Do you reinstall Wine itself, remove ~/.wine, or change WINEPREFIX? Because just reinstalling Wine itself isn't gonna do a thing, and one of your earlier posts seemed to kinda point towards you doing this...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

DaVince wrote:Probably a dumb question, but what do you do when people tell you to use a "clean wineprefix"? Do you reinstall Wine itself, remove ~/.wine, or change WINEPREFIX? Because just reinstalling Wine itself isn't gonna do a thing, and one of your earlier posts seemed to kinda point towards you doing this...
A wineprefix is a directory Wine puts its configuration settings and fake drive c: in. The default is ~./wine, but you can use any other directory with the WINEPREFIX environment variable. A clean wineprefix is one with no apps installed other than the ones Wine itself puts there and no overrides or other tweaks; either deleting ~/.wine and recreating it or creating a brand new one with a different name will work. You're right, reinstalling Wine will not create a clean wineprefix; I never said it would.
Locked