Skip to content

unknown handle index 10 #207

@kesmit13

Description

@kesmit13

I'm using componentize-py on some new Python packages that still attempt to import parts of the standard library that don't exist (_ssl in this case). I'm running into a traceback that isn't terribly helpful though. It appears as though the file indexes created don't match the ones at runtime so instead of seeing the Python error get printed, it just crashes. I'm sure it's something I'm doing incorrectly when creating the components, but I'm not sure what that is. Can anyone help with this?

    0: 0x49a8ba7 - <unknown>!<wasm function 99>
    1: 0x479e985 - libc.so!streams_method_output_stream_check_write
    2: 0x4799a59 - libc.so!write
    3:  0x129f3 - <unknown>!<wasm function 367>
    4: 0x304ff49 - libpython3.14.so!_Py_write
    5: 0x314272e - libpython3.14.so!_io_FileIO_write
    6: 0x2e1d9cf - libpython3.14.so!method_vectorcall_FASTCALL_KEYWORDS_METHOD
    7: 0x2e0ed31 - libpython3.14.so!PyObject_VectorcallMethod
    8: 0x3150b20 - libpython3.14.so!_textiowrapper_writeflush
    9: 0x3152233 - libpython3.14.so!_io_TextIOWrapper_write
   10: 0x2e1d7da - libpython3.14.so!method_vectorcall_O
   11: 0x2e0db7d - libpython3.14.so!PyObject_Vectorcall
   12: 0x2f9a7a8 - libpython3.14.so!_PyEval_EvalFrameDefault
   13: 0x2f9b463 - libpython3.14.so!_PyEval_Vector
   14: 0x2e0df1d - libpython3.14.so!_PyFunction_Vectorcall
   15: 0x2e106ae - libpython3.14.so!method_vectorcall
   16: 0x2e0d9fb - libpython3.14.so!_PyVectorcall_Call
   17: 0x2e0dca3 - libpython3.14.so!_PyObject_Call
   18: 0x2e0dd48 - libpython3.14.so!PyObject_Call
   19: 0x2f8d367 - libpython3.14.so!_PyEval_EvalFrameDefault
   20: 0x2f9b463 - libpython3.14.so!_PyEval_Vector
   21: 0x2e0df1d - libpython3.14.so!_PyFunction_Vectorcall
   22: 0x2e105f2 - libpython3.14.so!method_vectorcall
   23: 0x2e0d9fb - libpython3.14.so!_PyVectorcall_Call
   24: 0x2e0dca3 - libpython3.14.so!_PyObject_Call
   25: 0x2e0dd48 - libpython3.14.so!PyObject_Call
   26:  0x122bd - <unknown>!<wasm function 233>
   27: 0x2c22286 - libcomponentize_py_runtime_sync.so!<pyo3::instance::Py<pyo3::types::any::PyAny>>::call_method1::<&pyo3::instance::Py<pyo3::types::string::PyString>, pyo3::instance::Bound<pyo3::types::tuple::PyTuple>>
   28: 0x2c1b7cf - libcomponentize_py_runtime_sync.so!wit_dylib_export_call
   29: 0x4997a13 - <unknown>!singlestore:udf/function-handler#initialize
note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information: unknown handle index 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions