Bug#476608: [libqt4-dev] segfault with call to "QCursorData::update"

2008-04-17 Thread Milou
Package: libqt4-dev
Version: 4.4.0~rc1-4
Severity: grave

--- Please enter the report below this line. ---
Since the new update, one of my Qt application segfault.

Here, the backtrace :

[Thread debugging using libthread_db enabled]
[New Thread 0xb6e25720 (LWP 13798)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6e25720 (LWP 13798)]
0x080872b5 in ?? ()
(gdb) bt
#0  0x080872b5 in ?? ()
#1  0xbfd0007b in ?? ()
#2  0xb780122e in QCursorData::update (this=0x8090a18) at
kernel/qcursor_x11.cpp:290 
#3  0xb7801766 in QCursor::handle (this=0xbfd00d48) at
kernel/qcursor_x11.cpp:139 
#4  0xb7810e9e in qt_x11_enforce_cursor (w=0xbfd01320, force=false) at
kernel/qwidget_x11.cpp:313 
#5 0xb7810f39 in qt_x11_enforce_cursor (w=0xbfd01320) at
kernel/qwidget_x11.cpp:326 
#6  0xb781484b in QWidgetPrivate::create_sys (this=0x80a1f58, window=0,
initializeWindow=true, destroyOldWindow=true) at
kernel/qwidget_x11.cpp:779 
#7  0xb77de8e9 in QWidget::create (this=0xbfd01320, window=0,
initializeWindow=240, destroyOldWindow=) at
kernel/qwidget.cpp:1231 
#8 0xb77df3b4 in QWidgetPrivate::createWinId (this=0x80a1f58, winid=0)
at kernel/qwidget.cpp:2003 
#9  0xb77df31f in QWidgetPrivate::createWinId (this=0x80c0848, winid=0)
at kernel/qwidget.cpp:1984 
#10 0xb77df564 in QWidgetPrivate::setWindowTitle_helper (this=0x80c0848,
[EMAIL PROTECTED]) at kernel/qwidget.cpp:4850 
#11 0xb77dfa06 in QWidget::setWindowTitle (this=0x80b8050,
[EMAIL PROTECTED]) at kernel/qwidget.cpp:4881 
#12 0xb7b30dc6 in QMainWindow::addToolBar (this=0xbfd01320,
[EMAIL PROTECTED]) at widgets/qmainwindow.cpp:713 
#13 0x08052671 in gpsQt::createToolBars (this=0xbfd01320) at
Sources/gpsqt.cpp:297 
#14 0x080554cf in gpsQt (this=0xbfd01320) at Sources/gpsqt.cpp:72 
#15 0x0806475c in main (argc=1, argv=0xbfd01454) at Sources/main.cpp:8

(sorry for the destroyed indentation)

And when I downgrade libqt4-dev (and his dependencies) to version
4.4.0~rc1-2, everything is ok, my soft don't segfault.



--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.24-1-686

Debian Release: lenny/sid
  500 unstablewww.debian-multimedia.org 
  500 unstableftp.de.debian.org 

--- Package information. ---
Depends(Version) | Installed
-+-
libaudio-dev | 1.9.1-2
libc6 (>= 2.7-1) | 2.7-10
libcupsys2-dev   | 1.3.7-1
libdbus-1-dev| 1.2.1-1
libfreetype6-dev | 2.3.5-1+b1
libgcc1  (>= 1:4.1.1-21) | 1:4.3.0-3
libgl1-mesa-dev  | 7.0.3-1
 OR libgl-dev| 
libglib2.0-dev   | 2.16.3-2
libglu1-mesa-dev | 7.0.3-1
 OR libglu-dev   | 
libice-dev   | 2:1.0.4-1
libiodbc2-dev| 3.52.6-2
libjpeg62-dev| 6b-14
libmng-dev   | 1.0.9-1
libmysqlclient15-dev | 5.0.51a-3
libpam0g-dev | 0.99.7.1-6
libpng12-dev | 1.2.15~beta5-3
libpq-dev| 8.3.1-1
libqt4-assistant (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-dbus  (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-designer  (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-gui   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-help  (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-network   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-opengl(= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-qt3support(= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-script(= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql-ibase (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql-mysql (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql-odbc  (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql-psql  (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql-sqlite(= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-sql-sqlite2   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-svg   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-test  (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-webkit(= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-xml   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqt4-xmlpatterns   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libqtcore4   (= 4.4.0~rc1-2) | 4.4.0~rc1-2
libreadline5-dev | 5.2-3
libsm-dev| 2:1.0.3-1+b1
libsqlite0-dev   | 2.8.17-4
libsqlite3-dev   | 3.5.7-2
libstdc++6 (>= 4.1.1-21) | 4.3.0-3
libtiff4-dev | 3.8.2-8
libx11-dev   | 2:1.0.3-7
libxcursor-dev   | 1:1.1.9-1
libxext-dev  | 2:1.0.4-1
libxft

Bug#476608: [libqt4-dev] segfault with call to "QCursorData::update"

2008-04-21 Thread Milou
Le Mon, 21 Apr 2008 19:02:34 +0300
Modestas Vainius à écrit:

> severity 476608 grave
> thanks
> 
Hi,

> 2008 m. April 21 d., Monday, Modestas Vainius rašė:
> > I don't see how downgrade could have changed anything. Please reinstall
> > 4.4.0~rc1-4 and make sure your system is up-to-date.
> I stand corrected. When you upgrade libqt4-dev to 4.4.0~rc1-4, does get 
> libxcursor1 removed automatically? In either case, please test your app with 
> and without libxcursor1 package installed. I've almost confirmed your bug.

Mmmh, libxcursor1 is installed and I can't remove them, aptitude
propose to remove 30 other packages (k3b, kdesktop...)

And most strange is that this version 4.4.0~rc1-4 work very well with
the same software but an arch am64

This two systems are sid up-to-date.

mil
ps : and I don't have change any cursors...
-- 
Les femmes pardonnent parfois à celui qui brusque l'occasion, mais
jamais à celui qui la manque. 
-+- Charles-Maurice de Talleyrand-Perigord -+-




Bug#476608: [libqt4-dev] segfault with call to "QCursorData::update"

2008-04-21 Thread Milou
Le Mon, 21 Apr 2008 20:07:04 +0300
Modestas Vainius à écrit:

> Hi,
> 
> 2008 m. April 21 d., Monday, jūs rašėte:
> > Mmmh, libxcursor1 is installed and I can't remove them, aptitude
> > propose to remove 30 other packages (k3b, kdesktop...)
> Then could you install libxcursor1-dbg and try to reproduce the issue.
> Post a backtrace here.

The bt with libxcursor1-dbg installed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6dd4720 (LWP 10492)]
0x0808b2b4 in ?? ()
(gdb) bt
#0  0x0808b2b4 in ?? ()
#1  0x0808f3f0 in ?? ()
#2  0xb7d261c0 in QCursorData::update()::cur_blank_bits ()
from /usr/lib/libQtGui.so.4 
#3  0x0004 in ?? ()
#4  0xb77b0766 in QCursor::handle (this=0xb77b022e) at
kernel/qcursor_x11.cpp:139 
#5  0xb77bfe9e in qt_x11_enforce_cursor (w=0x8094a18, force=false) at
kernel/qwidget_x11.cpp:313 
#6  0xb77bff39 in qt_x11_enforce_cursor (w=0xbfa78088) at
kernel/qwidget_x11.cpp:326 
#7  0xb77c384b in QWidgetPrivate::create_sys (this=0x80afa50, window=0,
initializeWindow=true, destroyOldWindow=true) at
kernel/qwidget_x11.cpp:779 
#8  0xb778d8e9 in QWidget::create (this=0xbfa78088, window=0,
initializeWindow=240, destroyOldWindow=) at
kernel/qwidget.cpp:1231 
#9 0xb778e3b4 in QWidgetPrivate::createWinId (this=0x80afa50, winid=0)
at kernel/qwidget.cpp:2003 
#10 0xb778e31f in QWidgetPrivate::createWinId (this=0x80caa88, winid=0)
at kernel/qwidget.cpp:1984 
#11 0xb778e564 in QWidgetPrivate::setWindowTitle_helper (this=0x80caa88,
[EMAIL PROTECTED]) at kernel/qwidget.cpp:4850 
#12 0xb778ea06 in QWidget::setWindowTitle (this=0x80be998,
[EMAIL PROTECTED]) at kernel/qwidget.cpp:4881 
#13 0xb7adfdc6 in QMainWindow::addToolBar (this=0xbfa78088,
[EMAIL PROTECTED]) at widgets/qmainwindow.cpp:713 
#14 0x080534ab in gpsQt::createToolBars (this=0xbfa78088) at
Sources/gpsqt.cpp:315 
#15 0x08056672 in gpsQt (this=0xbfa78088) at Sources/gpsqt.cpp:78 
#16 0x08067a60 in main (argc=1, argv=0xbfa781c4) at Sources/main.cpp:8

mil
-- 
Il y a trois savoirs : le savoir proprement dit,
le savoir-faire, et puis le savoir-vivre :
les deux derniers dispensent bien souvent du premier.
-+- Charles-Maurice de Talleyrand-Perigord -+-