Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-07-23 13:06:31



Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Crash on hyergrid 
Author Message

Joined: 2011-12-12 04:09:46
Posts: 125
Reply with quote
The viewer freezes then fails when I teleport to a hypergrid region from OSGrid. No problems with CoolVLViewer-1.32.2.52, this just started with .53


Attachments:
CoolVLViewer.log.tar.gz [22.66 KiB]
Downloaded 9 times
2025-07-13 14:14:41
Profile

Joined: 2009-03-17 18:42:51
Posts: 6019
Reply with quote
What do you mean by "fails" ?... Does its crash ? Or does the TP fails and the viewer keeps working ?

There is no trace of a crash in the log you provide, and you did not provide the stack trace log file either (which would be there, in case of a crash)...

I also need precise repro steps.


2025-07-13 19:07:23
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 125
Reply with quote
Here's another log with the stack trace log, but it's 0 bytes.
I'll tp to a hypergrid region from OSGrid, the viewer freezes just as things are starting to rez, then crashes.

Linux Mint System Reports says CoolVLViewer-1.32.2/bin/cool_vl_viewer-bin could not be found.


Attachments:
Hypergrid crash log.tar.gz [18.68 KiB]
Downloaded 6 times
2025-07-13 21:23:36
Profile

Joined: 2011-12-12 04:09:46
Posts: 125
Reply with quote
I built the viewer from source and this time there's something in the stack trace.
I hope this is what you need.


Attachments:
logs.tar.gz [22.47 KiB]
Downloaded 7 times
2025-07-13 22:05:15
Profile

Joined: 2009-03-17 18:42:51
Posts: 6019
Reply with quote
Jeeper wrote:
I built the viewer from source and this time there's something in the stack trace.
I hope this is what you need.
Yes, this is perfect !

Apparently, the crash happens in glibc while locking a mutex from the mesh repository thread... It is extremely strange, and I'm not seeing it happening here...
Maybe something to do with the fact that the mutex is also locked from a coroutine (the HTTP fetch completion call happening from within a coroutine of the mesh repository thread).

Until I can understand what's going on, I'll revert the "threaded initial joint rigging data caching on mesh skin fetch" optimization which is responsible for this, and will published a fixed 1.32.2.54 later today.


2025-07-14 06:47:08
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 125
Reply with quote
Thanks Henri!


2025-07-14 11:40:48
Profile

Joined: 2009-03-17 18:42:51
Posts: 6019
Reply with quote
In today's v1.32.2.55 release I reintroduced the feature with an amended code: I simply removed the mutex since, the way the mesh fetching currently works, there should be no need for one (no risk for a race condition since the main thread code is only made aware that the skin info got successfully fetched after this mesh repository thread code is executed), and LL is not using one either in their code.

But, just in case, I added a new "CacheMeshJointRiggingOnFetch" debug setting to allow disabling this code (by changing this setting to FALSE): let me know if you need to disable it to avoid crashes !


2025-07-19 09:19:13
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 125
Reply with quote
It still crashed on a hypergrid teleport. Disabling the code solves the problem.
My log is attached, but the stack trace is empty.


Attachments:
logs.tar.gz [36.59 KiB]
Downloaded 3 times
2025-07-19 12:20:36
Profile

Joined: 2009-03-17 18:42:51
Posts: 6019
Reply with quote
Jeeper wrote:
It still crashed on a hypergrid teleport.
Grrr... Must be Hypergrid-specific then... :?

Jeeper wrote:
Disabling the code solves the problem.
Glad I introduced that setting ! :lol:

Jeeper wrote:
My log is attached, but the stack trace is empty.
Could you pretty please proceed as you did previously and compile your own build to get a stack trace (I'll also have to investigate as to why those stack traces sometimes stay empty) ?

I need the stack trace to diagnose the bug...


2025-07-19 12:28:43
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 125
Reply with quote
It took a few tries before the compiled version created the stack trace, but here it is.


Attachments:
logs.tar.gz [25.75 KiB]
Downloaded 3 times
2025-07-20 01:03:43
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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.