Importing zbar causes python to exit with exit code 139 - what could cause this on a mac running 10.9?

后端 未结 1 473
感动是毒
感动是毒 2020-12-17 07:00

I am trying to get QR code recognition going in my opencv workflow but the program immediately exits with code 139.

import zbar causes the problem becau

相关标签:
1条回答
  • 2020-12-17 07:29

    Fatal errors are indicated by 128 + error code. In your case, this is 128 + 11 = 139, where 11 refers to SIGSEGV, i.e. invalid memory access. See also:

    • http://www.linuxjournal.com/article/10844
    • http://man7.org/linux/man-pages/man7/signal.7.html

    If you run your code through gdb, valgrind or Instruments, you may be able to find the exact location where this occurs.

    0 讨论(0)
提交回复
热议问题