Python Forum
Segmentation fault (core dumped)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Segmentation fault (core dumped)
#2
This is a bug in Python or a library. The whole point of Python is to avoid any possibility of getting a segmentation fault. If you get one, you have discovered a bug. Python cannot generate seg faults based on your program; if there is one, it is a mistake in the implementation of Python or the library that you are calling, which may have been written in C for performance. Not your problem. The bug appears to be in sift.detectAndCompute() based on the output produced. It failed between lines 13 (successful printout) and 16 so the only possibility is line 15. File a bug report. Probably for the cv2 library.
Gribouillis and hobbyist like this post
Reply


Messages In This Thread
Segmentation fault (core dumped) - by hobbyist - Jun-07-2021, 11:27 AM
RE: Segmentation fault (core dumped) - by supuflounder - Jun-07-2021, 12:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [pyparsing] How to make my simple parser fault tolerant medihack 0 173 May-14-2024, 04:52 PM
Last Post: medihack
  Illegal instruction (core dumped) when import pandas. amandacstr 1 2,210 Dec-31-2022, 11:31 PM
Last Post: stevendaprano
  make: *** [Makefile:29: all] Segmentation fault Anldra12 2 1,955 May-01-2022, 06:17 PM
Last Post: Anldra12
  ImportError: /home/ali/Documents/test/charm/core/crypto/AES.cpython-39-x86_64-linux-g Anldra12 0 1,285 Apr-28-2022, 07:13 AM
Last Post: Anldra12
  Python script in Ubuntu core Nithin_Kumar 1 3,420 May-11-2021, 01:14 AM
Last Post: Skaperen
  Segmentation fault with large files kusal1 3 2,839 Oct-01-2019, 07:32 AM
Last Post: Gribouillis
  OpenCV - Segmentation fault samtwilliams 6 7,388 Sep-18-2019, 12:01 AM
Last Post: Larz60+
  Multiple calls to Python interpreter embedded in C++ application yield segmentation f mmoelle1 0 2,884 Mar-21-2019, 08:54 PM
Last Post: mmoelle1
  Segmentation fault when connecting to modbus device with Libmodbus alice 0 2,517 Dec-18-2018, 04:03 PM
Last Post: alice
  Debugging a seg fault tidymax 1 2,903 Oct-31-2018, 02:58 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020