bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SIGILL instead of SIGSEGV: Was: Re: BUG: /proc/self/exe reports relative


From: Svante Signell
Subject: SIGILL instead of SIGSEGV: Was: Re: BUG: /proc/self/exe reports relative paths, should always return absolute paths?
Date: Mon, 11 Sep 2017 12:19:35 +0200

On Thu, 2017-09-07 at 10:38 +0200, Svante Signell wrote:
> 
> 2) test_sighandler.c:
> 
> GNU/Linux:
> ./test_sighandler
> Got signal 11, faulty address is 0xdeadbeef, from 5597bd471de0
> Executable name = '/home/srs/Hurd/DEBs/test_cases/test_sighandler´┐Ż', len = 47
> [bt] Execution path:
> [bt] ./test_sighandler(func_b+0x11) [0x5597bd471de0]
> [bt] ./test_sighandler(func_b+0x11) [0x5597bd471de0]
> [bt] ./test_sighandler(main+0x6a) [0x5597bd471e54]
> [bt] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f1cdc8d12b1]
> [bt] ./test_sighandler(_start+0x2a) [0x5597bd471ada]
> 
> GNU/Hurd:
> ./test_sighandler
> Got signal 4
> Executable name = './test_sighandler', len = 21
> [bt] Execution path:
> [bt] ./test_sighandler(func_b+0x10) [0x8048986]
> [bt] ./test_sighandler(main+0x6f) [0x80489ff]
> [bt] /lib/i386-gnu/libc.so.0.3(__libc_start_main+0xaa) [0x10b6eea]
> 
> This is another bug in the backtrace. hex2dec('deadbeef')/1024^3 = 3.4794 GiB
> Even if the address is outside the gnumach range, the program should not fail
> with a SIGILL. Or?

Any ideas why the signal is SIGILL instead of SIGSEGV? How to trace the cause of
this bug?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]