Re: [Boost-bugs] [Boost C++ Libraries] #11861: Using boost thread crash winrt store app on start on Windows 10 Phone devices

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11861: Using boost thread crash winrt store app on start on Windows 10 Phone devices
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-07 19:47:31


#11861: Using boost thread crash winrt store app on start on Windows 10 Phone
devices
------------------------------------+-------------------------
  Reporter: Mathieu <mvillegas@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.60.0 | Severity: Showstopper
Resolution: | Keywords:
------------------------------------+-------------------------

Comment (by Mathieu <mvillegas@…>):

 I've made a test, and it seems clear that the issue comes from a DLL not
 available on widows phone. [[BR]]
 Here is a log from Visual Studio console:[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'U:\SharedData\PhoneTools\AppxLayouts\ffec28b4-325a-4223-9b52-a54e8c5eb872VS.Debug_Win32.aaaaaa\BoostThreadDemo.exe'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\System32\kernel32legacy.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'U:\PROGRAMS\WINDOWSAPPS\Microsoft.VCLibs.140.00.Debug_14.0.23506.0_x86__8wekyb3d8bbwe\vccorlib140d_app.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'U:\PROGRAMS\WINDOWSAPPS\Microsoft.VCLibs.140.00.Debug_14.0.23506.0_x86__8wekyb3d8bbwe\msvcp140d_app.dll'.
 Symbols loaded.[[BR]]
 The thread 0xcd0 has exited with code -1073741515 (0xc0000135).[[BR]]
 The program '[3272] BoostThreadDemo.exe' has exited with code -1073741515
 (0xc0000135) 'A dependent dll was not found'.[[BR]]

 Unfortunately, at this time, I don't know how to find which dll is not
 available on Phones.
 [[BR]][[BR]]



 As a comparison, here is the Visual studio console log when the same app
 is executed on the PC, where it works as expected:[[BR]]

 'BoostThreadDemo.exe' (Win32): Loaded
 'D:\BoostThreadDemo\Debug\BoostThreadDemo\AppX\BoostThreadDemo.exe'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Program
 Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.23506.0_x86__8wekyb3d8bbwe\vccorlib140d_app.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Program
 Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.23506.0_x86__8wekyb3d8bbwe\msvcp140d_app.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Program
 Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.23506.0_x86__8wekyb3d8bbwe\vcruntime140d_app.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Program
 Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.23506.0_x86__8wekyb3d8bbwe\ucrtbased.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\kernel.appcore.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'.
 Symbols loaded.[[BR]]
 The thread 0x3e14 has exited with code 0 (0x0).[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\Windows.UI.Xaml.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\BCP47Langs.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\CoreMessaging.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ninput.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\iertutil.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\twinapi.appcore.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\userenv.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'.
 Symbols loaded.[[BR]]
 Exception thrown at 0x77413E28 (KernelBase.dll) in BoostThreadDemo.exe:
 0x40080201: WinRT originate error (parameters: 0x8000000B, 0x00000040,
 0x0088E920).[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\actxprxy.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rmclient.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Unloaded
 'C:\Windows\SysWOW64\rmclient.dll'[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d11.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvumdshim.dll'.
 Cannot find or open the PDB file.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MrmCoreR.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvinit.dll'.
 Cannot find or open the PDB file.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\Windows.UI.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\igd10iumd32.dll'. Cannot find or open the PDB
 file.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ncrypt.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntasn1.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\igdusc32.dll'.
 Cannot find or open the PDB file.[[BR]]
 The thread 0x27ac has exited with code 0 (0x0).[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d2d1.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dcomp.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Users\MVILLE~1\AppData\Local\Temp\VisualStudio.XamlDiagnostics.ffec28b4-325a-4223-9b52-a54e8c5eb872_1.0.2.0_x86__zdm4v6wyg95st\XamlDiagnostics.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Users\MVILLE~1\AppData\Local\Temp\VisualStudio.XamlDiagnostics.ffec28b4-325a-4223-9b52-a54e8c5eb872_1.0.2.0_x86__zdm4v6wyg95st\WindowsXamlDiagnosticsTap.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mscoree.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\DataExchange.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll'. Symbols
 loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\threadpoolwinrt.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\directmanipulation.dll'. Symbols loaded.[[BR]]
 The thread 0xf8c has exited with code 0 (0x0).[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DWrite.dll'.
 Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\Windows.Globalization.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\Windows.Graphics.dll'. Symbols loaded.[[BR]]
 'BoostThreadDemo.exe' (Win32): Loaded
 'C:\Windows\SysWOW64\Windows.Shell.ServiceHostBuilder.dll'. Symbols
 loaded.[[BR]]
 The thread 0x242c has exited with code 0 (0x0).[[BR]]
 The thread 0x3fcc has exited with code 0 (0x0).[[BR]]
 The thread 0x3f04 has exited with code 0 (0x0).[[BR]]
 The thread 0x3e1c has exited with code 0 (0x0).[[BR]]
 The thread 0x1ac0 has exited with code 1 (0x1).[[BR]]
 The thread 0x2cf0 has exited with code 1 (0x1).[[BR]]
 The thread 0x3614 has exited with code 1 (0x1).[[BR]]
 The thread 0x16d0 has exited with code 1 (0x1).[[BR]]
 The thread 0x1f84 has exited with code 1 (0x1).[[BR]]
 The thread 0x3208 has exited with code 1 (0x1).[[BR]]
 The thread 0x33e4 has exited with code 1 (0x1).[[BR]]
 The thread 0xe8 has exited with code 1 (0x1).[[BR]]
 The thread 0x544 has exited with code 1 (0x1).[[BR]]
 The thread 0x143c has exited with code 1 (0x1).[[BR]]
 The thread 0x29ec has exited with code 1 (0x1).[[BR]]
 The thread 0x2ba4 has exited with code 1 (0x1).[[BR]]
 The thread 0x1f00 has exited with code 1 (0x1).[[BR]]
 The thread 0x3618 has exited with code 1 (0x1).[[BR]]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11861#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC