You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/05/31 18:28:30 UTC

[jira] Commented: (HARMONY-510) launcher can try to free argv element

    [ http://issues.apache.org/jira/browse/HARMONY-510?page=comments#action_12414087 ] 

Mark Hindess commented on HARMONY-510:
--------------------------------------

Looks good.  Thanks Tim.

> 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
>     Assignee: Tim Ellison
>  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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira