Thanks for the link Sumit...its really helpful

Sumit Chawla <[EMAIL PROTECTED]> wrote:                                  have a 
look at the following article for more detail:
 
 http://www-128.ibm.com/developerworks/linux/library/l-memory/
 
 On 08 Mar 2007 06:31:36 -0800, Chetan Nanda <[EMAIL PROTECTED]> wrote:
 >
 > Hi All,
 >
 > in the same prog, if i free the dst pointer using free(dst),
 > now system crashes:
 >
 > *** glibc detected *** free(): invalid next size (fast): 0x096d1008 ***
 > Aborted
 > ???
 >
 > On 3/8/07, Paul Herring <[EMAIL PROTECTED]> wrote:
 > >
 > >   On 08 Mar 2007 05:43:15 -0800, Chetan Nanda <[EMAIL PROTECTED]
 > <chetannanda%40gmail.com>>
 > > wrote:
 > > > On 08 Mar 2007 05:09:29 -0800, Sumit Chawla <[EMAIL PROTECTED]
 > <enetra%40gmail.com>>
 > > wrote:
 > > [...]
 > > > > You are crossing the memory bounds and corrupting the memory block
 > > which
 > > > > might have been allocated to other parts of your program or some
 > other
 > > > > program. It might crash the other programs or applications. So
 > > behavior is
 > > > > undefined.
 > > >
 > > > How this program can crash into other applications, as one application
 > > can't
 > > > play with other application address space.
 > >
 > > You assume that the operating system keeps applications apart and that
 > > one application cannot see another. Not all OSs do this.
 > >
 > > --
 > > PJH
 > > Aio, quantitas magna frumentorum est
 > >
 > >
 >
 >
 >
 > --
 > Thanks & Regards
 >
 > Chetan Nanda
 > Software Engineer
 > Conexant System,Noida
 >
 >
 > [Non-text portions of this message have been removed]
 >
 >
 >
 >
 > To unsubscribe, send a blank message to <mailto:
 > [EMAIL PROTECTED]>.
 > Yahoo! Groups Links
 >
 >
 >
 >
 
 -- 
 Regards
 Sumit Chawla ("eNetra : Hail the Invention")
 
 "Computers are useless. They can only give you answers.":Pablo Picasso
 
 [Non-text portions of this message have been removed]
 
 
     
                       


Karmennevaya Dhikaraste, Maaphaaleshu Kadaachanah
                                
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 

[Non-text portions of this message have been removed]

Reply via email to