After creating new Prefix a lot of games aren´t working anym

Questions about Wine on Linux
Locked
JPRuehmann
Level 2
Level 2
Posts: 14
Joined: Thu Sep 18, 2014 1:10 pm

After creating new Prefix a lot of games aren´t working anym

Post by JPRuehmann »

Hello
I have a Big Problem.
I had to create a new Prefix But after that a lot of my installed and formerly working programs aren´t working anymore.
as I can see there are mainly two Files they complain about ntdll.dll and msvcrt.dll.
And I don´t understand why wine is looking in ~/wine/dlls for that files if the Path in the settings is /usr/local/lib/wine/dlls/

Here is a Backtrace.

Code: Select all

Unhandled exception: page fault on read access to 0x00000034 in 32-bit code (0x7bc3c821).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7bc3c821 ESP:0033f080 EBP:0033f0a8 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00000020 EBX:7bcc7000 ECX:0033f0b4 EDX:00000000
 ESI:00000020 EDI:00a26a38
Stack dump:
0x0033f080:  0033f094 00a26a38 0033f098 780012b1
0x0033f090:  780012b1 00a26298 0033f0b4 00a26a38
0x0033f0a0:  00000000 00a26a38 0033f0cc 7800f980
0x0033f0b0:  7800f980 00000020 780220a2 00000000
0x0033f0c0:  00000000 00000009 00a26a38 00a26220
0x0033f0d0:  0047216f 00a26a38 00000062 00000000
Backtrace:
=>0 0x7bc3c821 RtlEnterCriticalSection+0x21(crit=<couldn't compute location>) [/home/ruehmann/wine/dlls/ntdll/critsection.c:541] in ntdll (0x0033f0a8)
  1 0x7800f980 in msvcrt (+0xf97f) (0x0033f0cc)
  2 0x0047216f in mask (+0x7216e) (0x00a26220)
  3 0x009e00e8 (0x009e00f8)
  4 0x009e00e8 (0x009e0108)
  5 0x009e00f8 (0x009e0118)
  6 0x009e0108 (0x009e0128)
  7 0x009e0118 (0x00a26b88)
  8 0x009e0128 (0x009e0088)
  9 0x00a26b88 (0x009e4608)
  10 0x009e0088 (0x009e0098)
  11 0x009e4608 (0x009e00a8)
  12 0x009e0098 (0x009e3fc8)
  13 0x009e00a8 (0x009e00b8)
  14 0x009e3fc8 (0x009e00c8)
  15 0x009e00b8 (0x009e00d8)
  16 0x009e00c8 (0x009e00e8)
  17 0x009e00d8 (0x009e00f8)
  18 0x009e00e8 (0x009e0108)
  19 0x009e00f8 (0x009e0118)
  20 0x009e0108 (0x009e0128)
  21 0x009e0118 (0x00a26b88)
  22 0x009e0128 (0x009e0088)
  23 0x00a26b88 (0x009e4608)
  24 0x009e0088 (0x009e0098)
  25 0x009e4608 (0x009e00a8)
  26 0x009e0098 (0x009e3fc8)
  27 0x009e00a8 (0x009e00b8)
  28 0x009e3fc8 (0x009e00c8)
  29 0x009e00b8 (0x009e00d8)
  30 0x009e00c8 (0x009e00e8)
  31 0x009e00d8 (0x009e00f8)
  32 0x009e00e8 (0x009e0108)
  33 0x009e00f8 (0x009e0118)
  34 0x009e0108 (0x009e0128)
  35 0x009e0118 (0x00a26b88)
  36 0x009e0128 (0x009e0088)
  37 0x00a26b88 (0x009e4608)
  38 0x009e0088 (0x009e0098)
  39 0x009e4608 (0x009e00a8)
  40 0x009e0098 (0x009e3fc8)
  41 0x009e00a8 (0x009e00b8)
  42 0x009e3fc8 (0x009e00c8)
  43 0x009e00b8 (0x009e00d8)
  44 0x009e00c8 (0x009e00e8)
  45 0x009e00d8 (0x009e00f8)
  46 0x009e00e8 (0x009e0108)
  47 0x009e00f8 (0x009e0118)
  48 0x009e0108 (0x009e0128)
  49 0x009e0118 (0x00a26b88)
  50 0x009e0128 (0x009e0088)
  51 0x00a26b88 (0x009e4608)
  52 0x009e0088 (0x009e0098)
  53 0x009e4608 (0x009e00a8)
  54 0x009e0098 (0x009e3fc8)
  55 0x009e00a8 (0x009e00b8)
  56 0x009e3fc8 (0x009e00c8)
  57 0x009e00b8 (0x009e00d8)
  58 0x009e00c8 (0x009e00e8)
  59 0x009e00d8 (0x009e00f8)
  60 0x009e00e8 (0x009e0108)
  61 0x009e00f8 (0x009e0118)
  62 0x009e0108 (0x009e0128)
  63 0x009e0118 (0x00a26b88)
  64 0x009e0128 (0x009e0088)
  65 0x00a26b88 (0x009e4608)
  66 0x009e0088 (0x009e0098)
  67 0x009e4608 (0x009e00a8)
  68 0x009e0098 (0x009e3fc8)
  69 0x009e00a8 (0x009e00b8)
  70 0x009e3fc8 (0x009e00c8)
  71 0x009e00b8 (0x009e00d8)
  72 0x009e00c8 (0x009e00e8)
  73 0x009e00d8 (0x009e00f8)
  74 0x009e00e8 (0x009e0108)
  75 0x009e00f8 (0x009e0118)
  76 0x009e0108 (0x009e0128)
  77 0x009e0118 (0x00a26b88)
  78 0x009e0128 (0x009e0088)
  79 0x00a26b88 (0x009e4608)
  80 0x009e0088 (0x009e0098)
  81 0x009e4608 (0x009e00a8)
  82 0x009e0098 (0x009e3fc8)
  83 0x009e00a8 (0x009e00b8)
  84 0x009e3fc8 (0x009e00c8)
  85 0x009e00b8 (0x009e00d8)
  86 0x009e00c8 (0x009e00e8)
  87 0x009e00d8 (0x009e00f8)
  88 0x009e00e8 (0x009e0108)
  89 0x009e00f8 (0x009e0118)
  90 0x009e0108 (0x009e0128)
  91 0x009e0118 (0x00a26b88)
  92 0x009e0128 (0x009e0088)
  93 0x00a26b88 (0x009e4608)
  94 0x009e0088 (0x009e0098)
  95 0x009e4608 (0x009e00a8)
  96 0x009e0098 (0x009e3fc8)
  97 0x009e00a8 (0x009e00b8)
  98 0x009e3fc8 (0x009e00c8)
  99 0x009e00b8 (0x009e00d8)
  100 0x009e00c8 (0x009e00e8)
  101 0x009e00d8 (0x009e00f8)
  102 0x009e00e8 (0x009e0108)
  103 0x009e00f8 (0x009e0118)
  104 0x009e0108 (0x009e0128)
  105 0x009e0118 (0x00a26b88)
  106 0x009e0128 (0x009e0088)
  107 0x00a26b88 (0x009e4608)
  108 0x009e0088 (0x009e0098)
  109 0x009e4608 (0x009e00a8)
  110 0x009e0098 (0x009e3fc8)
  111 0x009e00a8 (0x009e00b8)
  112 0x009e3fc8 (0x009e00c8)
  113 0x009e00b8 (0x009e00d8)
  114 0x009e00c8 (0x009e00e8)
  115 0x009e00d8 (0x009e00f8)
  116 0x009e00e8 (0x009e0108)
  117 0x009e00f8 (0x009e0118)
  118 0x009e0108 (0x009e0128)
  119 0x009e0118 (0x00a26b88)
  120 0x009e0128 (0x009e0088)
  121 0x00a26b88 (0x009e4608)
  122 0x009e0088 (0x009e0098)
  123 0x009e4608 (0x009e00a8)
  124 0x009e0098 (0x009e3fc8)
  125 0x009e00a8 (0x009e00b8)
  126 0x009e3fc8 (0x009e00c8)
  127 0x009e00b8 (0x009e00d8)
  128 0x009e00c8 (0x009e00e8)
  129 0x009e00d8 (0x009e00f8)
  130 0x009e00e8 (0x009e0108)
  131 0x009e00f8 (0x009e0118)
  132 0x009e0108 (0x009e0128)
  133 0x009e0118 (0x00a26b88)
  134 0x009e0128 (0x009e0088)
  135 0x00a26b88 (0x009e4608)
  136 0x009e0088 (0x009e0098)
  137 0x009e4608 (0x009e00a8)
  138 0x009e0098 (0x009e3fc8)
  139 0x009e00a8 (0x009e00b8)
  140 0x009e3fc8 (0x009e00c8)
  141 0x009e00b8 (0x009e00d8)
  142 0x009e00c8 (0x009e00e8)
  143 0x009e00d8 (0x009e00f8)
  144 0x009e00e8 (0x009e0108)
  145 0x009e00f8 (0x009e0118)
  146 0x009e0108 (0x009e0128)
  147 0x009e0118 (0x00a26b88)
  148 0x009e0128 (0x009e0088)
  149 0x00a26b88 (0x009e4608)
  150 0x009e0088 (0x009e0098)
  151 0x009e4608 (0x009e00a8)
  152 0x009e0098 (0x009e3fc8)
  153 0x009e00a8 (0x009e00b8)
  154 0x009e3fc8 (0x009e00c8)
  155 0x009e00b8 (0x009e00d8)
  156 0x009e00c8 (0x009e00e8)
  157 0x009e00d8 (0x009e00f8)
  158 0x009e00e8 (0x009e0108)
  159 0x009e00f8 (0x009e0118)
  160 0x009e0108 (0x009e0128)
  161 0x009e0118 (0x00a26b88)
  162 0x009e0128 (0x009e0088)
  163 0x00a26b88 (0x009e4608)
  164 0x009e0088 (0x009e0098)
  165 0x009e4608 (0x009e00a8)
  166 0x009e0098 (0x009e3fc8)
  167 0x009e00a8 (0x009e00b8)
  168 0x009e3fc8 (0x009e00c8)
  169 0x009e00b8 (0x009e00d8)
  170 0x009e00c8 (0x009e00e8)
  171 0x009e00d8 (0x009e00f8)
  172 0x009e00e8 (0x009e0108)
  173 0x009e00f8 (0x009e0118)
  174 0x009e0108 (0x009e0128)
  175 0x009e0118 (0x00a26b88)
  176 0x009e0128 (0x009e0088)
  177 0x00a26b88 (0x009e4608)
  178 0x009e0088 (0x009e0098)
  179 0x009e4608 (0x009e00a8)
  180 0x009e0098 (0x009e3fc8)
  181 0x009e00a8 (0x009e00b8)
  182 0x009e3fc8 (0x009e00c8)
  183 0x009e00b8 (0x009e00d8)
  184 0x009e00c8 (0x009e00e8)
  185 0x009e00d8 (0x009e00f8)
  186 0x009e00e8 (0x009e0108)
  187 0x009e00f8 (0x009e0118)
  188 0x009e0108 (0x009e0128)
  189 0x009e0118 (0x00a26b88)
  190 0x009e0128 (0x009e0088)
  191 0x00a26b88 (0x009e4608)
  192 0x009e0088 (0x009e0098)
  193 0x009e4608 (0x009e00a8)
  194 0x009e0098 (0x009e3fc8)
  195 0x009e00a8 (0x009e00b8)
  196 0x009e3fc8 (0x009e00c8)
  197 0x009e00b8 (0x009e00d8)
  198 0x009e00c8 (0x009e00e8)
  199 0x009e00d8 (0x009e00f8)
  200 0x009e00e8 (0x009e0108)
0x7bc3c821 RtlEnterCriticalSection+0x21 [/home/ruehmann/wine/dlls/ntdll/critsection.c:541] in ntdll: movl	0x14(%esi),%eax
541	    if (crit->SpinCount)
Modules:
Module	Address			Debug info	Name (64 modules)
PE	  400000-  8ce000	Export          mask
PE	78000000-78040000	Export          msvcrt
ELF	7b800000-7ba5f000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba5f000	\               kernel32
ELF	7bc00000-7bce4000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bce4000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7ded3000-7ded9000	Deferred        libxfixes.so.3
ELF	7ded9000-7dee4000	Deferred        libxcursor.so.1
ELF	7dee4000-7def5000	Deferred        libxi.so.6
ELF	7def5000-7def9000	Deferred        libxcomposite.so.1
ELF	7def9000-7df04000	Deferred        libxrandr.so.2
ELF	7df04000-7df0f000	Deferred        libxrender.so.1
ELF	7df0f000-7df15000	Deferred        libxxf86vm.so.1
ELF	7df15000-7df19000	Deferred        libxinerama.so.1
ELF	7df19000-7df20000	Deferred        libxdmcp.so.6
ELF	7df20000-7df24000	Deferred        libxau.so.6
ELF	7df24000-7df46000	Deferred        libxcb.so.1
ELF	7df46000-7e07a000	Deferred        libx11.so.6
ELF	7e07a000-7e08d000	Deferred        libxext.so.6
ELF	7e094000-7e0cb000	Deferred        uxtheme<elf>
  \-PE	7e0a0000-7e0cb000	\               uxtheme
ELF	7e0cd000-7e161000	Deferred        winex11<elf>
  \-PE	7e0e0000-7e161000	\               winex11
ELF	7e308000-7e331000	Deferred        libexpat.so.1
ELF	7e331000-7e36c000	Deferred        libfontconfig.so.1
ELF	7e36c000-7e394000	Deferred        libpng12.so.0
ELF	7e394000-7e3ae000	Deferred        libz.so.1
ELF	7e3ae000-7e44e000	Deferred        libfreetype.so.6
ELF	7e48e000-7e4d5000	Deferred        avifil32<elf>
  \-PE	7e490000-7e4d5000	\               avifil32
ELF	7e4d5000-7e51e000	Deferred        dsound<elf>
  \-PE	7e4e0000-7e51e000	\               dsound
ELF	7e51e000-7e627000	Deferred        comctl32<elf>
  \-PE	7e530000-7e627000	\               comctl32
ELF	7e627000-7e652000	Deferred        msacm32<elf>
  \-PE	7e630000-7e652000	\               msacm32
ELF	7e652000-7e6d5000	Deferred        rpcrt4<elf>
  \-PE	7e660000-7e6d5000	\               rpcrt4
ELF	7e6d5000-7e816000	Deferred        ole32<elf>
  \-PE	7e6f0000-7e816000	\               ole32
ELF	7e816000-7e830000	Deferred        version<elf>
  \-PE	7e820000-7e830000	\               version
ELF	7e830000-7e8a3000	Deferred        advapi32<elf>
  \-PE	7e840000-7e8a3000	\               advapi32
ELF	7e8a3000-7e9c2000	Deferred        gdi32<elf>
  \-PE	7e8b0000-7e9c2000	\               gdi32
ELF	7e9c2000-7eb1d000	Deferred        user32<elf>
  \-PE	7e9d0000-7eb1d000	\               user32
ELF	7eb1d000-7ebd6000	Deferred        winmm<elf>
  \-PE	7eb20000-7ebd6000	\               winmm
ELF	7ebd6000-7ebe3000	Deferred        libnss_files.so.2
ELF	7ebe3000-7ebef000	Deferred        libnss_nis.so.2
ELF	7ebef000-7ec08000	Deferred        libnsl.so.1
ELF	7ec1c000-7ec48000	Deferred        msvfw32<elf>
  \-PE	7ec20000-7ec48000	\               msvfw32
ELF	7ef7a000-7efc0000	Deferred        libm.so.6
ELF	b73db000-b73e0000	Deferred        libdl.so.2
ELF	b73e0000-b7590000	Deferred        libc.so.6
ELF	b7591000-b75ad000	Deferred        libpthread.so.0
ELF	b75e4000-b75ed000	Deferred        libnss_compat.so.2
ELF	b75ed000-b77a3000	Dwarf           libwine.so.1
ELF	b77a5000-b77c7000	Deferred        ld-linux.so.2
ELF	b77c7000-b77c8000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 explorer.exe
	00000029    0
	00000009    0
0000000e services.exe
	00000025    0
	00000024    0
	0000001e    0
	00000018    0
	00000016    0
	00000010    0
	0000000f    0
00000012 mscorsvw.exe
	00000035    0
	0000001b    0
	0000001a    0
	00000019    0
	00000013    0
0000001c winedevice.exe
	00000028    0
	00000021    0
	00000020    0
	0000001d    0
00000022 plugplay.exe
	00000027    0
	00000026    0
	00000023    0
0000002a (D) C:\GOG.com\KQ8\KQ8\Mask.exe
	0000002b    0 <==
00000030 mscorsvw.exe
	00000036    0
System information:
    Wine build: wine-1.7.27
    Platform: i386
    Host system: Linux
    Host version: 3.13.0-35-generic
reinstalling the Applications won´t change anything.

Thanks for help,
JPR
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: After creating new Prefix a lot of games aren´t working

Post by dimesio »

Where did you get Wine from? How did you create the new wineprefix? What command are you using to run your apps?
JPRuehmann
Level 2
Level 2
Posts: 14
Joined: Thu Sep 18, 2014 1:10 pm

Re: After creating new Prefix a lot of games aren´t working

Post by JPRuehmann »

https://github.com/wine-mirror/wine

deleting everything else then drive_c in ./wine and start a windows Programm.

cd into programm Folder then wine Programmname or in dolphin by rightklick open with wine.

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

Re: After creating new Prefix a lot of games aren´t working

Post by dimesio »

When you built Wine, what build flags did you use with ./configure, and did you install it or are you running it from the build directory?
deleting everything else then drive_c in ./wine and start a windows Programm.
The default wineprefix is ~/.wine, not ./wine. I assume the latter was your build directory; that has nothing to do with the wineprefix. So you did not create a new wineprefix.

Delete ~/.wine (not ./wine) and then run winecfg to create a new one.
JPRuehmann
Level 2
Level 2
Posts: 14
Joined: Thu Sep 18, 2014 1:10 pm

Re: After creating new Prefix a lot of games aren´t working

Post by JPRuehmann »

cd ~/wine
git checkout master
git pull origin
./configure
make
sudo make install

I´m running it from /usr/local/bin

Sorry writing error I meant ~/.wine not ~/wine for the prefix Folder.

I did run winecfg but it won´t help.

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

Re: After creating new Prefix a lot of games aren´t working

Post by dimesio »

You still didn't create a new wineprefix; what you did was mess up your old one. Your apps don't work because they are not installed--you deleted the registry where they were installed. The new registry is clean: none of your apps are installed.

A clean wineprefix has to be created from scratch. Either delete ~/.wine completely, run winecfg, and reinstall your apps, or create a separate wineprefix and install your apps to that.
JPRuehmann
Level 2
Level 2
Posts: 14
Joined: Thu Sep 18, 2014 1:10 pm

Re: After creating new Prefix a lot of games aren´t working

Post by JPRuehmann »

But reinstaling the Apps won´t help to.
Thanks,
JPR
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: After creating new Prefix a lot of games aren´t working

Post by dimesio »

Have you tried a completely new wineprefix? Deleting everything but drive_c, which is what you said you did, does NOT create a new wineprefix; it just messes up the old one.
JPRuehmann
Level 2
Level 2
Posts: 14
Joined: Thu Sep 18, 2014 1:10 pm

Re: After creating new Prefix a lot of games aren´t working

Post by JPRuehmann »

No, because it took so much time to Install and configure the Programms and the most are working still without problems.
But I will try it out.
If there is no other way.
Thanks,
JPR
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: After creating new Prefix a lot of games aren´t working

Post by dimesio »

If you don't want to reinstall the apps you say are still working, reinstall the non-working ones to a separate wineprefix. http://wiki.winehq.org/FAQ#wineprefix
Locked