Prev: Xorg eats lot of CPU after upgrade to KDE 4.4
Next: GRUB2 - automatically generating extra entries
From: Steve Kemp on 8 Jun 2010 08:30 On Tue Jun 08, 2010 at 10:55:03 +0000, arno(a)renevier.net wrote: > its correct place (so, what's wrong with strlen?). I'm going to guess hardware problem. Code looks valid, code works for me. Run "memtest" on your machine and see if that throws out any errors? Steve -- Let me steal your soul? http://stolen-souls.com -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100608125647.GA28063(a)steve.org.uk
From: arno on 8 Jun 2010 08:40 arno(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-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hulc6m$8mu$1(a)solo.fdn.fr
From: Boyd Stephen Smith Jr. on 8 Jun 2010 12:00 On Tuesday 08 June 2010 07:14:15 arno(a)renevier.net wrote: > arno(a)renevier.net wrote: > > hi, I experience a segfault when using strlen. First time it happened > > was when doing: > > strlen(argv[0]) > > I investigated more. Actually, for some reason, I had binutils-gold > installed. Removing it to use standard binutils fixes the problem. Please file a bug against binutils-gold if one doesn't already exist for that issue. The code you posted is almost trivially valid, so I'd say there must be some serious problems with that version of binutils-gold. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss(a)iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
From: arno on 8 Jun 2010 14:30 Boyd Stephen Smith Jr. <bss(a)iguanasuicide.net> wrote: > Please file a bug against binutils-gold if one doesn't already exist for that > issue. The code you posted is almost trivially valid, so I'd say there must > be some serious problems with that version of binutils-gold. I've filled bug #585051 -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hum0lg$mc3$1(a)solo.fdn.fr
|
Pages: 1 Prev: Xorg eats lot of CPU after upgrade to KDE 4.4 Next: GRUB2 - automatically generating extra entries |