Debian Bug report logs - #610400
opencv: usage of external lapack breaks cvCalibrateCamera2

version graph

Package: opencv; Maintainer for opencv is Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>;

Reported by: Sven Geggus <lists@fuchsschwanzdomain.de>

Date: Tue, 18 Jan 2011 11:09:01 UTC

Severity: important

Found in version 2.1.0-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>:
Bug#610400; Package opencv. (Tue, 18 Jan 2011 11:09:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Geggus <lists@fuchsschwanzdomain.de>:
New Bug report received and forwarded. Copy sent to Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>. (Tue, 18 Jan 2011 11:09:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Sven Geggus <lists@fuchsschwanzdomain.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: opencv: usage of external lapack breaks cvCalibrateCamera2
Date: Tue, 18 Jan 2011 11:52:59 +0100
Package: opencv
Version: 2.1.0-3
Severity: important
Tags: squeeze sid

Since Version 2.1.0-1 the opencv package has been altered to no longer use
the internal lapack library (opencv_lapack) by means of the
fix_3rdparty_build.patch.

Unfortunately this will at least cause a segmentation fault in
"cvCalibrateCamera2". Probably other lapack related functions are also
affected.

Removing fix_3rdparty_build.patch from package build leads to a usable
package.

C-code for testing the mentioned function is available on request.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-01659-gf14eb00 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>:
Bug#610400; Package opencv. (Mon, 24 Jan 2011 03:36:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nobuhiro Iwamatsu <iwamatsu@nigauri.org>:
Extra info received and forwarded to list. Copy sent to Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>. (Mon, 24 Jan 2011 03:36:05 GMT) Full text and rfc822 format available.

Message #10 received at 610400@bugs.debian.org (full text, mbox):

From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
To: Sven Geggus <lists@fuchsschwanzdomain.de>, 610400@bugs.debian.org
Subject: Re: [Pkg-scicomp-devel] Bug#610400: opencv: usage of external lapack breaks cvCalibrateCamera2
Date: Mon, 24 Jan 2011 12:33:09 +0900
Hi,

Thanks for your report!

2011/1/18 Sven Geggus <lists@fuchsschwanzdomain.de>:
> Package: opencv
> Version: 2.1.0-3
> Severity: important
> Tags: squeeze sid
>
> Since Version 2.1.0-1 the opencv package has been altered to no longer use
> the internal lapack library (opencv_lapack) by means of the
> fix_3rdparty_build.patch.
>
> Unfortunately this will at least cause a segmentation fault in
> "cvCalibrateCamera2". Probably other lapack related functions are also
> affected.
>
> Removing fix_3rdparty_build.patch from package build leads to a usable
> package.
>
> C-code for testing the mentioned function is available on request.

I checked this using opencv-2.1.0/samples/c/calibration.cpp.
I does not have segmentation fault.

Could you check this on your environment?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>:
Bug#610400; Package opencv. (Wed, 02 Feb 2011 11:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Geggus <lists@fuchsschwanzdomain.de>:
Extra info received and forwarded to list. Copy sent to Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>. (Wed, 02 Feb 2011 11:24:04 GMT) Full text and rfc822 format available.

Message #15 received at 610400@bugs.debian.org (full text, mbox):

From: Sven Geggus <lists@fuchsschwanzdomain.de>
To: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: 610400@bugs.debian.org
Subject: Re: [Pkg-scicomp-devel] Bug#610400: opencv: usage of external lapack breaks cvCalibrateCamera2
Date: Wed, 2 Feb 2011 12:04:20 +0100
Nobuhiro Iwamatsu schrieb am Montag, den 24. Januar um 04:33 Uhr:

> I checked this using opencv-2.1.0/samples/c/calibration.cpp.
> I does not have segmentation fault.

It does when called with "correct" parameters like in our usage scenario:
 c/ > ./calibration  -w 6 -h 8 -s 2 -n 10 -o camera.yml -op -oe right*.jpg
When the live video from camera is used as input, the following hot-keys may
be used:
  <ESC>, 'q' - quit the program
  'g' - start capturing images
  'u' - switch undistortion on/off
Segmentation fault

In contrast when fix_3rdparty_build.patch is removed from
debian/patches/series the resultion package works just fine (no segfault).

Lapack in charge is libatlas3gf-base 3.8.3-27 from Debian squeeze

Regards

Sven

-- 
"We just typed make"
(Stephen Lambrigh, Director of Server Product Marketing at Informix
                                      about porting their Database to Linux)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>:
Bug#610400; Package opencv. (Thu, 03 Feb 2011 02:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nobuhiro Iwamatsu <iwamatsu@nigauri.org>:
Extra info received and forwarded to list. Copy sent to Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>. (Thu, 03 Feb 2011 02:39:03 GMT) Full text and rfc822 format available.

Message #20 received at 610400@bugs.debian.org (full text, mbox):

From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
To: Sven Geggus <lists@fuchsschwanzdomain.de>
Cc: 610400@bugs.debian.org
Subject: Re: [Pkg-scicomp-devel] Bug#610400: opencv: usage of external lapack breaks cvCalibrateCamera2
Date: Thu, 3 Feb 2011 11:35:01 +0900
Hi,

2011/2/2 Sven Geggus <lists@fuchsschwanzdomain.de>:
> Nobuhiro Iwamatsu schrieb am Montag, den 24. Januar um 04:33 Uhr:
>
>> I checked this using opencv-2.1.0/samples/c/calibration.cpp.
>> I does not have segmentation fault.
>
> It does when called with "correct" parameters like in our usage scenario:
>  c/ > ./calibration  -w 6 -h 8 -s 2 -n 10 -o camera.yml -op -oe right*.jpg
> When the live video from camera is used as input, the following hot-keys may
> be used:
>  <ESC>, 'q' - quit the program
>  'g' - start capturing images
>  'u' - switch undistortion on/off
> Segmentation fault
>
> In contrast when fix_3rdparty_build.patch is removed from
> debian/patches/series the resultion package works just fine (no segfault).
>
> Lapack in charge is libatlas3gf-base 3.8.3-27 from Debian squeeze

Do you check on i386?  I checked on amd64, but I could not get
Segmentation fault.
I will check on i386 after.

BTW, the revision (drop fix_3rdparty_build.patch or other)) of this
bug  I am not in time for squeeze (6.0).
I am going to revise it with 6.0.1.

Best regards,
  Nobuhiro

---
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>:
Bug#610400; Package opencv. (Thu, 03 Feb 2011 09:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Geggus <lists@fuchsschwanzdomain.de>:
Extra info received and forwarded to list. Copy sent to Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>. (Thu, 03 Feb 2011 09:15:03 GMT) Full text and rfc822 format available.

Message #25 received at 610400@bugs.debian.org (full text, mbox):

From: Sven Geggus <lists@fuchsschwanzdomain.de>
To: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: 610400@bugs.debian.org
Subject: Re: [Pkg-scicomp-devel] Bug#610400: opencv: usage of external lapack breaks cvCalibrateCamera2
Date: Thu, 3 Feb 2011 10:11:18 +0100
Nobuhiro Iwamatsu schrieb am Donnerstag, den 03. Februar um 03:35 Uhr:

> Do you check on i386?  I checked on amd64, but I could not get
> Segmentation fault.

Yes, this is a 32 bit machine.

Sven

-- 
/* Fuck me gently with a chainsaw... */
(David S. Miller in /usr/src/linux/arch/sparc/kernel/ptrace.c)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>:
Bug#610400; Package opencv. (Tue, 08 Feb 2011 15:51:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Geggus <lists@fuchsschwanzdomain.de>:
Extra info received and forwarded to list. Copy sent to Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>. (Tue, 08 Feb 2011 15:51:08 GMT) Full text and rfc822 format available.

Message #30 received at 610400@bugs.debian.org (full text, mbox):

From: Sven Geggus <lists@fuchsschwanzdomain.de>
To: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: 610400@bugs.debian.org
Subject: Re: [Pkg-scicomp-devel] Bug#610400: opencv: usage of external lapack breaks cvCalibrateCamera2
Date: Tue, 8 Feb 2011 16:49:47 +0100
Sven Geggus schrieb am Donnerstag, den 03. Februar um 10:11 Uhr:

> > Do you check on i386?  I checked on amd64, but I could not get
> > Segmentation fault.
> 
> Yes, this is a 32 bit machine.

Just cross checked on 64bit squeeze. No segfault there!

Sven

-- 
The source code is not comprehensible
                 (found in bug section of man 8 telnetd on Redhat Linux)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web




Added tag(s) wheezy. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Wed, 16 Feb 2011 19:05:01 GMT) Full text and rfc822 format available.

Removed tag(s) sid, squeeze, and wheezy. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Sat, 24 Dec 2011 12:49:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 16:42:12 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.