LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-18-2005, 03:50 PM   #1
josedragone
LQ Newbie
 
Registered: Jul 2005
Location: Buenos Aires
Distribution: FC 3
Posts: 4

Rep: Reputation: 0
FC3 glibc detected *** double free or corruption:


Problem solved!!!!

Please , anybody thinking to downgrade glibc version...DO NOT ATTEMPT TO DO THAT!!!
ALWAYS UPGRADE THE CURRENT VERSION TO SOLVE BUGS IN ANY PACKAGE

Thanks

Jose



I had look for the problem by using google.
I had read about this issue all day long and also I `ve already updated glibc to :

glibc-headers-2.3.5-0.fc3.1
glibc-common-2.3.5-0.fc3.1
glibc-kernheaders-2.4-9.1.87
glibc-2.3.5-0.fc3.1
glibc-devel-2.3.5-0.fc3.1

BUT , I still have the same problem when compiling.
(All of the other packages remain the same as default when installing a Fedora Core 3)

Any help will be apreciated!

Jose

I forgot t say I`m using :

gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

uname -a
Linux josed.isoft.com.ar 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 athlon i386 GNU/Linux


Last edited by josedragone; 08-02-2005 at 07:36 AM.
 
Old 08-01-2005, 10:26 PM   #2
RohanShrivastav
Member
 
Registered: Sep 2004
Distribution: SuSE 9.0, Red Hat 9.0, Fedora core 1
Posts: 70

Rep: Reputation: 15
I am also having the same problem, running Fedora Core 4 , gcc 4.0, glibc 2.3.5.

After searching about this I came to know that I have to install another version of glibc like 2.3.4 / 3 or have to find patch for 2.3.5. But I could not locate that patch, can anybody please show me the link?

If there is any way to overwrite/downgrade the current installation of glibc (2.3.5) with glibc (2.3.4) through YUM then please let me know.

Thanks
 
Old 08-02-2005, 09:35 AM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Quote:
glibc detected *** double free or corruption:
This is not a bug in glibc. It's a memory deallocation error in the program you're trying to compile and run.
 
Old 11-14-2006, 11:01 PM   #4
sudhan_1234
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
You might be deallocating the memory we had not be allocated before or vice versa...
 
Old 09-17-2009, 12:43 AM   #5
shakthihp
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
memory deallocation error.

char *p;
p= (char *) malloc(sizeof("no error"));
p="no error";
free(p);

will work while,

char * p = (char *) malloc (sizeof("no error");
char a[]= "no error";
p = a;
free(p);
wont work.

array is in stack and malloc is in heap. when u say p = a; it shifts to the address of array, which cannot be free()d.
 
Old 09-17-2009, 10:16 PM   #6
scmbg
Member
 
Registered: Oct 2008
Location: Mexico City
Distribution: Fedora
Posts: 65

Rep: Reputation: 15
2005-2009?

What happend here?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*** glibc detected *** malloc() / free()/ double RohanShrivastav Programming 12 10-01-2012 10:08 AM
*** glibc detected *** double free or corruption (!prev): 0x082c1120 *** eXor Slackware 6 04-11-2008 08:47 AM
glibc detected ; memory corruption pingu Linux - Software 3 10-12-2005 01:29 AM
OpenOffice.org *** glibc detected *** free(): invalid pointer: 0x41481c94 *** Artanicus Linux - Software 2 02-19-2005 07:04 PM
Open Office user install error: *** glibc detected *** double free or corruption: 0xb r_jensen11 Linux - General 6 01-16-2005 06:08 AM


All times are GMT -5. The time now is 08:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration