Random crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ibus-libpinyin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
Cosmic |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
libpinyin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
Cosmic |
Fix Released
|
Medium
|
Gunnar Hjalmarsson |
Bug Description
[Impact]
ibus-libpinyin has proved to crash far too often. One or more files in ~/.cache/
In disco (and eoan) ibus-libpinyin 1.11.0 and libpinyin 2.2.2 are present, and the number of crashes has been reduced significantly:
https:/
Upstream ChangeLog ibus-libpinyin:
-------
version 1.11.0
* fixes keypad decimal
* fixes emoji candidates
* support configurable opencc config
version 1.10.92
* fixes Enter handling
version 1.10.91
* support ime.register_
* support predicted candidates
* support emoji input
version 1.10.0
* bug fixes
version 1.9.91
* migrate to use GSettings
* fixes lyx short cut issue
version 1.9.3
* translate input method name in ibus menu
Upstream ChangeLog libpinyin:
-------
version 2.2.2
* minor fixes
version 2.2.1
* fixes predicted candidates
version 2.2.0
* bug fixes
The proposal is to backport the disco versions of those packages to bionic and cosmic in an attempt to prevent crashes. Proposed uploads are available in this PPA:
https:/
[Test Case]
* Install from {bionic,
- libpinyin13
- libpinyin-data
- ibus-libpinyin
* Use "Intelligent Pinyin" for typing and confirm that no new issues
show up when doing so.
(This is apparently not a confirmation that the upload really fixes the bug. To compensate for that, we will await testing of the -proposed packages by a few Chinese users before considering the uploads verified.)
Reverse dependencies
-------
Besides ibus-libpinyin, also fcitx-libpinyin and ibus-libzhuyin depend on packages belonging to the libpinyin source package. So additional test measures are:
* Install fcitx-libpinyin and ibus-libzhuyin.
* Use both those tools for typing Chinese, and confirm that you don't
observe any adverse effects of the libpinyin upgrade.
[Regression Potential]
The changes are mostly bug fixes, so the regression risk should be limited. Also consider that the starting point is a rather unstable functionality.
NOTE TO SRU TEAM: Please let the SRU age for longer than 7 days to get as much testing as possible. There do not seem to be too many risky changes carried, but such jumps in upstream versions always carry some regression-risk.
[Original description]
I have experienced random ibus-libpinyin crashes in bionic. I cannot reproduce it, but it occurred at least a few times, even after the official bionic release. Same crashes were also reported in the Ubuntu Chinese forum.
Currently, the workaround is to delete the ~/.cache/
I talked to Peng Wu, ibus-libpinyin's creator and main maintainer, he suggested that we update the version of ibus-libpinyin to 1.10.
Can we give this update a trial?
Changed in ibus-libpinyin (Ubuntu): | |
status: | New → Incomplete |
Changed in ibus-libpinyin (Ubuntu): | |
status: | Expired → New |
no longer affects: | language-selector (Ubuntu Bionic) |
no longer affects: | language-selector (Ubuntu) |
Changed in ibus-libpinyin (Ubuntu Bionic): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in libpinyin (Ubuntu Bionic): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ibus-libpinyin (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in libpinyin (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Changed in ibus-libpinyin (Ubuntu): | |
importance: | Undecided → Medium |
Changed in libpinyin (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
This may be a fixed bug in libpinyin.
Please update libpinyin and ibus-libpinyin to latest version, thanks!
BTW, we provide the tar ball in github.com now.