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

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

Author:  Jeeper [ 2025-07-13 14:14:41 ]
Post subject:  Crash on hyergrid

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 50 times

Author:  Henri Beauchamp [ 2025-07-13 19:07:23 ]
Post subject:  Re: Crash on hyergrid

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.

Author:  Jeeper [ 2025-07-13 21:23:36 ]
Post subject:  Re: Crash on hyergrid

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 46 times

Author:  Jeeper [ 2025-07-13 22:05:15 ]
Post subject:  Re: Crash on hyergrid

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 56 times

Author:  Henri Beauchamp [ 2025-07-14 06:47:08 ]
Post subject:  Re: Crash on hyergrid

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.

Author:  Jeeper [ 2025-07-14 11:40:48 ]
Post subject:  Re: Crash on hyergrid

Thanks Henri!

Author:  Henri Beauchamp [ 2025-07-19 09:19:13 ]
Post subject:  Re: Crash on hyergrid

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 !

Author:  Jeeper [ 2025-07-19 12:20:36 ]
Post subject:  Re: Crash on hyergrid

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 49 times

Author:  Henri Beauchamp [ 2025-07-19 12:28:43 ]
Post subject:  Re: Crash on hyergrid

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...

Author:  Jeeper [ 2025-07-20 01:03:43 ]
Post subject:  Re: Crash on hyergrid

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 46 times

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