Ticket #293 (closed defect: fixed)

Opened 1 year ago

Last modified 7 months ago

large array creation causes overflow exception: new Array(Math.pow(2,30))

Reported by: dschaffe Assigned to: lth
Type: defect Priority: major
Milestone: Component: RefImpl
Version: 4 Keywords:
Cc:

Description (last modified by dschaffe) (diff)

in es4ri shell execute command

>> new Array(2,30)
uncaught exception Overflow [overflow]
raised at: main.sml:93.89
             main.sml:109.78
             main.sml:219.46
             main.sml:93.89
             main.sml:109.78
             eval.sml:5048.19
             eval.sml:3782.71
             <file eval.sml

Attachments

Change History

Changed 1 year ago by dschaffe

  • description changed from >> new Array(2,30) >> uncaught exception Overflow [overflow] raised at: main.sml:93.89 main.sml:109.78 main.sml:219.46 main.sml:93.89 main.sml:109.78 eval.sml:5048.19 eval.sml:3782.71 <file eval.sml to in es4ri shell execute command {{{ >> new Array(2,30) uncaught exception Overflow [overflow] raised at: main.sml:93.89 main.sml:109.78 main.sml:219.46 main.sml:93.89 main.sml:109.78 eval.sml:5048.19 eval.sml:3782.71 <file eval.sml }}}

same testcase works ok in tamarin, not sure if this is just an sml limitation or sml running out of memory on my machine.

Changed 1 year ago by lth

  • owner set to lth
  • component changed from Proposals to RefImpl

Changed 1 year ago by graydon

  • status changed from new to closed
  • resolution set to fixed

Fixed in revision 30a80056...

Changed 7 months ago by airforce1

Note: See TracTickets for help on using tickets.