[opensource-dev] Review Request: Put the viewer version into marker files, and report errors only when the version matches

Oz Linden oz at lindenlab.com
Fri Nov 2 13:55:46 PDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/607/
-----------------------------------------------------------

(Updated Nov. 2, 2012, 1:55 p.m.)


Review request for Viewer and Callum Prentice.


Description
-------

In all the marker files used to detect how the viewer run terminates, record the version.  When checking the results, report errors only if the current version matches the version in the file.  This prevents errors in one version from being reported against the subsequent version.


This addresses bug storm-1850.
    http://jira.secondlife.com/browse/storm-1850


Diffs
-----

  indra/newview/llappviewer.h 3d35a13561fc 
  indra/newview/llappviewer.cpp 3d35a13561fc 

Diff: http://codereview.secondlife.com/r/607/diff/


Testing
-------

Several simulated crashes both of the modified and unmodified viewers, and some in which the marker file was modified manually to simulate different viewers. Launched the new viewer after different crashes (and normal exits) and confirmed (using logging temporarily added for that purpose) that the reported last exec event was correct - and is always reported as Normal if the previous version and the running version were not the same.


Thanks,

Oz Linden

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


More information about the opensource-dev mailing list