Ticket #47679

movement_animation() : values outside 'int' range

Open Date: 2023-03-25 01:11 Last Update: 2023-03-31 14:26

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

From #47574 reported by alain_bkr:

../../client/mapview_common.c:214:13: runtime error: -nan is outside the range of representable values of type 'int'
../../client/mapview_common.c:215:13: runtime error: -nan is outside the range of representable values of type 'int'

Those lines are:
new_x = start_x + anim->movement.canvas_dx * (mytime / timing_sec);
new_y = start_y + anim->movement.canvas_dy * (mytime / timing_sec);

Ticket History (2/2 Histories)

2023-03-25 01:11 Updated by: cazfi
  • New Ticket "movement_animation() : values outside 'int' range" created
2023-03-31 14:26 Updated by: cazfi
Comment

See also #42262 : pixman assert failures caused be bad values for the location or the size of the animation area. I've been debugging that a bit now.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login