Public bug reported:

The code is quite simple. A gui with a button. When button is clicked
call the opencv's cvNamedWindow(..) method!.. I made some search on the
net but could not find adequate information.

My computer's configuration is
$uname -a
Linux programex 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 
GNU/Linux

The Code
------------

#include "denemewindow.h"

DenemeWindow::DenemeWindow(QWidget* parent):QMainWindow(parent)
{
  setupUi(this);

  connect(pushButton, SIGNAL(clicked()), this, SLOT(showOpenCVWindow()));
}

DenemeWindow::~DenemeWindow()
{
}

void DenemeWindow::showOpenCVWindow()
{
  cvNamedWindow("opencv", 1); //this call results the program to crash :S
}


GDB's output
-----------------
#0  0x00002b2321212916 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0  0x00002b2321212916 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
#1  0x00002b2320f11225 in QMetaObjectCleanUp::QMetaObjectCleanUp () from 
/usr/lib/libqt-mt.so.3
#2  0x00002b23212cc56f in ?? () from /usr/lib/libqt-mt.so.3
#3  0x00002b23212cc59d in ?? () from /usr/lib/libqt-mt.so.3
#4  0x00002b23212cc856 in ?? () from /usr/lib/libqt-mt.so.3
#5  0x0000000000823f40 in ?? ()
#6  0x0000000000823ab0 in ?? ()
#7  0x0000000000823600 in ?? ()
#8  0x00002b2320e0341b in _init () from /usr/lib/libqt-mt.so.3
#9  0x00002b23208aba82 in ?? () from 
/usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so
#10 0x00002b23179e6d76 in ?? () from /lib64/ld-linux-x86-64.so.2
#11 0x00002b23179e6e9e in ?? () from /lib64/ld-linux-x86-64.so.2
#12 0x00002b23179eaedc in ?? () from /lib64/ld-linux-x86-64.so.2
#13 0x00002b23179e6a06 in ?? () from /lib64/ld-linux-x86-64.so.2
#14 0x00002b23179ea55b in ?? () from /lib64/ld-linux-x86-64.so.2
#15 0x00002b231a31ff8b in ?? () from /lib/libdl.so.2
#16 0x00002b23179e6a06 in ?? () from /lib64/ld-linux-x86-64.so.2
#17 0x00002b231a3204ed in ?? () from /lib/libdl.so.2
#18 0x00002b231a31fef1 in dlopen () from /lib/libdl.so.2
#19 0x00002b231d688a1f in g_module_open () from /usr/lib/libgmodule-2.0.so.0
#20 0x00002b231ab44a1b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00002b231d47004c in g_type_module_use () from /usr/lib/libgobject-2.0.so.0
#22 0x00002b231ab44922 in gtk_theme_engine_get () from 
/usr/lib/libgtk-x11-2.0.so.0
#23 0x00002b231aacd4d3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00002b231aacf8c3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00002b231aad00bd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00002b231aad04a6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x00002b231aad0652 in ?? () from /usr/lib/libgtk-x11-2.0.so.0


This is my first bug report, sorry for mistakes. Any criticism about the report 
welcome :)
Fuat Geleri

** Affects: opencv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
OpenCV's cvNamedWindow("..") crashes when called within a QT application
https://bugs.launchpad.net/bugs/159650
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to