You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Natalya Golovleva (JIRA)" <ji...@apache.org> on 2006/10/16 07:08:38 UTC
[jira] Created: (HARMONY-1873) std::sort crash in jitrino code
generator
std::sort crash in jitrino code generator
-----------------------------------------
Key: HARMONY-1873
URL: http://issues.apache.org/jira/browse/HARMONY-1873
Project: Harmony
Issue Type: Bug
Components: DRLVM
Environment: Linux platform, gcc version 3.3.3.
Reporter: Natalya Golovleva
In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
The failure is reproduced with gcc 3.3.3.
The failure is not reproduced with gcc 4.1.0.
To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=all ]
Geir Magnusson Jr updated HARMONY-1873:
---------------------------------------
Patch Info: [Patch Available]
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=all ]
Gregory Shimansky reassigned HARMONY-1873:
------------------------------------------
Assignee: Gregory Shimansky
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Assigned To: Gregory Shimansky
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=all ]
Gregory Shimansky closed HARMONY-1873.
--------------------------------------
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Assigned To: Gregory Shimansky
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=comments#action_12447166 ]
Geir Magnusson Jr commented on HARMONY-1873:
--------------------------------------------
We 'claim'? Does GCC v3.3.3 have bugs or doesn't it?
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=all ]
Gregory Shimansky resolved HARMONY-1873.
----------------------------------------
Resolution: Fixed
I've checked the patch on gcc 4.1.1, everything worked ok.
Patch applied at revision 472239. Please check that it was applied as expected.
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Assigned To: Gregory Shimansky
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=comments#action_12442522 ]
Mikhail Fursov commented on HARMONY-1873:
-----------------------------------------
When I wrote the code like "v1 > v2 ? true : (v1 < v2 ? false: e1 < e2);" to compare doubles I thought about
1) With a static profiler the values of doubles are predefined - the == equality comparison is OK.
2) The comparison must return stable results for equal doubles even if method arguments (edges) are swaped
I'm OK with this patch if it really helps to improve stability. But accepting it we claim that GCC v3.3.3 has bugs with doubles optimization.
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Natalya Golovleva (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=all ]
Natalya Golovleva updated HARMONY-1873:
---------------------------------------
Attachment: std_sort.patch
The failure is not reproduced with the current version of vm.
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=comments#action_12447292 ]
Mikhail Fursov commented on HARMONY-1873:
-----------------------------------------
Of course it has. If you do not believe just look through the changes list for any version :)
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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-1873) std::sort crash in jitrino code
generator
Posted by "Natalya Golovleva (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1873?page=comments#action_12448141 ]
Natalya Golovleva commented on HARMONY-1873:
--------------------------------------------
The patch was appied as expected.
> std::sort crash in jitrino code generator
> -----------------------------------------
>
> Key: HARMONY-1873
> URL: http://issues.apache.org/jira/browse/HARMONY-1873
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux platform, gcc version 3.3.3.
> Reporter: Natalya Golovleva
> Assigned To: Gregory Shimansky
> Attachments: std_sort.patch
>
>
> In some cases std::sort used in jitrino code generator sources method is crashed on Linux.
> The failure is reproduced with gcc 3.3.3.
> The failure is not reproduced with gcc 4.1.0.
> To avoid crash with gcc 3.3.3 the sort comparator was simplified.
--
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