Page 4 of 4

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Tue Jan 23, 2018 9:16 pm
by posila
I want to try one last thing before giving up on 10.9

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Wed Jan 31, 2018 3:31 pm
by posila
@SupplyDepoo: can you post also crash log from 0.16.16 when attempting to load a save, please? The one you posted is from creating new map, and I found out loading save doesn't call same function that causes crash on creating new map.

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Wed Jan 31, 2018 4:28 pm
by SupplyDepoo

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Fri Feb 02, 2018 9:37 am
by posila
So we changed file copying routines to not use standard C++ copy_file function on OS X 10.9, and instead use mac specific copyfile()

Can you try 0.16.22, please?

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Fri Feb 02, 2018 10:07 am
by SupplyDepoo
Great! I'm cancelling all of my plans for this week.

It works!!!!! Thank you so much!

⚙ BEST DEVS EVER! ⚙

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Fri Feb 02, 2018 10:22 am
by posila
Yay! Thanks for your cooperation on this :)

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Fri Feb 02, 2018 5:36 pm
by taixzo
Hooray, it's working! Thank you so much for not giving up on us!

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Sat Feb 03, 2018 2:55 am
by skeller1982
hi, just noticed this now after reading in the friday facts. wish i saw it earlier.

reasoning behind this problems:
the c++ stl libary is included in the OS for macOS, (and linked dynamically). if you use a newer c++ standard than the lib provided in the OS such problems appear.

in this case the c++17 filesystem was used (propably replaced the boost one)

possible solutions:
- drop some older macOS versions
- only use new language features, but avoid the library features
- have a wrapper for these and use boost (or other implementation) for support of older os versions (most stl and boost stuff is quite similar, allowing for a simple wrapper)

be aware of following c++17 features that may cause similar problems when used:
std::variant
std::optional
std::any
std::string_view
std::invoke
std::apply
std::filesystem
std::byte
+ some new map insertion methods (try_emplace and insert_or_assign)

Re: [HanziQ][16.0][macOS 10] Crash on start: EXC_CRASH (SIGABRT); DYLD, [0x4] Symbol missing

Posted: Thu Feb 08, 2018 5:59 pm
by engineX
Thanks !