View Issue Details

IDProjectCategoryView StatusLast Update
0002818ardourbugspublic2020-04-19 20:14
Reporterlincoln Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0002818: Crash when moving region from one track to another
DescriptionArdour 3.0 crashes happens when a region is moved from on track to another.
TagsNo tags attached.

Activities

2009-08-15 18:08

 

editor-drag-finish-assert-removel.patch (869 bytes)   
Index: gtk2_ardour/editor_drag.cc
===================================================================
--- gtk2_ardour/editor_drag.cc	(revision 5532)
+++ gtk2_ardour/editor_drag.cc	(working copy)
@@ -891,11 +891,11 @@
 			/* get the playlist where this drag started. we can't use rv->region()->playlist()
 			   because we may have copied the region and it has not been attached to a playlist.
 			*/
+			
+			source_tv = dynamic_cast<RouteTimeAxisView*> (&rv->get_time_axis_view());
+			ds = source_tv->get_diskstream();
+			from_playlist = ds->playlist();
 
-			assert ((source_tv = dynamic_cast<RouteTimeAxisView*> (&rv->get_time_axis_view())));
-			assert ((ds = source_tv->get_diskstream()));
-			assert ((from_playlist = ds->playlist()));
-
 			/* moved to a different audio track, without copying */
 
 			/* the region that used to be in the old playlist is not

lincoln

2009-08-15 18:08

reporter   ~0006555

Patch to clear this crash attached.

cth103

2009-08-22 19:15

administrator   ~0006588

This has been applied to 3.0. Thanks!

system

2020-04-19 20:14

developer   ~0021975

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-08-08 22:48 lincoln New Issue
2009-08-15 18:08 lincoln File Added: editor-drag-finish-assert-removel.patch
2009-08-15 18:08 lincoln Note Added: 0006555
2009-08-22 19:15 cth103 cost => 0.00
2009-08-22 19:15 cth103 Note Added: 0006588
2009-08-22 19:15 cth103 Status new => resolved
2009-08-22 19:15 cth103 Resolution open => fixed
2009-08-22 19:15 cth103 Assigned To => cth103
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2020-04-19 20:14 system Note Added: 0021975
2020-04-19 20:14 system Status resolved => closed