LibVLCSharp UWP application not running on some networks - udp

I'm receiving a mp4 stream over UDP and want to show the video in real time in a UWP app. I'm using LibVLCSharp nuget to display the video stream. Trying to play the video directly using a UDP stream URI didn't work so I tried to pass the data received over UDP via a local http stream which worked successfully but throws the following exception,
'Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.'
while writing to the http stream as the data size(above 30KB) and frequency increased over some networks.
LibVLC LibVLC = new LibVLC(enableDebugLogs: true, eventArgs.SwapChainOptions);
MediaPlayer = new MediaPlayer(LibVLC);
using (media = new Media(LibVLC, new Uri("http://127.0.0.1:5001/video/")))
{
MediaPlayer.Play(media);
}
To keep the data size in check I started chunking the data I sent over UDP which increased the frequency of packets and thus crashes my app. To keep the frequency in check I added a timeout between 2 packets which leads to add latency to the video and thus the video always lags behind, running at a higher FPS than the original, trying to catch up but unable to do so.
At this point I'm out of ideas and unable to nail down specific reasons why this is working without any issues on some networks and crashes on the others. Any help regarding this would be much appreciated.
Update: Full logs for when the application is crashing
'vlcsharp.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.2.2_2.2.27902.3_x86__8wekyb3d8bbwe\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\entrypoint\vlcsharp.exe'. Symbols loaded.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\WinMetadata\Windows.winmd'. Module was built without symbols.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Runtime.InteropServices.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Runtime.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Runtime.WindowsRuntime.UI.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\Microsoft.UI.Xaml.Markup.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Reflection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Reflection.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Threading.Thread.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\LibVLCSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\Microsoft.Xaml.Interactions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\Microsoft.Xaml.Interactivity.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\SharpDX.Direct3D11.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\SharpDX.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\SharpDX.DXGI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'D:\Windows App\vlcsharp\bin\x86\Debug\AppX\System.Runtime.CompilerServices.Unsafe.dll'. Module was built without symbols.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Globalization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.HttpListener.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Diagnostics.Tracing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.Security.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Collections.NonGeneric.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.NameResolution.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Security.Cryptography.Algorithms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.Sockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Security.Cryptography.X509Certificates.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Security.Cryptography.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Threading.Timer.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.ServicePoint.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Net.WebHeaderCollection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Collections.Specialized.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Security.Principal.Windows.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Security.Principal.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Threading.ThreadPool.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x16a4 has exited with code 0 (0x0).
The thread 0x3db4 has exited with code 0 (0x0).
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\System.Resources.ResourceManager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.Net.HttpListenerException' in System.Net.HttpListener.dll
An exception of type 'System.Net.HttpListenerException' occurred in System.Net.HttpListener.dll but was not handled in user code
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.NetCoreApp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'vlcsharp.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.28529.0_x86__8wekyb3d8bbwe\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Update 2: HttpListener Code
public void connectHttp()
{
HttpListener server = new HttpListener();
server.Prefixes.Add("http://127.0.0.1:5001/video/");
server.Start();
IAsyncResult result = server.BeginGetContext(new AsyncCallback(Callback), server);
result.AsyncWaitHandle.WaitOne();
}
private void Callback(IAsyncResult result)
{
HttpListener server = (HttpListener)result.AsyncState;
HttpListenerContext context = server.EndGetContext(result);
HttpListenerResponse response = context.Response;
response.ContentType = "video/mp4";
response.SendChunked = true;
while (!closing)
{
stream = response.OutputStream;
response.StatusCode = (int)HttpStatusCode.OK;
}
server.Close();
}
Update 3: LibVLC logs while streaming UDP directly
main Debug: VLC media player - 3.0.12.1 Vetinari
main Debug: keeping audio output
main Debug: Copyright © 1996-2020 the VideoLAN team
main Debug: revision 3.0.12.1-28-ge67c575d2c
main Debug: configured with ../configure '--enable-winstore-app' '--disable-vlc' '--enable-lua' '--disable-vlm' '--disable-faad' '--enable-theora' '--disable-twolame' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--disable-x264' '--enable-realrtsp' '--enable-live555' '--enable-shout' '--disable-goom' '--disable-caca' '--disable-qt' '--disable-skins2' '--enable-sse' '--enable-mmx' '--disable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-mad' '--disable-a52' '--enable-dsm' '--disable-smbclient' '--disable-vcd' '--disable-crystalhd' '--disable-dxva2' '--enable-flac' '--enable-jpeg' '--enable-vpx' '--enable-postproc' '--enable-gme' '--host=i686-w64-mingw32' 'host_alias=i686-w64-mingw32' 'CC=i686-w64-mingw32-gcc' 'LDFLAGS=-lnormaliz -lwinstorecompat -lruntimeobject -lsynchronization -lvcruntime140_app -lucrt -lwindowsapp' 'CPPFLAGS=-D_WIN32_WINNT=0xA00 -DWINVER=0xA00 -DWINSTORECOMPAT -D_UNICODE -DUNICODE -DWINAPI_FAMILY=WINAPI_FAMILY_APP' 'CXX=i686-w64-mingw32-g++' 'PKG_CONFIG_LIBDIR=/builds/videolan/vlc-winrt/libvlc/vlc/contrib/winrt-i686-ucrt/../i686-w64-mingw32/lib/pkgconfig'
main Debug: creating audio output
main Debug: looking for audio output module matching "winstore": 4 candidates
main Debug: using audio output module "winstore"
main Debug: Creating an input for 'udp://127.0.0.1:4502/'
main Debug: using timeshift granularity of 50 MiB
main Debug: creating access: udp://127.0.0.1:4502/
main Debug: looking for access module matching "udp": 24 candidates
main Debug: using default timeshift path
main Debug: net: connecting to [127.0.0.1]:4502 from []:1234
main Debug: looking for stream_filter module matching "prefetch,cache_block": 22 candidates
main Debug: using access module "udp"
cache_block Debug: Using block method for AStream*
cache_block Debug: starting pre-buffering
main Debug: `udp://127.0.0.1:4502/' gives access `udp' demux `any' path `127.0.0.1:4502/'
main Debug: no access_demux modules matched
main Debug: creating demux: access='udp' demux='any' location='127.0.0.1:4502/' file='\\127.0.0.1:4502\'
main Debug: (path: \\127.0.0.1:4502\)
udp Debug: opening server=127.0.0.1:4502 local=:1234
main Debug: looking for access_demux module matching "udp": 6 candidates
The thread 0x30ac has exited with code 0 (0x0).
The thread 0x1fe0 has exited with code 0 (0x0).
The thread 0x4030 has exited with code 0 (0x0).
The thread 0x8fc has exited with code 0 (0x0).
The thread 0x1808 has exited with code 0 (0x0).
The thread 0x3830 has exited with code 0 (0x0).
The thread 0x34e4 has exited with code 0 (0x0).
The thread 0x1ab0 has exited with code 0 (0x0).

Related

Chromium headless page unresponsive but works on firefox

I have a problem with Chromium running headless on Raspberry Pi model 4B with Ubuntu 20. For showing the browser, I am using the official Raspberry Pi touchscreen.
The problem is that the locally hosted page doesn't load and it says "Page unresponsive". But, if I press the "Exit page" button and then "Reload" button, it starts to work correctly.
I am using the following command to start Chromium: xinit /usr/bin/sh -c "chromium-browser --kiosk 127.0.0.1:5000". If I run the same command, but use firefox instead of chromium-browser, the page works. I don't want to use Firefox, because it has some other problems in headless mode. This is why I am concluding, that the problem is not with the webpage, but with chromium.
I tried hosting the webpage with both npm run serve and python3 -m http.server 5000 but always got the same problem.
I don't know if that matters, but I get the following error message when running the chromium-browser with the above mentioned command:
[18281:18281:1203/112557.242527:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 12289: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18281:18281:1203/112557.243222:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18281:18281:1203/112557.243611:ERROR:gl_surface_egl.cc(1382)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[18281:18281:1203/112557.244683:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 12289: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18281:18281:1203/112557.244958:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18281:18281:1203/112557.245153:ERROR:gl_surface_egl.cc(1382)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[18281:18281:1203/112557.245355:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[18281:18281:1203/112557.312801:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[18324:18324:1203/112557.722696:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 12289: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18324:18324:1203/112557.724405:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18324:18324:1203/112557.725290:ERROR:gl_surface_egl.cc(1382)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[18324:18324:1203/112557.727887:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 12289: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18324:18324:1203/112557.728730:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[18324:18324:1203/112557.729189:ERROR:gl_surface_egl.cc(1382)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[18324:18324:1203/112557.729615:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[18324:18324:1203/112557.794755:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[18345:18345:1203/112557.868079:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
[18345:18345:1203/112557.868777:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
[18345:18345:1203/112557.869337:ERROR:gl_surface_egl.cc(1382)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[18345:18345:1203/112557.869934:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[18345:18345:1203/112557.928770:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
[18353:18353:1203/112557.961644:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is
[18072:18265:1203/112602.637067:ERROR:chrome_browser_main_extra_parts_metrics.cc(226)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
[18072:18265:1203/112602.637684:ERROR:chrome_browser_main_extra_parts_metrics.cc(229)] crbug.com/1216328: Checking Bluetooth availability ended.
[18072:18265:1203/112602.637924:ERROR:chrome_browser_main_extra_parts_metrics.cc(232)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[18072:18265:1203/112602.833205:ERROR:chrome_browser_main_extra_parts_metrics.cc(236)] crbug.com/1216328: Checking default browser status ended.
Also, if I run some other webpage, for example google.com with this command, I get the same error message, but the webpage shows up without problems.
The webpage is written in Vue.js
I have fixed the problem by disabling hardware acceleration. I have done that because I have found a similar problem here: https://unix.stackexchange.com/questions/344138/chromium-google-maps-issue
I have done that by adding the --disable-gpu flag to the command.

App crashing on Windows Phone when deployed in Release mode

We have developed a Xamarin Forms app supporting Android, iOS and Windows Phone. The app is working on all three OSes when deployed in Debug mode.
It's also working on Android and iOS when deployed in Release mode. It crashes immediately after displaying Splash screen on Windows Phone 8.1/10 when deployed with Release mode, but strangely all works fine when deployed using Debug mode.
What is the reason?
Is there a way to get see the app log to diagnose the crash reason?
EDIT 1:
Hi Gerald/Demitrian,
Thanks a lot for your response. Please find below the contents for Output window. There is a XamlParseException but no additional information. I have also attached the debug log from "Decuments\Debug" folder of a Windows Phone.
Contents from output window:
'AgHost.exe' (CoreCLR: DefaultDomain): Loaded 'C:\windows\system32\mscorlib.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Windows.RuntimeHost.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Windows.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Net.ni.dll'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Xml.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\MultiEventsApp.WinPhone.ni.DLL'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\MultiEventsApp.ni.DLL'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Parse.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Parse.Phone.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Xamarin.Forms.Core.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Runtime.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Threading.Tasks.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.Interop.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Core.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\WinMetadata\Windows.winmd'. Cannot find or open the PDB file.
Exception thrown: 'System.ArgumentNullException' in mscorlib.ni.dll
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Xamarin.Forms.Platform.WP8.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\ZXing.Net.Mobile.Forms.WindowsPhone.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\ImageCircle.Forms.Plugin.WindowsPhone.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Xamarin.Forms.Maps.WP8.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\ZXing.Net.Mobile.Forms.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\ZXingNetMobile.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\ZXing.Net.Mobile.Core.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\System.Windows.Interactivity.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\microsoft.phone.controls.toolkit.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Collections.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Resources.ResourceManager.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\ImageCircle.Forms.Plugin.Abstractions.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Xamarin.Forms.Maps.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.Maps.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Runtime.Serialization.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\data\ProgramData\Microsoft\Windows\AppRepository\Packages\MultiEventsApp_1.0.0.0_neutral__74wf2z3scmpey\NI\Xamarin.Forms.Xaml.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Diagnostics.Debug.ni.dll'. Symbols loaded.
Exception thrown: 'Xamarin.Forms.Xaml.XamlParseException' in Xamarin.Forms.Xaml.ni.DLL
Exception thrown: 'System.Reflection.TargetInvocationException' in mscorlib.ni.dll
Exception thrown: 'System.Reflection.TargetInvocationException' in Microsoft.Phone.ni.dll
Contents from Documents\Debug folder:
Dump Summary
------------
Dump File: MultiEventsApp with exception E0434352 on 1-07-2017 17.55.dmp : C:\Users\Pocket_User\Desktop\MultiEventsApp with exception E0434352 on 1-07-2017 17.55.dmp
Last Write Time: 1/7/2017 5:55:50 PM
Process Name: aghost.exe : aghost.exe
Process Architecture: ARM
Exception Code: 0xE0434352
Exception Information:
Heap Information: Present
System Information
------------------
OS Version: 10.0.14393
CLR Version(s): 4.5.22926.0
Modules
-------
Module Name Module Path Module Version
----------- ----------- --------------
aghost.exe aghost.exe 10.0.14393.576
ntdll.dll ntdll.dll 10.0.14393.576
KERNELBASE.dll KERNELBASE.dll 10.0.14393.576
combase.dll combase.dll 10.0.14393.576
ucrtbase.dll ucrtbase.dll 10.0.14393.576
RPCRT4.dll RPCRT4.dll 10.0.14393.576
kernel32legacy.dll kernel32legacy.dll 10.0.14393.576
bcryptPrimitives.dll bcryptPrimitives.dll 10.0.14393.576
msvcrt.dll msvcrt.dll 7.0.14393.576
kernel.appcore.dll kernel.appcore.dll 10.0.14393.576
OLEAUT32.dll OLEAUT32.dll 10.0.14393.576
shcore.dll shcore.dll 10.0.14393.576
AgHostSvcs.dll AgHostSvcs.dll 10.0.14393.576
TaskHostCore.dll TaskHostCore.dll 10.0.14393.576
msvcp_win.dll msvcp_win.dll 10.0.14393.576
wintypes.dll wintypes.dll 10.0.14393.576
OnDemandBrokerClient.dll OnDemandBrokerClient.dll 10.0.14393.576
advapi32legacy.dll advapi32legacy.dll 10.0.14393.576
sechost.dll sechost.dll 10.0.14393.576
CoreUIComponents.dll CoreUIComponents.dll 0.0.0.0
CoreMessaging.dll CoreMessaging.dll 10.0.14393.576
EMCLIENT.dll EMCLIENT.dll 10.0.14393.576
TASKHOSTSVCS.dll TASKHOSTSVCS.dll 10.0.14393.576
WpPortingLibrary.dll WpPortingLibrary.dll 0.0.0.0
SspiCli.dll SspiCli.dll 10.0.14393.576
minuser.dll minuser.dll 0.0.0.0
win32u.dll win32u.dll 10.0.14393.576
gdi32.dll gdi32.dll 10.0.14393.576
modernapiexthost.dll modernapiexthost.dll 0.0.0.0
SecRuntime.dll SecRuntime.dll 0.0.0.0
gdi32min.dll gdi32min.dll 10.0.14393.576
WpCoreUtil.DLL WpCoreUtil.DLL 0.0.0.0
msvcp110_win.dll msvcp110_win.dll 10.0.14393.576
storageusage.dll storageusage.dll 10.0.14393.576
procthreadexthost.dll procthreadexthost.dll 0.0.0.0
ntmarta.dll ntmarta.dll 10.0.14393.576
CoreApplicationShim.dll CoreApplicationShim.dll 0.0.0.0
twinapi.appcore.dll twinapi.appcore.dll 10.0.14393.576
bcrypt.dll bcrypt.dll 10.0.14393.576
PsmApp.dll PsmApp.dll 10.0.14393.576
AppModelProxy.dll AppModelProxy.dll 0.0.0.0
pacmantileshim.dll pacmantileshim.dll 10.0.14393.576
VEEventDispatcher.dll VEEventDispatcher.dll 10.0.14393.576
ActXPrxy.dll ActXPrxy.dll 10.0.14393.576
pacmanclient.dll pacmanclient.dll 10.0.14393.576
RMClient.dll RMClient.dll 10.0.14393.576
mrmcorer.dll mrmcorer.dll 10.0.14393.576
windows.ui.dll windows.ui.dll 10.0.14393.576
dcomp.dll dcomp.dll 10.0.14393.576
inputhost.dll inputhost.dll 0.0.0.0
textinputframework.dll textinputframework.dll 10.0.14393.576
CRYPTBASE.dll CRYPTBASE.dll 10.0.14393.576
npctrl.dll npctrl.dll 0.0.0.0
PROPSYS.dll PROPSYS.dll 7.0.14393.576
agcore.dll agcore.dll 4.1.60221.0
SL_InterprocDll.dll SL_InterprocDll.dll 0.0.0.0
WS2_32.dll WS2_32.dll 10.0.14393.576
CRYPT32.dll CRYPT32.dll 10.0.14393.576
d3d11.dll d3d11.dll 10.0.14393.576
WININET.dll WININET.dll 11.0.14393.576
ole32_wp.dll ole32_wp.dll 10.0.14393.576
urlmon.dll urlmon.dll 11.0.14393.576
PlatformInterop.dll PlatformInterop.dll 0.0.0.0
MSASN1.dll MSASN1.dll 10.0.14393.576
dxgi.dll dxgi.dll 10.0.14393.576
iertutil.dll iertutil.dll 11.0.14393.576
shlwapi.dll shlwapi.dll 10.0.14393.576
cfgmgr32.dll cfgmgr32.dll 10.0.14393.576
dsclient.dll dsclient.dll 10.0.14393.576
Windows.Storage.dll Windows.Storage.dll 10.0.14393.576
powrprof.dll powrprof.dll 10.0.14393.576
profapi.dll profapi.dll 10.0.14393.576
coreclr.dll coreclr.dll 4.5.22926.0
CRYPTSP.dll CRYPTSP.dll 10.0.14393.576
werapiexthost.dll werapiexthost.dll 0.0.0.0
mscorlib.ni.dll mscorlib.ni.dll 4.5.22926.0
rsaenh.dll rsaenh.dll 10.0.14393.576
System.Windows.RuntimeHost.ni.dll System.Windows.RuntimeHost.ni.dll 2.0.6.0
System.Windows.ni.dll System.Windows.ni.dll 4.7.50915.0
System.Net.ni.dll System.Net.ni.dll 4.7.50915.0
System.ni.dll System.ni.dll 4.5.22926.0
System.Xml.ni.dll System.Xml.ni.dll 4.5.22926.0
appchromeapi.dll appchromeapi.dll 0.0.0.0
qcdx11um8612.dll qcdx11um8612.dll 9.18.2074.0
MSVCR120.dll MSVCR120.dll 12.0.21005.1
qcdx11compiler8612.dll qcdx11compiler8612.dll 1.0.2074.0
MSVCP120.dll MSVCP120.dll 12.0.21005.1
ShellChromeAPI.dll ShellChromeAPI.dll 0.0.0.0
MultiEventsApp.WinPhone.ni.DLL MultiEventsApp.WinPhone.ni.DLL 1.0.0.0
Microsoft.Phone.ni.dll Microsoft.Phone.ni.dll 0.0.0.0
MultiEventsApp.ni.DLL MultiEventsApp.ni.DLL 1.0.0.0
Parse.ni.DLL Parse.ni.DLL 1.7.0.0
Parse.Phone.ni.DLL Parse.Phone.ni.DLL 1.7.0.0
Xamarin.Forms.Core.ni.DLL Xamarin.Forms.Core.ni.DLL 2.0.0.0
System.Runtime.ni.dll System.Runtime.ni.dll 4.5.22926.0
System.Threading.Tasks.ni.dll System.Threading.Tasks.ni.dll 4.5.22926.0
Microsoft.Phone.Interop.ni.dll Microsoft.Phone.Interop.ni.dll 0.0.0.0
phoneinfo.dll phoneinfo.dll 0.0.0.0
System.Core.ni.dll System.Core.ni.dll 4.5.22926.0
wpnapps.dll wpnapps.dll 10.0.14393.576
XmlLite.dll XmlLite.dll 10.0.14393.576
Windows.ni.winmd Windows.ni.winmd 0.0.0.0
Windows.winmd Windows.winmd 0.0.0.0
StorageProxy.dll StorageProxy.dll 0.0.0.0
Windows.Storage.ApplicationData.dll Windows.Storage.ApplicationData.dll 10.0.14393.576
YPerfHealthLogger.dll YPerfHealthLogger.dll 0.0.0.0
dwrite.dll dwrite.dll 10.0.14393.576
Xamarin.Forms.Platform.WP8.ni.DLL Xamarin.Forms.Platform.WP8.ni.DLL 2.0.0.0
ZXing.Net.Mobile.Forms.WindowsPhone.ni.DLL ZXing.Net.Mobile.Forms.WindowsPhone.ni.DLL 2.1.47.0
ImageCircle.Forms.Plugin.WindowsPhone.ni.DLL ImageCircle.Forms.Plugin.WindowsPhone.ni.DLL 1.8.1.8
Xamarin.Forms.Maps.WP8.ni.DLL Xamarin.Forms.Maps.WP8.ni.DLL 2.0.0.0
ZXing.Net.Mobile.Forms.ni.DLL ZXing.Net.Mobile.Forms.ni.DLL 2.1.47.0
ZXingNetMobile.ni.DLL ZXingNetMobile.ni.DLL 2.1.47.0
ZXing.Net.Mobile.Core.ni.DLL ZXing.Net.Mobile.Core.ni.DLL 2.1.47.0
System.Windows.Interactivity.ni.DLL System.Windows.Interactivity.ni.DLL 3.0.30924.0
microsoft.phone.controls.toolkit.ni.DLL microsoft.phone.controls.toolkit.ni.DLL 8.0.1.0
System.Collections.ni.dll System.Collections.ni.dll 4.5.22926.0
System.Resources.ResourceManager.ni.dll System.Resources.ResourceManager.ni.dll 4.5.22926.0
ImageCircle.Forms.Plugin.Abstractions.ni.DLL ImageCircle.Forms.Plugin.Abstractions.ni.DLL 1.8.1.8
Xamarin.Forms.Maps.ni.DLL Xamarin.Forms.Maps.ni.DLL 2.0.0.0
Microsoft.Phone.Maps.ni.dll Microsoft.Phone.Maps.ni.dll 3.0.30701.2350
System.Runtime.Serialization.ni.dll System.Runtime.Serialization.ni.dll 4.5.22926.0
Xamarin.Forms.Xaml.ni.DLL Xamarin.Forms.Xaml.ni.DLL 2.0.0.0
System.Diagnostics.Debug.ni.dll System.Diagnostics.Debug.ni.dll 4.5.22926.0
errorhandlingext.dll errorhandlingext.dll 10.0.10011.16384
mintdh.dll mintdh.dll 10.0.14393.576
EDIT 2:
I made some progress on this issue. FontFamily property was causing issue in my case. So if remove the fontfamily property and run the app in Release mode, exception is not thrown anymore but the way the screen is rendered on the device doesn't look like in any way the it's rendered in Debug mode.
I have attached both the screen shots. I tried adding second option in Forms.Init as told by John but it's giving me error as the method doesn't support second option.
Debug mode screenshot
Release mode screenshot
On above behavior, I have following questions:
Why the app is correctly working in Debug mode and not in Release
mode?
Why the screen renders correctly in Debug mode and not in
Release mode?
Why it doesn't throw any error the way it throws in
Release mode?
Is there any missing reference? Not sure if this is the case as the app would have thrown an exception saying so.
Any suggestions?
A couple of quick notes:
1.- Looks like the Register button is taking all the screen Height, have you tried to specify a Height for this button? Something like:
Button.HeightRequest = "40";
2.- Have you tried Linking behavior "Don't link"?
Finally, my problem is resolved. Please find the solution below if you have the same problem.
A step by step re-creation of the project revealed that my app was working fine until I added Xamarin.Forms.Maps package in my app. I was installing the latest version of Maps package which was upgrading it's dependant packages to a higher version. Maps plugin caused Xamarin.Forms package to upgrade from 2.3.2.127 to 2.3.3.180. So when I was deploying the app with this version of Xamarin Forms in release mode, it was causing the app crashing and UI issues mentioned in my earlier response above.
To resolve the problem, I fall back to a lover version of Maps which was compatible with 2.3.2.127 version of Xamarin Forms and voila!
Looks like there is a bug in 2.3.3.180 version of Xamarin Forms.

An unhandled exception of type 'System.Configuration.ConfigurationErrorsException' occurred in mscorlib.dll

I use VS2015 to write the following code in VB language, but there is some mistakes. I cannot find the mistake.
Private Sub BottonCreatePlaylist_Click(sender As Object, e As EventArgs) Handles BottonCreatePlaylist.Click
UserName = txtUserName.Text
If UserName = "" Then
MessageBox.Show("Please enter a user name!")
Else
Dim ExPlaylistDoc As New Xml.XmlDocument
Dim ExPlaylistService As New TempService.ServiceSoapClient
ExPlaylistDoc.LoadXml(ExPlaylistService.getPlayLists())
AllLists = ExPlaylistDoc.DocumentElement
Dim playlists As Xml.XmlNodeList = AllLists.SelectNodes("PlayList")
Dim playlist As Xml.XmlNode
Dim n As Integer = 1
For Each playlist In playlists
If playlist.Attributes.Count > 0 Then
Dim check As String = playlist.Attributes(0).Value
If UserName = check Then
n = 0
End If
End If
Next
If n > 0 Then
If ExPlaylistService.CreatePlaylist(UserName) Then
MessageBox.Show("New User Created")
End If
getPlaylist()
displayList()
Else
MessageBox.Show("User has exsited!")
txtUserName.Clear()
End If
End If
End Sub
It shows the mistake in "ExPlaylistDoc.LoadXml(ExPlaylistService.getPlayLists())". Service component worked perfectly. I added the service reference to client component. The client component did not work.The following is the output.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'H:\Visual Studio 2015\Projects\TemperatureClient\TemperatureClient\bin\Debug\TemperatureClient.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_64\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0xf10 has exited with code 0 (0x0).
The thread 0x1878 has exited with code 0 (0x0).
The thread 0x1204 has exited with code 0 (0x0).
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'H:\Visual Studio 2015\Projects\TemperatureClient\TemperatureClient\bin\Debug\TemperatureClient.exe'. Symbols loaded.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Remoting\2.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\3.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TemperatureClient.vshost.exe' (CLR v2.0.50727: TemperatureClient.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.Configuration.ConfigurationErrorsException' in mscorlib.dll
The program '[5040] TemperatureClient.vshost.exe' has exited with code -1 (0xffffffff).
I hope you can help me.
Thanks.

Wix bootstrapper having trouble with an MSI requiring SelfReg with VC++ 2005

So I have a Wix bootstrapper that installs VC++ 2005 (x86) Redistributable among other things and also installs a 3rd party MSI that keeps failing on a failed SelfReg of one of its dlls. When I install VC++ 2005 (x86) outside of the bootstrapper everything works fine and the bootstrapper chain skips the VC++ install and the installs the MSI requiring the SelfRegs without issue. However, when I have my bootstrapper install the VC++ Redistributable before the MSI it depends on it fails because the SelfRegs fail.
Now if I were to guess the issue may have something to do with environment variables not getting refreshed during the bootstrapper chain and thus a reboot could fix it. I would prefer an alternative solution and was wondering if someone else may have an idea of what's happening and give me an alternative.
Update:
So when I hit the point of failure, I can confirm that VC++ 2005 (x86) is installed in both the log files, the registry key at HKLM/SOFTWARE/Microsoft/DevDiv/VC/8.0/RED/1033/Install, and manifest files in C:\Windows\WinSxS\Manifests. When I run sxstrace while trying to self-register the DLLs manually with Regsvr32.exe I get this log.
=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = Wow32
CultureFallBacks = en-US;en
ManifestPath = C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PersonalCategory.dll
AssemblyDirectory = C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\
Application Config File =
-----------------
INFO: Parsing Manifest File C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PersonalCategory.dll.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
INFO: Reference: Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
INFO: Resolving reference Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".
INFO: Resolving reference for ProcessorArchitecture WOW64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
INFO: Resolving reference for ProcessorArchitecture x86.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: Find publisher policy at C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_516ac2a30f4be7a6.manifest
INFO: Publisher Policy redirected assembly version.
INFO: Post policy assembly identity is Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.8428".
INFO: Begin assembly probing.
INFO: Attempt to probe manifest at C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d.manifest.
INFO: Manifest found at C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d.manifest.
INFO: End assembly probing.
INFO: Resolving reference Microsoft.VC80.CRT.mui,language="*",processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.8428".
INFO: Resolving reference for ProcessorArchitecture WOW64.
INFO: Resolving reference for culture en-US.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.8428_en-US_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL.
INFO: Did not find manifest for culture en-US.
INFO: End assembly probing.
INFO: Resolving reference for culture en.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.8428_en_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL.
INFO: Did not find manifest for culture en.
INFO: End assembly probing.
INFO: Resolving reference for ProcessorArchitecture x86.
INFO: Resolving reference for culture en-US.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.8428_en-US_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL.
INFO: Did not find manifest for culture en-US.
INFO: End assembly probing.
INFO: Resolving reference for culture en.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.8428_en_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL.
INFO: Did not find manifest for culture en.
INFO: End assembly probing.
INFO: Resolving reference Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".
INFO: Resolving reference for ProcessorArchitecture WOW64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.ATL\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.ATL.DLL.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
INFO: Resolving reference for ProcessorArchitecture x86.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.ATL\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.ATL.DLL.
INFO: Attempt to probe manifest at C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Microsoft.VC80.ATL.DLL.
INFO: Attempt to probe manifest at C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Microsoft.VC80.ATL.MANIFEST.
INFO: Attempt to probe manifest at C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Microsoft.VC80.ATL\Microsoft.VC80.ATL.DLL.
INFO: Attempt to probe manifest at C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Microsoft.VC80.ATL\Microsoft.VC80.ATL.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053".
ERROR: Activation Context generation failed.
End Activation Context Generation.
Also snapped this pick on doing a Dependency Walker on the dll.
There could be few other reasons such as some dependency missing or the user context under which the bootstrapper executes is different from the working scenario.
The first thing i would do here is to inspect the windows installer logs.
To generate , windows installer logs, you can follow the following link:
http://blogs.msdn.com/b/astebner/archive/2005/03/29/help-me-help-you-if-you-have-setup-bugs.aspx
-How are you executing your installer outside of the bootstrapper?
Are you installing them in silent mode? Its important to do this as the bootstrapper installs the msi's in silent mode.
Are you installing them over an elevated command prompt?
I am asking the above questions as you state that the installation works outside of the bootstrapper.
-Once you hit the error with Self regs, do you get an error message?
If yes, instead of clicking on Ok and allowing the installation to roll back, can you go to the folder where the files are copied. Try to register the dll manually from the command prompt and see if you can register the dll.
if none of the above things work, please post a log file from the installation and then we can take it forward.

Could not load file or assembly 'interop.scripting, version=1.0.0.0,

I am running my project in debug mode and it work fine,
but when i tried to compile it shows this error: what does this error mean?
*** Assembly Binder Log Entry (3/27/2013 # 2:22:26 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\Documents and Settings\nsbadmin\Desktop\antiSpam.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NIDECSUBIC\nsbadmin
LOG: DisplayName = antiSpam.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/nsbadmin/Desktop/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : antiSpam, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Documents and Settings/nsbadmin/Desktop/en/antiSpam.resources.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/nsbadmin/Desktop/en/antiSpam.resources/antiSpam.resources.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/nsbadmin/Desktop/en/antiSpam.resources.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/nsbadmin/Desktop/en/antiSpam.resources/antiSpam.resources.EXE.
LOG: All probing URLs attempted and failed.
It seems that you are failed when trying to find a file resources. In VS, change it properties to be embeded into your exe file.