We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi.
I tried to use MGD on arm64 linux and my app crashed with strange std::bad_cast exception. After debugging i figure out that libinterceptor.so exports symbols from standart C++ library and library inside libinterceptor.so is not compatible with mine. That is why i have that bad_cast.
you can check it with:
aarch64-linux-nm -C -D libinterceptor.so |grep std::locale::locale 00000000006af2c4 T std::locale::locale(std::locale::_Impl*) 00000000006af28c T std::locale::locale(std::locale const&) 00000000006b9b80 T std::locale::locale() 00000000006af2c4 T std::locale::locale(std::locale::_Impl*) 00000000006af28c T std::locale::locale(std::locale const&) 00000000006b9b80 T std::locale::locale()
i think libinterceptor.so should be self contained and do not expose outside anything except GL functions.
Hi Dymtro,
Thanks for the feedback - I've sent this bug report to the MGD engineering team,
Cheers, Pete
For the moment if found workaround
LD_PRELOAD=/usr/lib/libstdc++.so.6:/usr/lib/libinterceptor.so