Export to GitHub

rolisteam - issue #9

Orientation de PNJ: Segmantation Violation


Posted on Dec 24, 2009 by Grumpy Elephant

What steps will reproduce the problem? 1. En mode MJ / serveur 2. Nouveau plan vide 3. création de PNJ 4. déplacement: clic droit au voisinage du PNJ 5. relachement du clic au dessus de l'intitulé PNJ 6. Segfault!

Voici le backtrace sous GDB:

0 0x00007ffff7343258 in ?? () from /usr/lib/libQtGui.so.4

1 0x00007ffff7343ac2 in QWidgetPrivate::invalidateBuffer(QRect const&) ()

from /usr/lib/libQtGui.so.4

2 0x00007ffff71ff57e in QWidgetPrivate::hide_sys() () from

/usr/lib/libQtGui.so.4

3 0x00007ffff71c83f4 in QWidgetPrivate::hide_helper() () from

/usr/lib/libQtGui.so.4

4 0x00007ffff71cfd80 in QWidget::setVisible(bool) () from

/usr/lib/libQtGui.so.4

5 0x0000000000423428 in QWidget::hide (this=0xa72df0) at

/usr/include/qt4/QtGui/qwidget.h:477

6 0x000000000041e260 in Carte::dansDessinPerso (this=0xc61ef0,

positionSouris=...) at src/Carte.cpp:1174

7 0x000000000041b452 in Carte::mouseMoveEvent (this=0xc61ef0,

event=0x7fffff5ff6c0) at src/Carte.cpp:528

8 0x00007ffff71c9822 in QWidget::event(QEvent*) () from

/usr/lib/libQtGui.so.4

9 0x00007ffff717aefc in QApplicationPrivate::notify_helper(QObject*,

QEvent*) () from /usr/lib/libQtGui.so.4

10 0x00007ffff7182011 in QApplication::notify(QObject*, QEvent*) () from

/usr/lib/libQtGui.so.4

11 0x00007ffff69ccc2c in QCoreApplication::notifyInternal(QObject*,

QEvent*) () from /usr/lib/libQtCore.so.4

12 0x00007ffff71818e0 in QApplicationPrivate::sendMouseEvent(QWidget*,

QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4

13 0x00007ffff7181e02 in

QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib/libQtGui.so.4

14 0x00007ffff71cfbca in QWidget::setVisible(bool) () from

/usr/lib/libQtGui.so.4

15 0x00000000004233fe in QWidget::show (this=0xa72df0) at

/usr/include/qt4/QtGui/qwidget.h:473

16 0x000000000041e289 in Carte::dansDessinPerso (this=0xc61ef0,

positionSouris=...) at src/Carte.cpp:1178

17 0x000000000041b452 in Carte::mouseMoveEvent (this=0xc61ef0,

event=0x7fffff5fff20) at src/Carte.cpp:528

18 0x00007ffff71c9822 in QWidget::event(QEvent*) () from

/usr/lib/libQtGui.so.4

19 0x00007ffff717aefc in QApplicationPrivate::notify_helper(QObject*,

QEvent*) () from /usr/lib/libQtGui.so.4

20 0x00007ffff7182011 in QApplication::notify(QObject*, QEvent*) () from

/usr/lib/libQtGui.so.4

21 0x00007ffff69ccc2c in QCoreApplication::notifyInternal(QObject*,

QEvent*) () from /usr/lib/libQtCore.so.4

Comment #1

Posted on Dec 24, 2009 by Happy Hippo

Thanks for giving me this feedback. I will take a look to that as soon as possible (probably, on monday).

Merci d'avoir fait un retour, je m'occupe de ça, dès que possible (Lundi probablement)

Comment #2

Posted on Dec 28, 2009 by Happy Hippo

I just checked this issue. I can reproduce it with the packages version but I can't when running on latest version of Qt. I will make a patch to prevent this kind of issue. It will be include in the next release.

Comment #3

Posted on May 30, 2010 by Happy Hippo

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-High OpSys-Linux