[kdevelop] [Bug 368560] Crash when closing activity [Welcome Page related, crash below QQuickRenderControl::~QQuickRenderControl]

2018-10-23 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

Kevin Funk  changed:

   What|Removed |Added

 CC||k...@istiophorus.org

--- Comment #9 from Kevin Funk  ---
*** Bug 387733 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity [Welcome Page related, crash below QQuickRenderControl::~QQuickRenderControl]

2018-10-23 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

Kevin Funk  changed:

   What|Removed |Added

 CC||dev...@outlook.pt

--- Comment #8 from Kevin Funk  ---
*** Bug 400204 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity [Welcome Page related, crash below QQuickRenderControl::~QQuickRenderControl]

2018-04-09 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

Kevin Funk  changed:

   What|Removed |Added

 CC||limit...@gmail.com

--- Comment #7 from Kevin Funk  ---
*** Bug 392942 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity [Welcome Page related, crash below QQuickRenderControl::~QQuickRenderControl]

2016-12-29 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

Kevin Funk  changed:

   What|Removed |Added

Summary|Crash when closing activity |Crash when closing activity
   ||[Welcome Page related,
   ||crash below
   ||QQuickRenderControl::~QQuic
   ||kRenderControl]

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-29 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

Kevin Funk  changed:

   What|Removed |Added

URL||https://bugreports.qt.io/br
   ||owse/QTBUG-57841
 Resolution|WAITINGFORINFO  |UPSTREAM

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-29 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

--- Comment #6 from Kevin Funk  ---
Important part of the valgrind trace:

==18229== Invalid read of size 8
==18229==at 0x642A14F: QWidget::~QWidget() (qwidget.cpp:1602)
==18229==by 0x642A5F8: QWidget::~QWidget() (qwidget.cpp:1714)
==18229==by 0x74D8F5F: QObject::event(QEvent*) (qobject.cpp:1254)
==18229==by 0x642EBAA: QWidget::event(QEvent*) (qwidget.cpp:9225)
==18229==by 0x63E735B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3799)
==18229==by 0x63EEAD0: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:3556)
==18229==by 0x74AC8DF: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(qcoreapplication.cpp:988)
==18229==by 0x74AF06C: sendEvent (qcoreapplication.h:231)
==18229==by 0x74AF06C: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (qcoreapplication.cpp:1649)
==18229==by 0x11DB63A3: ??? (in /usr/lib/libQt5Quick.so.5.7.1)
==18229==by 0x11DB661F: QQuickRenderControl::~QQuickRenderControl() (in
/usr/lib/libQt5Quick.so.5.7.1)
==18229==by 0x1171B292: ??? (in /usr/lib/libQt5QuickWidgets.so.5.7.1)
==18229==by 0x117183E2: ??? (in /usr/lib/libQt5QuickWidgets.so.5.7.1)
==18229==  Address 0x8 is not stack'd, malloc'd or (recently) free'd

Thanks a lot Adam!

This looks a lot like a upstream issue, thus reported on the Qt bug tracker
now: https://bugreports.qt.io/browse/QTBUG-57841

Again, for a work-around, just do this before starting kdevelop:
  export KDEV_DISABLE_WELCOMEPAGE=1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-29 Thread Adam Markiewicz
https://bugs.kde.org/show_bug.cgi?id=368560

Adam Markiewicz  changed:

   What|Removed |Added

 Attachment #103050|0   |1
is obsolete||

--- Comment #5 from Adam Markiewicz  ---
Created attachment 103063
  --> https://bugs.kde.org/attachment.cgi?id=103063=edit
valgrind trace

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-29 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

--- Comment #4 from Kevin Funk  ---
Okay, here's the problem: 

==7712== Invalid read of size 8
==7712==at 0x642A14F: QWidget::~QWidget() (in
/usr/lib/libQt5Widgets.so.5.7.1)
==7712==by 0x642A5F8: QWidget::~QWidget() (in
/usr/lib/libQt5Widgets.so.5.7.1)
==7712==by 0x74D8F5F: QObject::event(QEvent*) (in
/usr/lib/libQt5Core.so.5.7.1)
==7712==by 0x642EBAA: QWidget::event(QEvent*) (in
/usr/lib/libQt5Widgets.so.5.7.1)
==7712==by 0x63E735B: QApplicationPrivate::notify_helper(QObject*, QEvent*)
(in /usr/lib/libQt5Widgets.so.5.7.1)
==7712==by 0x63EEAD0: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/libQt5Widgets.so.5.7.1)
==7712==by 0x74AC8DF: QCoreApplication::notifyInternal2(QObject*, QEvent*)
(in /usr/lib/libQt5Core.so.5.7.1)
==7712==by 0x74AF06C: QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (in /usr/lib/libQt5Core.so.5.7.1)
==7712==by 0x11DB63A3: ??? (in /usr/lib/libQt5Quick.so.5.7.1)
==7712==by 0x11DB661F: QQuickRenderControl::~QQuickRenderControl() (in
/usr/lib/libQt5Quick.so.5.7.1)
==7712==by 0x1171B292: ??? (in /usr/lib/libQt5QuickWidgets.so.5.7.1)
==7712==by 0x117183E2: ??? (in /usr/lib/libQt5QuickWidgets.so.5.7.1)
==7712==  Address 0x8 is not stack'd, malloc'd or (recently) free'd

Could you install debug symbols for qtbase so we can see line numbers in the
trace? Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-28 Thread Adam Markiewicz
https://bugs.kde.org/show_bug.cgi?id=368560

--- Comment #3 from Adam Markiewicz  ---
Created attachment 103050
  --> https://bugs.kde.org/attachment.cgi?id=103050=edit
Output of valgrind --smc-check=all-non-file --track-origins=yes kdevelop

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-28 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

Kevin Funk  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-28 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=368560

--- Comment #2 from Kevin Funk  ---
This crash seems to be caused by the QML-based Welcome Page plugin (that's
likely why you see KDevelop crashing, but not the other Qt-based apps):

#14 0x7f50059154d0 in QQuickRenderControl::~QQuickRenderControl() () from
/usr/lib/libQt5Quick.so.5
#15 0x7f5005e98143 in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#16 0x7f5005e952b3 in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#17 0x7f5005e953a9 in ?? () from /usr/lib/libQt5QuickWidgets.so.5
#18 0x7f50100b5547 in QObject::~QObject() () from /usr/lib/libQt5Core.so.5
#19 0x7f5010da4933 in QWidget::~QWidget() () from
/usr/lib/libQt5Widgets.so.5
#20 0x7f4fd1b8627e in ?? () from
/usr/lib/qt/plugins/kdevplatform/25/kdevwelcomepage.so


This looks like an upstream issue in Qt, to debug further we'd need a valgrind
run of KDevelop, to get more details about the crash. It'd be awesome if one of
you guys could run KDevelop through valgrind and then try to reproduce the
crash:

  valgrind --smc-check=all-non-file --track-origins=yes kdevelop &> out

If you just want to work-around the problem for the time being, you could make
KDevelop not load the Welcome Page plugin at all, by setting this environment
variable:

  KDEV_DISABLE_WELCOMEPAGE=1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-28 Thread Adam Markiewicz
https://bugs.kde.org/show_bug.cgi?id=368560

--- Comment #1 from Adam Markiewicz  ---
I experience the same behaviour.

KDevelop 5.0.3
Qt 5.7.1
Frameworks 5.29.0
Arch Linux 4.8.13-1-ARCH x86_64

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 368560] Crash when closing activity

2016-12-28 Thread Adam Markiewicz
https://bugs.kde.org/show_bug.cgi?id=368560

Adam Markiewicz  changed:

   What|Removed |Added

 CC||a.markiew...@live.com

-- 
You are receiving this mail because:
You are watching all bug changes.