Menu

#39 idata5 MUST NOT be in .rdata

open
nobody
8
2011-02-05
2010-12-22
No

idata5 must be writable, because it contains the addresses of imported symbols. cegcc currently places them in .rdata. The system happily accepts that and fills in the addresses of imported symbols, but under memory pressure the page can be evicted (it's "rdata" after all), and when it is loaded back from storage the address of the imported symbols on this page are gone.

The problem is only visible under memory pressure, when the application suddenly starts to crash when calling library functions.

Discussion

  • Marcus Brinkmann

    fix crash under memory pressure

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-05
    • priority: 5 --> 8
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-05

    Thanks for your bug report!

    To ease maintenance of the project, we are migrating bug tracking facilities to Trac. We would appreciate if you re-posted this bug on Trac via https://sourceforge.net/apps/trac/cegcc/newticket . Please include link to this bug for reference.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.