[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1036163: failed.mmap /usr/share/fcitx5/zhuyin/gb_char.bin failed



Package: fcitx5-zhuyin
Version: 5.0.11-1
Severity: grave
X-Debbugs-Cc: zhsj@debian.org


When switching to fcitx5-zhuyin, fcitx5 segfault

failed.mmap /usr/share/fcitx5/zhuyin/gb_char.bin failed!

#0  0x00007fd7cce595f6 in pinyin::SubPhraseIndex::load (this=0x55f4df550dc0, chunk=chunk@entry=0x55f4df550d90, offset=16, offset@entry=0, end=0) at storage/phrase_index.cpp:353
#1  0x00007fd7cce597e9 in pinyin::FacadePhraseIndex::load (this=this@entry=0x55f4df53ba40, phrase_index=phrase_index@entry=1 '\001', chunk=chunk@entry=0x55f4df550d90)
    at storage/phrase_index.cpp:243
#2  0x00007fd7cce99887 in _load_phrase_library (system_dir=<optimized out>, user_dir=0x55f4df52f2e0 "/home/zsj/.local/share/fcitx5/zhuyin", phrase_index=0x55f4df53ba40, 
    table_info=0x55f4df540888) at ./src/zhuyin.cpp:208
#3  0x00007fd7cce9e7a5 in zhuyin_init (systemdir=<optimized out>, userdir=<optimized out>) at ./src/zhuyin.cpp:332

Rebuilding the package fixes the problem.

gb_char.bin is generated when building fcitx5-zhuyin, using
/usr/bin/gen_binary_files from libpinyin-utils/2.7.92, which can't be read by
libzhuyin15/2.8.1.

So I think the problem is libpinyin changes the binary format from 2.7.92 to 2.8.1.

-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fcitx5-zhuyin depends on:
ii  libc6             2.36-9
ii  libfcitx5config6  5.0.21-3
ii  libfcitx5core7    5.0.21-3
ii  libfcitx5utils2   5.0.21-3
ii  libgcc-s1         12.2.0-14
ii  libglib2.0-0      2.74.6-2
ii  libstdc++6        12.2.0-14
ii  libzhuyin15       2.8.1-1

Versions of packages fcitx5-zhuyin recommends:
ii  fcitx5  5.0.21-3

fcitx5-zhuyin suggests no packages.

-- no debconf information


Reply to: