[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586175: qt: crash of debug application



Package: qt4-dev-tools
Version: 4:4.6.3-1
Severity: important
File: qt

This bug is not present on previous version of Qt.

On a 64 bit architecture (i don't have the problem on 32bit). When i compile this
simple program. At the execition the program halt with "SIGSEGV" if i compile the
program with -Os or with CONFIG += debug, or both

.Pro file
SOURCES = testutils.cpp
CONFIG += qtestlib
CONFIG += debug
#QMAKE_CXXFLAGS_RELEASE = "-Os"

.Cpp file

#include <QtTest/QtTest>


class TestUtils : public QObject
{
        Q_OBJECT
private slots:
        void initTestCase();

        void test();

        void cleanupTestCase();
private:

};

void TestUtils::initTestCase()
{
}

void TestUtils::test()
{

}                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                           
void TestUtils::cleanupTestCase()                                                                                                                                                                                                                                                                                          
{                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                           
}                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                           
QTEST_MAIN(TestUtils)                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                           
#include "testutils.moc" 


I have another problem to (Segmentation fault on 64bit) with another application
but i don't find the way to reproduce the other problem.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qt4-dev-tools depends on:
ii  libc6                         2.11.1-3   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-1  GCC support library
ii  libpng12-0                    1.2.43-1   PNG library - runtime
ii  libqt4-dbus                   4:4.6.3-1  Qt 4 D-Bus module
ii  libqt4-help                   4:4.6.3-1  Qt 4 help module
ii  libqt4-network                4:4.6.3-1  Qt 4 network module
ii  libqt4-sql                    4:4.6.3-1  Qt 4 SQL module
ii  libqt4-sql-sqlite             4:4.6.3-1  Qt 4 SQLite 3 database driver
ii  libqt4-webkit                 4:4.6.3-1  Qt 4 WebKit module
ii  libqt4-xml                    4:4.6.3-1  Qt 4 XML module
ii  libqt4-xmlpatterns            4:4.6.3-1  Qt 4 XML patterns module
ii  libqtcore4                    4:4.6.3-1  Qt 4 core module
ii  libqtgui4                     4:4.6.3-1  Qt 4 GUI module
ii  libstdc++6                    4.4.4-1    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.3.3-3  X11 client-side library
ii  libxtst6                      2:1.1.0-2  X11 Testing -- Resource extension 

Versions of packages qt4-dev-tools recommends:
ii  libqt4-dev                    4:4.6.3-1  Qt 4 development files
ii  qt4-designer                  4:4.6.3-1  graphical designer for Qt 4 applic
ii  qt4-doc                       4:4.6.3-1  Qt 4 API documentation

Versions of packages qt4-dev-tools suggests:
ii  qt4-doc-html                  4:4.6.3-1  Qt 4 API documentation (HTML forma

-- no debconf information



Reply to: