Skip to content

Crash in JPPyErrFrame::normalize() #1415

Description

@marscher

Stacktrace:

#5  0x00007f131febd707 in JVM_handle_linux_signal (sig=<optimized out>, info=0x7ffc1fd58930, ucVoid=0x7ffc1fd58800, abort_if_unrecognized=<optimized out>)
    at src/hotspot/os/posix/signals_posix.cpp:652
#6  <signal handler called>
#7  PyType_HasFeature (type=<optimized out>, feature=<optimized out>) at /usr/local/miniforge3/envs/jpype/include/python3.14/object.h:795
#8  JPPyErrFrame::normalize (this=this@entry=0x7ffc1fd594b0) at /home/marscher/sources/jpype/native/python/jp_pythontypes.cpp:489
#9  0x00007f1321496e52 in JPypeException::toPython (this=this@entry=0x5613e5388c50) at /home/marscher/sources/jpype/native/common/jp_exception.cpp:329
#10 0x00007f132147be9b in PyJPModule_rethrow (info=...) at /home/marscher/sources/jpype/native/python/pyjp_module.cpp:871
#11 0x00007f1321477937 in PyJPArray_assignSubscript (self=0x7f129092d090, item=<optimized out>, value=<optimized out>) at /home/marscher/sources/jpype/native/python/pyjp_array.cpp:259
#12 0x00005613d51ddb3b in _PyEval_EvalFrameDefault (tstate=0x5613d55f1280 <_PyRuntime+315680>, frame=0x7f1436fb44a8, throwflag=0)

I can rarely reproduce it with:

py.test --randomly-seed=595374371 test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions