glibc
can memory corruption be caused by invalid *reading* freed memory?
I\'m getting *** glibc detected *** (/my/program/...): malloc(): memory corruption: 0xf28000fa *** I\'ve run under valgrind, which reports 开发者_JS百科cases of reading memory that has been freed,[详细]
2023-01-06 09:57 分类:问答ActiPerl + Tcl.pm *** glibc detected *** munmap_chunk(): invalid pointer: 0x09b5e0d8
I installed ActivePerl 5.10.1.1007 on my Ubuntu 10.04 machine. I have a very simple Perl script with the following lines:[详细]
2023-01-05 04:53 分类:问答sem_t union/struct C++ inherintance
I\'m porting some old C++ project on Linux (RHEL 5.3). The situation is the following #include <semaphore.h>[详细]
2023-01-04 20:23 分类:问答Are the kernel headers required for anything other than compiling glibc and kernel modules?
Hope the questi开发者_StackOverflowon is clear :)Yes. They\'re required for anything that requires kernel facilities (inotify, V4L2, DRM, FUSE, etc.).[详细]
2023-01-03 23:37 分类:问答How to get POSIX strerror_r instead of GNU version?
How do I get the POSIX strerror_r instead of GNU version? I\'m compiling with g++ on Ubuntu 8.04 with glibc version 2.7 ( based on what\'s in).[详细]
2023-01-03 11:09 分类:问答How do I get the executing program's directory in C using a plataform independent method?
I develop my app in Linux for both unix and win32(cross compile at each build) platforms, soa ready to use function would be 开发者_JAVA技巧nice :). I\'m using glib that has the gchar* g_get_current_d[详细]
2023-01-02 22:55 分类:问答How can I link to a specific glibc version?
When I compile something on my Ubuntu Lucid 10.04 PC it gets linked against glibc. Lucid uses 2.11 of glibc. When I run this binary on another PC with an older glibc, the command fails saying there\'s[详细]
2022-12-31 09:05 分类:问答Cannot use fclose on output stream, input stream is fine
Whenever I run my program with fclose(outputFile);at the very end, I get an error. glibc detected...corrupted double-linked list[详细]
2022-12-29 21:48 分类:问答printf field width : bytes or chars?
The printf/fprintf/sprintf family supports a width field in its format specifier. I have a doubt for the case of (non-wide) char arrays arguments:[详细]
2022-12-29 08:04 分类:问答What's the best way to build software that doesn't require the newest glibc?
I\'m attempting to build a binary package that can be run on multiple Linux distributions. It\'s currently built on Ubuntu 10.04, but开发者_StackOverflow it fails on Ubuntu 8.04 with the following err[详细]
2022-12-28 22:40 分类:问答