[kdevelop] [Bug 399078] KDevelop crashes on using the 'Stop All' button when using the python plugin

2018-09-26 Thread Dylan Gubbels
https://bugs.kde.org/show_bug.cgi?id=399078

Dylan Gubbels  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 Status|NEEDSINFO   |RESOLVED

--- Comment #2 from Dylan Gubbels  ---
(In reply to Francis Herne from comment #1)
> This may be a duplicate of https://bugs.kde.org/show_bug.cgi?id=368420 which
> was fixed in 5.2.2.
> 
> Backtrace does look quite different though, so perhaps not, but I can't
> reproduce the problem with 5.3-git.
> 
> Please try with a current version from https://www.kdevelop.org/download (or
> nag your distro to upgrade their package with recent bugfixes) and see
> whether that solves the problem.
> 
> Thanks for the report.

Downloading KDevelop 5.2.4 from https://www.kdevelop.org/download fixes the
problem.

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

[kdevelop] [Bug 399078] New: KDevelop crashes on using the 'Stop All' button when using the python plugin

2018-09-25 Thread Dylan Gubbels
https://bugs.kde.org/show_bug.cgi?id=399078

Bug ID: 399078
   Summary: KDevelop crashes on using the 'Stop All' button when
using the python plugin
   Product: kdevelop
   Version: 5.2.1
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: dylangubbe...@gmail.com
  Target Milestone: ---

Application: kdevelop (5.2.1)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-34-generic x86_64
Distribution: Ubuntu 18.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
When testing an python application i had written and trying to stop it with the
stop all button KDevelop crashed after a 1/2 second delay.
This happens about 85% of the time when trying to reproduce it.

- Custom settings of the application:
Custom launch configuration which launches the current file in the editor.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1539337940 (LWP 24071))]

Thread 23 (Thread 0x7f1469ffb700 (LWP 24347)):
#0  0x7f15359880b4 in __GI___libc_read (fd=48, buf=0x7f1469ffa980,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x7f152c810a00 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f152c7cbf27 in g_main_context_check () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f152c7cc3e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7f152c7cc54c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f15362e390b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x7f15362889ea in
QEventLoop::exec(QFlags) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x7f15360a722a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7f1533b86a0f in  () at
/usr/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.52
#9  0x7f15360ac16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x7f152f0af6db in start_thread (arg=0x7f1469ffb700) at
pthread_create.c:463
#11 0x7f153599988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 22 (Thread 0x7f14ae2cb700 (LWP 24176)):
#0  0x7f153598cbf9 in __GI___poll (fds=0x7f149c004dd0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f152c7cc439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f152c7cc54c in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f15362e390b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7f15362889ea in
QEventLoop::exec(QFlags) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7f15360a722a in QThread::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x7f14b0a8c3c5 in  () at
/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#7  0x7f15360ac16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7f152f0af6db in start_thread (arg=0x7f14ae2cb700) at
pthread_create.c:463
#9  0x7f153599988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21 (Thread 0x7f14aeacc700 (LWP 24175)):
#0  0x7f152f0b59f3 in futex_wait_cancelable (private=,
expected=0, futex_word=0x55d38aba53e4) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x7f152f0b59f3 in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55d38aba5390, cond=0x55d38aba53b8) at pthread_cond_wait.c:502
#2  0x7f152f0b59f3 in __pthread_cond_wait (cond=0x55d38aba53b8,
mutex=0x55d38aba5390) at pthread_cond_wait.c:655
#3  0x7f15360ad59b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7f152adcbad5 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x7f152adcfba8 in  () at
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x7f152adcac8d in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x7f152adcfc02 in  () at
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x7f152adcac8d in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x7f152adcfc02 in  () at
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x7f152adcac8d in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x7f152adcfc02 in  () at