more SIGSEGV info
This commit is contained in:
parent
198850eb9f
commit
d6bfd0688a
|
@ -55,7 +55,7 @@ void fault_handler(int sn, struct siginfo *si, void *ctx)
|
||||||
/* supposedly its coming from the user via kill */
|
/* supposedly its coming from the user via kill */
|
||||||
/* so just ignore it. */
|
/* so just ignore it. */
|
||||||
printf("SIGSEGV SI_USER SI_CODE %i fault on addr %p\n", c, p);
|
printf("SIGSEGV SI_USER SI_CODE %i fault on addr %p\n", c, p);
|
||||||
printf("pid %i uid %i\n", si->si_pid, si->si_uid);
|
printf("pid %i uid %i thread %lx\n", si->si_pid, si->si_uid, mz_proc_thread_self());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (c == 128 ) {
|
if (c == 128 ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user