Skip to content

Python binding errors #691

@rvalue

Description

@rvalue

Expected behaviour

When trackbar is created using a callback function, and the trackbar is used, the callback function is called

Actual behaviour

When trackbar is created using a callback function, and the trackbar is used, program outputs a segfault and terminates.

$ python trackbar.py
Scale: 10
[1]    2896 segmentation fault  python trackbar.py

See Also: https://gist.github.com/rvalue/85247541e298fb01451c5679c3bb8a45

Steps to reproduce

  • example code
  • operating system = macOS Monterey 12.4
  • architecture = arm64 (M1 Apple Silicon)
  • opencv-python version = 4.6.0.66
Issue submission checklist
  • This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • I'm using the latest version of opencv-python

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