Ugye a "Szegmens hiba" memória címzési problémát jelent. Gondolom ezt tudod. :) Próbáld strace-elni aztán nézd meg a strace kimenetét.