Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007467 [Squeak] Compiler major always 02-27-10 15:11 04-18-10 21:58
Reporter leves View Status public  
Assigned To nicolas cellier
Priority normal Resolution fixed  
Status closed   Product Version trunk
Summary 0007467: Cannot open debugger, because an assertion is failing in the decompiler code
Description Evaluating the following code raises a debugger which is coming from the decompiler, before #halt:
'1 0' readStream in: [ :input |
    | i |
    [
    input skipSeparators.
    i := Integer readFrom: input.
    i = 0 ] whileFalse: [
        | k count digits |
        k := 1.
        count := 0.
        digits := Array new: 10 withAll: 0.
        [ count < i ] whileTrue: [
            | index1 ps |
            ps := k printString.
            ((index1 := ps indexOf: $1) = 0 or: [ (ps indexOf: $3 startingAt: index1) = 0 ]) ifTrue: [
                count := count + 1.
                ps do: [ :each | digits at: each asciiValue - 47 put: (digits at: each asciiValue - 47) + 1 ] ].
                k := k + 1 ].
        self halt ] ]
Additional Information
Attached Files

- Relationships

- Notes
(0013520 - 170 - 188 - 392 - 392 - 392 - 392)
nicolas cellier
03-01-10 22:26

See my comments in response to
http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-March/145280.html [^]

I think I caught this bug, but some other could remain...
 
(0013521 - 101 - 119 - 273 - 273 - 273 - 273)
nicolas cellier
03-01-10 22:27

fixed in
http://source.squeak.org/trunk/Compiler-nice.129.mcz [^]

TO DO: add a non regression test...
 

- Issue History
Date Modified Username Field Change
02-27-10 15:11 leves New Issue
03-01-10 22:26 nicolas cellier Note Added: 0013520
03-01-10 22:27 nicolas cellier Status new => resolved
03-01-10 22:27 nicolas cellier Fixed in Version  => trunk
03-01-10 22:27 nicolas cellier Resolution open => fixed
03-01-10 22:27 nicolas cellier Assigned To  => nicolas cellier
03-01-10 22:27 nicolas cellier Note Added: 0013521
04-18-10 21:58 andreas Status resolved => closed


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