Cool VL Viewer forum
http://sldev.free.fr/forum/

Crash
http://sldev.free.fr/forum/viewtopic.php?f=4&t=1824
Page 1 of 2

Author:  GeoffEarnshaw [ 2018-03-10 17:22:58 ]
Post subject:  Crash

Hello Henri,

recently after TP'ing to a new region the viewer will close on me without any error or notification, it just crashes. Here is the information and log files.
Quote:
Cool VL Viewer v1.26.20.45, 64 bits, Mar 3 2018 11:38:16
Release Notes

You are at 2552490.2, 2566573.8, 21.5 in THM1 located at
dnusa1.dreamnation.net (69.25.198.248:9383)
OpenSim 0.9.1.0 DreamNation dee12accbdeef66be632e880debc65942ca1bfe5 (dirty) 2017-08-26 15:20:53 -0700 (Unix/Mono)

CPU: AMD Athlon(tm) II X4 640 Processor (3000.09 MHz)
Memory: 12288MB
OS version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2
Windows graphics driver version: Loading...
OpenGL version: 4.6.0 NVIDIA 390.77
Detected VRAM: 4096MB
J2C decoder: OpenJPEG: 1.4.0.635d
Audio driver: FMOD Ex v4.44.64
Networking backend: libcurl/7.47.0 OpenSSL/1.0.1h zlib/1.2.8
Embedded browser: CEF3 plugin v1.5.3c-(CEF-WIN-3.2526.1347-32)
Packets lost: 0/1779 (0.0%)

Built with: MSVC v1800

Compile flags used for this build:
/O2 /Oi /MD /MP /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Oy- /GS /fp:fast /TP /W2 /Zc:forScope /Zc:wchar_t- /c /nologo /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DXML_STATIC /DBOOST_ALL_NO_LIB /DLL_LUA=1 /DLL_FMODEX=1 /DAPR_DECLARE_STATIC /DAPU_DECLARE_STATIC /DCURL_STATICLIB=1 /DLIB_NDOF=1


Log files:
https://drive.google.com/file/d/1nAu-v3 ... sp=sharing


Thanks,
Geoff

Author:  Henri Beauchamp [ 2018-03-10 22:43:49 ]
Post subject:  Re: Crash

Alas, this bug report is of no use since it is not done with the *latest* viewer version (I cannot keep the huge symbols files for old versions, so the crash dump cannot be decoded).

Please update the report with a crash dump obtained with the current viewer version (1.26.20.46 as I am writing this) if you encounter again this crash.

Author:  GeoffEarnshaw [ 2018-03-10 23:31:24 ]
Post subject:  Re: Crash

Sorry, When I checked yesterday for a new version, there was none. I should have checked today since you release them so often. Which I'm not complaining mind you, one of the reasons I love this viewer! :D

I'll try to recreate the crash with the newest version.

Thanks,
Geoff

Author:  GeoffEarnshaw [ 2018-03-14 01:38:00 ]
Post subject:  Re: Crash

Okay, so I thought the issue was somehow fixed in the newest version, since I wasn't able to recreate the crash. However, just now, It did crash on me without any warning or error message, the viewer just vanished.

Here is the logs.

https://drive.google.com/file/d/1lzaMP8 ... sp=sharing

Thanks,
Geoff

Author:  Henri Beauchamp [ 2018-03-14 08:25:54 ]
Post subject:  Re: Crash

Thank you !

The crash is apparently happening whenever the viewer clears the textures download queue before leaving the departing sim. It's a race condition (something fishy happening between the viewer code, the libapr code and the OS itself) in the threading mechanism that I worked around in the past with some (seemingly) paranoid and useless checks, and I recently removed those checks (in v1.26.20.45), thinking they won't make a difference...

Well, this crash is the proof that the said checks were not at all useless neither paranoid; they will be restored in next release...

In the mean time, you may disable "Advanced" -> "Network" -> "Clear stale texture fetches on TP" to avoid such crashes.

Author:  GeoffEarnshaw [ 2018-03-15 15:42:43 ]
Post subject:  Re: Crash

Great, thank you! :D

Geoff

Author:  GeoffEarnshaw [ 2018-03-18 17:32:47 ]
Post subject:  Re: Crash

Hello Henri,

So the new version did not fix the TP crash I was experiencing before. Still crashing after TPing.

Code:
Cool VL Viewer v1.26.20.47, 64 bits, Mar 17 2018 11:23:48
Release Notes

CPU: AMD Athlon(tm) II X4 640 Processor (3000.08 MHz)
Memory: 12288MB
OS version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2
Windows graphics driver version: 23.21.0013.9077
OpenGL version: 4.6.0 NVIDIA 390.77
Detected VRAM: 4096MB
J2C decoder: OpenJPEG: 1.4.0.635d
Audio driver: FMOD Ex v4.44.64
Networking backend: libcurl/7.47.0 OpenSSL/1.0.1h zlib/1.2.8
Embedded browser: CEF3 plugin v1.5.3c-(CEF-WIN-3.2526.1347-32)

Built with: MSVC v1800

Compile flags used for this build:
/O2 /Oi /MD /MP /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Oy- /GS /fp:fast /TP /W2 /Zc:forScope /Zc:wchar_t- /c /nologo /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DXML_STATIC /DBOOST_ALL_NO_LIB /DLL_LUA=1 /DLL_FMODEX=1 /DAPR_DECLARE_STATIC /DAPU_DECLARE_STATIC /DCURL_STATICLIB=1 /DLIB_NDOF=1


Log files:
https://drive.google.com/file/d/1PcGY5W ... sp=sharing

Thanks,
Geoff

Author:  Henri Beauchamp [ 2018-03-18 19:11:30 ]
Post subject:  Re: Crash

Strange... I'll have another look, but does disabling "Advanced" -> "Network" -> "Clear stale texture fetches on TP" prevent such crashes ?

Author:  GeoffEarnshaw [ 2018-03-19 00:23:54 ]
Post subject:  Re: Crash

I actually haven't tried. I will as soon as I can. Which maybe to late the way you release new versions. :)

Geoff

Author:  Henri Beauchamp [ 2018-03-19 09:33:16 ]
Post subject:  Re: Crash

It is a different crash (a light texture pointer is not checked for NULL value before it gets unlinked from a dead object on region cleanup after TP), but that could still possibly be worked around by disabling the "Clear stale texture fetches on TP" feature.

Bug fixed for next releases.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/