← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2087869] Re: gnome-text-editor crashed with SIGABRT (assertion failure: "assertion failed: (word_len > 0)") when typing 2 newlines in a Thai text

 

Tested on Ubuntu 25.04. This seems to no longer be an issue. Thank you
for reminding me.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-text-editor in
Ubuntu.
https://bugs.launchpad.net/bugs/2087869

Title:
  gnome-text-editor crashed with SIGABRT (assertion failure: "assertion
  failed: (word_len > 0)") when typing 2 newlines in a Thai text

Status in gnome-text-editor package in Ubuntu:
  Won't Fix

Bug description:
  Steps to reproduce:
  0. From the crash, I assume you need a Thai spelling dictionary package installed. I think it's `hunspell-th`.
  1. Open gnome-text-editor to an empty document.
  2. Type or paste a Thai character. You can copy one here: ก
  3. Press "Enter" twice.

  Expected result: 2 newlines are inserted.
  Actual result: 1 newline is inserted. After that, the program aborts with:

  ---
  **
  ERROR:../lib/enchant/spelling-enchant-dictionary.c:87:spelling_enchant_dictionary_contains_word: assertion failed: (word_len > 0)
  Bail out! ERROR:../lib/enchant/spelling-enchant-dictionary.c:87:spelling_enchant_dictionary_contains_word: assertion failed: (word_len > 0)
  ---

  The backtrace of the aborting thread is:

  ---
  #0  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44
  #1  __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:78
  #2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
  #3  0x00007ffff664519e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
  #4  0x00007ffff6628902 in __GI_abort () at ./stdlib/abort.c:79
  #5  0x00007ffff7b490cc in g_assertion_message
      (domain=domain@entry=0x0, file=file@entry=0x7ffff7ab1188 "../lib/enchant/spelling-enchant-dictionary.c", line=line@entry=87, func=func@entry=0x7ffff7aae3c0 <__func__.5.lto_priv.3> "spelling_enchant_dictionary_contains_word", message=message@entry=0x7fffb0007030 "assertion failed: (word_len > 0)") at ../../../glib/gtestutils.c:3387
  #6  0x00007ffff7bb3b67 in g_assertion_message_expr
      (domain=domain@entry=0x0, file=file@entry=0x7ffff7ab1188 "../lib/enchant/spelling-enchant-dictionary.c", line=line@entry=87, func=func@entry=0x7ffff7aae3c0 <__func__.5.lto_priv.3> "spelling_enchant_dictionary_contains_word", expr=expr@entry=0x7ffff7aaed9f "word_len > 0") at ../../../glib/gtestutils.c:3413
  #7  0x00007ffff7aa51ec in spelling_enchant_dictionary_contains_word (dictionary=0x555555a10050, word=0x5555573a8564 "\n", word_len=0)
      at ../lib/enchant/spelling-enchant-dictionary.c:87
  #8  0x00007ffff7aa28b2 in _spelling_dictionary_check_words
      (self=0x555555a10050, text=0x5555573a8560 "ก\n\n", positions=<optimized out>, n_positions=<optimized out>)
      at ../lib/spelling-dictionary.c:322
  #9  spelling_job_check (task=0x5555573f68a0, source_object=0x555557382800, task_data=<optimized out>, cancellable=<optimized out>)
      at ../lib/spelling-job.c:394
  #10 0x00007ffff7d968d2 in g_task_thread_pool_thread (thread_data=0x5555573f68a0, pool_data=<optimized out>)
      at ../../../gio/gtask.c:1583
  #11 0x00007ffff7bbe922 in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../glib/gthreadpool.c:336
  #12 0x00007ffff7bb9ec2 in g_thread_proxy (data=0x7fffdc000c50) at ../../../glib/gthread.c:892
  #13 0x00007ffff66a1e2e in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
  #14 0x00007ffff6733a4c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
  ---

  This is Ubuntu 24.10 with gnome-text-editor 47.0-1ubuntu2.

  ProblemType: Crash
  DistroRelease: Ubuntu 24.10
  Package: gnome-text-editor 47.0-1ubuntu2
  ProcVersionSignature: Ubuntu 6.11.0-9.9-generic 6.11.0
  Uname: Linux 6.11.0-9-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.30.0-0ubuntu4
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashCounter: 1
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Nov 12 01:14:32 2024
  ExecutablePath: /usr/bin/gnome-text-editor
  ExecutableTimestamp: 1727867972
  InstallationDate: Installed on 2024-07-23 (111 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcCmdline: /usr/bin/gnome-text-editor
  ProcCwd: /home/peat
  ProcEnviron:
   LANG=th_TH.UTF-8
   PATH=(custom, user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Signal: 6
  SignalName: SIGABRT
  SourcePackage: gnome-text-editor
  StacktraceTop:
   ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_assertion_message_expr () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ??? () at /lib/x86_64-linux-gnu/libspelling-1.so.2
   ??? () at /lib/x86_64-linux-gnu/libspelling-1.so.2
   ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
  Title: gnome-text-editor crashed with SIGABRT in ???()
  UpgradeStatus: Upgraded to oracular on 2024-11-03 (8 days ago)
  UserGroups: adm cdrom dialout dip libvirt lpadmin lxd plugdev sbuild sudo users
  separator:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-text-editor/+bug/2087869/+subscriptions