From: SourceForge.net <no...@so...> - 2008-09-16 19:45:05
|
Bugs item #2115298, was opened at 2008-09-16 22:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2115298&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 1.0.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris (caidence) Assigned to: Nobody/Anonymous (nobody) Summary: Possible infinite loop in SegmentedTimeline Initial Comment: In the HEAD version of SegmentedTimeline#containsDomainRange(long,long), see line 787. If "contains" is true, then infinite loop will occur. Code in trunk (lines on the left, comments mine): 769 public boolean containsDomainRange(long domainValueStart, 770 long domainValueEnd) { /* 771 - 776, initialization code */ 777 boolean contains = true; 778 do { /* 779 - 785, logic: result goes into var "contains" */ 786 } 787 while (contains); // ACK!! 788 return (contains); 789 } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2115298&group_id=15494 |
From: SourceForge.net <no...@so...> - 2008-09-23 08:23:39
|
Bugs item #2115298, was opened at 2008-09-17 02:45 Message generated for change (Comment added) made by mungady You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2115298&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 1.0.x >Status: Closed >Resolution: Works For Me Priority: 5 Private: No Submitted By: Chris (caidence) >Assigned to: David Gilbert (mungady) Summary: Possible infinite loop in SegmentedTimeline Initial Comment: In the HEAD version of SegmentedTimeline#containsDomainRange(long,long), see line 787. If "contains" is true, then infinite loop will occur. Code in trunk (lines on the left, comments mine): 769 public boolean containsDomainRange(long domainValueStart, 770 long domainValueEnd) { /* 771 - 776, initialization code */ 777 boolean contains = true; 778 do { /* 779 - 785, logic: result goes into var "contains" */ 786 } 787 while (contains); // ACK!! 788 return (contains); 789 } ---------------------------------------------------------------------- >Comment By: David Gilbert (mungady) Date: 2008-09-23 08:23 Message: I don't think there is a problem there, it is just a 'do-while' loop. If you can provide a test case that gets into an infinite loop, then feel free to reopen this bug. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2115298&group_id=15494 |
From: SourceForge.net <no...@so...> - 2009-09-09 11:41:01
|
Bugs item #2115298, was opened at 2008-09-16 23:45 Message generated for change (Comment added) made by jocaf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2115298&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 1.0.x Status: Closed Resolution: Works For Me Priority: 5 Private: No Submitted By: Chris (caidence) Assigned to: David Gilbert (mungady) Summary: Possible infinite loop in SegmentedTimeline Initial Comment: In the HEAD version of SegmentedTimeline#containsDomainRange(long,long), see line 787. If "contains" is true, then infinite loop will occur. Code in trunk (lines on the left, comments mine): 769 public boolean containsDomainRange(long domainValueStart, 770 long domainValueEnd) { /* 771 - 776, initialization code */ 777 boolean contains = true; 778 do { /* 779 - 785, logic: result goes into var "contains" */ 786 } 787 while (contains); // ACK!! 788 return (contains); 789 } ---------------------------------------------------------------------- Comment By: Jocafi Brazil (jocaf) Date: 2009-09-09 08:41 Message: I think an infinite loop should be investigated. Someone commented also about it on the bug 2794683 I reported some months ago. It is still open and IT HAS AN EXAMPLE / TEST CASE. Thanks ! ---------------------------------------------------------------------- Comment By: David Gilbert (mungady) Date: 2008-09-23 05:23 Message: I don't think there is a problem there, it is just a 'do-while' loop. If you can provide a test case that gets into an infinite loop, then feel free to reopen this bug. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2115298&group_id=15494 |