13
0
Go to file
Robin Gareus 36f6aa9356 work-around OSX loadlocale thread safety.
This is not a real fix; just a stop-gap for the worst offender.

iostream on OSX is not thread safe.
Sadly no crash report so far managed to catch the 2nd thread in action.
looks like the GUI thread is preempted, 2nd thread succeeds, and the 
crash occurs later).

see also https://discussions.apple.com/thread/3479591

crash in
   s << c->internal_to_user (c->get_value ());

ardour-4.1.335(5000,0x7fff777f5300) malloc: *** error for object 0x7fe2f3e06170: pointer being freed was not allocated
1   libsystem_c.dylib       abort + 129
2   libsystem_malloc.dylib  free + 428
3   libsystem_c.dylib       __numeric_load_locale + 544
4   libsystem_c.dylib       loadlocale + 216
5   libstdc++.6.dylib       std::__convert_from_v(int* const&, char*, int, char const*, ...) + 193
6   libstdc++.6.dylib       std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const + 193
7   libstdc++.6.dylib       std::ostream& std::ostream::_M_insert<double>(double) + 221
8   ardour-4.1.335          ProcessorEntry::Control::set_tooltip() + 854 (processor_box.cc:578)
9   ardour-4.1.335          ProcessorEntry::Control::control_changed() + 446 (processor_box.cc:637)
10  ibpbd.dylib             PBD::StandardTimer::on_elapsed()
2015-07-28 20:54:43 +02:00
cfgtool
doc
export
gtk2_ardour work-around OSX loadlocale thread safety. 2015-07-28 20:54:43 +02:00
headless
icons
libs Revert "debug/fix LV2 state loading on OSX 10.5/PPC" 2015-07-28 18:58:17 +02:00
mcp Added MasterPosition value=0 to all mcp device files as this is saved and will not default 2015-07-27 16:17:38 -04:00
midi_maps Add a midimap for WiiMote via midikb. 2015-07-10 16:52:43 -04:00
msvc_extra_headers
MSVCardour3
MSVCMixbus3
MSVCvst_scan
patches patches to fix notebook tab tearoff on DnD. 2015-07-20 16:56:15 -04:00
patchfiles
templates
tools tweak OSX packaging 2015-07-24 19:03:08 +02:00
vst
.dir-locals.el
.gitignore
ardour-3.ttl
ardour.1
ardour.1.es
ardour.1.fr
ardour.1.ru
ardour.dox
COPYING
foo.cc
instant.xml
instant.xml.sae
Makefile
msvc32-fixup.pl
PACKAGER_README
README
system_config update system config 2015-07-21 01:12:39 +02:00
testfile.flac
testfile.ogg
TRANSLATORS
waf
wscript fix wscripts to work with python3. 2015-07-06 10:06:06 -04:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html