Installer APPCRASH on Windows 8.1

Hello,

When i try to install the Looking glass client on my guest Windows 8.1 it crashes the installer with the following error log:

|Problem Event Name:|APPCRASH|
|---|---|
|  Application Name:|looking-glass-host.exe|
|  Application Version:|0.0.0.0|
|  Application Timestamp:|00000000|
|  Fault Module Name:|s (host)\looking-glass-host.exe!CreateProcessAsUserA|
|  Fault Module Version:|6.3.9600.17415|
|  Fault Module Timestamp:|5450559e|
|  Exception Code:|c0000139|
|  Exception Offset:|00000000000ec5a0|
|  OS Version:|6.3.9600.2.0.0.256.89|
|  Locale ID:|1053|
|  Additional Information 1:|ac05|
|  Additional Information 2:|ac0507478d1c5bd693cfc4fe3987e900|
|  Additional Information 3:|ac05|
|  Additional Information 4:|ac0507478d1c5bd693cfc4fe3987e900|

Ive tried the Stable, RC and Bleeding Edge versions but the same error appears.

Is there a solution to this?

Sorry but Windows 8.1 is not a tested platform. It seems like the service code is bugged for it. I would suggest you don’t install the service and instead manually launch it (or use a scheduled task) as directly launching it doesn’t invoke the service routine.

The down side is that without the elevation to run a SYSTEM it can not make a few privileged win API calls to improve DXGI performance.

The same error also appears in the application itself even when i don’t install the service with it.
Capture

Ah ok, we can likely work around that one, I will see about pushing in a fix :slight_smile:

This should be fixed in the latest bleeding edge, it should also work as a service too.

Sweet, thank you.

Seems to install just fine, i haven’t set up a connection with my host yet so i will report back when i’ve got it running.

1 Like

Seems to work fine for a couple of seconds and then looking glass opens many of instances, the host application cannot connect to the guest at all.


it did kind of work before but only the host application would crash, should mention that the host is using the linux-libre kernel.

Tried installing the guest app without the service and it stopped launching a bunch of instances, but manually opening the program results in this error:
Problem signature:
Problem Event Name: APPCRASH
Application Name: looking-glass-host.exe
Application Version: 0.0.0.0
Application Timestamp: 00000000
Fault Module Name: ntdll.dll
Fault Module Version: 6.3.9600.19678
Fault Module Timestamp: 5e82c88a
Exception Code: c0000005
Exception Offset: 000000000003529c
OS Version: 6.3.9600.2.0.0.256.89
Locale ID: 1053
Additional Information 1: 35e7
Additional Information 2: 35e797fb5a5b66c62e87d719fbe065dc
Additional Information 3: 9b03
Additional Information 4: 9b03fcc2b1e65c5a8ec34713c3caceb9

Please provide the log (if it exists) from C:\Windows\Temp\looking-glass-host.txt

   174888545 [I]           platform.c:329  | app_init                       | System timer resolution: 48.82 ns
   174889845 [I]                app.c:438  | app_main                       | Looking Glass Host (B2-79-g38198b1477)
   174895145 [I]                app.c:454  | app_main                       | IVSHMEM Size     : 32 MiB
   174895758 [I]                app.c:455  | app_main                       | IVSHMEM Address  : 0x2440000
   174896361 [I]                app.c:456  | app_main                       | Max Pointer Size : 1024 KiB
   174896931 [I]                app.c:457  | app_main                       | KVMFR Version    : 5
   174898116 [I]                app.c:506  | app_main                       | Max Frame Size   : 13 MiB
   174898329 [I]                app.c:521  | app_main                       | Trying           : NVFBC (NVidia Frame Buffer Capture)
   174902234 [I]          wrapper.cpp:88   | NvFBCInit                      | NvFBC SDK Version: 112
   174920907 [I]                app.c:521  | app_main                       | Trying           : DXGI
   174922196 [E]               dxgi.c:383  | dxgi_init                      | Failed to create D3D11 device: 0x887a0004 (The specified device interface or feature level is not supported on this system.)
   174922629 [E]                app.c:538  | app_main                       | Failed to find a supported capture interface

Did you set the virtual video device type to none in libvirt? (you must type this value). LG can not operate with the virtual device at the same time as it doesn’t support DXGI DD

So after redoing the installation LG works again for a couple of seconds and then exits the application

4215307980 [I]               main.c:1902 | main                           | Looking Glass (B2-79-g38198b1477)
4215307993 [I]               main.c:1903 | main                           | Locking Method: Atomic
4215428988 [I]            ivshmem.c:121  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
4215466175 [I]                egl.c:200  | egl_initialize                 | Double buffering is off
4215477028 [I]                egl.c:214  | egl_initialize                 | Multisampling enabled, max samples: 4
4215477032 [I]               main.c:1303 | try_renderer                   | Using Renderer: EGL
4215493575 [I]               main.c:1660 | lg_run                         | Using Clipboard: X11
4215502490 [I]                egl.c:435  | egl_render_startup             | use native: false
4215516912 [I]                egl.c:526  | egl_render_startup             | EGL       : 1.5
4215516917 [I]                egl.c:527  | egl_render_startup             | Vendor    : nouveau
4215516919 [I]                egl.c:528  | egl_render_startup             | Renderer  : NVE4
4215516920 [I]                egl.c:529  | egl_render_startup             | Version   : OpenGL ES 3.2 Mesa 20.3.1
4215516922 [I]                egl.c:530  | egl_render_startup             | EGL APIs  : OpenGL OpenGL_ES 
4215516924 [I]                egl.c:531  | egl_render_startup             | Extensions: EGL_ANDROID_blob_cache EGL_CHROMIUM_sync_control EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_NOK_swap_region EGL_NOK_texture_from_pixmap EGL_NV_post_sub_buffer EGL_WL_bind_wayland_display 
4215720330 [I]               main.c:1785 | lg_run                         | Host ready, reported version: B2-79-g38198b1477
4215720339 [I]               main.c:1786 | lg_run                         | Starting session
4216939959 [I]               main.c:493  | frameThread                    | Format: FRAME_TYPE_BGRA 1024x768 1024 4096
double free or corruption (fasttop)
Aborted (core dumped)

Firstly, I am surprised that nouveau is working at all, but even still the error is unrelated.

Can you please do a debug build and run it under a debugger, if you don’t know how to do this please see: https://www.youtube.com/watch?v=EqxxJK9Yo64

Ok ive built the debug client and this is what it outputs when LG freezes

73627484 [I]               main.c:1902 | main                           | Looking Glass (B2-79-g38198b1477)
73627503 [I]               main.c:1903 | main                           | Locking Method: Atomic
73753851 [I]            ivshmem.c:121  | ivshmemOpenDev                 | KVMFR Device     : /dev/shm/looking-glass
73778531 [I]                egl.c:200  | egl_initialize                 | Double buffering is off
73789283 [I]                egl.c:214  | egl_initialize                 | Multisampling enabled, max samples: 4
73789289 [I]               main.c:1303 | try_renderer                   | Using Renderer: EGL
73793076 [I]               main.c:1660 | lg_run                         | Using Clipboard: X11
73813641 [I]                egl.c:435  | egl_render_startup             | use native: false
73823118 [I]                egl.c:526  | egl_render_startup             | EGL       : 1.5
73823126 [I]                egl.c:527  | egl_render_startup             | Vendor    : nouveau
73823129 [I]                egl.c:528  | egl_render_startup             | Renderer  : NVE4
73823131 [I]                egl.c:529  | egl_render_startup             | Version   : OpenGL ES 3.2 Mesa 20.3.1
73823133 [I]                egl.c:530  | egl_render_startup             | EGL APIs  : OpenGL OpenGL_ES 
73823135 [I]                egl.c:531  | egl_render_startup             | Extensions: EGL_ANDROID_blob_cache EGL_CHROMIUM_sync_control EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_NOK_swap_region EGL_NOK_texture_from_pixmap EGL_NV_post_sub_buffer EGL_WL_bind_wayland_display 
74059212 [I]               main.c:1785 | lg_run                         | Host ready, reported version: B2-79-g38198b1477
74059223 [I]               main.c:1786 | lg_run                         | Starting session
74312538 [I]               main.c:493  | frameThread                    | Format: FRAME_TYPE_BGRA 1024x768 1024 4096
78528145 [I]               main.c:493  | frameThread                    | Format: FRAME_TYPE_BGRA 1024x768 1024 4096
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch6: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch6: buf 00000000 00000004 00000004 00000004 00000000

additional error log

nouveau: kernel rejected pushbuf: No such device
nouveau: ch7: krec 0 pushes 1 bufs 9 relocs 0
nouveau: ch7: buf 00000000 00000006 00000004 00000004 00000004
nouveau: ch7: buf 00000001 0000001b 00000004 00000004 00000000
nouveau: ch7: buf 00000002 00000015 00000002 00000002 00000002
nouveau: ch7: buf 00000003 00000008 00000002 00000002 00000002
nouveau: ch7: buf 00000004 0000000b 00000002 00000002 00000002
nouveau: ch7: buf 00000005 0000000a 00000002 00000002 00000002
nouveau: ch7: buf 00000006 00000007 00000002 00000002 00000000
nouveau: ch7: buf 00000007 00000013 00000002 00000000 00000002
nouveau: ch7: buf 00000008 00000017 00000004 00000004 00000000
nouveau: ch7: psh 00000000 0000076124 00000763d8
   622741500 [E]              crash.c:180  | crit_err_hdlr                  | ==== FATAL CRASH (B2-79-g38198b1477) ====
   622741510 [E]              crash.c:181  | crit_err_hdlr                  | signal 11 (Segmentation fault), address is 0x7faf3dba7124
   622744884 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (0) /usr/lib/libdrm_nouveau.so.2(+0x4bc9) [0x7faf34d73bc9]
   622744889 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (1) /usr/lib/libdrm_nouveau.so.2(+0x4c47) [0x7faf34d73c47]
   622744891 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (2) /usr/lib/libdrm_nouveau.so.2(nouveau_pushbuf_kick+0x10) [0x7faf34d74260]
   622744893 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (3) /usr/lib/dri/nouveau_dri.so(+0x9d9f2a) [0x7faf3b1f8f2a]
   622744896 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (4) /usr/lib/dri/nouveau_dri.so(+0x2e2769) [0x7faf3ab01769]
   622751110 [E]              crash.c:204  | crit_err_hdlr                  | [trace]: (5) /home/user/Downloads/looking-glass-B2-79-g38198b1477/client/renderers/EGL/texture.c:431 (egl_texture_process)
   622751189 [E]              crash.c:204  | crit_err_hdlr                  | [trace]: (6) /home/user/Downloads/looking-glass-B2-79-g38198b1477/client/renderers/EGL/desktop.c:253 (egl_desktop_update)
   622751356 [E]              crash.c:204  | crit_err_hdlr                  | [trace]: (7) /home/user/Downloads/looking-glass-B2-79-g38198b1477/client/renderers/EGL/egl.c:371 (egl_on_frame)
   622751934 [E]              crash.c:204  | crit_err_hdlr                  | [trace]: (8) /home/user/Downloads/looking-glass-B2-79-g38198b1477/client/src/main.c:566 (frameThread)
   622752050 [E]              crash.c:204  | crit_err_hdlr                  | [trace]: (9) /home/user/Downloads/looking-glass-B2-79-g38198b1477/common/src/platform/linux/thread.c:39 (threadWrapper)
   622752056 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (10) /usr/lib/libpthread.so.0(+0x93e9) [0x7faf3d3183e9]
   622752060 [E]              crash.c:209  | crit_err_hdlr                  | [trace]: (11) /usr/lib/libc.so.6(clone+0x43) [0x7faf3d23d293]

glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); is the offending line in LG that triggered the crash, unfortunatly it has nothing to do with freeing memory. This means that this is a nouveau bug and there is nothing I can do about this.

I see, thanks for your help.