|
From: Nicholas N. <nj...@ca...> - 2004-02-13 19:12:28
|
On Fri, 13 Feb 2004, Erik Sundnes L=F8vlie wrote: > =3D=3D8422=3D=3D Invalid read of size 2 > =3D=3D8422=3D=3D at 0x403E546C: sigfpe_handler (in /usr/lib/libGL.so.1= =2E4.050100) > =3D=3D8422=3D=3D by 0x40187CDF: (within /usr/lib/valgrind/valgrind.so) > =3D=3D8422=3D=3D by 0x403E4E17: _mesa_init_all_x86_transform_asm (in /= usr/lib/libGL.so.1.4.050100) > =3D=3D8422=3D=3D by 0x40356053: _math_init_transformation (in /usr/lib= /libGL.so.1.4.050100) > =3D=3D8422=3D=3D Address 0x6E is not stack'd, malloc'd or free'd > Segmentation fault If you read the message, it tells you exactly what's the problem: your program is doing an invalid read, of size 2, of address 0x6e; that definitely looks wrong. As for whether that's caused by the static linking of pthreads, I don't know. It's not uncommon for people to have bugs in their programs that aren't normally seen, but are triggered when run under Valgrind (eg. due to slightly different memory layout). N |