Re: nvidia-settings segfault in 270.41.03
Does it segfault when there's *any* ~/.nvidia-settings.rc file present, or only if a particular one is present? If the latter, could you provide a .nvidia-settings.rc file that causes the crash?
Also, please try building without the additional -O2 flag, just the -g flag. Changing the compiler optimization settings might have an effect on the bug.