Hello all. My C++ program is segfaulting in vprintf(). Since I can't see what's wrong in the calling code, I would like to look at what's happening in vprintf() itself. I have installed the Debian package libc6-dbg (glibc 2.0.7) and compiled my program with c++ -g *.o -o foo -L/usr/X11R6/lib -lc_g -lm -lX11 My c++ is egcs 1.0.3. The above command line works fine (no error message). But now, my program segfaults as soon as it enters main. ldd on it says : libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40010000) libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x400b3000) libm.so.6 => /lib/libm.so.6 (0x400f8000) libc.so.6 => /lib/libc.so.6 (0x40113000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Can anyone see what I'm doing wrong ? Andr� Majorel <[EMAIL PROTECTED]> http://www.teaser.fr/~amajorel/
