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

Bug#342658: libqt4-core: Locking Issue?



Package: libqt4-core
Version: 4.0.1-5
Followup-For: Bug #342658

I built your program like this

$ qmake-qt4 -project test.cpp
$ qmake-qt4 qt.pro
$ make

It seems this is a locking issue, a backtrace of when it is hung is below

(gdb) back
#0  0x2000000001363d81 in __pthread_sigsuspend (set=0x60000fffffbf7270)
    at ../linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-sigsuspend.c:32
#1  0x2000000001362380 in __pthread_wait_for_restart_signal (self=0x200000000137edc8) at pthread.c:1216
#2  0x200000000135d050 in __pthread_cond_wait (cond=0x6000000000004338, mutex=0x60000000000042e0) at restart.h:34
#3  0x200000000103f400 in QReadWriteLock::lockForWrite () from /usr/lib/libQtCore.so.4
#4  0x20000000011d0340 in qt_addObject () from /usr/lib/libQtCore.so.4
#5  0x20000000011d0e50 in QObject::QObject () from /usr/lib/libQtCore.so.4
#6  0x2000000001184e20 in QFactoryLoader::QFactoryLoader () from /usr/lib/libQtCore.so.4
#7  0x200000000120b670 in QTextDecoder::~QTextDecoder () from /usr/lib/libQtCore.so.4
#8  0x2000000001210ef0 in QTextCodec::codecForName () from /usr/lib/libQtCore.so.4
#9  0x200000000120c160 in QTextEncoder::fromUnicode () from /usr/lib/libQtCore.so.4
#10 0x200000000120efd0 in QTextCodec::codecForLocale () from /usr/lib/libQtCore.so.4
#11 0x20000000010b30d0 in QString::toLocal8Bit () from /usr/lib/libQtCore.so.4
#12 0x20000000010e04b0 in locale_encode () from /usr/lib/libQtCore.so.4
#13 0x20000000010e06f0 in QFile::encodeName () from /usr/lib/libQtCore.so.4
#14 0x20000000010f8e20 in QFileEngineHandler::QFileEngineHandler () from /usr/lib/libQtCore.so.4
#15 0x20000000010e5460 in QFile::open () from /usr/lib/libQtCore.so.4
#16 0x4000000000001070 in main ()

It seems that lock in qt_addObject has already been taken by
something.  Has anything changed in this area recently?

BTW, using the libQtCore_debug.so.4 library didn't give me any useful
line numbers or other debugging info.  If you load it into gdb and run
'info functions' all the symbols are defined as non-debugging symbols.
This may have something to do with the way it was built.

-i

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc4-gbb7e257e
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages libqt4-core depends on:
ii  libc6.1                       2.3.5-7    GNU C Library: Shared libraries an
ii  libfontconfig1                2.3.2-1.1  generic font configuration library
ii  libgcc1                       1:4.0.2-5  GCC support library
ii  libstdc++6                    4.0.2-5    The GNU Standard C++ Library v3
ii  libunwind7                    0.98.5-8   A library to determine the call-ch
ii  zlib1g                        1:1.2.3-6  compression library - runtime

libqt4-core recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature


Reply to: