Bug 380755

Summary: UBUNTU, WORKAROUND: crash when opening a script file
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description RKWard Team 2011-11-02 09:39:57 UTC
-- Originally posted by (AT sourceforge.net): dror_lev --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/105 on 2017-05-30 15:26:50 +0100 --
All that I do is: Execute rkward -&gt; Create -&gt; Script file \(or ctrl+N\) and it crashes.

Here is the content of the report created by The KDE Crash Handler the first time it happened:

Application: rkward \(0.5.6\)
KDE Platform Version: 4.7.2 \(4.7.2\)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

\-- Information about the crash:
&lt;In detail, tell us what you were doing  when the application crashed.&gt;

\-- Backtrace:
Application: RKWard \(rkward.frontend\), signal: Aborted
\[Current thread is 1 \(Thread 0xb77e0710 \(LWP 4022\)\)\]

Thread 4 \(Thread 0xb6affb70 \(LWP 4028\)\):
\#0  0x00663416 in \_\_kernel\_vsyscall \(\)
\#1  0x0421840e in poll \(\) from /lib/i386-linux-gnu/libc.so.6
\#2  0x0712534b in g\_poll \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#3  0x07116896 in ?? \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#4  0x07116f9b in g\_main\_loop\_run \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#5  0x0233fcea in ?? \(\) from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
\#6  0x0713d5f4 in ?? \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#7  0x00963d31 in start\_thread \(\) from /lib/i386-linux-gnu/libpthread.so.0
\#8  0x042270ce in clone \(\) from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 \(Thread 0xb4becb70 \(LWP 4061\)\):
\#0  0x00966d44 in \_\_pthread\_mutex\_unlock\_usercnt \(\) from /lib/i386-linux-gnu/libpthread.so.0
\#1  0x04234f54 in pthread\_mutex\_unlock \(\) from /lib/i386-linux-gnu/libc.so.6
\#2  0x07115c35 in g\_main\_context\_query \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#3  0x07116664 in ?? \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#4  0x07116c2a in g\_main\_context\_iteration \(\) from /lib/i386-linux-gnu/libglib-2.0.so.0
\#5  0x01edcb37 in QEventDispatcherGlib::processEvents\(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#6  0x01ead1dd in QEventLoop::processEvents\(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#7  0x01ead421 in QEventLoop::exec\(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#8  0x01db090b in QThread::exec\(\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#9  0x0815138e in \_start \(\)

Thread 2 \(Thread 0xb43ebb70 \(LWP 4064\)\):
\#0  0x00663416 in \_\_kernel\_vsyscall \(\)
\#1  0x00967a5c in pthread\_cond\_wait@@GLIBC\_2.3.2 \(\) from /lib/i386-linux-gnu/libpthread.so.0
\#2  0x04234cfc in pthread\_cond\_wait \(\) from /lib/i386-linux-gnu/libc.so.6
\#3  0x003ba9a9 in ?? \(\) from /usr/lib/i386-linux-gnu/libQtScript.so.4
\#4  0x003ba9ef in ?? \(\) from /usr/lib/i386-linux-gnu/libQtScript.so.4
\#5  0x00963d31 in start\_thread \(\) from /lib/i386-linux-gnu/libpthread.so.0
\#6  0x042270ce in clone \(\) from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 \(Thread 0xb77e0710 \(LWP 4022\)\):
\[KCrash Handler\]
\#7  0x00663416 in \_\_kernel\_vsyscall \(\)
\#8  0x04182c8f in raise \(\) from /lib/i386-linux-gnu/libc.so.6
\#9  0x041862b5 in abort \(\) from /lib/i386-linux-gnu/libc.so.6
\#10 0x01da94a6 in qt\_message\_output\(QtMsgType, char const\*\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#11 0x01da98db in ?? \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#12 0x01da99f8 in qFatal\(char const\*, ...\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#13 0x01da9a85 in qt\_assert\(char const\*, char const\*, int\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#14 0x070585c8 in QSpiAccessibleBridge::interfaceToAccessible\(QAccessibleInterface\*, int, bool\) \(\) from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
\#15 0x07059027 in QSpiAccessibleBridge::notifyAboutCreation\(QSpiAdaptor\*\) \(\) from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
\#16 0x0705857a in QSpiAccessibleBridge::interfaceToAccessible\(QAccessibleInterface\*, int, bool\) \(\) from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
\#17 0x07059b7d in QSpiAccessibleBridge::notifyAccessibilityUpdate\(int, QAccessibleInterface\*, int\) \(\) from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
\#18 0x05ef839e in QAccessible::updateAccessibility\(QObject\*, int, QAccessible::Event\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#19 0x059b6008 in QWidget::changeEvent\(QEvent\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#20 0x059c34a8 in QWidget::event\(QEvent\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#21 0x05968d54 in QApplicationPrivate::notify\_helper\(QObject\*, QEvent\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#22 0x0596e1a8 in QApplication::notify\(QObject\*, QEvent\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#23 0x01809681 in KApplication::notify\(QObject\*, QEvent\*\) \(\) from /usr/lib/libkdeui.so.5
\#24 0x01eae19e in QCoreApplication::notifyInternal\(QObject\*, QEvent\*\) \(\) from /usr/lib/i386-linux-gnu/libQtCore.so.4
\#25 0x059c4e57 in QWidgetPrivate::setEnabled\_helper\(bool\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#26 0x059c6ec6 in QWidget::setParent\(QWidget\*, QFlags&lt;Qt::WindowType&gt;\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#27 0x059c7fa3 in QWidgetPrivate::init\(QWidget\*, QFlags&lt;Qt::WindowType&gt;\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#28 0x059c85d3 in QWidget::QWidget\(QWidget\*, QFlags&lt;Qt::WindowType&gt;\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#29 0x05e5b7f3 in QAbstractScrollAreaPrivate::init\(\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#30 0x05e5bc74 in QAbstractScrollArea::QAbstractScrollArea\(QAbstractScrollAreaPrivate&, QWidget\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#31 0x05ef9e02 in QAbstractItemView::QAbstractItemView\(QAbstractItemViewPrivate&, QWidget\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#32 0x05f1c23c in QListView::QListView\(QListViewPrivate&, QWidget\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#33 0x05f6b501 in QListWidget::QListWidget\(QWidget\*\) \(\) from /usr/lib/i386-linux-gnu/libQtGui.so.4
\#34 0x05157034 in ?? \(\) from /usr/lib/libkatepartinterfaces.so.4
\#35 0x051541da in ?? \(\) from /usr/lib/libkatepartinterfaces.so.4
\#36 0x0513bfc6 in KateCompletionWidget::KateCompletionWidget\(KateView\*\) \(\) from /usr/lib/libkatepartinterfaces.so.4
\#37 0x052135ec in KateView::completionWidget\(\) const \(\) from /usr/lib/libkatepartinterfaces.so.4
\#38 0x0521366b in KateView::registerCompletionModel\(KTextEditor::CodeCompletionModel\*\) \(\) from /usr/lib/libkatepartinterfaces.so.4
\#39 0x05167b02 in ?? \(\) from /usr/lib/libkatepartinterfaces.so.4
\#40 0x05221b89 in KateView::KateView\(KateDocument\*, QWidget\*\) \(\) from /usr/lib/libkatepartinterfaces.so.4
\#41 0x0517ffc0 in KateDocument::createView\(QWidget\*\) \(\) from /usr/lib/libkatepartinterfaces.so.4
\#42 0x080894b5 in \_start \(\)

Report to rkward-devel@lists.sourceforge.net
Comment 1 Thomas Friedrichsmeier 2011-11-03 07:59:25 UTC
Hi\!

This is a bug in the qt-at-spi package shipped with Ubuntu 11.10. Since we cannot do anything about it inside RKWard, I'm marking this bug as "Invalid".

Reportedly, uninstalling qt-at-spi fixes the problem. See this bug report:
https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/877358

For reference, here's a link to the bug in KDE's tracker:
https://bugs.kde.org/show\_bug.cgi?id=284005

Regards
Thomas
Comment 2 Thomas Friedrichsmeier 2011-11-03 07:59:26 UTC
- **assigned_to**: nobody --> tfry
- **summary**: rkward crashes when trying to create a script file --> UBUNTU, WORKAROUND: crash when opening a script file
- **status**: open --> open-invalid
Comment 3 RKWard Team 2011-11-03 08:28:03 UTC
-- Originally posted by (AT sourceforge.net): dror_lev --
Thank you Thomas.

Indeed, purgin qt-at-spi enables me to run rkward.

dror
Comment 4 Thomas Friedrichsmeier 2013-03-22 09:24:10 UTC
- **status**: open-invalid --> closed-out-of-date
- **milestone**:  --> CRASH