diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-07-23 12:37:41 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-07-23 12:37:41 +0200 |
| commit | 392575ba040a4a2f7f2ea947b56b6c73a15baa3f (patch) | |
| tree | 3a7ec46f85a26ee6eb578c3f55d0a3f6f922e0cb /src | |
| parent | 83c808c42d478ada154b2a40bb4779b523c0525b (diff) | |
| download | box64-392575ba040a4a2f7f2ea947b56b6c73a15baa3f.tar.gz box64-392575ba040a4a2f7f2ea947b56b6c73a15baa3f.zip | |
[DYNAREC] Added more info when FillBlock generate a segfault
Diffstat (limited to 'src')
| -rw-r--r-- | src/libtools/signals.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtools/signals.c b/src/libtools/signals.c index 1b7de926..5e249432 100644 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -970,6 +970,7 @@ void my_box64signalhandler(int32_t sig, siginfo_t* info, void * ucntx) #endif #ifdef DYNAREC if((Locks & is_dyndump_locked) && (sig==SIGSEGV) && current_helper) { + printf_log(LOG_INFO, "FillBlock triggered a segfault at %p from %p\n", addr, pc); CancelBlock64(0); cancelFillBlock(); // Segfault inside a Fillblock, cancel it's creation... relockMutex(Locks); |