Hi, I added an issue https://github.com/emscripten-core/emscripten/issues/10371 This small example seems to be working with 1.39.6 under fastcomp. But I am not able to check this with my actual project as building my project with latest fastcomp gives some other errors.
regards, On Thursday, February 6, 2020 at 3:06:10 AM UTC+5:30, Sam Clegg wrote: > > Seems like a regression with the upstream backend. Does it work > with 1.39.6 under fastcomp? > > Would you mind opening a bug on the emscripten bug tracker? > > cheers, > sam > > On Wed, Feb 5, 2020 at 3:20 AM Rohit Saini <[email protected] > <javascript:>> wrote: > >> Hi, >> >> Is anyone looking into this. Actually my team is blocked by this issue. >> Or can anyone please tell me any workaround. >> >> Regards, >> Rohit Saini >> >> On Monday, February 3, 2020 at 9:57:24 PM UTC+5:30, Rohit Saini wrote: >>> >>> Hi All, >>> >>> We made a update to 1.39.6 recently . Previously we were on 1.38.34 and >>> using *-s DISABLE_EXCEPTION_CATCHING=2 >>> -s EXCEPTION_CATCHING_WHITELIST="@whitelist.txt"*, and it was working >>> fine. >>> But in latest upstream it seems to be stopped working. >>> >>> I wrote a small program to verify that, it is not working with this >>> program as well. >>> >>> #include <iostream> >>> #include "emscripten.h" >>> using namespace std; >>> >>> extern "C" >>> void fun() { >>> try { >>> throw 10000; >>> } catch(...) { >>> cout<<"hello"<<endl; >>> } >>> } >>> int main () { >>> fun(); >>> return 0; >>> } >>> >>> I run this command >>> emcc test.cpp -s DISABLE_EXCEPTION_CATCHING=2 -s >>> EXCEPTION_CATCHING_WHITELIST=["_fun"] -o test.html >>> with 1.38.34 it's working fine and printing *hello*, but with 1.39.6 >>> function is not catching exception and "*uncaught exception*" is >>> printing on console. >>> >>> Regards, >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/66838d03-18e0-4574-8ed4-8dcf4543c54b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/emscripten-discuss/66838d03-18e0-4574-8ed4-8dcf4543c54b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/280d7503-2a9a-48df-988f-fc65664a23c9%40googlegroups.com.
