You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/12/06 04:40:21 UTC
[jira] Created: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
[classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
--------------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-2481
URL: http://issues.apache.org/jira/browse/HARMONY-2481
Project: Harmony
Issue Type: Bug
Reporter: Leo Li
Here is the testcase:
public void test() {
Deflater deflater = new Deflater();
deflater.finish();
byte[] buffer = new byte[1024];
assertEquals(8, deflater.deflate(buffer));
}
RI passes.
Harmony fails.(Sometimes with VM crash.)
--
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
[jira] Assigned: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2481?page=all ]
Richard Liang reassigned HARMONY-2481:
--------------------------------------
Assignee: Richard Liang
> [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2481
> URL: http://issues.apache.org/jira/browse/HARMONY-2481
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2481.diff
>
>
> Here is the testcase:
> public void test() {
> Deflater deflater = new Deflater();
> deflater.finish();
> byte[] buffer = new byte[1024];
> assertEquals(8, deflater.deflate(buffer));
> }
> RI passes.
> Harmony fails.(Sometimes with VM crash.)
--
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
[jira] Commented: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2481?page=comments#action_12457220 ]
Leo Li commented on HARMONY-2481:
---------------------------------
Verified. Thank you.
> [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2481
> URL: http://issues.apache.org/jira/browse/HARMONY-2481
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2481.diff
>
>
> Here is the testcase:
> public void test() {
> Deflater deflater = new Deflater();
> deflater.finish();
> byte[] buffer = new byte[1024];
> assertEquals(8, deflater.deflate(buffer));
> }
> RI passes.
> Harmony fails.(Sometimes with VM crash.)
--
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
[jira] Resolved: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2481?page=all ]
Richard Liang resolved HARMONY-2481.
------------------------------------
Resolution: Fixed
Hello Leo,
The patch has been applied at revision r483368, thanks a lot for this enhancement. Would you please verify that the problems is fully fixed as you expected.
Best regards,
Richard
> [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2481
> URL: http://issues.apache.org/jira/browse/HARMONY-2481
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2481.diff
>
>
> Here is the testcase:
> public void test() {
> Deflater deflater = new Deflater();
> deflater.finish();
> byte[] buffer = new byte[1024];
> assertEquals(8, deflater.deflate(buffer));
> }
> RI passes.
> Harmony fails.(Sometimes with VM crash.)
--
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
[jira] Closed: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2481?page=all ]
Richard Liang closed HARMONY-2481.
----------------------------------
Verified by Leo.
> [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2481
> URL: http://issues.apache.org/jira/browse/HARMONY-2481
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2481.diff
>
>
> Here is the testcase:
> public void test() {
> Deflater deflater = new Deflater();
> deflater.finish();
> byte[] buffer = new byte[1024];
> assertEquals(8, deflater.deflate(buffer));
> }
> RI passes.
> Harmony fails.(Sometimes with VM crash.)
--
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
[jira] Updated: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2481?page=all ]
Leo Li updated HARMONY-2481:
----------------------------
Attachment: patch-2481.diff
Will somebody try the patch?
> [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2481
> URL: http://issues.apache.org/jira/browse/HARMONY-2481
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Attachments: patch-2481.diff
>
>
> Here is the testcase:
> public void test() {
> Deflater deflater = new Deflater();
> deflater.finish();
> byte[] buffer = new byte[1024];
> assertEquals(8, deflater.deflate(buffer));
> }
> RI passes.
> Harmony fails.(Sometimes with VM crash.)
--
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