Bug#3007: segfault in strcpy is not debuggable
> Package: libc5-dev
> Version: 5.2.18-6
> If I write a simple test program which causes a segfault inside
> strcpy, the stack is corrupted in such a way that gdb is unable to
> find the correct calling line.
> I'm reporting this as a bug against libc5-dev as I believe it may be
> something to do with the compilation options used for the libc;
> however, it might also be the fault of the compiler, the linker or
It has to do with libc.so being compiled with -fomit-frame-pointer.
You can use the static libc.a if you really need a stack trace.
Unless you are going to make a case that -fomit-frame-pointer should
never be used in Debian, I'm going to close this bug report.
David Engel Optical Data Systems, Inc.
email@example.com 1101 E. Arapaho Road
(214) 234-6400 Richardson, TX 75081