Mac OS 10.9.5, factorio 0.11.8
On first launch, if it tries to update the scenario pack, it crashes with:
Dyld Error Message:
Symbol not found: _fchmodat
Referenced from: /Applications/factorio.app/Contents/MacOS/factorio
Expected in: /usr/lib/libSystem.B.dylib
If I relaunch, it doesn't crash the second time, it says: "update failed: File /Applications/factorio.app/Contents/data/scenario-pack/changelog.txt has unexpected content". But the update appears to actually work fine? It appears in the mod list, anyway, and the directory has lots of files in it.
Here's the stack trace for the crashed thread (3):
0 dyld 0x00007fff6450a09d dyld_fatal_error + 1
1 dyld 0x00007fff6450cdf6 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 171
2 libdyld.dylib 0x00007fff82c902dd dyld_stub_binder_ + 13
3 ??? 0x0000000100a31030 0 + 4305653808
4 com.factorio 0x0000000100347d37 Updater::processDiff(PackagePath const&, PackagePath const&, PackageWriterPath const&, unsigned int, unsigned int, bool) + 535
5 com.factorio 0x000000010034587e Updater::processFile(Package const&, boost::property_tree::basic_ptree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 990
6 com.factorio 0x0000000100344465 Updater::updatePackage(boost::filesystem::path const&) + 405
7 com.factorio 0x00000001000414a7 Updater::performUpdates(boost::function<int (double, double, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) + 1271
8 com.factorio 0x0000000100040c5a InUpdaterGui::process(AppManager*) + 346
9 com.factorio 0x0000000100031768 AppManager::process() + 248
10 com.factorio 0x0000000100272f4f MainLoop::tickStep(Thread&, ThreadBarrier&, boost::chrono::time_point<boost::chrono::system_clock, boost::chrono::duration<long long, boost::ratio<1l, 1000000000l> > >&, boost::chrono::time_point<boost::chrono::system_clock, boost::chrono::duration<long long, boost::ratio<1l, 1000000000l> > >&) + 79
11 com.factorio 0x000000010026efc3 MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool) + 691
12 com.factorio 0x000000010026e17a _al_mangled_main + 6634
13 com.factorio 0x0000000100698e47 +[AllegroAppDelegate app_main:] + 23
14 com.apple.Foundation 0x00007fff8f005dfb __NSThread__main__ + 1318
15 libsystem_pthread.dylib 0x00007fff880f3899 _pthread_body + 138
16 libsystem_pthread.dylib 0x00007fff880f372a _pthread_start + 137
17 libsystem_pthread.dylib 0x00007fff880f7fc9 thread_start + 13
[Mac os 10.9.5] "Symbol not found: _fchmodat"
Re: [Mac os 10.9.5] "Symbol not found: _fchmodat"
Hi, thanks for the report. It seems to be a bug in boost. We have patched it locally, and the problem should hopefully be gone in 0.11.9.