Crash when very long lines

Bug #2020185 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
High
hilaire

Bug Description

With the Smalltalk Sketch "Chaotic Sequence", modifying the code as bellow:

n / 5 @ (2 * r value * value * (1 - value))

makes the VM to hangs and optionnaly to crash. Then the terminal shows this repeated list of messages:

Object>>#shallowCopy
BitBlt>>#copyBits
BitBlt>>#copyBits
BitBlt>>#copyBits
BitBlt>>#copyBits
BitBlt>>#copyBits
Object>>#shallowCopy
BitBlt>>#copyBits

stack page bytes 8192 available headroom 5576 minimum unused headroom 5832

 (Segmentation fault)
Abandon (core dumped)

Related branches

Revision history for this message
hilaire (hilaire-fernandes) wrote :

When simulating exponential growth, drawing positions can be crazy.
I implemented detecting for those situations with point and polyline objects (segment, ray, polygon, locus, etc). so this "Chaotic sequence" Smalltalk sketch pass.

It should be implemented for circle, arc and angle too.

Changed in drgeo:
status: New → In Progress
assignee: nobody → hilaire (hilaire-fernandes)
Changed in drgeo:
milestone: 23.03 → 23.06
Changed in drgeo:
milestone: 23.06 → 23.12
Changed in drgeo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.