View Issue Details

IDProjectCategoryView StatusLast Update
0002546ardourbugspublic2020-04-19 20:13
Reporterlincoln Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0002546: Crash on region move between tracks
DescriptionArdour 3.0 crashes when moving a region between tracks. This is due to a property not being set in the AutmationList copy constructor and state serialisation failing as a result.

The attached patch sets the property and clears the crash.
TagsNo tags attached.

Activities

2009-02-08 22:13

 

automation_list.patch (648 bytes)   
Index: libs/ardour/automation_list.cc
===================================================================
--- libs/ardour/automation_list.cc	(revision 4499)
+++ libs/ardour/automation_list.cc	(working copy)
@@ -65,6 +65,7 @@
 AutomationList::AutomationList (const AutomationList& other)
 	: ControlList(other)
 {
+	_style = other._style;
 	_state = other._state;
 	_touching = other._touching;
 	
@@ -232,7 +233,7 @@
 	root->add_property ("max-yval", buf);
 	snprintf (buf, sizeof (buf), "%.12g", _max_xval);
 	root->add_property ("max-xval", buf);
-	
+
 	root->add_property ("interpolation-style", enum_2_string (_interpolation));
 
 	if (full) {
automation_list.patch (648 bytes)   

cth103

2009-02-09 03:35

administrator   ~0005691

Patch looks good to me. Applied in r.4503.

system

2020-04-19 20:13

developer   ~0021862

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
2009-02-08 22:13 lincoln New Issue
2009-02-08 22:13 lincoln File Added: automation_list.patch
2009-02-09 03:35 cth103 cost => 0.00
2009-02-09 03:35 cth103 Status new => resolved
2009-02-09 03:35 cth103 Resolution open => fixed
2009-02-09 03:35 cth103 Assigned To => cth103
2009-02-09 03:35 cth103 Note Added: 0005691
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:32 cth103 Category bugs2 => bugs
2020-04-19 20:13 system Note Added: 0021862
2020-04-19 20:13 system Status resolved => closed