https://bugzilla.redhat.com/show_bug.cgi?id=2011130
Bug ID: 2011130 Summary: [abrt] ibus-mozc: __gnu_cxx::__verbose_terminate_handler()(): ibus-engine-mozc killed by SIGABRT Product: Fedora Version: 34 Hardware: x86_64 Status: NEW Whiteboard: abrt_hash:f003f9842f924762d98c734b478bf77d21a0e328;VAR IANT_ID=matecompiz; Component: mozc Assignee: tagoh@redhat.com Reporter: buribullet@gmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, robinlee.sysu@gmail.com, tagoh@redhat.com, tfujiwar@redhat.com Target Milestone: --- Classification: Fedora
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@1000.service/app.slice/dbus-:1.2-com.redhat.imsettings@0.service 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
https://bugzilla.redhat.com/show_bug.cgi?id=2011130
--- Comment #11 from hkoba buribullet@gmail.com --- Sorry, this is not a SEGV, but an uncaught length checks error of std::string, as you can see.
https://bugzilla.redhat.com/show_bug.cgi?id=2011130
--- Comment #12 from hkoba buribullet@gmail.com --- 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 = ""
https://bugzilla.redhat.com/show_bug.cgi?id=2011130
--- Comment #13 from Ben Cotton bcotton@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2011130
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Doc Type|--- |If docs needed, set a value Resolution|--- |CURRENTRELEASE Last Closed| |2022-05-16 04:39:37
--- Comment #14 from Akira TAGOH tagoh@redhat.com --- 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.
i18n-bugs@lists.fedoraproject.org