LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-08-2005, 01:27 AM   #1
morph_ind
Member
 
Registered: Feb 2005
Distribution: fedora 2/suse
Posts: 38

Rep: Reputation: 15
Question GTK causing memory corruption in glibc


hii I m a newbie to the GTK toolkit ,using it to make a front end for an application designed in C .The front end when used stand alone is working fine and so is the C code.But when copmbined together and run ,then its causing a memory corruption in malloc and sometimes fclose functions when i disable the gui in the program then the result is as expected.
the error i m getting is
*** glibc detected *** malloc(): memory corruption (fast): 0x08153c20 ***

also if i skip a window or cut the series short then the memory corruption is shifted to later stages of the program but do take place
I m working on suse 9.3
compiling application with `pkg-config --cflags --libs gtk+-2.0`

i cant paste the code here due to size consideration

Is thr something that i m doing wrong with my coding or this is a bug .Please if anyone have any idea what i m doing wrong then help me
thx
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 glibc detected *** double free or corruption: josedragone Fedora 5 09-17-2009 10:16 PM
*** 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
Open Office user install error: *** glibc detected *** double free or corruption: 0xb r_jensen11 Linux - General 6 01-16-2005 06:08 AM
reboot corruption memory (slack 9.1) muhkuhmasta Slackware 4 07-21-2004 02:21 AM


All times are GMT -5. The time now is 04:55 AM.

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
Open Source Consulting | Domain Registration