Sometimes Unresponsive, others just not working

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
adragon202
Level 1
Level 1
Posts: 7
Joined: Sun Oct 03, 2010 2:13 am

Sometimes Unresponsive, others just not working

Post by adragon202 »

Here's the deal. When I first installed wine I was able to run games like Starcraft 2 and Guild Wars without any issue what-so-ever. I didn't even have to configure anything. However, I since have performed an update which required a restart, and have since not been able to run very many things.

Certain applications like game launchers (such as those for Land of Chaos Online and Guild Wars) work perfectly, I can also run my console emulators without a hitch.

Other times though it doesn't respond at all, I can see that it's doing something, but then it eventually stops, giving me nothing. I checked the running jobs, and I haven't found anything related to what I was trying to run.

When it comes to my games though, I am unable to run them, as it gives me an ominous message saying that there was an error and it had to close. No specific details about the error though, just that I should look on here to see if there's anything familiar. All I have found is that these games should be running without a hitch.

Things I have tried:
Complete Removal and Installation of Wine
Installing DirectX (I did setup the specific libraries in the configuration)

Anyone have any advice at all as to what I am missing. How I can fix this. It would be really nice if I could manage to get things running reliably.

Confirmation that this is "Just weird" would also be useful, at least then I would know I'm not completely crazy.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

I since have performed an update which required a restart, and have since not been able to run very many things.
What Wine version, what distro, and what exactly was this update you performed? Requiring a restart sounds like a kernel update: did you reinstall your graphics drivers after that? You should.

Have you tried deleting ~/.wine and reinstalling everything? Sometimes that's necessary after an upgrade.
User avatar
adragon202
Level 1
Level 1
Posts: 7
Joined: Sun Oct 03, 2010 2:13 am

Post by adragon202 »

It's Ubuntu, I'm running version 1.2 of wine, and I believe it was a kernel update, but I didn't pay too much attention like I usually would. My unix teacher told me to always pay attention to what I'm updating, but I slipped, won't happen again.

I will try reinstalling my graphics drivers, that sounds like a possibility I hadn't considered.

As I have already stated, I did in fact uninstall/purge wine and then reinstall when the issues began.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

adragon202 wrote:As I have already stated, I did in fact uninstall/purge wine and then reinstall when the issues began.
Uninstalling Wine itself will not delete the wineprefix, and reinstalling Wine will not change it. Did you delete ~/.wine and reinstall your Windows apps to a clean wineprefix?

You didn't say what version of Ubuntu; the problem could be http://bugs.winehq.org/show_bug.cgi?id=24193
User avatar
adragon202
Level 1
Level 1
Posts: 7
Joined: Sun Oct 03, 2010 2:13 am

Post by adragon202 »

I'm running 10.04, and am unable to find a ptrace.conf file, so I do not believe this would be my issue.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

adragon202 wrote:am unable to find a ptrace.conf file
There won't be one, unless you created it. Check if you have /proc/sys/kernel/yama/ptrace_scope "file".
User avatar
adragon202
Level 1
Level 1
Posts: 7
Joined: Sun Oct 03, 2010 2:13 am

Post by adragon202 »

vitamin wrote: There won't be one, unless you created it. Check if you have /proc/sys/kernel/yama/ptrace_scope "file".
I do not have a yama directory. So I could not find a ptrace_scope.

I did a search for anything with ptrace in it, and the only file I found with ptrace in the name was
/usr/share/man/man2/ptrace.2.gz
User avatar
adragon202
Level 1
Level 1
Posts: 7
Joined: Sun Oct 03, 2010 2:13 am

Post by adragon202 »

This just occurred to me, would it be helpful to post what I get when I try and run something from the terminal?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

adragon202 wrote:This just occurred to me, would it be helpful to post what I get when I try and run something from the terminal?
Yes.
User avatar
adragon202
Level 1
Level 1
Posts: 7
Joined: Sun Oct 03, 2010 2:13 am

Post by adragon202 »

Code: Select all

 wine '/media/7E0C29BF0C297377/Program Files/Paint.NET/PaintDotNet.exe' 
Trying to load PE image for unsupported architecture (AMD-64)
err:module:import_dll Loading library mscoree.dll (which is needed by L"Z:\\media\\7E0C29BF0C297377\\Program Files\\Paint.NET\\PaintDotNet.exe") failed (error c000007b).
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\7E0C29BF0C297377\\Program Files\\Paint.NET\\PaintDotNet.exe" failed, status c0000135
That's all I get for trying to run Paint.Net

Code: Select all

wine './StarCraft II.exe'
err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?
wine: Unhandled page fault on execute access to 0x004bdea0 at address 0x4bdea0 (thread 0009), starting debugger...
Unhandled exception: page fault on execute access to 0x004bdea0 in 32-bit code (0x004bdea0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:004bdea0 ESP:0032fe94 EBP:0032fea8 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00000000 EBX:7b883ff4 ECX:1d249335 EDX:0032ff10
 ESI:7ffdf000 EDI:004bdea0
Stack dump:
0x0032fe94:  7b855bcc 7ffdf000 00000000 7b883ff4
0x0032fea4:  7ffdf000 0032fee8 7b857dfb 7ffdf000
0x0032feb4:  004bdea0 00000000 00000000 00000000
0x0032fec4:  00000000 00000000 00000000 00000000
0x0032fed4:  00000000 00000000 7bc9cff4 ffe4fa04
0x0032fee4:  00110818 0032fef8 7bc710c0 7ffdf000
Backtrace:
=>0 0x004bdea0 EntryPoint() in starcraft ii (0x0032fea8)
  1 0x7b857dfb in kernel32 (+0x47dfa) (0x0032fee8)
  2 0x7bc710c0 call_thread_func+0xb() in ntdll (0x0032fef8)
  3 0x7bc71290 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
  4 0x7bc4c19a in ntdll (+0x3c199) (0x0032ffe8)
0x004bdea0 EntryPoint in starcraft ii: call	0x004c799f
Modules:
Module	Address			Debug info	Name (105 modules)
PE	  400000-  6b5000	Export          starcraft ii
ELF	7b800000-7b972000	Export          kernel32<elf>
  \-PE	7b810000-7b972000	\               kernel32
ELF	7bc00000-7bcb9000	Export          ntdll<elf>
  \-PE	7bc10000-7bcb9000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7da88000-7dac1000	Deferred        libdbus-1.so.3
ELF	7dac1000-7db34000	Deferred        libgcrypt.so.11
ELF	7db34000-7dbe5000	Deferred        libkrb5.so.3
ELF	7dbe5000-7dc80000	Deferred        libgnutls.so.26
ELF	7dc80000-7dd23000	Deferred        winex11<elf>
  \-PE	7dc90000-7dd23000	\               winex11
ELF	7ddbf000-7ddc4000	Deferred        libgpg-error.so.0
ELF	7ddc4000-7ddcd000	Deferred        librt.so.1
ELF	7ddcd000-7ddde000	Deferred        libtasn1.so.3
ELF	7ddde000-7dde2000	Deferred        libkeyutils.so.1
ELF	7dde2000-7ddea000	Deferred        libkrb5support.so.0
ELF	7ddea000-7de0e000	Deferred        libk5crypto.so.3
ELF	7de0e000-7de1f000	Deferred        libavahi-client.so.3
ELF	7de1f000-7de2b000	Deferred        libavahi-common.so.3
ELF	7de2b000-7de5a000	Deferred        libgssapi_krb5.so.2
ELF	7de5a000-7dea1000	Deferred        libcups.so.2
ELF	7dec1000-7dedc000	Deferred        spoolss<elf>
  \-PE	7ded0000-7dedc000	\               spoolss
ELF	7dedc000-7defd000	Deferred        localspl<elf>
  \-PE	7dee0000-7defd000	\               localspl
ELF	7df42000-7df76000	Deferred        uxtheme<elf>
  \-PE	7df50000-7df76000	\               uxtheme
ELF	7df76000-7df80000	Deferred        libxcursor.so.1
ELF	7df80000-7df86000	Deferred        libxfixes.so.3
ELF	7df86000-7df8a000	Deferred        libxcomposite.so.1
ELF	7df8a000-7df92000	Deferred        libxrandr.so.2
ELF	7df92000-7df9c000	Deferred        libxrender.so.1
ELF	7df9c000-7dfa2000	Deferred        libxxf86vm.so.1
ELF	7dfa2000-7dfa6000	Deferred        libxinerama.so.1
ELF	7dfa6000-7dfc8000	Deferred        imm32<elf>
  \-PE	7dfb0000-7dfc8000	\               imm32
ELF	7dfc8000-7dfce000	Deferred        libxdmcp.so.6
ELF	7dfce000-7dfd2000	Deferred        libxau.so.6
ELF	7dfd2000-7dfec000	Deferred        libxcb.so.1
ELF	7dfec000-7dff1000	Deferred        libuuid.so.1
ELF	7dff1000-7e10e000	Deferred        libx11.so.6
ELF	7e10e000-7e11e000	Deferred        libxext.so.6
ELF	7e11e000-7e137000	Deferred        libice.so.6
ELF	7e137000-7e140000	Deferred        libsm.so.6
ELF	7e142000-7e146000	Deferred        libcom_err.so.2
ELF	7e193000-7e1ba000	Deferred        libexpat.so.1
ELF	7e1ba000-7e1ea000	Deferred        libfontconfig.so.1
ELF	7e1ea000-7e260000	Deferred        libfreetype.so.6
ELF	7e260000-7e398000	Deferred        wined3d<elf>
  \-PE	7e270000-7e398000	\               wined3d
ELF	7e398000-7e3cc000	Deferred        d3d9<elf>
  \-PE	7e3a0000-7e3cc000	\               d3d9
ELF	7e3cc000-7e424000	Deferred        ddraw<elf>
  \-PE	7e3d0000-7e424000	\               ddraw
ELF	7e424000-7e438000	Deferred        libresolv.so.2
ELF	7e458000-7e479000	Deferred        iphlpapi<elf>
  \-PE	7e460000-7e479000	\               iphlpapi
ELF	7e479000-7e48d000	Deferred        lz32<elf>
  \-PE	7e480000-7e48d000	\               lz32
ELF	7e48d000-7e4b1000	Deferred        mpr<elf>
  \-PE	7e490000-7e4b1000	\               mpr
ELF	7e4b1000-7e4c6000	Deferred        libz.so.1
ELF	7e4cd000-7e4e6000	Deferred        version<elf>
  \-PE	7e4d0000-7e4e6000	\               version
ELF	7e4e6000-7e542000	Deferred        wininet<elf>
  \-PE	7e4f0000-7e542000	\               wininet
ELF	7e542000-7e56f000	Deferred        ws2_32<elf>
  \-PE	7e550000-7e56f000	\               ws2_32
ELF	7e56f000-7e658000	Deferred        oleaut32<elf>
  \-PE	7e590000-7e658000	\               oleaut32
ELF	7e658000-7e6cc000	Deferred        rpcrt4<elf>
  \-PE	7e670000-7e6cc000	\               rpcrt4
ELF	7e6cc000-7e7cc000	Deferred        ole32<elf>
  \-PE	7e6f0000-7e7cc000	\               ole32
ELF	7e7cc000-7e7fb000	Deferred        oledlg<elf>
  \-PE	7e7d0000-7e7fb000	\               oledlg
ELF	7e7fb000-7e833000	Deferred        winspool<elf>
  \-PE	7e800000-7e833000	\               winspool
ELF	7e833000-7e91e000	Deferred        comctl32<elf>
  \-PE	7e840000-7e91e000	\               comctl32
ELF	7e91e000-7e980000	Deferred        shlwapi<elf>
  \-PE	7e930000-7e980000	\               shlwapi
ELF	7e980000-7eb58000	Deferred        shell32<elf>
  \-PE	7e990000-7eb58000	\               shell32
ELF	7eb58000-7ec0f000	Deferred        comdlg32<elf>
  \-PE	7eb60000-7ec0f000	\               comdlg32
ELF	7ec0f000-7ec23000	Deferred        msimg32<elf>
  \-PE	7ec10000-7ec23000	\               msimg32
ELF	7ec23000-7ec7e000	Deferred        advapi32<elf>
  \-PE	7ec30000-7ec7e000	\               advapi32
ELF	7ec7e000-7ed09000	Deferred        gdi32<elf>
  \-PE	7ec90000-7ed09000	\               gdi32
ELF	7ed09000-7ee3a000	Deferred        user32<elf>
  \-PE	7ed20000-7ee3a000	\               user32
ELF	7ef97000-7efa3000	Deferred        libnss_files.so.2
ELF	7efa3000-7efba000	Deferred        libnsl.so.1
ELF	7efba000-7efe0000	Deferred        libm.so.6
ELF	f7410000-f741a000	Deferred        libnss_nis.so.2
ELF	f741b000-f741f000	Deferred        libdl.so.2
ELF	f741f000-f7579000	Deferred        libc.so.6
ELF	f757a000-f7593000	Deferred        libpthread.so.0
ELF	f7598000-f75a0000	Deferred        libnss_compat.so.2
ELF	f75b3000-f76f3000	Export          libwine.so.1
ELF	f76f5000-f7713000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\media\Games\Games\StarCraft II\StarCraft II.exe
	00000009    0 <==
0000000e services.exe
	00000017    0
	00000015    0
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000018    0
	00000016    0
	00000013    0
	00000012    0
0000001b explorer.exe
	0000001c    0
Backtrace:
=>0 0x004bdea0 EntryPoint() in starcraft ii (0x0032fea8)
  1 0x7b857dfb in kernel32 (+0x47dfa) (0x0032fee8)
  2 0x7bc710c0 call_thread_func+0xb() in ntdll (0x0032fef8)
  3 0x7bc71290 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
  4 0x7bc4c19a in ntdll (+0x3c199) (0x0032ffe8)
I get a popup message when the debugger starts saying there's an error, but no specific details.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

adragon202 wrote:

Code: Select all

 wine '/media/7E0C29BF0C297377/Program Files/Paint.NET/PaintDotNet.exe' 
Trying to load PE image for unsupported architecture (AMD-64)

Code: Select all

err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?
Are you trying to run these from a Windows partition? You need to install your apps properly in Wine. In the case of PaintDotNet, it also looks like you are trying to run a 64 bit app with 32 bit Wine. That's not possible.
Locked