From: Chris Koeritz Date: Wed, 4 Aug 2021 19:59:43 +0000 (-0400) Subject: working through some issues X-Git-Tag: 2.140.128~1^2~8 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=489eefa5c0460406dee8b369e3b7bfca142bd0e5;p=feisty_meow.git working through some issues enabling debug logging revealed that some debug logs hadn't been updated in a while. also had to re-learn a_sprintf class. new overload report has some new classes or categories and changes approach on a couple things. it may change a bit more soon as we rotate some names around in the cloud (nuage) --- diff --git a/nucleus/library/crypto/blowfish_crypto.cpp b/nucleus/library/crypto/blowfish_crypto.cpp index f5f7681b..77b70f28 100644 --- a/nucleus/library/crypto/blowfish_crypto.cpp +++ b/nucleus/library/crypto/blowfish_crypto.cpp @@ -124,7 +124,7 @@ blowfish_crypto::blowfish_crypto(const blowfish_crypto &to_copy) blowfish_crypto::~blowfish_crypto() { - FUNCDEF("dtor"); + FUNCDEF("destructor"); LOG("prior to key whack"); WHACK(_key); LOG("after key whack"); diff --git a/nucleus/library/crypto/rsa_crypto.cpp b/nucleus/library/crypto/rsa_crypto.cpp index 165f66b6..b96b3cdc 100644 --- a/nucleus/library/crypto/rsa_crypto.cpp +++ b/nucleus/library/crypto/rsa_crypto.cpp @@ -98,7 +98,7 @@ rsa_crypto::rsa_crypto(const rsa_crypto &to_copy) rsa_crypto::~rsa_crypto() { - FUNCDEF("dtor"); + FUNCDEF("destructor"); LOG("prior to rsa free"); auto_synchronizer mutt(__single_stepper()); RSA_free(_key); diff --git a/nucleus/library/crypto/ssl_init.cpp b/nucleus/library/crypto/ssl_init.cpp index 161874cb..abb62ad6 100644 --- a/nucleus/library/crypto/ssl_init.cpp +++ b/nucleus/library/crypto/ssl_init.cpp @@ -67,7 +67,7 @@ ssl_init::ssl_init() ssl_init::~ssl_init() { - FUNCDEF("dtor"); + FUNCDEF("destructor"); LOG("prior to crypto cleanup"); CRYPTO_cleanup_all_ex_data(); diff --git a/nucleus/library/nodes/symbol_tree.cpp b/nucleus/library/nodes/symbol_tree.cpp index 0cf01c6c..947d4530 100644 --- a/nucleus/library/nodes/symbol_tree.cpp +++ b/nucleus/library/nodes/symbol_tree.cpp @@ -19,7 +19,7 @@ #include #include -//#define DEBUG_SYMBOL_TREE +#define DEBUG_SYMBOL_TREE // uncomment for totally noisy version. #include diff --git a/nucleus/library/nodes/tree.cpp b/nucleus/library/nodes/tree.cpp index 2a88061c..ae09f049 100644 --- a/nucleus/library/nodes/tree.cpp +++ b/nucleus/library/nodes/tree.cpp @@ -18,7 +18,7 @@ #include #include -//#define DEBUG_TREE +#define DEBUG_TREE // uncomment if you want lots of debugging info. #undef LOG @@ -274,6 +274,7 @@ tree::tree() tree::~tree() { + FUNCDEF("destructor"); // must at least unhook ourselves from the parent so we don't become a lost // cousin. tree *my_parent = parent(); @@ -306,8 +307,11 @@ tree::~tree() // or there are no kids at all. curr_node = curr_node->branch(0); +LOG(a_sprintf("loop traverse on %p", curr_node)); + if (curr_node == NULL_POINTER) { // wayback has no children, so we can take action. +LOG(a_sprintf("inside null condition, loop traverse on %p", curr_node)); // if wayback is the same as "this", then we exit from iterations since // we've cleaned all the kids out. diff --git a/scripts/agenda/info_overload_report.sh b/scripts/agenda/info_overload_report.sh index e6b63b2f..1812d87e 100644 --- a/scripts/agenda/info_overload_report.sh +++ b/scripts/agenda/info_overload_report.sh @@ -115,7 +115,7 @@ full_report+="count\tcomplexity\tweight (kb)\tcategory\n\ #hmmm: don't fail if the hierarchy doesn't exist. # high priority stuff would be called urgent. -analyze_hierarchy_and_report $CLOUD_BASE/urgent "high priority (aieeee!)" +analyze_hierarchy_and_report $CLOUD_BASE/aaa_priority "high priority (aieeee!)" # notes are individual files of tasks, usually, although some are combined. analyze_hierarchy_and_report $CLOUD_BASE/grunty* "grunty (external facing) notes" @@ -146,16 +146,16 @@ analyze_hierarchy_and_report $CLOUD_BASE/reading "reading list (for a quiet afte analyze_by_dir_patterns "life's work and other oddities" $CLOUD_BASE/vocation* # scan all the items declared as active projects. -analyze_by_dir_patterns "active issues" $CLOUD_BASE/active* +analyze_by_dir_patterns "active issues" $CLOUD_BASE/*active* # rub alongside all the travel notes to see if any have interesting burrs. analyze_by_dir_patterns "travel plans" $CLOUD_BASE/walkabout* # scan across all appropriately named project or research folders. -analyze_by_dir_patterns "running projects" $CLOUD_BASE/project* $CLOUD_BASE/research* +analyze_by_dir_patterns "running projects" $CLOUD_BASE/*project* $CLOUD_BASE/*research* # look for our mad scientist style efforts. -analyze_by_dir_patterns "lab experiments" $CLOUD_BASE/experiment* +analyze_by_dir_patterns "lab experiments" $CLOUD_BASE/*experiment* # snag any work related items for that category. analyze_by_dir_patterns "jobby work tasks" $CLOUD_BASE/job*