onboard crashed with SIGSEGV in PyObject_Call()

Bug #1195857 reported by Utz
94
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Medium
Unassigned
onboard (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

On startup, but at other times too, onboard "vanishes" or crashes

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: onboard 0.99.0~alpha1~tr1190-0ubuntu1
ProcVersionSignature: Ubuntu 3.10.0-0.7-generic 3.10.0-rc7
Uname: Linux 3.10.0-0-generic x86_64
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
Date: Fri Jun 28 21:05:44 2013
ExecutablePath: /usr/bin/onboard
InstallationDate: Installed on 2013-06-25 (3 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130528.1)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
ProcCmdline: /usr/bin/python3 /usr/bin/onboard --xid
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_CH.UTF-8
 SHELL=/bin/false
 LANGUAGE=de_CH:de
SegvAnalysis:
 Segfault happened at: 0x5714bb <PyObject_CallObject+235>: mov 0x18(%rdi),%esi
 PC (0x005714bb) ok
 source "0x18(%rdi)" (0x00000018) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: onboard
StacktraceTop:
 PyObject_CallObject ()
 ?? () from /usr/lib/python3/dist-packages/Onboard/osk.cpython-33m-x86_64-linux-gnu.so
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: onboard crashed with SIGSEGV in PyObject_CallObject()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Utz (utz-recke) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 PyObject_Call (kw=0x0, arg=0x7f9e8b20a050, func=0x7f9e7ca4c8c0) at ../Objects/abstract.c:2082
 PyEval_CallObjectWithKeywords (kw=0x0, arg=0x7f9e8b20a050, func=0x7f9e7ca4c8c0) at ../Python/ceval.c:3947
 PyObject_CallObject (o=0x7f9e7ca4c8c0, o@entry=<error reading variable: value has been optimized out>, a=a@entry=0x0) at ../Objects/abstract.c:2072
 signal_handler (user_data=<error reading variable: value has been optimized out>) at Onboard/osk/osk_util.c:538
 g_unix_signal_watch_dispatch (source=source@entry=0x238b620, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.37.3/./glib/gmain.c:4942

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in onboard (Ubuntu):
importance: Undecided → Medium
summary: - onboard crashed with SIGSEGV in PyObject_CallObject()
+ onboard crashed with SIGSEGV in PyObject_Call()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in onboard (Ubuntu):
status: New → Confirmed
information type: Private → Public
marmuta (marmuta)
Changed in onboard:
importance: Undecided → Medium
Revision history for this message
marmuta (marmuta) wrote :

I haven't been able to reproduce this bug myself, but trunk rev. 1526 probably fixes it anyway. Similar to bug #189946, the python thread state wasn't set up properly. Saucy's Python 3.3.2 isn't as lenient as previous versions and is likely is to crash in that case.

Changed in onboard:
status: New → Fix Committed
Revision history for this message
Utz (utz-recke) wrote :

So what do I have to do? Wait for a new python version? Where can I get the mentioned trunk rev. 1526 or newer?

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

You can find a Snapshot of Onboard containing among others a fix for this bug and new features in our Snapshots PPA.
https://launchpad.net/~onboard/+archive/snapshots

Revision history for this message
Utz (utz-recke) wrote :

The onboard ppa works. Thanks.

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

Hi,

I have uploaded a snapshot of the current development status of Onboard containing a fix for this bug and other new features to our main PPA that is also ARM enabled:
https://launchpad.net/~onboard/+archive/ppa

The snapshot is available for raring and for saucy.

Have a nice day.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Works perfectly without crashes now. Thank you.

Only thing which does not work is that onboard does not take the desktop theme. The keys are beige with black text, and not as the menus dark gray with white text.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

About my these problem see bug 1210568.

Changed in onboard:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.6 KiB)

This bug was fixed in the package onboard - 0.99.0-0ubuntu1

---------------
onboard (0.99.0-0ubuntu1) saucy; urgency=low

  * Request for sponsorship for new upstream release (LP: #1215164)
  * debian/control:
    - Add libcanberra-dev, libxkbfile-dev and libhunspell-dev to Build-Depends
    - Raise Standards-Version to 3.9.4
    - Remove python3-virtkey from Depends
    - Add libxkbfile1, libcanberra0, libhunspell-1.3-0 and iso-codes to Depends
    - Define new package onboard-data package for all architectures
    - Add onboard-data to Recommends
    - Update description of onboard package
  * debian/control_python2.in: removed
  * debian/control_python3.in: removed
  * debian/onboard.install: new file to split keyboard from the prediction data
  * debian/onboard-data.install: new file with the prediction data for onboard
  * debian/rules:
    - Remove support for python2
    - Add override_dh_auto_install target to use debian/tmp
    - Add override_dh_install target
  * debian/patches/add_defaults_for_ubuntu.patch:
    - Update add_defaults_for_ubuntu.patch with values for this release
  * Long press popup:
    - Hide long press popup when keyboard gets hidden
    - Add possibility to show arbitrary layouts in popups
    - Add character alternatives for most latin based languages
  * Add key-press feedback:
    - Size of label popup stored in gsettings-key
    - Also allow images in the touch feedback
    - Don't show feedback popup when xembedded
  * Add sound feedback:
    - New dependency: libcanberra
    - Add 'Play sound' option to the Preferences dialog
  * Add word suggestions:
    - Add tools to create language models (lm) from large corpora
    - Learn from typed text by default
    - Limit over-learning in the terminal with additional filters.
    - Use UTF-8 encoding internally (cuts memory usage)
    - Fall back to hard-coded country codes if there is no lm for current locale
    - Add initial system language models for: de_AT, de_CH, de_DE, en_AU,
      en_ES, en_GB, en_US, fr_fr, it_IT, pt_BR, pt_PT, ru_RU
    - Optimize system language models for size/memory usage.
    - Use case insensitive predictions most of the time
    - Offer spelling suggestions based on the hunspell C-API
    - Auto-add word separators
    - Add word suggestion row to all layouts
    - Make word suggestion also work when using the scanning mode
    - Doctests available for English, German, Italian, Portuguese, Russian and
      Spanish
  * Add auto-capitalization
    - Off by default because very new
    - Add corresponding option to the Preferences of Onboard
    - Independent of word suggestions
  * Add XInput as a new event source and make it the default: (LP: #905636)
    - Fall back to GTK event handling if XInput 2.2 isn't available
    - Allow switching between GTK and XInput events without restarting Onboard
    - Listen only to the XInput client pointer and its slaves
    - Make XInput target specific windows instead of root window
    - Support Multi-touch
    - Don't count scroll-wheel movement as button presses
    - Grab pointer even if click is performed by different device than movement
    - Fix pointer becoming unresponsive on wetab...

Read more...

Changed in onboard (Ubuntu):
status: Confirmed → Fix Released
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.