summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-10-06 01:46:00 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-10-06 21:59:39 +0300
commitf08421e6512da49c633823a65c459de32aae61de (patch)
treee7d10e561e5f849d2c8b2df78ed36fc9cea6da4c
parentfc17790a35402e25d7790dfed467e9c46b059554 (diff)
SL-14012 Crashes from Win10 are sent with uninformative callstacks
Simplify name generation according to slack discussion, also helps bugsplat with matching files
-rw-r--r--autobuild.xml14
-rwxr-xr-xindra/newview/viewer_manifest.py13
2 files changed, 18 insertions, 9 deletions
diff --git a/autobuild.xml b/autobuild.xml
index 183999bdc1..5e02db7406 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -244,9 +244,9 @@
<key>archive</key>
<map>
<key>hash</key>
- <string>d127d78db697bca2066358c63c9c6f32</string>
+ <string>ee1e3e1a18e7b123e69516e9725d5bbc</string>
<key>url</key>
- <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/69727/673273/bugsplat-1.0.7.550012-darwin64-550012.tar.bz2</string>
+ <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/69791/674226/bugsplat-1.0.7.550056-darwin64-550056.tar.bz2</string>
</map>
<key>name</key>
<string>darwin64</string>
@@ -256,9 +256,9 @@
<key>archive</key>
<map>
<key>hash</key>
- <string>5b5124ef7f3705fe267e6ca0c405870b</string>
+ <string>4682feb72e972e0790615de7046877ee</string>
<key>url</key>
- <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/69728/673286/bugsplat-3.6.0.4.550012-windows-550012.tar.bz2</string>
+ <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/69789/674221/bugsplat-3.6.0.4.550056-windows-550056.tar.bz2</string>
</map>
<key>name</key>
<string>windows</string>
@@ -268,16 +268,16 @@
<key>archive</key>
<map>
<key>hash</key>
- <string>db59bda4b152f0f65be18c122bc95bfc</string>
+ <string>e8be5b56ebee7e3f9ce5c212f90dc70c</string>
<key>url</key>
- <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/69726/673272/bugsplat-3.6.0.4.550012-windows64-550012.tar.bz2</string>
+ <string>http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/69790/674223/bugsplat-3.6.0.4.550056-windows64-550056.tar.bz2</string>
</map>
<key>name</key>
<string>windows64</string>
</map>
</map>
<key>version</key>
- <string>3.6.0.4.550012</string>
+ <string>3.6.0.4.550056</string>
</map>
<key>colladadom</key>
<map>
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 90a2af98f7..c6f149b5fe 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -260,6 +260,9 @@ class ViewerManifest(LLManifest):
app_suffix=self.channel_variant()
return CHANNEL_VENDOR_BASE + ' ' + app_suffix
+ def exec_name(self):
+ return "SecondLifeViewer"
+
def app_name_oneword(self):
return ''.join(self.app_name().split())
@@ -419,10 +422,12 @@ class WindowsManifest(ViewerManifest):
build_data_json_platform = 'win'
def final_exe(self):
- return self.app_name_oneword()+".exe"
+ return self.exec_name()+".exe"
+
+ def final_pdb(self):
+ return self.exec_name()+".pdb"
def finish_build_data_dict(self, build_data_dict):
- #MAINT-7294: Windows exe names depend on channel name, so write that in also
build_data_dict['Executable'] = self.final_exe()
build_data_dict['AppName'] = self.app_name()
return build_data_dict
@@ -487,6 +492,10 @@ class WindowsManifest(ViewerManifest):
if self.is_packaging_viewer():
# Find secondlife-bin.exe in the 'configuration' dir, then rename it to the result of final_exe.
self.path(src='%s/secondlife-bin.exe' % self.args['configuration'], dst=self.final_exe())
+ # Bugsplat for some reason requires a match between user's exe and supplied pdb on Windows 10
+ # this feels wrong and doesn't make any sense, since often we are supposed to match a whole
+ # folder of symbol files to a random exe. But Bugsplat says 'it's expected' so just rename files.
+ self.ccopyfile(src='%s/secondlife-bin.pdb' % self.args['configuration'], dst='%s/%s' % (self.args['configuration'], self.final_pdb()))
with self.prefix(src=os.path.join(pkgdir, "VMP")):
# include the compiled launcher scripts so that it gets included in the file_list