Bug#477112: marked as done (libqt4: QTreeView dumps core)
Your message dated Mon, 02 Jun 2008 09:34:20 +1000
with message-id <1212363260.25294.615.camel@edge.scott.net.au>
and subject line
has caused the Debian Bug report #477112,
regarding libqt4: QTreeView dumps core
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
477112: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477112
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Subject: libqt4: QTreeView dumps core
Package: libqt4-gui
Version: 4.4.0~rc1-4
Severity: normal
Hi,
I've started to see problems in my QT4 app using the QTreeView
widget, since recently upgrading (I believe I upgraded from an
earlier 4.4 to the current unstable version - 4.4.0-rc1-4).
This particular problem seems to be to do with changing the
font style in some rows - if I comment out the code which sets
certain rows as italic, then this particular core dump no
longer occurs.
cheers.
9:21 nathans@edge /source/git/kmchart/src/chart 63> gdb -q ./kmchart
(gdb) r -h qc.qa.acx
Starting program: /source/git/kmchart/src/chart/kmchart -h qc.qa.acx
[Thread debugging using libthread_db enabled]
[New Thread 0x2ae0b0aa6020 (LWP 628)]
[New Thread 0x40800950 (LWP 635)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2ae0b0aa6020 (LWP 628)]
0x00002ae0ac4c27bf in ?? () from /usr/lib/libQtGui.so.4
(gdb) bt
#0 0x00002ae0ac4c27bf in ?? () from /usr/lib/libQtGui.so.4
#1 0x00002ae0ac4c34d6 in ?? () from /usr/lib/libQtGui.so.4
#2 0x00002ae0ac48c238 in QTreeView::drawRow ()
from /usr/lib/libQtGui.so.4
#3 0x00002ae0ac493181 in QTreeView::drawTree ()
from /usr/lib/libQtGui.so.4
#4 0x00002ae0ac494063 in QTreeView::paintEvent ()
from /usr/lib/libQtGui.so.4
#5 0x00002ae0ac0423f5 in QWidget::event () from /usr/lib/libQtGui.so.4
#6 0x00002ae0ac33f6d6 in QFrame::event () from /usr/lib/libQtGui.so.4
#7 0x00002ae0ac3c3d59 in QAbstractScrollArea::viewportEvent ()
from /usr/lib/libQtGui.so.4
#8 0x00002ae0ac45e4e5 in QAbstractItemView::viewportEvent ()
from /usr/lib/libQtGui.so.4
#9 0x00002ae0ac49262b in QTreeView::viewportEvent ()
from /usr/lib/libQtGui.so.4
#10 0x00002ae0ac3c4ef8 in ?? () from /usr/lib/libQtGui.so.4
#11 0x00002ae0acdb981f in
QCoreApplicationPrivate::sendThroughObjectEventFilters ()
from /usr/lib/libQtCore.so.4
#12 0x00002ae0abff3600 in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#13 0x00002ae0abff8205 in QApplication::notify ()
from /usr/lib/libQtGui.so.4
#14 0x00002ae0acdb9519 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#15 0x00002ae0ac049c2c in ?? () from /usr/lib/libQtGui.so.4
#16 0x00002ae0ac045301 in QWidgetPrivate::drawWidget ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libQtGui.so.4
#17 0x00002ae0ac045a02 in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#18 0x00002ae0ac044f15 in QWidgetPrivate::drawWidget ()
from /usr/lib/libQtGui.so.4
#19 0x00002ae0ac045a02 in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#20 0x00002ae0ac04592f in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#21 0x00002ae0ac04592f in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#22 0x00002ae0ac04592f in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#23 0x00002ae0ac04592f in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#24 0x00002ae0ac04592f in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#25 0x00002ae0ac04592f in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
#26 0x00002ae0ac044f15 in QWidgetPrivate::drawWidget ()
from /usr/lib/libQtGui.so.4
#27 0x00002ae0ac045a02 in QWidgetPrivate::paintSiblingsRecursive ()
from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) q
The program is running. Exit anyway? (y or n) y
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-6-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libqt4-gui depends on:
ii fontconfig 2.5.0-2 generic font configuration
library
ii libaudio2 1.9.1-2 Network Audio System -
shared libr
ii libc6 2.7-10 GNU C Library: Shared
libraries
ii libfontconfig1 2.5.0-2 generic font configuration
library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine,
shared lib
ii libgcc1 1:4.3.0-3 GCC support library
ii libglib2.0-0 2.16.3-2 The GLib library of C
routines
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange
library
ii libjpeg62 6b-14 The Independent JPEG
Group's JPEG
ii libmng1 1.0.9-1 Multiple-image Network
Graphics li
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libqt4-svg 4.4.0~rc1-4 Qt 4 SVG module
ii libqtcore4 4.4.0~rc1-4 Qt 4 core module
ii libsm6 2:1.0.3-1+b1 X11 Session Management
library
ii libstdc++6 4.3.0-3 The GNU Standard C++
Library v3
ii libtiff4 3.8.2-8 Tag Image File Format
(TIFF) libra
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension
librar
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension
client libra
ii zlib1g 1:1.2.3.3.dfsg-12 compression library -
runtime
--- End Message ---
--- Begin Message ---
Hi all,
This bug turned out to be thanks to wayward pointers in
my application referencing data structures incorrectly.
With the application bug fixed, the QTreeView is now
functioning as advertised, on both QT4.3 and 4.4 - so I
apologise for the noise & wasting your time on this one;
closing it out in the bug system now.
cheers.
--
Nathan
--- End Message ---
Reply to: