question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

wasmtime-py 0.16.1 regression

See original GitHub issue

Unfortunately since 0.16.1 it looks like every binary crashes on exit:

Traceback (most recent call last):
  File "/home/whitequark/.local/bin/yosys", line 11, in <module>
    load_entry_point('yosys', 'console_scripts', 'yosys')()
  File "/home/whitequark/Projects/yosys-pypi/yosys/__init__.py", line 57, in _run_yosys_argv
    run_yosys(sys.argv)
  File "/home/whitequark/Projects/yosys-pypi/yosys/__init__.py", line 55, in run_yosys
    _run_wasm_app("yosys.wasm", argv)
  File "/home/whitequark/Projects/yosys-pypi/yosys/__init__.py", line 51, in _run_wasm_app
    app.exports["_start"]()
  File "/home/whitequark/.local/lib/python3.7/site-packages/wasmtime/_func.py", line 120, in __call__
    raise Trap.__from_ptr__(trap)
wasmtime._trap.Trap: explicitly exited

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexcrichtoncommented, May 23, 2020

This is due to https://github.com/bytecodealliance/wasmtime/pull/1646, and I think we need to enhance the C API with accessors to see if something exited, so bindings can be added for “was this an exit trap” and the trap can be raised with a different error perhaps.

0reactions
whitequarkcommented, May 26, 2020

Yeah, the only issue is the tag itself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bytecodealliance/wasmtime-py: Python WebAssembly runtime ...
To install wasmtime-py , run this command in your terminal: $ pip install wasmtime. The package currently supports 64-bit builds of Python 3.6+...
Read more >
Python - Wasmtime
This guide will go over adding Wasmtime to your project, and some provided examples of what can be done with WebAssembly modules. Make...
Read more >
21c49e38985ea9c4.txt
Add more python package dependencies for qtile add myself as a maintainer add ... keep 5.2.1 available for python-2.7 feeds: init at 0.16.1...
Read more >
[ARM Testing Update] 2022-08-23 - LibreOffice, KDE ...
... specific packages got updated; Many python packages got updated ... zim-tools 3.1.1-1 3.1.1-2 zola 0.16.0-2 0.16.1-1 autotiling-rs ...
Read more >
Packages - opam
Name Latest version Description ezjs_fetch 0.3 Bindings for Fetch parany 13.0.1 Parallelize any computation ansi 0.6.0 ANSI escape sequence parser
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found