SegFault in cvInvert (Bug #656)


Added by Philipp Werner over 14 years ago. Updated over 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:core
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In my linux environment cvInvert crashes when applied to some 2x2 matrices (example in attachement). I use the official libcv-dev package on Ubuntu 10.10 x86 (OpenCV version 2.1.0-2).

I'm not sure whether this is a bug in OpenCV, but I'm sure you are able to find out that quickly. The backtrace (gdb) is not very useful, but blames libblas:

Program received signal SIGSEGV, Segmentation fault.
0x02799f4b in ATL_dgemvT_a1_x1_b0_y1 () from /usr/lib/libblas.so.3gf
(gdb) bt
#0 0x02799f4b in ATL_dgemvT_a1_x1_b0_y1 () from /usr/lib/libblas.so.3gf
#1 0x0279469b in ATL_dgemv () from /usr/lib/libblas.so.3gf
#2 0xbfffcfa4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

BTW: Thank you for OpenCV. It is great.


bug.cpp - Sample code (574 Bytes) Philipp Werner, 2010-11-09 05:33 pm


Associated revisions

Revision ecdc7da6
Added by Marina Kolpakova almost 12 years ago

Merge pull request #656 from jet47:gpu-nonfree

History

Updated by Vadim Pisarevsky over 14 years ago

the sample works fine with the latest version from trunk

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF