Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when using a newer version of R2Inference #279

Open
michaelgruner opened this issue Mar 11, 2020 · 0 comments
Open

Segfault when using a newer version of R2Inference #279

michaelgruner opened this issue Mar 11, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@michaelgruner
Copy link
Contributor

I have a segfault with the following scenario:

  • R2Iference version: v0.5.0
  • GstInference version: v0.7.0

Simple pipe to reproduce the problem:
gst-launch-1.0 tinyyolov2

Backtrace:

(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa)
    frame #0: 0x0000000101283c60 libr2inference-0.0.0.dylib`r2i::tensorflow::Parameters::List(std::__1::vector<r2i::ParameterMeta, std::__1::allocator<r2i::ParameterMeta> >&) [inlined] std::__1::vector<r2i::ParameterMeta, std::__1::allocator<r2i::ParameterMeta> >::push_back(this=<unavailable>) at vector:1623:15
  * frame #1: 0x0000000101283c60 libr2inference-0.0.0.dylib`r2i::tensorflow::Parameters::List(this=<unavailable>, metas=<unavailable>) at parameters.cc:260
    frame #2: 0x000000010111094f libgstinference-1.0.0.dylib`std::__1::default_delete<r2i::IParameters>::operator()(r2i::IParameters*) const + 47
    frame #3: 0x00000001011108cf libgstinference-1.0.0.dylib`std::__1::unique_ptr<r2i::IParameters, std::__1::default_delete<r2i::IParameters> >::reset(r2i::IParameters*) + 95
    frame #4: 0x0000000101110869 libgstinference-1.0.0.dylib`std::__1::unique_ptr<r2i::IParameters, std::__1::default_delete<r2i::IParameters> >::~unique_ptr() + 25
    frame #5: 0x000000010110a1d5 libgstinference-1.0.0.dylib`std::__1::unique_ptr<r2i::IParameters, std::__1::default_delete<r2i::IParameters> >::~unique_ptr() + 21
    frame #6: 0x0000000101109e8e libgstinference-1.0.0.dylib`gst_backend_install_properties + 558
    frame #7: 0x000000010111434c libgstinference-1.0.0.dylib`gst_tensorflow_class_init(GstTensorflowClass*) + 92
    frame #8: 0x00000001011142b5 libgstinference-1.0.0.dylib`gst_tensorflow_class_intern_init(void*) + 69
    frame #9: 0x000000010020614b libgobject-2.0.0.dylib`g_type_class_ref + 1163
    frame #10: 0x00000001001f254d libgobject-2.0.0.dylib`g_object_new + 237
    frame #11: 0x0000000101105dcd libgstinference-1.0.0.dylib`gst_inference_backends_add_frameworkmeta(r2i::FrameworkMeta, char**, r2i::RuntimeError, unsigned int) + 205
    frame #12: 0x0000000101105b91 libgstinference-1.0.0.dylib`gst_inference_backends_get_string_properties + 225
    frame #13: 0x000000010110129c libgstinference-1.0.0.dylib`gst_video_inference_class_intern_init + 252
    frame #14: 0x000000010020614b libgobject-2.0.0.dylib`g_type_class_ref + 1163
    frame #15: 0x0000000100205ddf libgobject-2.0.0.dylib`g_type_class_ref + 287
    frame #16: 0x00000001001f254d libgobject-2.0.0.dylib`g_object_new + 237
    frame #17: 0x000000010010530f libgstreamer-1.0.0.dylib`gst_element_factory_create + 282
    frame #18: 0x00000001001054c3 libgstreamer-1.0.0.dylib`gst_element_factory_make + 100
    frame #19: 0x000000010016b35d libgstreamer-1.0.0.dylib`priv_gst_parse_yyparse + 2125
    frame #20: 0x000000010016db15 libgstreamer-1.0.0.dylib`priv_gst_parse_launch + 133
    frame #21: 0x0000000100166808 libgstreamer-1.0.0.dylib`gst_parse_launch_full + 85
    frame #22: 0x000000010016675c libgstreamer-1.0.0.dylib`gst_parse_launchv_full + 479
    frame #23: 0x0000000100002a59 gst-launch-1.0`main + 1061
    frame #24: 0x00007fff7bc353d5 libdyld.dylib`start + 1
@michaelgruner michaelgruner added the bug Something isn't working label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant