#include <signal.h>
#include "allheaders.h"
#include "errcode.h"
#include "tprintf.h"
Go to the source code of this file.
◆ err_exit()
◆ SavePixForCrash()
void SavePixForCrash |
( |
int |
resolution, |
|
|
Pix * |
pix |
|
) |
| |
Definition at line 34 of file globaloc.cpp.
43 Pix* clone = pixClone(pix);
44 pixSetXRes(clone, resolution);
45 pixSetYRes(clone, resolution);
const int kMaxNumThreadPixes
Pix * global_crash_pixes[kMaxNumThreadPixes]
◆ set_global_loc_code()
void set_global_loc_code |
( |
int |
loc_code | ) |
|
◆ set_global_subloc_code()
void set_global_subloc_code |
( |
int |
loc_code | ) |
|
◆ set_global_subsubloc_code()
void set_global_subsubloc_code |
( |
int |
loc_code | ) |
|
◆ signal_exit()
void signal_exit |
( |
int |
signal_code | ) |
|
Definition at line 52 of file globaloc.cpp.
53 tprintf(
"Received signal %d!\n", signal_code);
61 fprintf(stderr,
"Crash caused by image with resolution %d\n",
63 fprintf(stderr,
"<Cut here>\n");
65 fprintf(stderr,
"\n<End cut>\n");
const int kMaxNumThreadPixes
Pix * global_crash_pixes[kMaxNumThreadPixes]
◆ global_crash_pixes
◆ kMaxNumThreadPixes
const int kMaxNumThreadPixes = 32768 |