When you create a new project for a Data Engine in Python, Plasmate crashes (attached stacktrace). Reproducible: Always Steps to Reproduce: 1. Start plasmate 2. Create a new project for a Data Engine 3. Set a name for the new project 4. Select python as the language 5. Click Create! and it will crash Arch Linux Kernel 3.8.7 KDE 4.10.2 Qt 4.8.4 Plasmate was compiled from git sources, with tip at commit 6224611fdaaf1881b11ff236eb900a21fd2aa53b
Created attachment 79679 [details] Stack trace after crash It was generated with debug information for plasmate, but not for KDE or Qt.
Review: #110288 https://git.reviewboard.kde.org/r/110288/
Can reproduce here on Mageia Linux 3 (Cauldron) x86-64. Thanks for the patch.
I'm also getting similar crashes when trying to create any data engine project in plasmate, so python, ruby and javascript. Tried the patch on reviewboard, but it has no effect.
Git commit 61d18f327ccec54622166464d069b43a4b99a5e7 by Albert Astals Cid, on behalf of Denis Falqueto. Committed on 12/10/2013 at 16:06. Pushed by aacid into branch 'master'. Checks if an optional field was instantiated before accessing it The private field m_konsolewidget is initialized only on some specific cases, so it should be accessed with caution. But there are some places in witch it's being used without checking if it was instantiated or not. This patch fixes those accesses, by checking if it is instantiated or not. This was laying around in reviewboard approved by Giorgos Tsiapaliokas but uncommited for 5 months REVIEW: 110288 M +6 -2 plasmate/mainwindow.cpp http://commits.kde.org/plasmate/61d18f327ccec54622166464d069b43a4b99a5e7