https://bugzilla.novell.com/show_bug.cgi?id=444639
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=444639#c11
--- Comment #11 from Olaf Hering 2008-11-18 04:03:44 MST ---
SIGILL is blocked, I do not see why.
If the lib wants to use SIGILL, it should probably unblock it before usage.
This patch fixes it for me, Terminal and firefox start now:
Index: pixman-0.12.0/pixman/pixman-pict.c
===================================================================
--- pixman-0.12.0.orig/pixman/pixman-pict.c
+++ pixman-0.12.0/pixman/pixman-pict.c
@@ -1930,8 +1930,12 @@ static void vmx_test(int sig, siginfo_t
pixman_bool_t pixman_have_vmx (void) {
struct sigaction sa, osa;
+ sigset_t ss, oss;
int jmp_result;
if (!initialized) {
+ sigemptyset(&ss);
+ sigaddset(&ss, SIGILL);
+ sigprocmask(SIG_UNBLOCK, &ss, &oss);
sa.sa_flags = SA_SIGINFO;
sigemptyset(&sa.sa_mask);
sa.sa_sigaction = vmx_test;
@@ -1941,6 +1945,7 @@ pixman_bool_t pixman_have_vmx (void) {
asm volatile ( ".long 0\n" );
}
sigaction(SIGILL, &osa, NULL);
+ sigprocmask(SIG_SETMASK, &oss, NULL);
have_vmx = (jmp_result == 0);
initialized = TRUE;
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.