# libc++abi.dylib: terminating with uncaught

**URL:** <https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231>\
**Category:** Bug Reports\
**Created:** [November 6, 2016, 2:47pm UTC](https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231 "2016-11-06T14:47:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@kevin](https://forums.fusetools.com/u/kevin)\
**Post date:** [November 6, 2016, 2:47pm UTC](https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231/1 "2016-11-06T14:47:17Z")

</div>

libc++abi.dylib: terminating with uncaught exception of type uThrowable: Uno.Exception

in Fuse.Scripting.JavaScriptCore.g.cpp

```
catch (const uThrowable& __t)
{
    if (uIs(__t.Exception, ::TYPES[0/*Fuse.Scripting.Error*/]))
    {
        ::g::Fuse::Scripting::Error* e = (::g::Fuse::Scripting::Error*)__t.Exception;
        *exception = ::g::Fuse::Scripting::JavaScriptCore::JSValueRef::MakeString1(uPtr(_context)->_context, uPtr(e)->Message());
    }
   // else throw __t; // <------ hot fix 
}
```

---

<div class="post-metadata">

**Author:** ![Olle\_Fredriksson](https://avatars.discourse-cdn.com/v4/letter/o/e95f7d/32.png) [@Olle\_Fredriksson](https://forums.fusetools.com/u/Olle_Fredriksson)\
**Post date:** [November 7, 2016, 7:33am UTC](https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231/2 "2016-11-07T07:33:46Z")

</div>

Hello Kevin!

Can you provide a small reproduction or a stack trace with break on exception turned on? The exception doesn’t originate from the code you’re showing, it’s only being re-thrown there, so the only thing this tells us is that the exception happened in some Uno code invoked from JavaScript, which could basically be anything.

Cheers!

---

<div class="post-metadata">

**Author:** ![kevin](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@kevin](https://forums.fusetools.com/u/kevin)\
**Post date:** [November 10, 2016, 12:18am UTC](https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231/3 "2016-11-10T00:18:38Z")

</div>

Hi Olle,

the error pops up when running `ImageTools.getBase64FromImage(file).then(function(base64Image) { console.log("The base64 encoded image is \"" + base64Image + "\""); });`

---

<div class="post-metadata">

**Author:** ![Olle\_Fredriksson](https://avatars.discourse-cdn.com/v4/letter/o/e95f7d/32.png) [@Olle\_Fredriksson](https://forums.fusetools.com/u/Olle_Fredriksson)\
**Post date:** [November 10, 2016, 7:23am UTC](https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231/4 "2016-11-10T07:23:24Z")

</div>

Hey again Kevin,

I’ve created an internal issue on this and we’ll get back to you when we know more. Thanks!

---

<div class="post-metadata">

**Author:** ![kevin](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@kevin](https://forums.fusetools.com/u/kevin)\
**Post date:** [November 10, 2016, 6:07pm UTC](https://forums.fusetools.com/t/libc-abi-dylib-terminating-with-uncaught/6231/5 "2016-11-10T18:07:22Z")

</div>

hey olle,

there was a problem the way i was using `ImageTools` now this is fixed `ImageTools.getBase64FromImage({ path: file, name: "Some random name" }).....` the `libc++abi.dylib: terminating with uncaught` has gone as well
