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

Repeatable CTD - possibly RLV related?
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2127
Page 1 of 1

Author:  Jenna Huntsman [ 2021-02-25 14:19:28 ]
Post subject:  Repeatable CTD - possibly RLV related?

Hey,

Just had some repeatable crashes shortly after RLV restrictions are applied.

Complete crash to desktop, no error message.

Attached logs and dmp file!

Attachments:
File comment: logs & dmp
CoolVLViewer (2).zip [37.12 KiB]
Downloaded 88 times

Author:  Henri Beauchamp [ 2021-02-25 16:37:40 ]
Post subject:  Re: Repeatable CTD - possibly RLV related?

Sadly, you did not post the right log file (under Windows, when the viewer crashes, it should be named CoolVLViewer_NNNN.log, with NNNN being the process number, and its timestamp being of course the newest)...

Could you also confirm it was a camera restriction ?

If possible, provide repro steps. Thank you.

Author:  Jenna Huntsman [ 2021-02-25 17:57:23 ]
Post subject:  Re: Repeatable CTD - possibly RLV related?

Henri Beauchamp wrote:
Sadly, you did not post the right log file (under Windows, when the viewer crashes, it should be named CoolVLViewer_NNNN.log, with NNNN being the process number, and its timestamp being of course the newest)...

Could you also confirm it was a camera restriction ?

If possible, provide repro steps. Thank you.


Hey,

Sorry about that. Attached the correct logs.

Yes, it was a camera restriction, command issued was as follows:
Code:
llOwnerSay("@sendchat=n,sendim=n,camtextures:e2244626-f22f-4839-8123-1e7baddeb659=n,camavdist:4=n,camdrawmin:3=n,camdrawmax:5=n,camdrawalphamin:0=n,
camdrawalphamax:1=n,camdistmax:3=n,shownametags=n,showhovertextworld=n,setenv_daytime:0=force,setenv_distancemultiplier:100=force,
setenv_densitymultiplier:0.9=force,setenv_bluedensityi:1=force,setenv_ambienti:0=force")


Was tested at the Debug2 sim, would cause my viewer to crash shortly after that command was issued. My partner was also present (using a different viewer, and wasn't using RLV).

Attachments:
CoolVLViewer_18128.zip [55.02 KiB]
Downloaded 87 times

Author:  Henri Beauchamp [ 2021-02-25 18:17:55 ]
Post subject:  Re: Repeatable CTD - possibly RLV related?

This is a RestrainedLove bug (so it should also reproduce in Marine's viewer, and perhaps in Kokua).

The reason is that the @camtextures:e2244626-f22f-4839-8123-1e7baddeb659=n command causes the viewer to fetch the corresponding texture, but the pointer for it is not held in a ref-counted pointer as it should, but only in a normal pointer, meaning that if no other object in the field of view is using that same texture, it gets almost immediately removed from from the textures list, and the viewer crashes whenever it attempts to reuse the pointer (that now points to nothing)...

Fixed for next release.

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