cv2.resize causes core dump (Bug #3311)


Added by Mohsen Amiri over 11 years ago. Updated over 9 years ago.


Status:Incomplete Start date:2013-10-09
Priority:Normal Due date:
Assignee:Mohsen Amiri % Done:

0%

Category:python bindings
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x64
Pull request:

Description

import cv2
dsize = (300, 450)
img = cv2.imread('attachedimage.jpg')
img_resize = cv2.resize(img, dsize=dsize)

This snippets can cause a core dump in opencv (3.0.0-dev). I check it with the stable (2.4.6.1), and it does not have any problem.


Associated revisions

Revision 8364ea39
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3311 from BarneyBear:2.4-drawMatches-flag-fix

History

Updated by Kirill Kornyakov over 11 years ago

Please attach the 'attachedimage.jpg'.

Also, have you tried the same in C++? Do you think the issue is in Python bindings, or C++ code?

And it would be great if you could debug the issue on your side and send the fix... Thanks!

  • Category set to python bindings
  • Description changed from import cv2 dsize = (300, 450) img = cv2.imread('attachedimage.jpg') i... to <pre> import cv2 dsize = (300, 450) img = cv2.imread('attachedimage... More
  • Status changed from New to Incomplete
  • Assignee set to Mohsen Amiri

Updated by Kirill Kornyakov over 11 years ago

  • Target version set to 3.0-alpha

Updated by Maksim Shabunin almost 10 years ago

  • Target version changed from 3.0-alpha to 3.0

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4637

Also available in: Atom PDF