about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-09 09:39:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-09 09:39:24 -0700
commit8d7b228ea5883b1cf83e3352fbe929a30b8d0f24 (patch)
treeabeba066d588fa1ec44140eb0a0fda4f3d0e5be2
parent7bdcbfbed978d32cf4598ad1698006796e5b958c (diff)
downloadmu-8d7b228ea5883b1cf83e3352fbe929a30b8d0f24.tar.gz
3160
Thanks Ella Couch for running into this source of crashes.
-rw-r--r--091run_interactive.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/091run_interactive.cc b/091run_interactive.cc
index b88333bd..1f5a60fc 100644
--- a/091run_interactive.cc
+++ b/091run_interactive.cc
@@ -346,15 +346,7 @@ void track_most_recent_products(const instruction& instruction, const vector<vec
     // string
     if (i < SIZE(instruction.products)) {
       if (is_mu_string(instruction.products.at(i))) {
-        if (!scalar(products.at(i))) {
-          tb_shutdown();
-          cerr << read_mu_string(trace_error_contents()) << '\n';
-          cerr << SIZE(products.at(i)) << ": ";
-          for (int j = 0; j < SIZE(products.at(i)); ++j)
-            cerr << no_scientific(products.at(i).at(j)) << ' ';
-          cerr << '\n';
-        }
-        assert(scalar(products.at(i)));
+        if (!scalar(products.at(i))) continue;  // error handled elsewhere
         out << read_mu_string(products.at(i).at(0)) << '\n';
         continue;
       }