[opensource-dev] Infinite loop in viewer-development?

Sheet Spotter sheet.spotter at gmail.com
Wed Nov 10 12:35:50 PST 2010


The infinite loop occurs when the avatar's baked textures cannot be decoded.

 

The problem was encountered while testing OpenJPEG v2, but it could also
occur with any JPEG 2000 decoder.

 

After running the code outside the debugger I was able to submit a rather
large crash log (13 MB). 

 

I would like to create a JIRA entry with more details. Does the new JIRA
entry belong under the Snowstorm or VWR project? 

 

I would happily add a description of the source code revision number to the
JIRA entry. Is the following an adequate description of this revision?

Changeset 13413 (1a5850ad0a74)

 

Including a revision number with my original questions did not seem
important, since the problem appeared to be present for six weeks or more. I
also did not include any hardware or operating system information because
the problem was occurring in source code that is common to all platforms. I
tried to keep the description brief and to the point.

 

 

Sheet Spotter

 

  _____  

From: opensource-dev-bounces at lists.secondlife.com
[mailto:opensource-dev-bounces at lists.secondlife.com] On Behalf Of Oz Linden
(Scott Lawrence)
Sent: November 10, 2010 10:39 AM
To: opensource-dev at lists.secondlife.com
Subject: Re: [opensource-dev] Infinite loop in viewer-development?

 

A stack overflow is occurring during log on with the latest
viewer-development source code. 


See the archive for my rant on using the word "latest".




The code enters an infinite loop when two methods are repeatedly calling
each other. LLVOAvatarSelf::removeMissingBakedTextures calls
LLVOAvatar::updateMeshTextures, which in turn calls
LLVOAvatarSelf::removeMissingBakedTextures.

 

Clearing cache has no effect. The infinite loop still occurs on the next
logon.

 

Is anyone aware of the underlying cause of the infinite loop?

Is there a workaround that would avoid this infinite loop?

 

The problem may not be new. The same infinite loop occurs with source code
that I checked out six weeks ago.


This certainly is not happening for everyone...   if you can figure out what
condition is triggering it for you, that would be good information to have.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20101110/c5b82592/attachment.htm 


More information about the opensource-dev mailing list