Re: segfault in strlen
> hi, I experience a segfault when using strlen. First time it happened was
> when doing:
> strlen(argv), but it also happens when doing strlen(stdup(argv)) and in
> some other configurations. When a string triggers a segfault, I can printf it
> correctly, what's more: I can also traverse the string and detect final '\0' at
> its correct place (so, what's wrong with strlen?).
I investigated more. Actually, for some reason, I had binutils-gold installed.
Removing it to use standard binutils fixes the problem.