Opened 3 years ago

Closed 3 years ago

#2183 closed defect (done)

The linear interpreter fails with an ArithmeticOverflow exception when compiling trees with length>255

Reported by: bburlacu Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.10
Component: Encodings.SymbolicExpressionTreeEncoding Version: 3.3.9
Keywords: Cc:

Description

This bug occurrs when the childIndex value of a LinearInstruction exceeds the maximum value for byte. Then, the cast fails in SymbolicExpressionTreeLinearCompiler.cs at line 36.

Change History (5)

comment:1 Changed 3 years ago by bburlacu

  • Status changed from new to accepted

comment:2 Changed 3 years ago by bburlacu

  • Owner changed from bburlacu to mkommend
  • Status changed from accepted to reviewing

r10859: Fixed ArithmeticOverflow exception in the SymbolicExpressionTreeLinearCompiler.

comment:3 Changed 3 years ago by mkommend

  • Status changed from reviewing to readytorelease

Reviewed and tested r10859.

comment:4 Changed 3 years ago by ascheibe

  • Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.10

comment:5 Changed 3 years ago by ascheibe

  • Resolution set to done
  • Status changed from readytorelease to closed

r11164: merged r10859 into stable

Note: See TracTickets for help on using tickets.