AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

C program memory error issue

  • 1.  C program memory error issue

    Posted Mon April 07, 2014 12:26 AM

    Originally posted by: Vinoth124


    We tried ton use maxdata to fix the issue where as Even though binary is set maxdata with 0x80000000, we are facing malloc issue. But the code is executing while executing with LDR_CNTRL=MAXDATA=0x80000000@ DSA  binary. Please let us the know the solution for the same. 

     

    >dump -o binay

     

    binay:

     

                            ***Object Module Header***

    # Sections      Symbol Ptr      # Symbols       Opt Hdr Len     Flags

             4      0x000b0fc8           3159                72     0x1042

    Timestamp = 1396444839

    Magic = 0x1df

     

                            ***Optional Header***

    Tsize        Dsize       Bsize       Tstart      Dstart

    0x000586b0  0x0003b604  0x1ec57d84  0x10000128  0x300007d8

     

    SNloader     SNentry     SNtext      SNtoc       SNdata

    0x0004      0x0002      0x0001      0x0002      0x0002

     

    TXTalign     DATAalign   TOC         vstamp      entry

    0x0007      0x0003      0x3003ba04  0x0001      0x3003b834

     

    maxSTACK     maxDATA     SNbss       magic       modtype

    0x00000000  0x80000000 0x0003      0x010b        1L


    #AIX-Forum