I have a rather bizarre little program I want to run under AlphaLinux (RH 5.0, kernel 2.0.30). The program allocates some memory via malloc(), does a memcpy() of a function to that newly-allocated memory, then calls that newly-allocated memory via a function pointer. That call causes signal 11 (SEGV) every single time. I'm at a loss, since malloc() gives back memory on a divisible-by-8 address. I've tried to make sure that the program page-aligns the memory, and that the program marks the memory PROT_READ|PROT_EXEC. I think that maybe the program should get the CPU to do a cache flush. I found a man page for cacheflush(2), but apparently cacheflush(2) only works on MIPS processors. I should probably write some embedded assembly, but I don't what instructions to embed. Anybody got any ideas? My Alpha is a 166 MHz 21064 UDB (VX-40). I attached the program in question. -- Everything leads to weariness - a weariness to great for words. Our eyes can never see enough to be satisfied; our ears can never hear enough.