harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-510) launcher can try to free argv element
Date Thu, 25 May 2006 13:07:29 GMT
launcher can try to free argv element

         Key: HARMONY-510
         URL: http://issues.apache.org/jira/browse/HARMONY-510
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Mark Hindess
 Attachments: do.not.free.mainClass.if.it.is.from.argv.diff

launcher's main.c function gpProtectedMain tries to free mainClass even if mainClass points
to an element of argv which it did not malloc.  This cause recent versions of glibc to abort
(albeit when the process is about to exit) with a message like:

  *** glibc detected *** free(): invalid pointer: 0xbaffbaff ***

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message