<commit_before>#include "utils.hpp"

#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include "arch/arch.hpp"

void generic_crash_handler(int signum) {
    fail("Internal crash detected.");
}

void ignore_crash_handler(int signum) {}
<commit_msg>Print signums when we catch signals.<commit_after>#include "utils.hpp"

#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include "arch/arch.hpp"

void generic_crash_handler(int signum) {
    fprintf(stderr, "Signum: %d\n", signum);
    fail("Internal crash detected.");
}

void ignore_crash_handler(int signum) {}

{'fraction_non_alphanumeric': 0.15512048192771086, 'fraction_numerical': 0.0, 'mean_word_length': 5.65, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5952009', 'n_tokens_mistral': 247, 'n_tokens_neox': 245, 'n_words': 55}