[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-11-07 Thread Charles Dang
Update of bug #25155 (project wesnoth):

 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-10-07 Thread Wedge009
Update of bug #25155 (project wesnoth):

  Status:   Confirmed => Fixed  

___

Follow-up Comment #3:

Please let me know if https://github.com/wesnoth/wesnoth/commit/4600614 does
not resolve this.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-10-07 Thread Wedge009
Update of bug #25155 (project wesnoth):

 Assigned to:None => wedge009   


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-10-07 Thread Wedge009
Follow-up Comment #2, bug #25155 (project wesnoth):

I think 200x1 is okay because the mini-map's portrait-style aspect-ratio means
that the calculation for the mini-map's height stays at least one. But in
1x200, the mini-map's width is calculated (and probably rounded) to be zero.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-10-07 Thread Wedge009
Update of bug #25155 (project wesnoth):

  Status:None => Confirmed  
 Release: git => 1.13.5+dev 
Operating System:   linux => All

___

Follow-up Comment #1:

Confirmed. It's not necessary to resize to 200x1 first. That one seems to be
okay, but resizing to 1x200 causes the crash.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25155] editor: division by zero/FPE/crash when clicking on minimap of resized map

2016-10-05 Thread Matthias Krüger
URL:
  

 Summary: editor: division by zero/FPE/crash when clicking on
minimap of resized map
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Wed 05 Oct 2016 15:59:05 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Editor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: linux

___

Details:

Start with the plain default map.
resize to w:200 h:1
resize to w:1  h:200
now click somewhere on the minimap => crash (floating point exception + div by
zero)

Log attached



___

File Attachments:


---
Date: Wed 05 Oct 2016 15:59:05 UTC  Name: zerodiv.log  Size: 3kB   By:
matthiaskrgr



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs