• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
MAINTENANCE ANNOUNCEMENT - JIRA will undergo maintenance starting 1:00am PDT through 3:00am on Saturday 2010.03.20. Please do not enter issues during this time as the system maybe restarted.
Issue Details (XML | Word | Printable)

Key: VWR-8539
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Unassigned
Reporter: BlueWall Slade
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

OGP Beta: Viewer Crashes when attempting to save appearance

Created: 07/Aug/08 01:30 PM   Updated: 04/Sep/08 01:05 PM
Component/s: Avatar/Character
Affects Version/s: Other (please specify in issue description)
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File appearancecrash.txt (3 kB)
2. Text File SecondLife.log (35 kB)

Environment:
CPU: AMD Athlon(tm) XP 2600+
Memory: 974 MB
OS Version: Linux 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce FX 5500/PCI/SSE/3DNOW!
OpenGL Version: 2.1.2 NVIDIA 173.14.05
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.17182 (Mozilla GRE version 1.8.1.13_0000000000)
Packets Lost: 16/1087 (1.5%)
Issue Links:
Relates
 

Linden Lab Issue ID: DEV-19128


 Description  « Hide
Attempting to save avatar appearance by "making outfit" crashes viewer Viewer: Second Life 1.20.15 (93188) Jul 30 2008 12:14:52 (Open Grid)

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Pixel Gausman added a comment - 08/Aug/08 02:42 PM
So I did some debugging on this. Here's what I hope I've learned. This crash has to do with LLAgent::makeNewOutfit() assuming that default items exist. It pulls items out based on the count (which is generated by checkboxes in dialog.)

So the quick fix would be to not do most of the code in makeNewOutfit if this returns NULL:
LLViewerInventoryItem* item = gInventory.getItem(mWearableEntry[index].mItemID);

Another option might be to add checking in LLMakeOutfitDialog::getIncludedItems() to make sure that requested items to save actually exist.
Or adding code to the floater to only enable checkboxes for items that exist.


Pixel Gausman added a comment - 08/Aug/08 02:49 PM
Stack trace from Visual Studio. Whump, if this is still open after I get back from SIGGRAPH (18th), I can create a fix.