View Issue Details

IDProjectCategoryView StatusLast Update
0003047ardourbugspublic2020-04-19 20:14
Reporterinterferon Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0003047: Ardour 3.0 crashes on startup when loading or creating a session
DescriptionWhen loading an existing project or a new one, GUI shows for a fraction of a second, then Ardour crashes.

Terminal reports:
MIDI UI running
Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posix.c:200, function pa_tls_set(). Aborting.
Aborted

With less recent builds, everything was fine.
Additional InformationSVN Build: 6778e with GCC 4.4.1
OS: Kubuntu 9.10 AMD64
PC: Athlon X2 5600+, 4GB RAM, soundcards HDA internal and Creative X-Fi 5.1 external (issue happens with both cards)
JACK 1.9.5
TagsNo tags attached.

Activities

cth103

2010-03-22 22:22

administrator   ~0007414

Last edited: 2010-03-22 22:23

This looks like it may be a pulseaudio bug (see https://bugzilla.redhat.com/show_bug.cgi?id=460666). Do you know what version of pulseaudio you are running?

interferon

2010-03-23 15:32

reporter   ~0007415

I have only libpulse (and its dev package) installed, version 1:0.9.19-ubuntu4

Nothing else related to pulseaudio is installed (apt-get purge pulseaudio gives me no stuff to uninstall, and looking for pulseaudio on KPackageKit gives me 24 packages not installed and 0 installed).

2010-03-24 01:02

 

3047.diff (526 bytes)   
diff --git a/libs/pbd/xml++.cc b/libs/pbd/xml++.cc
index 90d7c3c..91d169d 100644
--- a/libs/pbd/xml++.cc
+++ b/libs/pbd/xml++.cc
@@ -95,7 +95,6 @@ XMLTree::read_internal(bool validate)
 		if (validate && ctxt->valid == 0) {
 			xmlFreeParserCtxt(ctxt);
 			xmlFreeDoc(doc);
-			xmlCleanupParser();
 			throw XMLException("Failed to validate document " + _filename);
 		}
 	}
@@ -107,7 +106,6 @@ XMLTree::read_internal(bool validate)
 		xmlFreeParserCtxt(ctxt);
 	}
 	xmlFreeDoc(doc);
-	xmlCleanupParser();
 
 	return true;
 }
3047.diff (526 bytes)   

cth103

2010-03-24 01:02

administrator   ~0007416

Ah right. Thanks for checking. Perhaps you could try the attached patch?

interferon

2010-03-24 14:11

reporter   ~0007417

Just tried, now it works prefectly!

Thank you!

cth103

2010-03-24 15:11

administrator   ~0007418

Thanks for checking the patch. I'll commit this to SVN soon.

cth103

2010-03-25 01:25

administrator   ~0007419

Applied to SVN. Thanks again.

system

2020-04-19 20:14

developer   ~0022032

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
2010-03-21 14:34 interferon New Issue
2010-03-22 22:22 cth103 Note Added: 0007414
2010-03-22 22:22 cth103 Status new => feedback
2010-03-22 22:23 cth103 Note Edited: 0007414
2010-03-23 15:32 interferon Note Added: 0007415
2010-03-24 01:02 cth103 File Added: 3047.diff
2010-03-24 01:02 cth103 Note Added: 0007416
2010-03-24 14:11 interferon Note Added: 0007417
2010-03-24 15:10 cth103 Status feedback => assigned
2010-03-24 15:10 cth103 Assigned To => cth103
2010-03-24 15:11 cth103 Note Added: 0007418
2010-03-25 01:25 cth103 cost => 0.00
2010-03-25 01:25 cth103 Note Added: 0007419
2010-03-25 01:25 cth103 Status assigned => resolved
2010-03-25 01:25 cth103 Resolution open => fixed
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:29 cth103 Category bugs2 => bugs
2020-04-19 20:14 system Note Added: 0022032
2020-04-19 20:14 system Status resolved => closed