Trusted storage failed to initialize

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Timeout
Level 4
Level 4
Posts: 183
Joined: Sat Feb 23, 2008 12:45 pm

Trusted storage failed to initialize

Post by Timeout »

What does this mean?

Code: Select all

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Resources.ResourceManager.GetSatelliteAssembliesFromConfig()
   at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn)   at System.Environment.GetResourceFromDefault(String key)
   at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
   at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
   at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
   at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
   at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
   at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
   at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation)
   at System.AppDomain.SetupFusionStore(AppDomainSetup info)
   at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)
wine: Unhandled page fault on read access to 0x00000000 at address 0x2de2c57 (thread 003d), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x02de2c57).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:02de2c57 ESP:0033e6c0 EBP:0033e70c EFLAGS:00210293(   - 00      RISA1C)
 EAX:00000000 EBX:008523c4 ECX:008511b4 EDX:0000040c
 ESI:00000000 EDI:0033e6ec
Stack dump:
0x0033e6c0:  00000000 00000000 00000000 00000000
0x0033e6d0:  00000000 00000000 00000000 00000000
0x0033e6e0:  00000000 00000000 00000000 0033e744
0x0033e6f0:  02de2b5d 00000000 0185101c 008523c4
0x0033e700:  008523c4 0185101c 00000000 0033e744
0x0033e710:  02de2b5d 00000000 00853aa4 008523c4
Backtrace:
=>1 0x02de2c57 (0x0033e70c)
  2 0x02de2b5d (0x0033e744)
  3 0x02d48f27 (0x0033e798)
  4 0x02d48aaf (0x00851f64)
  5 0x00000018 (0x003a9310)
  6 0x00000010 (0x02440002)
  7 0x00000000 (0x00000000)
0x02de2c57: cmpl        %eax,0x0(%esi)
Modules:
Module  Address                 Debug info      Name (61 modules)
PE        400000-  408000       Deferred        dotnetinstaller
PE      5e380000-5e409000       Deferred        diasymreader
PE      78130000-781cb000       Deferred        msvcr80
PE      79000000-79045000       Deferred        mscoree
PE      79060000-790b3000       Deferred        mscorjit
PE      790c0000-794de000       Deferred        mscorlib
PE      79e70000-7a3d1000       Deferred        mscorwks
ELF     7b800000-7b928000       Deferred        kernel32<elf>
  \-PE  7b820000-7b928000       \               kernel32
ELF     7bc00000-7bca1000       Deferred        ntdll<elf>
  \-PE  7bc10000-7bca1000       \               ntdll
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7e1dd000-7e1f1000       Deferred        lz32<elf>
  \-PE  7e1e0000-7e1f1000       \               lz32
ELF     7e1f1000-7e20a000       Deferred        version<elf>
  \-PE  7e200000-7e20a000       \               version
ELF     7e20a000-7e2aa000       Deferred        oleaut32<elf>
  \-PE  7e220000-7e2aa000       \               oleaut32
ELF     7e2aa000-7e2bd000       Deferred        libresolv.so.2
ELF     7e2c3000-7e2e0000       Deferred        ximcp.so.2
ELF     7e2e0000-7e2fe000       Deferred        iphlpapi<elf>
  \-PE  7e2f0000-7e2fe000       \               iphlpapi
ELF     7e2fe000-7e35e000       Deferred        rpcrt4<elf>
  \-PE  7e310000-7e35e000       \               rpcrt4
ELF     7e35e000-7e3ff000       Deferred        ole32<elf>
  \-PE  7e370000-7e3ff000       \               ole32
ELF     7e621000-7e687000       Deferred        msvcrt<elf>
  \-PE  7e630000-7e687000       \               msvcrt
ELF     7e73c000-7e73f000       Deferred        libxrandr.so.2
ELF     7e73f000-7e747000       Deferred        libxrender.so.1
ELF     7e747000-7e74a000       Deferred        libxinerama.so.1
ELF     7e74a000-7e768000       Deferred        imm32<elf>
  \-PE  7e750000-7e768000       \               imm32
ELF     7e768000-7e85f000       Deferred        libx11.so.6
ELF     7e85f000-7e877000       Deferred        libice.so.6
ELF     7e88a000-7e88f000       Deferred        libxfixes.so.3
ELF     7e88f000-7e898000       Deferred        libxcursor.so.1
ELF     7e898000-7e89a000       Deferred        xlcutf8load.so.2
ELF     7e89a000-7e92f000       Deferred        winex11<elf>
  \-PE  7e8b0000-7e92f000       \               winex11
ELF     7eaf7000-7eb16000       Deferred        libexpat.so.1
ELF     7eb16000-7eb4f000       Deferred        libfontconfig.so.1
ELF     7eb4f000-7eb61000       Deferred        libz.so.1
ELF     7eb61000-7ebce000       Deferred        libfreetype.so.6
ELF     7ebce000-7ec67000       Deferred        gdi32<elf>
  \-PE  7ebe0000-7ec67000       \               gdi32
ELF     7ec67000-7edaa000       Deferred        user32<elf>
  \-PE  7ec80000-7edaa000       \               user32
ELF     7edaa000-7ee01000       Deferred        shlwapi<elf>
  \-PE  7edc0000-7ee01000       \               shlwapi
ELF     7ee01000-7ee52000       Deferred        advapi32<elf>
  \-PE  7ee10000-7ee52000       \               advapi32
ELF     7efb8000-7efdd000       Deferred        libm.so.6
ELF     7efde000-7efec000       Deferred        libxext.so.6
ELF     7efec000-7eff1000       Deferred        libxxf86vm.so.1
ELF     f7cc0000-f7cc9000       Deferred        libsm.so.6
ELF     f7ccb000-f7ccf000       Deferred        libdl.so.2
ELF     f7ccf000-f7df0000       Deferred        libc.so.6
ELF     f7df0000-f7e05000       Deferred        libpthread.so.0
ELF     f7e28000-f7f5e000       Deferred        libwine.so.1
ELF     f7f5f000-f7f7b000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000c
        00000013    0
        0000000e    0
        0000000d    0
0000000f
        00000012    0
        00000011    0
        00000010    0
00000015
        00000017    0
        00000016    0
0000001a
        0000001c   15
        0000001b    0
0000001d
        0000001e    0
00000031
        0000003b    0
        0000003a    0
        00000033    0
        00000032    0
0000003c (D) C:\Programme\Gemeinsame Dateien\InstallShield\Professional\RunTime\09\01\Intel32\DotNetInstaller.exe
        0000003f    2
        0000003e    0
        0000003d    0 <==
Backtrace:
=>1 0x02de2c57 (0x0033e70c)
  2 0x02de2b5d (0x0033e744)
  3 0x02d48f27 (0x0033e798)
  4 0x02d48aaf (0x00851f64)
  5 0x00000018 (0x003a9310)
  6 0x00000010 (0x02440002)
  7 0x00000000 (0x00000000)

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Resources.ResourceManager.GetSatelliteAssembliesFromConfig()
   at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn)   at System.Environment.GetResourceFromDefault(String key)
   at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
   at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
   at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
   at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
   at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
   at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
   at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation)
   at System.AppDomain.SetupFusionStore(AppDomainSetup info)
   at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)

Unhandled Exception: System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
   at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn)   at System.Environment.GetResourceFromDefault(String key)
   at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
   at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
   at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
   at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
   at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
   at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
   at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation)
   at System.AppDomain.SetupFusionStore(AppDomainSetup info)
   at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)
+ Another interesting thing about the licensing server:

fixme:service:svcctl_CreateServiceW Dependencies not supported yet
err:rpc:I_RpcReceive we got fault packet with status 0x3e6
Failed to install FLEXnet License Manager:
Error code: 0X3E6
The FLEXnet License Manager was not successfully
installed as a service on your system.

********************************************************
The permissions of one of the files that you just installed seems
to have the correct settings.
Could not get handle to service.
fixme:rpc:RpcRevertToSelfEx (0x1f4f18): stub
fixme:rpc:RpcImpersonateClient (0x1f3de0): stub
err:ole:ClientRpcChannelBuffer_SendReceive called from wrong apartment, should have been 0x4300000024
err:ole:xCall RpcChannelBuffer SendReceive failed, 8001010e
fixme:rpc:RpcRevertToSelfEx (0x1f3de0): stub


It seems at least to go further on every version.
Tested on wine 0.9.60

Regarding permissions on files: on Windows it had to be installed as admin, some of the file did not have write or execute permissions as user (Wine).
Giving the permissions of the user to write and execute the files got me a bit further at least to the error "Trusted storage failed to initialize with code 20 /initialization of trusted storage failed when launching the licensing server"

Could I replace a file to bypass this??
Dan Kegel

Trusted storage failed to initialize

Post by Dan Kegel »

On Sat, Apr 19, 2008 at 1:07 AM, Timeout <[email protected]> wrote:
What does this mean?

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Resources.ResourceManager.GetSatelliteAssembliesFromConfig()
at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn) at System.Environment.GetResourceFromDefault(String key)
at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
It means there's a bug :-)
What app is this, and how did you install it?
Timeout
Level 4
Level 4
Posts: 183
Joined: Sat Feb 23, 2008 12:45 pm

Post by Timeout »

This application is Trados, where 99% of my interest is concerned (maybe when it runs I will start with a bookkeeping software).

Running it is as per the script I wrote 2 weeks ago with one change: I add WinSxS close to the Wine winsxs (case problem in wine?) because otherwise I would run in a runtime error about atl80.dll/assemblies there but not loading.

One thing to note: since June last year, C++ 2005 had been completing for the first time it's installation on XP (yeah!).
Otherwise as usual, after setup exception, kill wine and restart to go further.

And no, I will not fill a bug - here at least I get some interesting answers.
Dan Kegel

Trusted storage failed to initialize

Post by Dan Kegel »

On Sat, Apr 19, 2008 at 6:08 AM, Timeout <[email protected]> wrote:
This application is Trados, where 99% of my interest is concerned (maybe when it runs I will start with a bookkeeping software).

Running it is as per the script I wrote 2 weeks ago with one change: I add WinSxS close to the Wine winsxs (case problem in wine?) because otherwise I would run in a runtime error about atl80.dll/assemblies there but not loading.
I don't quite follow. Are you saying that you had to rename Wine's
winsxs to WinSxS
to get your app to work?
One thing to note: since June last year, C++ 2005 had been completing for the first time it's installation on XP (yeah!).
Otherwise as usual, after setup exception, kill wine and restart to go further.
I don't quite understand. Are you saying that Visual C++ 2005 recently started
installing better?
That sounds related to the improvements in
http://bugs.winehq.org/show_bug.cgi?id=7189
- Dan
Timeout
Level 4
Level 4
Posts: 183
Joined: Sat Feb 23, 2008 12:45 pm

Re: Trusted storage failed to initialize

Post by Timeout »

Dan Kegel wrote: I don't quite follow. Are you saying that you had to rename Wine's
winsxs to WinSxS
to get your app to work?
No I am putting the windows SxS next to the one of Wine (when copying it in the windows directory, it's not being replaced - it's not the same name on unix).
Thus I am bypassing the problem of the assemblies installed by C++ 2005 and not being able to be loaded correctly by regasm.exe. I can't remove the one of Wine, I've no idea how it is linked to.
I don't quite understand. Are you saying that Visual C++ 2005 recently started
installing better?
That sounds related to the improvements in
http://bugs.winehq.org/show_bug.cgi?id=7189
I see it as an improvement of the last 2 weeks - it's however not obvious that it is registering correctly when regasm.exe under the .NET can't load the assembly. The message "runtime error - atl80.dll was loaded in an incorrect way" was one of my first error message when I was trying to see what was missing to C++. Once the loading will work, it will be more obvious that the bug is close to be fixed.
Dan Kegel

Trusted storage failed to initialize

Post by Dan Kegel »

On Sat, Apr 19, 2008 at 7:06 AM, Timeout <[email protected]> wrote:
No I am putting the windows SxS next to the one of Wine (when copying it in the windows directory, it's not being replaced - it's not the same name on unix).
Thus I am bypassing the problem of the assemblies installed by C++ 2005 and not being able to be loaded correctly by regasm.exe. I can't remove the one of Wine, I've no idea how it is linked to.
Oh. Probably you could copy the windows one on top of the Wine one,
wine doesn't pay attention to uppercase vs. lowercase.
Locked