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

Bug#357939: marked as done (libqt4-dev: Crashes when mixing debug and release libraries)



Your message dated Mon, 30 Oct 2006 22:36:32 -0500
with message-id <87ejsp40n3.fsf@scabbers.bignachos.com>
and subject line Should be fixed in 4.2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libqt4-dev
Version: 4.1.1-1
Severity: normal
X-Debbugs-Cc: bensmail@gmx.net


Since the update to QT 4.1.1 my application (packagesearch) crashes when
calling qApp->processEvents() in some places, everything worked fine 
with QT 4.1.0.

I was not able to reproduce the crash in a small example, but you can pull
packagesearch from SourceForge subversion:
https://svn.sourceforge.net/svnroot/packagesearch/trunk/packagesearch

There are some lines commented out calling qApp->processEvents() 
(e.g. in src/pluginmanager.cpp). 
If you uncomment the first qApp->processEvents() call in pluginmanager
packagesearch will crash on startup, uncommenting the second works fine 
though.

The error message look kinda weird...:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1230649664 (LWP 10189)]
0xb756c304 in qvariant_cast_helper (v=@0xbfbcbb34, tp=QVariant::TextLength, ptr=0xbfbcbae4) at qvariant.h:387
387     qvariant.h: No such file or directory.
        in qvariant.h
(gdb) backtrace
#0  0xb756c304 in qvariant_cast_helper (v=@0xbfbcbb34, tp=QVariant::TextLength, ptr=0xbfbcbae4) at 
qvariant.h:387
#1  0xb76f3aa6 in qvariant_cast<QTextLength> (v=@0xbfbcbb34) at qvariant.h:627
#2  0xb76f0ede in QTextFormat::lengthProperty (this=0xbfbcbc34, propertyId=16387) at text/qtextformat.cpp:772
#3  0xb7706884 in QTextFrameFormat::width (this=0xbfbcbc34) at qtextformat.h:541
#4  0xb77264fc in QTextDocumentLayoutPrivate::layoutFrame (this=0x8481700, f=0x847fdb8, layoutFrom=0,
    layoutTo=2147483647) at text/qtextdocumentlayout.cpp:1486
#5  0xb77266d3 in QTextDocumentLayout::doLayout (this=0x84816f0, from=0, oldLength=0, length=2147483647)
    at text/qtextdocumentlayout.cpp:2212
#6  0xb77267ab in QTextDocumentLayoutPrivate::ensureLayoutedByPosition (this=0x8481700, position=1000)
    at text/qtextdocumentlayout.cpp:2360
#7  0xb7726cc0 in QTextDocumentLayoutPrivate::layoutStep (this=0x8481700) at text/qtextdocumentlayout.cpp:2366
#8  0xb77272c9 in QTextDocumentLayout::documentChanged (this=0x84816f0, from=0, oldLength=0, length=7)
    at text/qtextdocumentlayout.cpp:2173
#9  0xb7700ee1 in QTextDocument::setPageSize (this=0x847f980, size=@0xbfbcc168) at text/qtextdocument.cpp:821
#10 0xb781b9a4 in QLabel::paintEvent (this=0x843ff38) at widgets/qlabel.cpp:811
#11 0xb75ad192 in QWidget::event (this=0x843ff38, event=0xbfbcc86c) at kernel/qwidget.cpp:5132
#12 0xb781507e in QFrame::event (this=0x843ff38, e=0xbfbcc86c) at widgets/qframe.cpp:600
#13 0xb781af7c in QLabel::event (this=0x843ff38, e=0xbfbcc86c) at widgets/qlabel.cpp:751
#14 0xb755953d in QApplicationPrivate::notify_helper (this=0x8291dd8, receiver=0x843ff38, e=0xbfbcc86c)
    at kernel/qapplication.cpp:3137
#15 0xb755b294 in QApplication::notify (this=0xbfbce658, receiver=0x843ff38, e=0xbfbcc86c)
    at kernel/qapplication.cpp:3098
#16 0xb756236d in QCoreApplication::sendSpontaneousEvent (receiver=0x843ff38, event=0xbfbcc86c)
    at qcoreapplication.h:174
#17 0xb75b735a in qt_sendSpontaneousEvent (receiver=0x843ff38, event=0xbfbcc86c) at 
kernel/qapplication_x11.cpp:4957
#18 0xb76a949e in QWidgetPrivate::drawWidget (this=0x8441088, pdev=0x829f020, rgn=@0xbfbcc9f8, 
offset=@0xbfbcca34,
    flags=4) at painting/qbackingstore.cpp:842
#19 0xb76a9df9 in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbccd10, index=3,
    rgn=@0xbfbccadc, offset=@0xbfbcceb4, flags=4) at painting/qbackingstore.cpp:778
#20 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbccd10, index=4,
    rgn=@0xbfbccbbc, offset=@0xbfbcceb4, flags=4) at painting/qbackingstore.cpp:769
#21 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbccd10, index=5,
    rgn=@0xbfbcce78, offset=@0xbfbcceb4, flags=4) at painting/qbackingstore.cpp:769
#22 0xb76a98dc in QWidgetPrivate::drawWidget (this=0x8440730, pdev=0x829f020, rgn=@0xbfbcce78, 
offset=@0xbfbcceb4,
    flags=4) at painting/qbackingstore.cpp:872
#23 0xb76a9df9 in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd190, index=0,
    rgn=@0xbfbccf5c, offset=@0xbfbcd334, flags=4) at painting/qbackingstore.cpp:778
#24 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd190, index=2,
    rgn=@0xbfbcd03c, offset=@0xbfbcd334, flags=4) at painting/qbackingstore.cpp:769
#25 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd190, index=3,
    rgn=@0xbfbcd2f8, offset=@0xbfbcd334, flags=4) at painting/qbackingstore.cpp:769
#26 0xb76a98dc in QWidgetPrivate::drawWidget (this=0x8440528, pdev=0x829f020, rgn=@0xbfbcd2f8, 
offset=@0xbfbcd334,
    flags=4) at painting/qbackingstore.cpp:872
#27 0xb76a9df9 in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd450, index=1,
    rgn=@0xbfbcd5b8, offset=@0xbfbcd5f4, flags=4) at painting/qbackingstore.cpp:778
#28 0xb76a98dc in QWidgetPrivate::drawWidget (this=0x8440240, pdev=0x829f020, rgn=@0xbfbcd5b8, 
offset=@0xbfbcd5f4,
    flags=4) at painting/qbackingstore.cpp:872
#29 0xb76a9df9 in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd9b0, index=9,
    rgn=@0xbfbcd69c, offset=@0x829f02c, flags=4) at painting/qbackingstore.cpp:778
#30 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd9b0, index=10,
    rgn=@0xbfbcd77c, offset=@0x829f02c, flags=4) at painting/qbackingstore.cpp:769
#31 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd9b0, index=12,
    rgn=@0xbfbcd85c, offset=@0x829f02c, flags=4) at painting/qbackingstore.cpp:769
#32 0xb76a9bcd in QWidgetBackingStore::paintSiblingsRecursive (pdev=0x829f020, siblings=@0xbfbcd9b0, index=13,
    rgn=@0xbfbcdaf8, offset=@0x829f02c, flags=4) at painting/qbackingstore.cpp:769
#33 0xb76a98dc in QWidgetPrivate::drawWidget (this=0x843efa8, pdev=0x829f020, rgn=@0xbfbcdaf8, 
offset=@0x829f02c,
    flags=5) at painting/qbackingstore.cpp:872
#34 0xb76aa0f1 in QWidgetBackingStore::cleanRegion (this=0x829f018, rgn=@0xbfbcdb80, widget=0x8440a80,
    recursiveCopyToScreen=true) at painting/qbackingstore.cpp:694
#35 0xb76aa8cf in qt_syncBackingStore (widget=0x8440a80) at painting/qbackingstore.cpp:273
#36 0xb75ad704 in QWidget::event (this=0x8440a80, event=0x8474240) at kernel/qwidget.cpp:5267
#37 0xb786ddd5 in QSplitter::event (this=0x8440a80, e=0x8474240) at widgets/qsplitter.cpp:1252
#38 0xb755953d in QApplicationPrivate::notify_helper (this=0x8291dd8, receiver=0x8440a80, e=0x8474240)
    at kernel/qapplication.cpp:3137
#39 0xb755b294 in QApplication::notify (this=0xbfbce658, receiver=0x8440a80, e=0x8474240)
    at kernel/qapplication.cpp:3098
#40 0xb73ef893 in QCoreApplication::sendEvent (receiver=0x8440a80, event=0x8474240) at qcoreapplication.h:171
#41 0xb73ef101 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at 
kernel/qcoreapplication.cpp:974
#42 0xb75da17e in QCoreApplication::sendPostedEvents () at qcoreapplication.h:176
#43 0xb75d9d7e in QEventDispatcherX11::processEvents (this=0x82968a8, flags=@0xbfbce2c4)
    at kernel/qeventdispatcher_x11.cpp:54
#44 0xb73eb2eb in QCoreApplication::processEvents (flags=@0xbfbce37c) at kernel/qcoreapplication.cpp:597
#45 0x081159e3 in NPlugin::PluginManager::loadPlugins (this=0x8473d10) at pluginmanager.cpp:92
#46 0x080f3f46 in PackageSearchImpl::initialize (this=0xbfbce458) at packagesearchimpl.cpp:235
#47 0x080f184e in main (argc=1, argv=0xbfbce714) at main.cpp:106


Best regards 

Ben



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.6
Locale: LANG=en_GB.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)

Versions of packages libqt4-dev depends on:
ii  libaudio-dev         1.7-2               The Network Audio System (NAS). (d
ii  libfreetype6-dev     2.1.10-1            FreeType 2 font engine, developmen
ii  libglu1-xorg-dev [li 6.8.2.dfsg.1-4      Mesa OpenGL utility library develo
ii  libice-dev           4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library deve
ii  libjpeg62-dev        6b-10               Development files for the IJG JPEG
ii  libmng-dev           1.0.8-1             M-N-G library (Development headers
ii  libpng12-dev [libpng 1.2.8rel-1          PNG library - development
ii  libqt4-core          4.1.1-1             Qt 4 core non-GUI functionality ru
ii  libqt4-gui           4.1.1-1             Qt 4 core GUI functionality runtim
ii  libqt4-qt3support    4.1.1-1             Qt 3 compatibility library for Qt 
ii  libqt4-sql           4.1.1-1             Qt 4 SQL database module
ii  libsm-dev            4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libx11-dev           6.8.2.dfsg.1-7      X Window System protocol client li
ii  libxcursor-dev       1.1.3-1             X cursor management library (devel
ii  libxext-dev          6.8.2.dfsg.1-7      X Window System miscellaneous exte
ii  libxft-dev           2.1.8.2-3           FreeType-based font drawing librar
ii  libxi-dev            6.8.2.dfsg.1-7      X Window System Input extension li
ii  libxinerama-dev      6.8.2.dfsg.1-9      X Window System multi-head display
ii  libxmu-dev           6.8.2.dfsg.1-7      X Window System miscellaneous util
ii  libxrandr-dev        6.8.2.dfsg.1-7      X Window System Resize, Rotate and
ii  libxrender-dev       1:0.9.0.2-1         X Rendering Extension client libra
ii  libxt-dev            6.8.2.dfsg.1-7      X Toolkit Intrinsics development f
ii  x-dev                6.9.0.dfsg.1-3      X protocol development files
ii  xlibmesa-gl-dev [lib 6.8.2.dfsg.1-7      Mesa 3D graphics library developme
ii  xlibs-static-pic     6.9.0.dfsg.1-3      X Window System client extension l
ii  zlib1g-dev           1:1.2.3-1           compression library - development

Versions of packages libqt4-dev recommends:
ii  qt4-dev-tools                 4.1.1-1    Qt 4 development tools

-- no debconf information




--- End Message ---
--- Begin Message ---
Version: 4.2.0-1

This should no longer be an issue in 4.2, since the way release/debug
libraries work is totally different (debug libraries are replaced with
symbol files).

-- 
Captain Logic is not steering this tugboat.

--- End Message ---

Reply to: