a...@renevier.net wrote:
> 
> hi, I experience a segfault when using  strlen. First time it happened was
> when doing:
> strlen(argv[0]), but it also happens when doing strlen(stdup(argv[0])) 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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hulc6m$8m...@solo.fdn.fr

Reply via email to