re.: bus error, pointer misalignment... On Linux, improperly aligned accesses are fixed in the kernel. gcc has an option -Wcast-align, maybe that one will point to the problem when you compile on Solaris. Just an idea. Johan.