Bug 359263 - Kdevelop crashes on exit if indexing process is not finished
Summary: Kdevelop crashes on exit if indexing process is not finished
Status: RESOLVED FIXED
Alias: None
Product: kdev-python
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: 1.7.3
Assignee: Sven Brauch
URL: https://paste.kde.org/puqpuqmw7/jkrk8a
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 10:36 UTC by blaze
Modified: 2016-02-11 23:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Backtrace (23.52 KB, text/plain)
2016-02-11 10:42 UTC, blaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blaze 2016-02-11 10:36:52 UTC
See the backtrace here: https://paste.kde.org/puqpuqmw7/jkrk8a (paste entry will be expired in a week).

Reproducible: Always

Steps to Reproduce:
1. Open new python project in develop
2. Ensure that indexing is happening
3. Exit Kdevelop

Actual Results:  
Kdevelop crashes with a segfault

Expected Results:  
Clean exit with no crash
Comment 1 blaze 2016-02-11 10:42:50 UTC
Created attachment 97145 [details]
Backtrace
Comment 2 Kevin Funk 2016-02-11 10:53:35 UTC
[11:42:19] <kfunk> blaze: hm, I probably know what's the problem
[11:42:25] <kfunk> kdev-python needs a similar change like here: http://osdir.com/ml/kde-commits/2016-01/msg05621.html
[11:42:27] <kfunk> scummos: ^
[11:42:41] <kfunk> maybe you could try adding that in pythonlanguagesupport.cpp?
Comment 3 Sven Brauch 2016-02-11 11:50:15 UTC
Git commit 4b4857bdffb2b5667c2e82f137cb7a974a6e3179 by Sven Brauch.
Committed on 11/02/2016 at 11:50.
Pushed by brauch into branch 'master'.

lock parse lock for a short moment when destroying language support

should fix crash on shutdown. by courtesy of kfunk :)

M  +5    -0    pythonlanguagesupport.cpp

http://commits.kde.org/kdev-python/4b4857bdffb2b5667c2e82f137cb7a974a6e3179
Comment 4 Sven Brauch 2016-02-11 23:51:45 UTC
Git commit fe7fde50ffcd913a543e9ae41777c922393410e8 by Sven Brauch.
Committed on 11/02/2016 at 23:51.
Pushed by brauch into branch '5.0'.

lock parse lock for a short moment when destroying language support

should fix crash on shutdown. by courtesy of kfunk :)

M  +5    -0    pythonlanguagesupport.cpp

http://commits.kde.org/kdev-python/fe7fde50ffcd913a543e9ae41777c922393410e8