harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-510) launcher can try to free argv element
Date Fri, 26 May 2006 10:19:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-510?page=all ]
Tim Ellison resolved HARMONY-510:

    Resolution: Fixed

Thanks Mark

I applied the fix manually in shared\launcher\main.c at repo revision r409622.

Please check that this resolves the problem you saw.

> 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:
For more information on JIRA, see:

View raw message