From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) Description of problem: We did not encounter problems with RedHat Linux v7.2 using libc. The program compiles with v8.0 but crashes at runtime (segmentation violation). It crashes on string manipulation functions like charlen. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Compile same code with v8.0 2. 3. Actual Results: Segmentation violation. Program crashes at runtime Additional info:
You mean strlen (there is no charlen)? Very likely a bug in your program. Without a small testcase proving there is a bug in glibc there is nothing we can do for you.
Is libc and glib the same?
What changed in libc between v7.2 and v8.0? We have not changed anything in our code. All we did was recompile with v8.0.
glib is a different library, but glibc is GNU libc, the only libc used in RHL since RHL 5.0. The fact that some program worked on 7.2 and doesn't work on 8.0 doesn't automatically mean the bug is in glibc, it is more likely just a program bug which did not manifest on 7.2 for some reason. It can be e.g. stomping on its memory, doing double free, whatever. You can try various memory checkers, efence, valgrind, etc. And as I said, without testcase there is nothing that I can do.
No testcase provided, so we can't do anything for this.