Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006710 [Squeak] Tools minor always 10-07-07 23:17 07-04-08 01:44
Reporter chris View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.10
  Product Build
Summary 0006710: fix for the Method Finder from Ted Kaehler
Description        I noticed a bug in the MethodFinder, and I wonder if you
could submit my fix to the current Squeak update stream. It occurs
in one of the examples in the MethodFinder window, so it is
especially embarrassing!

       In a current Squeak, this expression never returns. Please try it.

MethodFinder methodFor: { {1. 3}. true. {20. 10}. false}.

If it returns in 5 seconds, all is well, and my fix is not needed.
If it actually is an infinite loop.
Steps To Reproduce
Additional Information
Attached Files  MthFinderFix-tk.cs [^] (1,872 bytes) 10-07-07 23:17

- Relationships

SYSTEM WARNING: Creating default object from empty value

related to 0006742assigned bar Squeak Packages ECompletion does not work in MethodFinder 
related to 0007107closed nicolas cellier Squeak 1 printStringBase: 1 generates an infinite loop within Integer>>printStringBase: 
child of 0007110new  Squeak Mother of Method Finder issues 

- Notes
(0011310 - 446 - 507 - 635 - 635 - 635 - 635)
nicolas cellier
10-13-07 21:35

Ok, for printStringBase: I duplicated this at http://bugs.squeak.org/view.php?id=6724 [^]
However, I would prefer an Exception (like self error: 'cannot print in base < 2').

But expect more problems with MethodFinder like:
  MethodFinder methodFor: {{1. Float nan}. true.}.
will loop on (1 take: Float nan).

Solution would be to detect such loops...
Maybe a time out at higher priority scanning the stack and detecting same pattern twice...
 

- Issue History
Date Modified Username Field Change
10-07-07 23:17 chris New Issue
10-07-07 23:17 chris File Added: MthFinderFix-tk.cs
10-09-07 02:27 matthewf Relationship added related to 0006417
10-13-07 21:35 nicolas cellier Note Added: 0011310
07-04-08 01:23 matthewf Relationship added child of 0007110
07-04-08 01:43 matthewf Relationship deleted related to 0006417
07-04-08 01:44 matthewf Relationship added related to 0006742
07-04-08 01:47 matthewf Relationship added related to 0006724
07-04-08 01:53 matthewf Relationship added related to 0007107
07-04-08 01:58 matthewf Relationship deleted related to 0006724


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
57 total queries executed.
35 unique queries executed.
Powered by Mantis Bugtracker