Bug 2317741

Summary: [abrt] ibus-libpinyin: _add_phrase(): ibus-engine-libpinyin killed by SIGABRT
Product: [Fedora] Fedora Reporter: Lee Dan <DNDLinuxer>
Component: ibus-libpinyinAssignee: Peng Wu <pwu>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: DNDLinuxer, i18n-bugs, petersen, pwu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3d6e8029162c44e94933e29ed2e8646d07c34e9
Whiteboard: abrt_hash:7628646857d339d3eb0fa7c260644c0113a88e23;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-20 02:21:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: dso_list
none
File: backtrace none

Description Lee Dan 2024-10-10 04:05:17 UTC
Description of problem:
type "weiruan" to get “微软" or "to" to get "他哦“ when pressing space

Version-Release number of selected component:
ibus-libpinyin-1.15.8-1.fc40

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         ibus-engine-libpinyin killed by SIGABRT
journald_cursor: s=c9961cde763649009064b3fe6cd72ae0;i=75fe85;b=eca956b8ab964872b8bce54b49efa7b6;m=190e511fd;t=624174867f37f;x=e8644d95ff6f45bc
executable:     /usr/libexec/ibus-engine-libpinyin
cmdline:        /usr/libexec/ibus-engine-libpinyin --ibus
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.freedesktop.IBus.session.GNOME.service
rootdir:        /
uid:            1000
kernel:         6.10.12-200.fc40.x86_64
package:        ibus-libpinyin-1.15.8-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: _add_phrase
comment:        type "weiruan" to get “微软" or "to" to get "他哦“ when pressing space

Truncated backtrace:
Thread no. 1 (18 frames)
 #6 _add_phrase at /usr/src/debug/libpinyin-2.8.1-7.fc40.x86_64/src/pinyin.cpp:537
 #7 _remember_phrase_recur at /usr/src/debug/libpinyin-2.8.1-7.fc40.x86_64/src/pinyin.cpp:3390
 #10 pinyin_remember_user_input at /usr/src/debug/libpinyin-2.8.1-7.fc40.x86_64/src/pinyin.cpp:3434
 #11 PY::LibPinyinBackEnd::rememberUserInput at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYLibPinyin.cc:343
 #12 PY::LibPinyinCandidates::selectCandidate at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYPLibPinyinCandidates.cc:121
 #13 PY::PhoneticEditor::selectCandidateInternal at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYPPhoneticEditor.cc:399
 #14 PY::PhoneticEditor::selectCandidate at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYPPhoneticEditor.cc:521
 #15 PY::PhoneticEditor::processSpace at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYPPhoneticEditor.cc:73
 #17 PY::PinyinEngine::processKeyEvent at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYPPinyinEngine.cc:428
 #18 _ibus_marshal_BOOLEAN__UINT_UINT_UINT at /usr/src/debug/ibus-1.5.30-6.fc40.x86_64/src/ibusmarshalers.c:280
 #21 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3928
 #22 signal_emit_valist_unlocked at ../gobject/gsignal.c:3533
 #25 ibus_engine_service_method_call at /usr/src/debug/ibus-1.5.30-6.fc40.x86_64/src/ibusengine.c:1294
 #26 call_in_idle_cb at ../gio/gdbusconnection.c:5454
 #29 g_main_context_dispatch_unlocked at ../glib/gmain.c:4152
 #30 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4217
 #32 ibus_main at /usr/src/debug/ibus-1.5.30-6.fc40.x86_64/src/ibusshare.c:330
 #33 start_component at /usr/src/debug/ibus-libpinyin-1.15.8-1.fc40.x86_64/src/PYMain.cc:155

Comment 1 Lee Dan 2024-10-10 04:05:21 UTC
Created attachment 2051321 [details]
File: proc_pid_status

Comment 2 Lee Dan 2024-10-10 04:05:23 UTC
Created attachment 2051322 [details]
File: maps

Comment 3 Lee Dan 2024-10-10 04:05:25 UTC
Created attachment 2051323 [details]
File: limits

Comment 4 Lee Dan 2024-10-10 04:05:27 UTC
Created attachment 2051324 [details]
File: environ

Comment 5 Lee Dan 2024-10-10 04:05:29 UTC
Created attachment 2051325 [details]
File: open_fds

Comment 6 Lee Dan 2024-10-10 04:05:31 UTC
Created attachment 2051326 [details]
File: mountinfo

Comment 7 Lee Dan 2024-10-10 04:05:33 UTC
Created attachment 2051327 [details]
File: os_info

Comment 8 Lee Dan 2024-10-10 04:05:35 UTC
Created attachment 2051328 [details]
File: cpuinfo

Comment 9 Lee Dan 2024-10-10 04:05:37 UTC
Created attachment 2051329 [details]
File: core_backtrace

Comment 10 Lee Dan 2024-10-10 04:05:39 UTC
Created attachment 2051330 [details]
File: dso_list

Comment 11 Lee Dan 2024-10-10 04:05:42 UTC
Created attachment 2051331 [details]
File: backtrace

Comment 12 Lee Dan 2024-10-15 02:15:25 UTC
It reworks after

1. backup user dict
2. remove all files in ~/.cache/ibus/libpinyin
3. restore user dict backup

then the case mentioned in my report disappears