ibus-engine-chewing crashed with SIGSEGV

Bug #842115 reported by BlueT - Matthew Lien - 練喆明
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libchewing (Fedora)
Fix Released
Medium
libchewing (Ubuntu)
Fix Released
Medium
Unassigned
Lucid
Won't Fix
Medium
Unassigned
Maverick
Won't Fix
Medium
Unassigned
Natty
Won't Fix
Medium
Unassigned
Oneiric
Won't Fix
Medium
Unassigned

Bug Description

I was typing chinese and english, switching them by hitting Ctrl-Space. After some typing, I'm not able to switch to chinese mode and it crashed.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: ibus-chewing 1.2.0.20091211-1
ProcVersionSignature: Ubuntu 2.6.32-34.76-generic 2.6.32.44+drm33.19
Uname: Linux 2.6.32-34-generic x86_64
Architecture: amd64
Date: Tue Sep 6 03:57:50 2011
Disassembly: => 0x7f99c3a473d0: Cannot access memory at address 0x7f99c3a473d0
ExecutablePath: /usr/lib/ibus-chewing/ibus-engine-chewing
ProcCmdline: /usr/lib/ibus-chewing/ibus-engine-chewing --ibus
ProcEnviron:
 LANGUAGE=zh_TW:en_US:en
 PATH=(custom, user)
 LANG=zh_TW.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f99c3a473d0: Cannot access memory at address 0x7f99c3a473d0
 PC (0x7f99c3a473d0) ok
 SP (0x7fff92517fb8) ok
 Reason could not be automatically determined.
Signal: 11
SourcePackage: ibus-chewing
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: ibus-engine-chewing crashed with SIGSEGV
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare vboxusers

Related branches

Revision history for this message
In , Chen_Min_Chin (chenminchin-redhat-bugs) wrote :

abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: /usr/libexec/ibus-engine-chewing --ibus
component: ibus-chewing
crash_function: _wordcopy_bwd_aligned
executable: /usr/libexec/ibus-engine-chewing
kernel: 2.6.33.6-147.2.4.fc13.x86_64
package: ibus-chewing-1.3.6.20100730-1.fc13
rating: 4
reason: Process /usr/libexec/ibus-engine-chewing was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
time: 1282371265
uid: 500

Revision history for this message
In , Chen_Min_Chin (chenminchin-redhat-bugs) wrote :

Created an attachment (id=440081)
File: backtrace

Revision history for this message
In , Ding-Yi (ding-yi-redhat-bugs) wrote :

This looks more like the libchewing's bug, I will do further investigation.

Revision history for this message
In , Ding-Yi (ding-yi-redhat-bugs) wrote :

*** Bug 627452 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Ding-Yi (ding-yi-redhat-bugs) wrote :

*** Bug 626390 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/libchewing-0.3.2-28.fc12

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/libchewing-0.3.2-28.fc13

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/libchewing-0.3.2-28.fc14

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with
 su -c 'yum --enablerepo=updates-testing update libchewing'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/libchewing-0.3.2-28.fc14

Revision history for this message
In , Ding-Yi (ding-yi-redhat-bugs) wrote :

*** Bug 630670 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libchewing-0.3.2-28.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
BlueT - Matthew Lien - 練喆明 (bluet) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _wordcopy_bwd_aligned (dstp=25030656, srcp=25030640, len=2305843009210611336) at wordcopy.c:310
 __GI_memmove (dest=0x2f63bf8, src=<optimized out>, len=18446744073709551608) at memmove.c:99
 AddChi (phone=<optimized out>, pgdata=0x2f58a60) at /usr/include/bits/string3.h:59
 chewing_handle_Default (ctx=<optimized out>, key=52) at chewingio.c:1177
 ibus_chewing_engine_handle_Default ()

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 ibus-chewing (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Rex Tsai (chihchun) wrote :

I'm marking this bug as 'bitesize' as it looks like an issue that is easy to fix and suitable for newcomers in Ubuntu development. If you need any help with fixing it, talk to me about it.

tags: added: bitesize
Revision history for this message
Rex Tsai (chihchun) wrote :

This is issue of libchewing3 0.3.2, the wch_t structure is not aligned.

affects: ibus-chewing (Ubuntu) → libchewing (Ubuntu)
Changed in libchewing (Ubuntu):
status: New → Confirmed
Revision history for this message
Rex Tsai (chihchun) wrote :

patch and ppa will be available soon at the following urls
https://code.launchpad.net/~chihchun/ubuntu/lucid/libchewing/bug-842115
https://launchpad.net/~chihchun/+archive/lucid-experimental

Need to be tested to confirm the patch fix the issue.

Revision history for this message
BlueT - Matthew Lien - 練喆明 (bluet) wrote :

Hi chihchun,
Just installed and testing, thanks.

Rex Tsai (chihchun)
tags: added: patch patch-accepted-upstream
Revision history for this message
Rex Tsai (chihchun) wrote :
Revision history for this message
James Page (james-page) wrote :

Rex

If we wait to SRU this fix then this bug report needs to be updated inline with the SRU process requirements - see https://wiki.ubuntu.com/StableReleaseUpdates.

I've marked it 'Fixed Released' for precise and raised tasks for Lucid->Oneiric as the same version of the package exists in all of those releases.

Cheers

James

Changed in libchewing (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
James Page (james-page) wrote :

Rex

As the same version of this package is in Lucid->Oneiric please note the guidelines re version number in this scenario in https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging.

Cheers

James

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Since the debdiff is not suitable for upload yet, removing from ubuntu sponsorship queue by unsubscribing ubuntu-sponsors.

Rex, thanks for the first debdiff! Very close. Once you've updated the debdiff with the versions as outlined in the link in comment #12, please re-subscribe ubuntu-sponsors and somebody will take a look at it very soon.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Also to whomever ends up uploading the package to *-proposed, please re-subscribe ubuntu-sru at that time. Unsubbing ubuntu-sru for now.

Changed in libchewing (Ubuntu Lucid):
status: New → Triaged
Changed in libchewing (Ubuntu Maverick):
status: New → Triaged
Changed in libchewing (Ubuntu Natty):
status: New → Triaged
Changed in libchewing (Ubuntu Oneiric):
status: New → Triaged
Changed in libchewing (Ubuntu Lucid):
importance: Undecided → Medium
Changed in libchewing (Ubuntu Maverick):
importance: Undecided → Medium
Changed in libchewing (Ubuntu Natty):
importance: Undecided → Medium
Changed in libchewing (Ubuntu Oneiric):
importance: Undecided → Medium
Revision history for this message
Rex Tsai (chihchun) wrote :

Clint, I have fixed the version[1][2] for lucid-proposed at the same day james send me feedback.

All the following series should have same issue, just need to change the version.
Lucid - 0.3.2-2
Maverick - 0.3.2-2
Natty - 0.3.2-2
Oneiric - 0.3.2-2

[1] https://code.launchpad.net/~chihchun/ubuntu/lucid/libchewing/bug-842115
[2] http://bazaar.launchpad.net/~chihchun/ubuntu/lucid/libchewing/bug-842115/revision/9

Revision history for this message
Rex Tsai (chihchun) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded to lucid-proposed. It might still sit in the review queue. Once it is available in -proposed, please test and give feedback on the bug report.

Changed in libchewing (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello BlueT, or anyone else affected,

Accepted libchewing into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Rex Tsai (chihchun) wrote :

I have the debdiff for Maverick, Natty and Oneiric. But it seems this issue only happen with lucid. Does anyone have same issue in newer series?

Revision history for this message
Stéphane Graber (stgraber) wrote :

Unsubscribing sponsors for now as the SRU is pending review for lucid and it's not sure we actually need one for the others.

If it turns out we actually need to SRU for > lucid, then please attach the debdiffs and subscribe ubuntu-sponsors again.

Thanks for your work!

Revision history for this message
Brian Murray (brian-murray) wrote : Verification still needed

The fix for this bug has been awaiting testing feedback in the -proposed repository for lucid for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

Changed in libchewing (Ubuntu Maverick):
status: Triaged → Won't Fix
Changed in libchewing (Ubuntu Natty):
status: Triaged → Won't Fix
tags: added: removal-candidate
Revision history for this message
Brian Murray (brian-murray) wrote :

The version of libchewing in lucid-proposed has been removed as this bug report was not verified in a timely fashion.

tags: removed: verification-needed
tags: removed: removal-candidate
Changed in libchewing (Ubuntu Lucid):
status: Fix Committed → Triaged
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in libchewing (Ubuntu Oneiric):
status: Triaged → Won't Fix
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in libchewing (Ubuntu Lucid):
status: Triaged → Won't Fix
Changed in libchewing (Fedora):
importance: Unknown → Medium
status: Unknown → 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.