Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-27 16:43:33



Reply to topic  [ 2 posts ] 
Crash/Assertion error in LLRefCount after editing appearance 
Author Message

Joined: 2011-10-07 10:39:20
Posts: 181
Reply with quote
Hi Henri,

got a crash after editing appearance due to an assertion failing:

2023-09-05 15:12:35Z C:\Users\root\source\cv13020\indra\llcommon\llrefcount.cpp(44) : error
2023-09-05 15:12:35Z ERROR: LLRefCount::~LLRefCount: Deleting non-zero reference

Logs and Crash dump attached.

Cool VL Viewer v1.30.2.26, 64 bits, Sep 2 2023 11:27:11
RestrainedLove viewer v2.09.29.28
Release notes

CPU: AMD Ryzen 7 5700G with Radeon Graphics (3801 MHz)
Memory: 32662MB
OS version: Microsoft Windows 10 64 bits v10.0 (build 19045.3324)
Memory manager: OS native
Graphics: RADEON RX VEGA
Windows graphics driver version: Loading...
OpenGL version: 4.6.0 Core Profile Context 23.7.1.230626
Detected VRAM: 8120MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.17
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.11.zlib-ng
Browser plugin: Dullahan 1.12.3/CEF 91.1.21/Chromium 91.0.4472.114


Attachments:
crash_refcount.zip [45.07 KiB]
Downloaded 38 times
2023-09-05 15:20:58
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
Very nice !

Quite a nasty, stealth bug...

It is due to LLTexLayerSetBuffer being still LLRefCounted, instead of LLThreadSafeRefCounted like it now should be, given all texture classes have been changed to be thread-safe ref-counted, due to how GL textures can be created in shared OpenGL threads...

Fixed for next release. If you compile the viewer yourself, simply change line 44 of linden/indra/llappearance/lltexlayer.h to read:
Code:
class LLTexLayerSetBuffer : public virtual LLThreadSafeRefCount


Thanks for the report (and crash dump, which got me right to the point) !


2023-09-05 15:47:45
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.