(I'm putting this as a glibc problem since it seems no one program/package is affected. Sounds like a bad glibc binary but I cannot be sure). Description of Problem: Segfaults for things that should NOT segfault (like running simple apps, upgrading rpms, ect...) Version-Release number of selected component (if applicable): 2.2.4-13 How Reproducible: 100% Steps to Reproduce: (instance 1) 1. Create this in a .c file: #include <stdio.h> #include <crypt.h> int main(int argc; char *argv) { printf("Before: %s:%s", argv[1], argv[2]); printf("after: %s:%s", argv[1], crypt(argv[2], "a7")); } 2. compile the program (gcc testprog.c -o testprog -lcrypt) 3. ./testprog abc abc Actual Results: Segmentation fault Expected Results: output: Before: abc:abc after: abc:<abc encrypted> (instance 2): Steps to Reproduce: 1. download latest MySql binary RPMs from mysql.com 2.rpm -U -vvh MySQL-3.23.49a-1.i386.rpm Results: D: ============== MySQL-3.23.49a-1.i386.rpm Segmentation fault Expected Results: The RPM should install. Additional Information: How Reproduceable: 100%
Er, can you list a single reason why your above testcase should not segfault? There are 2 bugs on one line: int main(int argc; char *argv) 1) ; instead of , 2) char * argv instead of char **argv resp. char *argv[] Segfault is caused by 2).