blob: b3fdcb4a89190c8cfc4838833d6f916788d138a1 [file] [log] [blame]
Steve Fung6c34c252015-08-20 00:27:30 -07001/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Ken Mixter03403162010-08-18 15:23:16 -070016
Steve Fung129bea52015-07-23 13:11:15 -070017#include "crash_collector.h"
Ken Mixter03403162010-08-18 15:23:16 -070018
Ken Mixter04ec10f2010-08-26 16:02:02 -070019#include <dirent.h>
Ken Mixter9b346472010-11-07 13:45:45 -080020#include <fcntl.h> // For file creation modes.
Alex Vakulenko7589aff2014-07-30 10:07:35 -070021#include <inttypes.h>
Ben Chanf3811f52014-08-26 06:46:38 -070022#include <linux/limits.h> // PATH_MAX
Ken Mixter03403162010-08-18 15:23:16 -070023#include <pwd.h> // For struct passwd.
24#include <sys/types.h> // for mode_t.
Ken Mixter9b346472010-11-07 13:45:45 -080025#include <sys/wait.h> // For waitpid.
26#include <unistd.h> // For execv and fork.
Ken Mixter03403162010-08-18 15:23:16 -070027
Ken Mixteree849c52010-09-30 15:30:10 -070028#include <set>
Ben Chan7e776902014-06-18 13:19:51 -070029#include <utility>
Simon Quef70060c2012-04-09 19:07:07 -070030#include <vector>
Ken Mixteree849c52010-09-30 15:30:10 -070031
Ben Chanab6cc902014-09-05 08:21:06 -070032#include <base/files/file_util.h>
Ben Chan7e776902014-06-18 13:19:51 -070033#include <base/logging.h>
34#include <base/posix/eintr_wrapper.h>
35#include <base/strings/string_split.h>
36#include <base/strings/string_util.h>
37#include <base/strings/stringprintf.h>
Alex Vakulenko74dc6242015-10-13 09:23:34 -070038#include <brillo/key_value_store.h>
39#include <brillo/process.h>
Ken Mixter03403162010-08-18 15:23:16 -070040
Daniel Erat731da332015-01-28 09:48:10 -070041namespace {
42
43const char kCollectChromeFile[] =
Michael Krebs4fe30db2011-08-05 13:54:52 -070044 "/mnt/stateful_partition/etc/collect_chrome_crashes";
Steve Fung0e8746d2015-08-20 17:07:50 -070045const char kCrashTestInProgressPath[] =
46 "/data/misc/crash_reporter/tmp/crash-test-in-progress";
Daniel Erat731da332015-01-28 09:48:10 -070047const char kDefaultLogConfig[] = "/etc/crash_reporter_logs.conf";
48const char kDefaultUserName[] = "chronos";
Steve Fung0e8746d2015-08-20 17:07:50 -070049const char kLeaveCoreFile[] = "/data/misc/crash_reporter/.leave_core";
Steve Fung0e8746d2015-08-20 17:07:50 -070050const char kShellPath[] = "/system/bin/sh";
Steve Fungab2ac7d2015-08-14 17:58:05 -070051const char kSystemCrashPath[] = "/data/misc/crash_reporter/crash";
Daniel Erat731da332015-01-28 09:48:10 -070052const char kUploadVarPrefix[] = "upload_var_";
53const char kUploadFilePrefix[] = "upload_file_";
54
Mike Frysingerf19b5182013-05-17 19:36:47 -040055// Normally this path is not used. Unfortunately, there are a few edge cases
56// where we need this. Any process that runs as kDefaultUserName that crashes
57// is consider a "user crash". That includes the initial Chrome browser that
58// runs the login screen. If that blows up, there is no logged in user yet,
59// so there is no per-user dir for us to stash things in. Instead we fallback
60// to this path as it is at least encrypted on a per-system basis.
61//
62// This also comes up when running autotests. The GUI is sitting at the login
63// screen while tests are sshing in, changing users, and triggering crashes as
64// the user (purposefully).
Daniel Erat731da332015-01-28 09:48:10 -070065const char kFallbackUserCrashPath[] = "/home/chronos/crash";
Ken Mixter03403162010-08-18 15:23:16 -070066
67// Directory mode of the user crash spool directory.
Daniel Erat731da332015-01-28 09:48:10 -070068const mode_t kUserCrashPathMode = 0755;
Ken Mixter03403162010-08-18 15:23:16 -070069
70// Directory mode of the system crash spool directory.
Daniel Erat731da332015-01-28 09:48:10 -070071const mode_t kSystemCrashPathMode = 01755;
Ken Mixter03403162010-08-18 15:23:16 -070072
Daniel Erat731da332015-01-28 09:48:10 -070073const uid_t kRootOwner = 0;
74const uid_t kRootGroup = 0;
75
76} // namespace
Ken Mixter03403162010-08-18 15:23:16 -070077
Ken Mixterda5db7a2010-09-17 13:50:42 -070078// Maximum crash reports per crash spool directory. Note that this is
79// a separate maximum from the maximum rate at which we upload these
80// diagnostics. The higher this rate is, the more space we allow for
81// core files, minidumps, and kcrash logs, and equivalently the more
82// processor and I/O bandwidth we dedicate to handling these crashes when
83// many occur at once. Also note that if core files are configured to
84// be left on the file system, we stop adding crashes when either the
85// number of core files or minidumps reaches this number.
86const int CrashCollector::kMaxCrashDirectorySize = 32;
Ken Mixter04ec10f2010-08-26 16:02:02 -070087
Simon Que9f90aca2013-02-19 17:19:52 -080088using base::FilePath;
Mike Frysingera557c112014-02-05 22:55:39 -050089using base::StringPrintf;
Simon Que9f90aca2013-02-19 17:19:52 -080090
Ken Mixterafcf8082010-10-26 14:45:01 -070091CrashCollector::CrashCollector()
Steve Fung8ed101b2015-12-02 16:18:07 -080092 : log_config_path_(kDefaultLogConfig) {
Ken Mixter03403162010-08-18 15:23:16 -070093}
94
95CrashCollector::~CrashCollector() {
96}
97
98void CrashCollector::Initialize(
99 CrashCollector::CountCrashFunction count_crash_function,
Ken Mixtera3249322011-03-03 08:47:38 -0800100 CrashCollector::IsFeedbackAllowedFunction is_feedback_allowed_function) {
Ben Chan262d7982014-09-18 08:05:20 -0700101 CHECK(count_crash_function);
102 CHECK(is_feedback_allowed_function);
Ken Mixter03403162010-08-18 15:23:16 -0700103
104 count_crash_function_ = count_crash_function;
105 is_feedback_allowed_function_ = is_feedback_allowed_function;
Ken Mixter03403162010-08-18 15:23:16 -0700106}
107
Ken Mixter9b346472010-11-07 13:45:45 -0800108int CrashCollector::WriteNewFile(const FilePath &filename,
109 const char *data,
110 int size) {
111 int fd = HANDLE_EINTR(open(filename.value().c_str(),
112 O_CREAT | O_WRONLY | O_TRUNC | O_EXCL, 0666));
113 if (fd < 0) {
114 return -1;
115 }
116
Alex Vakulenko859ee452014-12-10 12:52:31 -0800117 int rv = base::WriteFileDescriptor(fd, data, size) ? size : -1;
Mike Frysingerf1a50142014-05-14 16:05:09 -0400118 IGNORE_EINTR(close(fd));
Ken Mixter9b346472010-11-07 13:45:45 -0800119 return rv;
120}
121
Ken Mixteree849c52010-09-30 15:30:10 -0700122std::string CrashCollector::Sanitize(const std::string &name) {
Thiemo Nagel98950962014-05-13 19:48:32 +0200123 // Make sure the sanitized name does not include any periods.
124 // The logic in crash_sender relies on this.
Ken Mixteree849c52010-09-30 15:30:10 -0700125 std::string result = name;
126 for (size_t i = 0; i < name.size(); ++i) {
127 if (!isalnum(result[i]) && result[i] != '_')
128 result[i] = '_';
129 }
130 return result;
131}
132
Ken Mixter03403162010-08-18 15:23:16 -0700133std::string CrashCollector::FormatDumpBasename(const std::string &exec_name,
134 time_t timestamp,
135 pid_t pid) {
136 struct tm tm;
137 localtime_r(&timestamp, &tm);
Ken Mixteree849c52010-09-30 15:30:10 -0700138 std::string sanitized_exec_name = Sanitize(exec_name);
Ken Mixter03403162010-08-18 15:23:16 -0700139 return StringPrintf("%s.%04d%02d%02d.%02d%02d%02d.%d",
Ken Mixteree849c52010-09-30 15:30:10 -0700140 sanitized_exec_name.c_str(),
Ken Mixter03403162010-08-18 15:23:16 -0700141 tm.tm_year + 1900,
142 tm.tm_mon + 1,
143 tm.tm_mday,
144 tm.tm_hour,
145 tm.tm_min,
146 tm.tm_sec,
147 pid);
148}
149
Ken Mixter207694d2010-10-28 15:42:37 -0700150FilePath CrashCollector::GetCrashPath(const FilePath &crash_directory,
151 const std::string &basename,
152 const std::string &extension) {
153 return crash_directory.Append(StringPrintf("%s.%s",
154 basename.c_str(),
155 extension.c_str()));
156}
157
Ken Mixter03403162010-08-18 15:23:16 -0700158FilePath CrashCollector::GetCrashDirectoryInfo(
Ken Mixter03403162010-08-18 15:23:16 -0700159 mode_t *mode,
160 uid_t *directory_owner,
161 gid_t *directory_group) {
Steve Fungab2ac7d2015-08-14 17:58:05 -0700162 *mode = kSystemCrashPathMode;
163 *directory_owner = kRootOwner;
164 *directory_group = kRootGroup;
165 return FilePath(kSystemCrashPath);
Ken Mixter03403162010-08-18 15:23:16 -0700166}
167
168bool CrashCollector::GetUserInfoFromName(const std::string &name,
169 uid_t *uid,
170 gid_t *gid) {
171 char storage[256];
172 struct passwd passwd_storage;
Ben Chan262d7982014-09-18 08:05:20 -0700173 struct passwd *passwd_result = nullptr;
Ken Mixter03403162010-08-18 15:23:16 -0700174
175 if (getpwnam_r(name.c_str(), &passwd_storage, storage, sizeof(storage),
Ben Chan262d7982014-09-18 08:05:20 -0700176 &passwd_result) != 0 || passwd_result == nullptr) {
Ken Mixtera3249322011-03-03 08:47:38 -0800177 LOG(ERROR) << "Cannot find user named " << name;
Ken Mixter03403162010-08-18 15:23:16 -0700178 return false;
179 }
180
181 *uid = passwd_result->pw_uid;
182 *gid = passwd_result->pw_gid;
183 return true;
184}
185
186bool CrashCollector::GetCreatedCrashDirectoryByEuid(uid_t euid,
Ken Mixter207694d2010-10-28 15:42:37 -0700187 FilePath *crash_directory,
188 bool *out_of_capacity) {
Ben Chan262d7982014-09-18 08:05:20 -0700189 if (out_of_capacity) *out_of_capacity = false;
Ken Mixter207694d2010-10-28 15:42:37 -0700190
Ken Mixter03403162010-08-18 15:23:16 -0700191 // For testing.
Lei Zhang9b1f3002014-04-24 02:10:57 -0700192 if (!forced_crash_directory_.empty()) {
193 *crash_directory = forced_crash_directory_;
Ken Mixter03403162010-08-18 15:23:16 -0700194 return true;
195 }
196
Ken Mixter03403162010-08-18 15:23:16 -0700197 mode_t directory_mode;
198 uid_t directory_owner;
199 gid_t directory_group;
200 *crash_directory =
Steve Fungab2ac7d2015-08-14 17:58:05 -0700201 GetCrashDirectoryInfo(&directory_mode,
Ken Mixter03403162010-08-18 15:23:16 -0700202 &directory_owner,
203 &directory_group);
204
Mike Frysingera557c112014-02-05 22:55:39 -0500205 if (!base::PathExists(*crash_directory)) {
Ken Mixter03403162010-08-18 15:23:16 -0700206 // Create the spool directory with the appropriate mode (regardless of
207 // umask) and ownership.
208 mode_t old_mask = umask(0);
209 if (mkdir(crash_directory->value().c_str(), directory_mode) < 0 ||
210 chown(crash_directory->value().c_str(),
211 directory_owner,
212 directory_group) < 0) {
Ken Mixtera3249322011-03-03 08:47:38 -0800213 LOG(ERROR) << "Unable to create appropriate crash directory";
Ken Mixter03403162010-08-18 15:23:16 -0700214 return false;
215 }
216 umask(old_mask);
217 }
218
Mike Frysingera557c112014-02-05 22:55:39 -0500219 if (!base::PathExists(*crash_directory)) {
Ken Mixtera3249322011-03-03 08:47:38 -0800220 LOG(ERROR) << "Unable to create crash directory "
221 << crash_directory->value().c_str();
Ken Mixter03403162010-08-18 15:23:16 -0700222 return false;
223 }
224
Ken Mixter04ec10f2010-08-26 16:02:02 -0700225 if (!CheckHasCapacity(*crash_directory)) {
Ben Chan262d7982014-09-18 08:05:20 -0700226 if (out_of_capacity) *out_of_capacity = true;
Steve Fungab2ac7d2015-08-14 17:58:05 -0700227 LOG(ERROR) << "Directory " << crash_directory->value()
228 << " is out of capacity.";
Ken Mixter04ec10f2010-08-26 16:02:02 -0700229 return false;
230 }
231
Ken Mixter03403162010-08-18 15:23:16 -0700232 return true;
233}
Ken Mixter04ec10f2010-08-26 16:02:02 -0700234
Albert Chaulk426fcc02013-05-02 15:38:31 -0700235FilePath CrashCollector::GetProcessPath(pid_t pid) {
236 return FilePath(StringPrintf("/proc/%d", pid));
237}
238
239bool CrashCollector::GetSymlinkTarget(const FilePath &symlink,
Ben Chan8563d202014-01-27 19:30:13 -0800240 FilePath *target) {
Ben Chanf3811f52014-08-26 06:46:38 -0700241 ssize_t max_size = 64;
242 std::vector<char> buffer;
243
Albert Chaulk426fcc02013-05-02 15:38:31 -0700244 while (true) {
Ben Chanf3811f52014-08-26 06:46:38 -0700245 buffer.resize(max_size + 1);
246 ssize_t size = readlink(symlink.value().c_str(), buffer.data(), max_size);
Albert Chaulk426fcc02013-05-02 15:38:31 -0700247 if (size < 0) {
248 int saved_errno = errno;
249 LOG(ERROR) << "Readlink failed on " << symlink.value() << " with "
250 << saved_errno;
251 return false;
252 }
Ben Chanf3811f52014-08-26 06:46:38 -0700253
Albert Chaulk426fcc02013-05-02 15:38:31 -0700254 buffer[size] = 0;
255 if (size == max_size) {
Ben Chanf3811f52014-08-26 06:46:38 -0700256 max_size *= 2;
257 if (max_size > PATH_MAX) {
Albert Chaulk426fcc02013-05-02 15:38:31 -0700258 return false;
259 }
Ben Chanf3811f52014-08-26 06:46:38 -0700260 continue;
Albert Chaulk426fcc02013-05-02 15:38:31 -0700261 }
262 break;
263 }
264
Ben Chanf3811f52014-08-26 06:46:38 -0700265 *target = FilePath(buffer.data());
Albert Chaulk426fcc02013-05-02 15:38:31 -0700266 return true;
267}
268
269bool CrashCollector::GetExecutableBaseNameFromPid(pid_t pid,
270 std::string *base_name) {
271 FilePath target;
272 FilePath process_path = GetProcessPath(pid);
273 FilePath exe_path = process_path.Append("exe");
274 if (!GetSymlinkTarget(exe_path, &target)) {
275 LOG(INFO) << "GetSymlinkTarget failed - Path " << process_path.value()
276 << " DirectoryExists: "
Mike Frysingera557c112014-02-05 22:55:39 -0500277 << base::DirectoryExists(process_path);
Albert Chaulk426fcc02013-05-02 15:38:31 -0700278 // Try to further diagnose exe readlink failure cause.
279 struct stat buf;
280 int stat_result = stat(exe_path.value().c_str(), &buf);
281 int saved_errno = errno;
282 if (stat_result < 0) {
283 LOG(INFO) << "stat " << exe_path.value() << " failed: " << stat_result
284 << " " << saved_errno;
285 } else {
286 LOG(INFO) << "stat " << exe_path.value() << " succeeded: st_mode="
287 << buf.st_mode;
288 }
289 return false;
290 }
291 *base_name = target.BaseName().value();
292 return true;
293}
294
Ken Mixter04ec10f2010-08-26 16:02:02 -0700295// Return true if the given crash directory has not already reached
296// maximum capacity.
297bool CrashCollector::CheckHasCapacity(const FilePath &crash_directory) {
298 DIR* dir = opendir(crash_directory.value().c_str());
299 if (!dir) {
Steve Fungab2ac7d2015-08-14 17:58:05 -0700300 LOG(WARNING) << "Unable to open crash directory "
301 << crash_directory.value();
Ken Mixter04ec10f2010-08-26 16:02:02 -0700302 return false;
303 }
304 struct dirent ent_buf;
305 struct dirent* ent;
Ken Mixter04ec10f2010-08-26 16:02:02 -0700306 bool full = false;
Ken Mixteree849c52010-09-30 15:30:10 -0700307 std::set<std::string> basenames;
Ben Chan262d7982014-09-18 08:05:20 -0700308 while (readdir_r(dir, &ent_buf, &ent) == 0 && ent) {
Ken Mixter04ec10f2010-08-26 16:02:02 -0700309 if ((strcmp(ent->d_name, ".") == 0) ||
310 (strcmp(ent->d_name, "..") == 0))
311 continue;
312
Ken Mixteree849c52010-09-30 15:30:10 -0700313 std::string filename(ent->d_name);
314 size_t last_dot = filename.rfind(".");
315 std::string basename;
316 // If there is a valid looking extension, use the base part of the
317 // name. If the only dot is the first byte (aka a dot file), treat
318 // it as unique to avoid allowing a directory full of dot files
319 // from accumulating.
320 if (last_dot != std::string::npos && last_dot != 0)
321 basename = filename.substr(0, last_dot);
322 else
323 basename = filename;
324 basenames.insert(basename);
Ken Mixter04ec10f2010-08-26 16:02:02 -0700325
Ken Mixteree849c52010-09-30 15:30:10 -0700326 if (basenames.size() >= static_cast<size_t>(kMaxCrashDirectorySize)) {
Ken Mixtera3249322011-03-03 08:47:38 -0800327 LOG(WARNING) << "Crash directory " << crash_directory.value()
328 << " already full with " << kMaxCrashDirectorySize
329 << " pending reports";
Ken Mixter04ec10f2010-08-26 16:02:02 -0700330 full = true;
331 break;
332 }
333 }
334 closedir(dir);
335 return !full;
336}
Ken Mixteree849c52010-09-30 15:30:10 -0700337
Ken Mixterc49dbd42010-12-14 17:44:11 -0800338bool CrashCollector::GetLogContents(const FilePath &config_path,
339 const std::string &exec_name,
340 const FilePath &output_file) {
Alex Vakulenko74dc6242015-10-13 09:23:34 -0700341 brillo::KeyValueStore store;
Daniel Erat731da332015-01-28 09:48:10 -0700342 if (!store.Load(config_path)) {
Ken Mixtera3249322011-03-03 08:47:38 -0800343 LOG(INFO) << "Unable to read log configuration file "
344 << config_path.value();
Ken Mixterc49dbd42010-12-14 17:44:11 -0800345 return false;
346 }
347
Daniel Erat731da332015-01-28 09:48:10 -0700348 std::string command;
349 if (!store.GetString(exec_name, &command))
Ken Mixterc49dbd42010-12-14 17:44:11 -0800350 return false;
351
Alex Vakulenko74dc6242015-10-13 09:23:34 -0700352 brillo::ProcessImpl diag_process;
Ken Mixtera3249322011-03-03 08:47:38 -0800353 diag_process.AddArg(kShellPath);
Daniel Erat731da332015-01-28 09:48:10 -0700354 diag_process.AddStringOption("-c", command);
Ken Mixtera3249322011-03-03 08:47:38 -0800355 diag_process.RedirectOutput(output_file.value());
Ken Mixterc49dbd42010-12-14 17:44:11 -0800356
Daniel Erat731da332015-01-28 09:48:10 -0700357 const int result = diag_process.Run();
Ken Mixtera3249322011-03-03 08:47:38 -0800358 if (result != 0) {
Daniel Erat731da332015-01-28 09:48:10 -0700359 LOG(INFO) << "Log command \"" << command << "\" exited with " << result;
Ken Mixterc49dbd42010-12-14 17:44:11 -0800360 return false;
361 }
362 return true;
363}
364
Ken Mixterafcf8082010-10-26 14:45:01 -0700365void CrashCollector::AddCrashMetaData(const std::string &key,
366 const std::string &value) {
367 extra_metadata_.append(StringPrintf("%s=%s\n", key.c_str(), value.c_str()));
368}
369
Albert Chaulk33dfd472013-06-19 15:34:13 -0700370void CrashCollector::AddCrashMetaUploadFile(const std::string &key,
371 const std::string &path) {
372 if (!path.empty())
373 AddCrashMetaData(kUploadFilePrefix + key, path);
374}
375
376void CrashCollector::AddCrashMetaUploadData(const std::string &key,
377 const std::string &value) {
378 if (!value.empty())
379 AddCrashMetaData(kUploadVarPrefix + key, value);
380}
381
Ken Mixteree849c52010-09-30 15:30:10 -0700382void CrashCollector::WriteCrashMetaData(const FilePath &meta_path,
Ken Mixterc909b692010-10-18 12:26:05 -0700383 const std::string &exec_name,
384 const std::string &payload_path) {
Ben Chanf84ea212014-08-06 17:27:48 -0700385 int64_t payload_size = -1;
Mike Frysingera557c112014-02-05 22:55:39 -0500386 base::GetFileSize(FilePath(payload_path), &payload_size);
Ken Mixterafcf8082010-10-26 14:45:01 -0700387 std::string meta_data = StringPrintf("%sexec_name=%s\n"
Ken Mixter207694d2010-10-28 15:42:37 -0700388 "payload=%s\n"
Alex Vakulenkoeaf060c2014-08-08 09:36:48 -0700389 "payload_size=%" PRId64 "\n"
Ken Mixteree849c52010-09-30 15:30:10 -0700390 "done=1\n",
Ken Mixterafcf8082010-10-26 14:45:01 -0700391 extra_metadata_.c_str(),
Ken Mixteree849c52010-09-30 15:30:10 -0700392 exec_name.c_str(),
Ken Mixter207694d2010-10-28 15:42:37 -0700393 payload_path.c_str(),
Ken Mixterc909b692010-10-18 12:26:05 -0700394 payload_size);
Ben Chanf30c6412014-05-22 23:09:01 -0700395 // We must use WriteNewFile instead of base::WriteFile as we
Ken Mixter9b346472010-11-07 13:45:45 -0800396 // do not want to write with root access to a symlink that an attacker
397 // might have created.
398 if (WriteNewFile(meta_path, meta_data.c_str(), meta_data.size()) < 0) {
Ken Mixtera3249322011-03-03 08:47:38 -0800399 LOG(ERROR) << "Unable to write " << meta_path.value();
Ken Mixteree849c52010-09-30 15:30:10 -0700400 }
401}
Thieu Le1652fb22011-03-03 12:14:43 -0800402
403bool CrashCollector::IsCrashTestInProgress() {
Mike Frysingera557c112014-02-05 22:55:39 -0500404 return base::PathExists(FilePath(kCrashTestInProgressPath));
Thieu Le1652fb22011-03-03 12:14:43 -0800405}
Michael Krebs4fe30db2011-08-05 13:54:52 -0700406
407bool CrashCollector::IsDeveloperImage() {
408 // If we're testing crash reporter itself, we don't want to special-case
409 // for developer images.
410 if (IsCrashTestInProgress())
411 return false;
Mike Frysingera557c112014-02-05 22:55:39 -0500412 return base::PathExists(FilePath(kLeaveCoreFile));
Michael Krebs4fe30db2011-08-05 13:54:52 -0700413}