Summary: | crash | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | bediss <bediss.cherif> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | ralf.habacker |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.11.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
bediss
2013-11-12 12:25:45 UTC
The crash happens probably on access to the QGraphicsSceneMouseEvent instance d-pointer. (In reply to comment #1) > The crash happens probably on access to the QGraphicsSceneMouseEvent > instance d-pointer. Looks like that the d-pointer has been overwritten by a memory corruption problem somewhere else because: The memory area to which the d-Pointer points, seems partially be invalid or corrupted, because the event modifiers has been accessed without any problem in line 2824 2824 if( me->modifiers() != Qt::ShiftModifier ) Qt::KeyboardModifiers QGraphicsSceneMouseEvent::modifiers() const { Q_D(const QGraphicsSceneMouseEvent); return d->modifiers; } and then the crash happens at line 2827 2827 if(me->button() == Qt::LeftButton && me->modifiers() && Qt::ControlModifier) { Qt::MouseButton QGraphicsSceneMouseEvent::button() const { Q_D(const QGraphicsSceneMouseEvent); return d->button; } According to class QGraphicsSceneMouseEventPrivate : public QGraphicsSceneEventPrivate { ... QPointF pos; QPointF scenePos; QPoint screenPos; QPointF lastPos; QPointF lastScenePos; QPoint lastScreenPos; QMap<Qt::MouseButton, QPointF> buttonDownPos; QMap<Qt::MouseButton, QPointF> buttonDownScenePos; QMap<Qt::MouseButton, QPoint> buttonDownScreenPos; Qt::MouseButton button; Qt::MouseButtons buttons; Qt::KeyboardModifiers modifiers; }; is the modifiers class member located at the end of the private event data and the button member before. Crashing on access of the button member indicates that the d-pointer points to a location not owned by the current process. From the backtrace it can also be determined, that the crash happened on a left mouse click on an association. (In reply to Ralf Habacker from comment #2) > From the backtrace it can also be determined, that the crash happened on a > left mouse click on an association. The version for which this bug is reported is unmaintained. If this bug persists on newer versions feel free to reopen this bug. It would be nice to have a testcase appended |