Issue #2 resolved

Segfault when running with pypy

Michał Górny
repo owner created an issue
$ pypy-c1.9 -c 'import pymountboot; b=pymountboot.BootMountpoint(); b.mount()'
*** glibc detected *** pypy-c1.9: free(): invalid pointer: 0x0000000002e67450 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x791f6)[0x7f36cb5d81f6]
pypy-c1.9(PyObject_Del+0x11)[0x24912f1]
pypy-c1.9(pypy_asm_stackwalk+0x1d)[0x2516e45]
pypy-c1.9(pypy_g_generic_cpy_call__StdObjSpaceConst_funcPtr_array+0x1d9)[0x24c4f99]
pypy-c1.9(pypy_g_PyObject_dealloc+0x26)[0x1b5bb46]
pypy-c1.9(PyObject_dealloc+0x13)[0x2447c63]
pypy-c1.9(pypy_asm_stackwalk+0x1d)[0x2516e45]
pypy-c1.9(pypy_g_generic_cpy_call__StdObjSpaceConst_funcPtr_PyObj_3+0x1d9)[0x24d2cf9]
pypy-c1.9(cpyext_subtype_dealloc+0x13)[0x24c7223]
pypy-c1.9(pypy_asm_stackwalk+0x1d)[0x2516e45]
pypy-c1.9(pypy_g_generic_cpy_call__StdObjSpaceConst_funcPtr_PyObj+0x92)[0x24c56d2]
pypy-c1.9(pypy_g_Py_DecRef+0x145)[0x20f4815]
pypy-c1.9(pypy_g_unwrapper__StdObjSpaceConst_PyObjectPtr_star_1+0xb0)[0x24c62a0]
pypy-c1.9(pypy_g_generic_cpy_call__StdObjSpaceConst_funcPtr_SomeI_21+0x535)[0x24d72e5]
pypy-c1.9(pypy_g_BuiltinCodePassThroughArguments1_funcrun_obj+0x91)[0x1c07e51]
pypy-c1.9(pypy_g_dispatcher_1+0xe1)[0x1df9801]
pypy-c1.9(pypy_g_Function_call_obj_args+0x22)[0x23f6902]
pypy-c1.9(pypy_g_call_args+0xba)[0x21ce43a]
pypy-c1.9(pypy_g_call_valuestack__AccessDirect_None+0x203)[0x196bf63]
pypy-c1.9(pypy_g_CALL_METHOD__AccessDirect_star_1+0x76)[0x1cd96a6]
pypy-c1.9(pypy_g_dispatch_bytecode__AccessDirect_None+0x322e)[0x1d1b57e]
pypy-c1.9(pypy_g_handle_bytecode__AccessDirect_None+0x23)[0x1d1c923]
pypy-c1.9(pypy_g_portal_2+0x23)[0x233dd83]
pypy-c1.9(pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter+0x2e4)[0x19aedb4]
pypy-c1.9(pypy_g_PyFrame_execute_frame+0x2bf)[0x1a264ff]
pypy-c1.9(pypy_g_PyFrame_run+0xa4)[0x1a269d4]
pypy-c1.9(pypy_g_EXEC_STMT__AccessDirect_None+0x43c)[0x1d1377c]
pypy-c1.9(pypy_g_dispatch_bytecode__AccessDirect_None+0x1dc6)[0x1d1a116]
pypy-c1.9(pypy_g_handle_bytecode__AccessDirect_None+0x23)[0x1d1c923]
pypy-c1.9(pypy_g_portal_2+0x23)[0x233dd83]
pypy-c1.9(pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter+0x2e4)[0x19aedb4]
pypy-c1.9(pypy_g_PyFrame_execute_frame+0x2bf)[0x1a264ff]
pypy-c1.9(pypy_g_PyFrame_run+0xa4)[0x1a269d4]
pypy-c1.9(pypy_g_call_function__AccessDirect_None+0x653)[0x1d11263]
pypy-c1.9(pypy_g_dispatch_bytecode__AccessDirect_None+0x3027)[0x1d1b377]
pypy-c1.9(pypy_g_handle_bytecode__AccessDirect_None+0x23)[0x1d1c923]
pypy-c1.9(pypy_g_portal_2+0x23)[0x233dd83]
pypy-c1.9(pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter+0x2e4)[0x19aedb4]
pypy-c1.9(pypy_g_PyFrame_execute_frame+0x2bf)[0x1a264ff]
pypy-c1.9(pypy_g_PyFrame_run+0xa4)[0x1a269d4]
pypy-c1.9(pypy_g_CALL_FUNCTION__AccessDirect_None+0x4c)[0x1d1144c]
pypy-c1.9(pypy_g_dispatch_bytecode__AccessDirect_None+0x2c5e)[0x1d1afae]
pypy-c1.9(pypy_g_handle_bytecode__AccessDirect_None+0x23)[0x1d1c923]
pypy-c1.9(pypy_g_portal_2+0x23)[0x233dd83]
pypy-c1.9(pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter+0x2e4)[0x19aedb4]
pypy-c1.9(pypy_g_PyFrame_execute_frame+0x2bf)[0x1a264ff]
pypy-c1.9(pypy_g_PyFrame_run+0xa4)[0x1a269d4]
pypy-c1.9(pypy_g_call_function__AccessDirect_None+0x653)[0x1d11263]
pypy-c1.9(pypy_g_dispatch_bytecode__AccessDirect_None+0x2fa5)[0x1d1b2f5]
pypy-c1.9(pypy_g_handle_bytecode__AccessDirect_None+0x23)[0x1d1c923]
pypy-c1.9(pypy_g_portal_2+0x23)[0x233dd83]
pypy-c1.9(pypy_g_ll_portal_runner__Unsigned_Bool_pypy_interpreter+0x2e4)[0x19aedb4]
pypy-c1.9(pypy_g_PyFrame_execute_frame+0x2bf)[0x1a264ff]
pypy-c1.9(pypy_g_PyFrame_run+0xa4)[0x1a269d4]
pypy-c1.9(pypy_g_call_function__star_3+0x141)[0x195ef01]
pypy-c1.9(pypy_g_entry_point+0x1164)[0x1cd3f04]
pypy-c1.9(pypy_main_function+0x6c)[0x1880abc]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f36cb580765]
pypy-c1.9[0x187f3d1]

Comments (2)

  1. Log in to comment