lyx crashes in open/save file dialog

Bug #946956 reported by Daniel Told
140
This bug affects 30 people
Affects Status Importance Assigned to Milestone
LyX
Invalid
Unknown
lyx (Ubuntu)
Confirmed
Undecided
Unassigned
qt-at-spi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

=== PROBLEM ===
Lyx 2.0.2-1ubuntu2 in Precise crashes when clicking or manually selecting anything in an open/save file dialog. The error message reported on the command line follows:

QSpiAccessible::accessibleEvent not handled: "8006" obj: lyx::frontend::DragTabBar(0xa728798) ""
QSpiAccessible::accessibleEvent not handled: "8006" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8006" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8006" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8008" obj: QSidebar(0xa9d0cb8, name = "sidebar") "sidebar"
FIXME: handle dialog start.
Interface is not valid
ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 888
Aborted (core dumped)

=== WORKAROUND ===
apt-get remove qt-at-spi
(this removes accessibility support for Qt applications, i.e. screenreaders may no longer work)

Revision history for this message
Daniel Told (daniel-told) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lyx (Ubuntu):
status: New → Confirmed
Revision history for this message
Fan Wu (942kid) wrote :

Seem problem here. Just update to LST, and LyX crashes whenever I try to open a file that's not in the ubuntu's file system (like in a Windows NFTs partition)or in a protected folder(like /usr/).

Revision history for this message
dominik (schmidt-dominik) wrote :

That's seriously a critical bug. Hope it gets some attention...

Revision history for this message
Steff (s-teff) wrote :

Same problem with Scribus -> problem is in common lib?

Revision history for this message
Michael Jochmann (michael-jochmann) wrote :

Running Mumble in 12.04 the following error-message appears after server instantly rejected the connection: QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"

Revision history for this message
poppinfresh99 (brad86) wrote :

In my case, the problem was fixed after I logged out then logged in as root to delete all the hidden folders+files in my user's home folder (except for several specific folders+files). I do this cleanup every few years, and it always seems to fix a few bugs (my home folder has its own partition so it survived my clean install of Ubuntu 12.04). I don't suggest that this is a reasonable solution, but it should narrow down what the problem is.

Revision history for this message
Sandra Unger (spinache01) wrote :

Hi,
same thing here. After I installed ubuntu 12.04 and installed Lyx, it always crashes on load and save dialogs.
This error log shows in the console when trying to open a file via the menu:

Got bus address: "unix:abstract=/tmp/dbus-AsZBk8fioV,guid=3dae631e7e8c1c39ae55e2e8000005e9"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-AsZBk8fioV,guid=3dae631e7e8c1c39ae55e2e8000005e9"
Registered DEC: true
Registered event listener change listener: true
QSpiAccessible::accessibleEvent not handled: "6" obj: lyx::frontend::Menu(0x2eaf7e0) ""
QSpiAccessible::accessibleEvent not handled: "7" obj: lyx::frontend::Menu(0x2eaf7e0) ""
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8008" obj: QSidebar(0x2f443c0, name = "sidebar") "sidebar"
FIXME: handle dialog start.
Interface is not valid
ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899

Revision history for this message
Somewhere over the.. (nemonein) wrote :

Same Problem.
Ubuntu 12.04 64bit, Unity.

Both 2.0.2 and 2.0.3 (from the PPA, ppa:lyx-devel/releas) are the same.
Here are some messages when I run lyx from the terminal.

$ lyx
Got bus address: "unix:abstract=/tmp/dbus-hAosjMazCl,guid=65cef87dc78e6177ccf71f9b00000083"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-hAosjMazCl,guid=65cef87dc78e6177ccf71f9b00000083"
Registered DEC: true
Registered event listener change listener: true
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8008" obj: QSidebar(0x1ec58e0, name = "sidebar") "sidebar"
FIXME: handle dialog start.
Interface is not valid
ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899
중지됨(--> stopped??) (core dumped)

Please help~

Revision history for this message
androith (androith) wrote :

My LyX crashes when I try to save OR save as. The crash happens SOMETIMES when I click to enter SOME folders in my /home folder. My /home folder is on a different PARTITION (on a different hard drive) than /.

$ lyx
Got bus address: "unix:abstract=/tmp/dbus-EwgDlbJHLF,guid=140e3b1928b0f85ee95795d900000022"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-EwgDlbJHLF,guid=140e3b1928b0f85ee95795d900000022"
Registered DEC: true
Registered event listener change listener: true
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
FIXME: handle dialog start.
FIXME: handle dialog end.
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
QSpiAccessible::accessibleEvent not handled: "8008" obj: QSidebar(0x8cba300, name = "sidebar") "sidebar"
FIXME: handle dialog start.
Interface is not valid
ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899
Aborted (core dumped)

Revision history for this message
Daniel Told (daniel-told) wrote :

Works like a charm! Thanks a lot! :)

Revision history for this message
Sandra Unger (spinache01) wrote :

Yeah, removing qt-at-spi did it for me. Everything works now :) Thanks!

Revision history for this message
Raoul (trash-mails-at) wrote :

Yeah, too. Same to me: removing 'qt-at-spi' and everything works fine!

Revision history for this message
Sandra Unger (spinache01) wrote :

But now I found another problem:
After I removed the "qt-at-spi" package, the caret is extremely slow.
What I mean:

I write a text, then I press the arrow-left-key on the keyboard to move the caret to the left, but this takes really long, a second at least.

Revision history for this message
Daniel Told (daniel-told) wrote :

@Sandra: I've been using lyx quite extensively since I removed the qt-at-spi package, but don't have the "slow caret" problem... :/ but maybe it's because I am using a self-compiled lyx-2.0.3 (with which I had tried to solve the file dialog bug).

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qt-at-spi (Ubuntu):
status: New → Confirmed
Revision history for this message
cairnsww (cairnsww) wrote :

Same problem here when using Scribus. Solved by removing qt-at-spi. No ill effects so far ...

Revision history for this message
Richard Qian (worldblender) wrote :

It seems like that to me, any Qt application (excluding KDE ones, since they use a different file dialog) that uses the Qt's built-in file dialog will always crash when a file is selected, and if one is run from a terminal, they will always finish with:

Interface is not valid
ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899
Aborted (core dumped)

Besides removing the package 'at-at-spi', setting the Qt theme to GTK+ (using qtconfig) will allow the user to workaround this problem in most situations by having a Qt-only program use GTK+ 2's file dialog, which should work fine with at-spi2. However, if anytime Qt's built-in file dialog is shown, and that a file has been selected, that program will still crash.

Changed in lyx:
status: Unknown → Invalid
Revision history for this message
Maien Binjonaid (maien-jonaid) wrote :

apt-get remove qt-at-spi, worked for me as well.

Revision history for this message
Scott Kostyshak (scott-kostyshak) wrote :

I just want to note that we marked the bug as invalid in LyX at #8788 because we view this as a qt-at-spi (or related) bug. We view the bug as valid and have had many confirmations of it.

Revision history for this message
Scott Kostyshak (scott-kostyshak) wrote :

Could this be related to
https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/891681
and
https://bugs.launchpad.net/ubuntu/+source/at-spi2-core/+bug/877358
?

Instead of removing qt-at-spi, can anyone affected try the following:

QT_ACCESSIBILITY=0 lyx

I can no longer reproduce on 13.04. I used to be able to trigger this by opening Orca (and then closing it) and then in LyX trying to open a document from File > Open.

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Maybe this crash bug in QT apps during save/open dialog is a duplicate of bug #998012 (librecad, qtiplot (among others) crash with "ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp)?

Revision history for this message
David (davidman29) wrote :

To: Scott Kostyshak
Probably it is to late, but after the change of QT_ACCESSIBILITY from 1 to 0 everything works fine.
Thanks

Revision history for this message
Glenn Horton-Smith (glenn-hortonsmith) wrote :

This affects me too, and setting QT_ACCESSIBILITY to 0 also works around the problem for me.

Revision history for this message
Sourabh Bhat (heysourabh) wrote :

Typing the following commands in terminal:
"export QT_ACCESSIBILITY=0" # To export env variable
"lyx" # To start lyx

seems to solve the problem in ubuntu 12.04.
On my other computer I am using ubuntu 14.04, in which lyx works fine without any changes!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.