orca crashed with SIGSEGV in PyCData_clear()

Bug #1759502 reported by Attila Hammer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
orca (Ubuntu)
New
Medium
Unassigned

Bug Description

Dear Orca package maintainers and developers,

If in Orca preferences dialog I enabled contracted braille feature into preferences dialog with Braille page the enabled contracted braille check box and click OK button, Orca screen reader after settings reload is freeze.
This issue is true if Liblouis version greater with Liblouis 3.3.0 version, Ubuntu 18.04 containing now with Liblouis 3.5.0 release.
Testcase:
1. Launch orca with orca --replace command if contracted braille is not enabled (this is the default preference).
2. Press Orca modifier+Space keystroke. If you using desktop layout, the Orca modifier key is insert or numpad insert keystroke. If you using laptop layout, the orca modifier key is caps lock.
3. Goto braille page, and click enable contracted braille check box.
Expected result after Orca settings is reloaded:
Screen reader still usable.
Actual result:
Screen reader entire unusable.

I tested this issue with Ubuntu 18.04 Mate edition beta release I386 architecture version in a KVM virtual machine.

Attila

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: orca 3.27.91-1ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic i686
ApportVersion: 2.20.9-0ubuntu1
Architecture: i386
Date: Wed Mar 28 09:23:53 2018
ExecutablePath: /usr/bin/orca
ExecutableTimestamp: 1519727947
InstallationDate: Installed on 2018-03-14 (14 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha i386 (20180307.1)
InterpreterPath: /usr/bin/python3.6
PackageArchitecture: all
ProcCmdline: orca
ProcCwd: /home/hammera
ProcEnviron:

Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
Signal: 11
SourcePackage: orca
StacktraceTop:
 __libc_signal_restore_set (set=0x8fd734c) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80
 raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:48
 <signal handler called> ()
 () at /usr/lib/python3.6/lib-dynload/_ctypes.cpython-36m-i386-linux-gnu.so
 ()
Title: orca crashed with SIGSEGV in __libc_signal_restore_set()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Attila Hammer (hammera) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 PyCData_clear (self=0xb1bd177c) at ./Modules/_ctypes/_ctypes.c:2575
 PyCData_dealloc (self=0xb1bd177c) at ./Modules/_ctypes/_ctypes.c:2587
 subtype_dealloc (self=0xb1bd177c) at ../Objects/typeobject.c:1222
 frame_dealloc (f=0xb1a5bbfc) at ../Objects/frameobject.c:462
 _PyEval_EvalCodeWithName (_co=_co@entry=0xb3cae1d8, globals=globals@entry=0xb3cad414, locals=locals@entry=0x0, args=0xb1a5bbb4, argcount=2, kwnames=0xb4539598, kwargs=0xb1a5bbbc, kwcount=<optimized out>, kwstep=1, defs=0xb3cadba0, defcount=3, kwdefs=0x0, closure=0x0, name=0xb77ed688, qualname=0xb77ed688) at ../Python/ceval.c:4164

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in orca (Ubuntu):
importance: Undecided → Medium
summary: - orca crashed with SIGSEGV in __libc_signal_restore_set()
+ orca crashed with SIGSEGV in PyCData_clear()
tags: removed: need-i386-retrace
Revision history for this message
Attila Hammer (hammera) wrote :

Unfortunatelly, this bug is reproduced with installed 32 bit Debian weekly build testing system with equals described testcase.
This system containing too with Liblouis 3.5.0 version, but Orca screen reader version is different, 3.26.0 stable version.

To ensure with 64 bit architecture Debian and Ubuntu distributions environment is not affected, I downloaded a 64 bit Debian testing weekly build net inst cd, download link is following:
https://saimei.ftp.acc.umu.se/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-netinst.iso

After installation, I restarted the virtual machine with the new installed system and tryed reproduce the first letter described testcase.
Pressed Orca modifier+space keystroke, and goto the Braille page. After I enabled the contracted braille support related check box into Orca preferences dialog/Braille page and click OK button, Orca user settings reloaded related message is spokened, and Orca not freeze. My installed 64 bit Debian testing system is works perfect with enabled contracted braille support.

So, I don't no why, this issue absolute sure happening only with 32 bit environment, 64 bit systems is not affected.
My Ubuntu 16.04 Mate edition 64 bit system I using too with Liblouis 3.5.0 version and Orca master branch development version without any problem, enabled contracted braille setting and hungarian grade 2 Braille.

Attila

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.