Crash because "object:state-changed:focused" message AtspiEvent.source is NULL and atspi-event-listener.c doesn't expect that

Bug #1253670 reported by Francesco Fumanti
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
at-spi
Fix Released
Medium
at-spi2-core (Ubuntu)
New
Undecided
Unassigned

Bug Description

When running Onboard with at-spi2 support, I can reproduce a crash of libatspi2 and Onboard in Ubuntu Saucy and Ubuntu Trusty by doing the following manipulation in the media manager called MediaElch.

In fact, when I tell MediaElch to search for information about the selected movie on the internet, it opens a window where it shows possible matches that it found and I have to click on the correct movie to get the corresponding information. However, by doing so, MediaElch not only downloads the information, but the on-screen keyboard Onboard also crashes.

It seems while processing a "object:state-changed:focused" message AtspiEvent.source is NULL and atspi-event-listener.c doesn't expect that to happen in multiple places. Onboard could indirectly be the cause, perhaps due to the asynchronous event processing, but the crash ultimately happens in libatspi2.

I am attaching a backtrace of the crash to this bug thread.

Thanks in advance for looking at it.

Revision history for this message
Francesco Fumanti (frafu) wrote :
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 1253670] [NEW] Crash because "object:state-changed:focused" message AtspiEvent.source is NULL and atspi-event-listener.c doesn't expect that

Have you filed this upstream? If you don't have time, I am happy to take care of it, but this is best for upstream given the at-spi packages in recent releases have not had any patches to speak of, other than those backported from upstream.

Revision history for this message
Francesco Fumanti (frafu) wrote :

Thanks Luke for your comment.

I have not filed the bug upstream. Thanks for your offer to file it upstream. Could you please do it?

Cheers

Changed in at-spi:
importance: Unknown → Medium
status: Unknown → New
Changed in at-spi:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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