trashhalo / obsidian-extract-url

Plugin to extract markdown out of urls
GNU General Public License v3.0
274 stars 12 forks source link

Plugin crashes irreparably #30

Open rben01 opened 1 year ago

rben01 commented 1 year ago

When extracting this url: https://plantuml-documentation.readthedocs.io/en/latest/formatting/all-skin-params.html

The plugin crashes with the following web assembly error:

``` 89e2ce:0x10066d Uncaught (in promise) RuntimeError: unreachable at 0089e2ce:0x10066d at 0089e2ce:0xfb123 at 0089e2ce:0x10138e at 0089e2ce:0x1051b8 at 0089e2ce:0xd3fc0 at 0089e2ce:0x728c2 at 0089e2ce:0x5d638 at 0089e2ce:0x5da12 at 0089e2ce:0x5da12 at 0089e2ce:0x5da12 $func2273 @ 0089e2ce:0x10066d $func1920 @ 0089e2ce:0xfb123 $func2340 @ 0089e2ce:0x10138e $func2821 @ 0089e2ce:0x1051b8 $func759 @ 0089e2ce:0xd3fc0 $func140 @ 0089e2ce:0x728c2 $func110 @ 0089e2ce:0x5d638 $func110 @ 0089e2ce:0x5da12 $func110 @ 0089e2ce:0x5da12 $func110 @ 0089e2ce:0x5da12 $func110 @ 0089e2ce:0x5da12 $func95 @ 0089e2ce:0x4898d $func83 @ 0089e2ce:0x2855e $func96 @ 0089e2ce:0x49064 $func653 @ 0089e2ce:0xcce5e $_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c3321bf6780a26 @ 0089e2ce:0x10437b _j @ plugin:extract-url:2 o @ plugin:extract-url:2 Promise.then (async) Aj.j.wbg.__wbg_then_ce526c837d07b68f @ plugin:extract-url:2 $func701 @ 0089e2ce:0xd04aa $func2326 @ 0089e2ce:0x1010ea $func1114 @ 0089e2ce:0xe5219 $func1877 @ 0089e2ce:0xfa4a2 $_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c3321bf6780a26 @ 0089e2ce:0x10437b _j @ plugin:extract-url:2 o @ plugin:extract-url:2 Promise.then (async) Aj.j.wbg.__wbg_then_842e65b843962f56 @ plugin:extract-url:2 $func853 @ 0089e2ce:0xd93ab $func83 @ 0089e2ce:0x27a78 $func96 @ 0089e2ce:0x49064 $func653 @ 0089e2ce:0xcce5e $_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c3321bf6780a26 @ 0089e2ce:0x10437b _j @ plugin:extract-url:2 o @ plugin:extract-url:2 Promise.then (async) Aj.j.wbg.__wbg_then_ce526c837d07b68f @ plugin:extract-url:2 $func701 @ 0089e2ce:0xd04aa $func2326 @ 0089e2ce:0x1010ea $func1114 @ 0089e2ce:0xe5219 $func1877 @ 0089e2ce:0xfa4a2 $_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c3321bf6780a26 @ 0089e2ce:0x10437b _j @ plugin:extract-url:2 o @ plugin:extract-url:2 Promise.then (async) Aj.j.wbg.__wbg_then_842e65b843962f56 @ plugin:extract-url:2 $func853 @ 0089e2ce:0xd93ab $func83 @ 0089e2ce:0x22f3e $func96 @ 0089e2ce:0x49064 $func653 @ 0089e2ce:0xcce5e $_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd7c3321bf6780a26 @ 0089e2ce:0x10437b _j @ plugin:extract-url:2 o @ plugin:extract-url:2 Promise.then (async) Aj.j.wbg.__wbg_then_ce526c837d07b68f @ plugin:extract-url:2 $func701 @ 0089e2ce:0xd04aa $func1197 @ 0089e2ce:0xe85c1 $func1129 @ 0089e2ce:0xe5bd5 $wasm_bindgen__convert__closures__invoke2_mut__hec91c3f17a5bbfea @ 0089e2ce:0x103e59 Pj @ plugin:extract-url:2 E @ plugin:extract-url:2 Aj.j.wbg.__wbg_new_37705eed627d5ed9 @ plugin:extract-url:2 $func2960 @ 0089e2ce:0x105a0b $extractcommand_callback @ 0089e2ce:0xed9e2 callback @ plugin:extract-url:2 kW @ app.js:1 t.onChooseItem @ app.js:1 t.onChooseSuggestion @ app.js:1 t.selectSuggestion @ app.js:1 e.useSelectedItem @ app.js:1 (anonymous) @ app.js:1 e.handleKey @ app.js:1 e.onKeyEvent @ app.js:1 ```

After this, the plugin stops working altogether until disabled and reenabled.