This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug backtrace/10235] New: gdb segfaults when calling bt
- From: "simon+gdbbugzilla at a-oben dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 3 Jun 2009 21:32:51 -0000
- Subject: [Bug backtrace/10235] New: gdb segfaults when calling bt
- Reply-to: sourceware-bugzilla at sourceware dot org
I am trying to debug some code I wrote that uses the PCA functions of OpenCV. It
segfaults when running a gemm (matrix multiplication) from OpenCV.
Here is some output:
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
(gdb) run test2.mov bla.mov
Starting program: /home/simon/code/build/process test2.mov bla.mov
[Thread debugging using libthread_db enabled]
Processing: test2.mov
POS: 1
POS: 2
POS: 3
POS: 4
POS: 5
POS: 6
Program received signal SIGSEGV, Segmentation fault.
0xb7c4942d in GEMMSingleMul<float, double> (a_data=0xb4534200, a_step=5,
b_data=0x48634000, b_step=1244160, c_data=0x0, c_step=0, d_data=0x46e74000,
d_step=1244160, a_size=
{width = -1073757832, height = -1073757840}, d_size={width = -1073757840,
height = 0}, alpha=1, beta=0, flags=0) at
/home/simon/dipl/opencv/svn/opencvlibrary/opencv/src/cxcore/cxmatmul.cpp:312
312 WT* d_buf = (WT*)cvStackAlloc(m*sizeof(d_buf[0]));
(gdb) bt
#0 0xb7c4942d in GEMMSingleMul<float, double> (a_data=0xb4534200, a_step=5,
b_data=0x48634000, b_step=1244160, c_data=0x0, c_step=0, d_data=0x46e74000,
d_step=1244160, a_size=
{width = -1073757832, height = -1073757840}, d_size={width = -1073757840,
height = 0}, alpha=1, beta=0, flags=0) at
/home/simon/dipl/opencv/svn/opencvlibrary/opencv/src/cxcore/cxmatmul.cpp:312
#1 0xb7c4985c in GEMMSingleMul_32f (a_data=0xb4534200, a_step=20,
b_data=0x48634000, b_step=4976640, c_data=0x0, c_step=0, d_data=0x46e74000,
d_step=4976640, a_size=
{width = -1073748924, height = -1073748932}, d_size={width = -1073748932,
height = 0}, alpha=1, beta=0, flags=0) at
/home/simon/dipl/opencv/svn/opencvlibrary/opencv/src/cxcore/cxmatmul.cpp:561
#2 0xb7c4f359 in cv::gemm (A=@0xbfffe940, B=@0xbfffe748, alpha=1,
_C=@0xbfffe81c, beta=0, D=@0xbfffe708, flags=0) at
/home/simon/dipl/opencv/svn/opencvlibrary/opencv/src/cxcore/cxmatmul.cpp:1028
[1] 422 segmentation fault (core dumped) gdb process
If you require any other information please let me know. I would be happy to
help but really have no idea what is relevant in this case.
--
Summary: gdb segfaults when calling bt
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: backtrace
AssignedTo: unassigned at sourceware dot org
ReportedBy: simon+gdbbugzilla at a-oben dot org
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10235
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.