harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6674) [classlib][luni] glibc running org.apache.harmony.luni.tests.java.lang.RuntimeTest on linux
Date Mon, 11 Oct 2010 14:09:34 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Catherine Hope updated HARMONY-6674:
------------------------------------

    Attachment: 6674.patch

Patch refactors to use malloc

> [classlib][luni] glibc running org.apache.harmony.luni.tests.java.lang.RuntimeTest on
linux
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6674
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6674
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux x86-32 running Ubuntu 10.04
>            Reporter: Catherine Hope
>            Priority: Minor
>         Attachments: 6674.patch
>
>
> I see a glibc running the org.apache.harmony.luni.tests.java.lang.RuntimeTest on Ubuntu
10.04:
> *** glibc detected *** /federatedBuild/target/hdk/jdk/jre/bin/java: munmap_chunk(): invalid
pointer: 0x00feb3de ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x753591]
> /lib/tls/i686/cmov/libc.so.6(+0x6c80e)[0x75480e]
> /federatedBuild/target/hdk/jdk/jre/bin/default/libharmonyvm.so(Java_java_lang_Runtime_00024SubProcess_createProcess0+0x7f2)[0xfeb2a2]
> [0x434368e]
> [0x0]
> ======= Memory map: ========
> ...
> The problem is occurring when freeing a string array, which is being initialised using:
> char *newArgv[lenargv+2];
> newArgv[lenargv+1] = (char *)0;
> the free throws a glibc when freeing the null string in the array.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message