Bug 279878 - [Kross::ActionCollection::parentCollection()] lokalize crashes in the scripts window during project creation
Summary: [Kross::ActionCollection::parentCollection()] lokalize crashes in the scripts...
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-08-11 12:17 UTC by Serhiy
Modified: 2018-10-27 02:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serhiy 2011-08-11 12:17:29 UTC
Application: lokalize (1.2)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-8-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Created new project and selected "Scripts" in the left panel.
As I understand it cannot detect python 2.7:
loadProjectScripts() 1111 "/" 
loadProjectScripts() 333 
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu 
Kross: "Action::setInterpreter: interpreter not found: python" 
lokalize(6705) ProjectScriptingPlugin::~ProjectScriptingPlugin: () 
loadProjectScripts() 444 
Kross: "Action::setInterpreter: interpreter not found: python" 
loadProjectScripts() 555 
loadProjectScripts() 666 
lokalize(6705)/lokalize (TM) TM::OpenDBJob::run: db "default"  opened  0 "uk" 
loadProjectScripts() 1111 "/home/int/Документи" 
loadProjectScripts() 222 
lokalize(6705) ProjectScriptingPlugin::~ProjectScriptingPlugin: () 
loadProjectScripts() 333 
Kross: "Action::setInterpreter: interpreter not found: python" 
lokalize(6705) ProjectScriptingPlugin::~ProjectScriptingPlugin: ("scripts.rc") 
loadProjectScripts() 444 
Kross: "Action::setInterpreter: interpreter not found: python" 
loadProjectScripts() 555 
loadProjectScripts() 666 
KCrash: Application 'lokalize' crashing...

To reproduce the bug I had to
$ rm -r ~/Documents/lokalize-scripts/

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76f5710 (LWP 3148))]

Thread 6 (Thread 0xb6446b70 (LWP 3149)):
#0  0x004ba416 in __kernel_vsyscall ()
#1  0x00e6ba5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04248a3c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0166a790 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x071ac69b in ?? () from /usr/lib/libQtGui.so.4
#5  0x0166a283 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00e67d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x0423ae0e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb5affb70 (LWP 3150)):
#0  0x04248c92 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0x0907d42f in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0907e1f7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0907e7ea in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01793207 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x01763f5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x017641a1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x016673db in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x01744bad in ?? () from /usr/lib/libQtCore.so.4
#9  0x0166a283 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00e67d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x0423ae0e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb52feb70 (LWP 3151)):
#0  0x004ba416 in __kernel_vsyscall ()
#1  0x00e6ba5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04248a3c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0166a790 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x004a1406 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x004a3ecb in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x004a103a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x004a3fcc in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x004a0f93 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x004a2b14 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x004a2bca in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0x0166a283 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00e67d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x0423ae0e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb485ab70 (LWP 3209)):
#0  0x00e69dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x04248c54 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0907d46b in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0907e1f7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0907e7ea in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01793207 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x01763f5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x017641a1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x016673db in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x01744bad in ?? () from /usr/lib/libQtCore.so.4
#10 0x0166a283 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00e67d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0423ae0e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3e11b70 (LWP 3307)):
#0  0x004ba416 in __kernel_vsyscall ()
#1  0x00e6ba5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04248a3c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0166a790 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x004a1406 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x004a3ecb in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x004a103a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x004a3fcc in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x004a0f93 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x004a2b14 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x004a2bca in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0x0166a283 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00e67d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x0423ae0e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb76f5710 (LWP 3148)):
[KCrash Handler]
#7  0x0014b647 in Kross::ActionCollection::parentCollection() const () from /usr/lib/libkrosscore.so.4
#8  0x00e51ee0 in Kross::ActionCollectionModel::parent(QModelIndex const&) const () from /usr/lib/libkrossui.so.4
#9  0x0720eabd in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#10 0x07212586 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4
#11 0x07212ff7 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#12 0x06c954be in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x07095da5 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x07128621 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x071ca48c in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x07214c76 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x0712ad56 in ?? () from /usr/lib/libQtGui.so.4
#18 0x017650b6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x06c3b342 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x06c407c8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x008a43d1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x01764f1e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x06c9236b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#24 0x06c93064 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#25 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#26 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#27 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#28 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#29 0x06c920c8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#30 0x06c93064 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#31 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#32 0x06c920c8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#33 0x06c93064 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#34 0x06c920c8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#35 0x06c93064 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#36 0x06c920c8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#37 0x06c93064 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#38 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#39 0x06c92f2a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#40 0x06c920c8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#41 0x06c93064 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#42 0x06c920c8 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#43 0x06e78b03 in ?? () from /usr/lib/libQtGui.so.4
#44 0x06c87c5b in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#45 0x06c95e4f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x06c3b374 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#47 0x06c407c8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#48 0x008a43d1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#49 0x01764f1e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#50 0x017686f3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#51 0x0176884c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#52 0x01792d74 in ?? () from /usr/lib/libQtCore.so.4
#53 0x0907de1f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0x0907e550 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0x0907e7ea in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x017931aa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x06cf2e0a in ?? () from /usr/lib/libQtGui.so.4
#58 0x01763f5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#59 0x017641a1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#60 0x017688fd in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#61 0x06c38f14 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#62 0x0807189b in ?? ()
#63 0x04182113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#64 0x0807227d in _start ()

Reported using DrKonqi
Comment 1 Nick Shaforostoff 2011-09-01 21:21:08 UTC
do you have python-kde4 package installed? pure python is not enough for the kross.
Comment 2 Adrián Chaves (Gallaecio) 2013-06-09 18:25:57 UTC
Changing the status to “Needs More Info”.
Comment 3 Andrew Crouthamel 2018-09-24 02:23:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:41:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!