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