Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2022-01-28 19:38:50



Reply to topic  [ 3 posts ] 
Random crashing with v1.28.2.46 
Author Message

Joined: 2012-08-08 17:51:35
Posts: 69
Reply with quote
I have some odd random crashing with the latest viewer (v1.28.2.46), which does not happen for me with the previous release (v1.28.2.45).
The viewer just disappears, and leaves the logfiles behind. Sorry if I can't give more details than this, and the logfiles are attached of course.


Attachments:
stack_trace.log.gz [977 Bytes]
Downloaded 5 times
CoolVLViewer.log.gz [34.92 KiB]
Downloaded 7 times
2021-11-10 19:51:37
Profile

Joined: 2009-03-17 18:42:51
Posts: 4809
Reply with quote
Yep, I got rid of a dynamic_cast by replacing it with a new asKeyframeMotion() virtual method, but I forgot to test for the pointer returned by a findMotion() (which may be NULL, in the event that an animation is removed from an avatar before it finishes downloading), before calling that method with that pointer... Silly me !

I did not encounter this crash myself, but it is probably because I got a fast connection (the slower your connection, the more likely an animation may finish playing before it can be fully downloaded).

Fixed for next release.

If you compile the viewer yourself, you may, in the mean time, restore the dynamic_cast (simpler than the full fix) by replacing lines 2559 to 2562 of indra/llcharacter/llkeyframemotion.cpp with:
Code:
   // Look for an existing instance of this motion
   LLKeyframeMotion* motionp = dynamic_cast<LLKeyframeMotion*>(character->findMotion(asset_uuid));


2021-11-10 22:56:53
Profile WWW

Joined: 2012-08-08 17:51:35
Posts: 69
Reply with quote
Good news to hear you found out what it was, and thank you for the explanation.
I'll stay on the previous release (.45) until next fixed release and that way all is good for me meanwhile.
Also a big thank you for all the work you put into the viewer, it is much appreciated here as it is very seldom I run into issues with Cool VL Viewer, it usually "just works".


2021-11-10 23:46:18
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 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.