View Issue Details

IDProjectCategoryView StatusLast Update
0004806ardourbugspublic2020-04-19 20:16
Reporterepitech_user Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version3.0-beta3 
Target Version3.0 
Summary0004806: Crash when zoom out too much
DescriptionOnce a sound is loaded, you try to zoom out, and when you do it several times, Ardour crash with an abort
Happened every time.
Additional InformationHere's a patch which fix the problem. It limits the zoom out thanks to a fixed value.
TagsNo tags attached.

Activities

2012-04-02 13:24

 

bug_zoom.patch (382 bytes)   
Index: gtk2_ardour/editor_ops.cc
===================================================================
--- gtk2_ardour/editor_ops.cc	(revision 11778)
+++ gtk2_ardour/editor_ops.cc	(working copy)
@@ -1300,7 +1300,7 @@
 	nfpu = frames_per_unit;
 
 	if (coarser) {
-		nfpu *= 1.61803399;
+	  nfpu = min(9000000.0, (nfpu*1.61803399));
 	} else {
 		nfpu = max(1.0,(nfpu/1.61803399));
 	}
bug_zoom.patch (382 bytes)   

cth103

2012-06-06 18:21

administrator   ~0013397

Applied to SVN 12589. Thanks!

system

2020-04-19 20:16

developer   ~0023016

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2012-04-02 13:24 epitech_user New Issue
2012-04-02 13:24 epitech_user File Added: bug_zoom.patch
2012-04-02 22:41 cth103 cost => 0.00
2012-04-02 22:41 cth103 Status new => confirmed
2012-04-02 22:41 cth103 Target Version => 3.0 beta4
2012-05-23 15:08 cth103 Target Version 3.0 beta4 => 3.0
2012-06-06 18:21 cth103 Note Added: 0013397
2012-06-06 18:21 cth103 Status confirmed => resolved
2012-06-06 18:21 cth103 Resolution open => fixed
2012-06-06 18:21 cth103 Assigned To => cth103
2020-04-19 20:16 system Note Added: 0023016
2020-04-19 20:16 system Status resolved => closed