Bug 2011130 - [abrt] ibus-mozc: __gnu_cxx::__verbose_terminate_handler()(): ibus-engine-mozc killed by SIGABRT
Summary: [abrt] ibus-mozc: __gnu_cxx::__verbose_terminate_handler()(): ibus-engine-moz...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mozc
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f003f9842f924762d98c734b478...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-06 05:02 UTC by hkoba
Modified: 2022-05-16 04:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-16 04:39:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (56.70 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: core_backtrace (15.58 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: cpuinfo (2.73 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: dso_list (645 bytes, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: environ (599 bytes, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: limits (1.29 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: maps (3.95 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: mountinfo (3.99 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: open_fds (63.98 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details
File: proc_pid_status (1.45 KB, text/plain)
2021-10-06 05:02 UTC, hkoba
no flags Details

Description hkoba 2021-10-06 05:02:41 UTC
Description of problem:
1. Launch RStudio (rstudio-desktop-1.4.1717-2.fc34.x86_64)

2. Open new Rmd

3. Turn ibus-mozc on and Enter multilingual texts like Japanese hiragana.

Then, ibus-mozc dies with SEGV at  mozc::ibus::(anonymous namespace)::GetSurroundingText(_IBusEngine*, mozc::ibus::SelectionMonitorInterface*, mozc::ibus::(anonymous namespace)::SurroundingTextInfo*) [clone .part.0] [clone .constprop.0] (engine=<optimized out>, 

Version-Release number of selected component:
ibus-mozc-2.25.4190.102-5.fc34

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-com.redhat.imsettings
cmdline:        /usr/libexec/ibus-engine-mozc --ibus
crash_function: __gnu_cxx::__verbose_terminate_handler()
executable:     /usr/libexec/ibus-engine-mozc
journald_cursor: s=56ad17da12da4eed800e68e166be00cd;i=7b37d1;b=f5aaea975c544d17b3b8f1ab25b1ec94;m=113dfa89293;t=5cd7162a6a7c5;x=5d0f1fdfb0e35252
kernel:         5.13.12-200.fc34.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 __gnu_cxx::__verbose_terminate_handler() at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
 #3 __cxxabiv1::__terminate(void (*)()) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
 #4 std::terminate() at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
 #5 __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*)) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
 #6 std::__throw_length_error(char const*) at ../../../../../libstdc++-v3/src/c++11/functexcept.cc:82
 #7 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const at /usr/include/c++/11/bits/basic_string.h:323
 #8 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) at /usr/include/c++/11/bits/basic_string.tcc:452
 #9 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long) at /usr/include/c++/11/bits/basic_string.h:1946
 #10 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >) at /usr/include/c++/11/bits/basic_string.h:2168
 #11 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, void>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >) at /usr/include/c++/11/bits/basic_string.h:1478

Comment 1 hkoba 2021-10-06 05:02:43 UTC
Created attachment 1829659 [details]
File: backtrace

Comment 2 hkoba 2021-10-06 05:02:45 UTC
Created attachment 1829660 [details]
File: core_backtrace

Comment 3 hkoba 2021-10-06 05:02:46 UTC
Created attachment 1829661 [details]
File: cpuinfo

Comment 4 hkoba 2021-10-06 05:02:47 UTC
Created attachment 1829662 [details]
File: dso_list

Comment 5 hkoba 2021-10-06 05:02:48 UTC
Created attachment 1829663 [details]
File: environ

Comment 6 hkoba 2021-10-06 05:02:50 UTC
Created attachment 1829664 [details]
File: limits

Comment 7 hkoba 2021-10-06 05:02:51 UTC
Created attachment 1829665 [details]
File: maps

Comment 8 hkoba 2021-10-06 05:02:52 UTC
Created attachment 1829666 [details]
File: mountinfo

Comment 9 hkoba 2021-10-06 05:02:53 UTC
Created attachment 1829667 [details]
File: open_fds

Comment 10 hkoba 2021-10-06 05:02:54 UTC
Created attachment 1829668 [details]
File: proc_pid_status

Comment 11 hkoba 2021-10-06 05:10:17 UTC
Sorry, this is not a SEGV, but an uncaught length checks error of std::string, as you can see.

Comment 12 hkoba 2021-10-06 05:19:39 UTC
Following is what I saw in "coredumpctl debug"

(gdb) down
#12 mozc::ibus::(anonymous namespace)::GetSurroundingText(_IBusEngine*, mozc::ibus::SelectionMonitorInterface*, mozc::ibus::(anonymous namespace)::SurroundingTextInfo*) [clone .part.0] [clone .constprop.0] (engine=<optimized out>, 
    selection_monitor=<optimized out>, info=0x7ffc45735770) at ../../unix/ibus/mozc_engine.cc:207
207	  info->following_text.assign(selection_end_it, surrounding_text.end());
(gdb) p *info
$8 = {relative_selected_length = 0, preceding_text = "", selection_text = "", following_text = ""}
(gdb) p cursor_pos
$9 = 1
(gdb) p anchor_pos
$10 = 1
(gdb) p text
$11 = 0x7f799006ca00
(gdb) p surrounding_text
$12 = ""

Comment 13 Ben Cotton 2022-05-12 16:36:51 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 14 Akira TAGOH 2022-05-16 04:39:37 UTC
I tested with mozc-2.26.4577.102-2.fc36.x86_64 and looks good unless I'm not missing anything. please try again with the latest version and reopen if this still persists. thanks.


Note You need to log in before you can comment on or make changes to this bug.