FS#56717 - [enchant][claws-mail] Freezes when typing an e-mail

Attached to Project: Arch Linux
Opened by Jan Viktorin (jviki) - Thursday, 14 December 2017, 11:17 GMT
Last edited by Jan de Groot (JGC) - Friday, 15 December 2017, 22:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

claws-mail (3.15.1-3) freezes regularly when typing an e-mail, it seems that it is related to typing non-standard letters like ěščřžýáíé, etc. The application becomes unusable for me. I believe that it might be somehow related to the issue  FS#56588  - [gnome-subtitles] Can't launch with Enchant 2.1.2-2.

Downgrading enchant to 1.6.1-2 and downgrading claws-mail to 3.15.1-1 solves the issue.

Additional info:
* claws-mail 3.15.1-3, enchant 2.1.2-2

# strace -p $CLAWS_PID
...
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\2\20\315<\326s\375\t%\1\0\0\275\5`\0\0\0\0\0009\3\206\0014\3P\1\20 \1\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
stat("/home/jviki/.config/enchant/he.exc", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/home/jviki/.config/enchant/he.dic", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\22\0\7\0\275\5`\0M\1\0\0\6\0\0\0 \7\33\0\1\0\0\0\326s\375\t\33\0\2\0"..., iov_len=36}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 36
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base=" \0\2\0\0\0\0\0", iov_len=8}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 8
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="+\0\1\0", iov_len=4}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 4
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\2\321<\0\0\0\0\275\5`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5c68030c90) = 4537
wait4(4537, NULL, 0, NULL) = 4537
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4537, si_uid=1000, si_status=0, si_utime=3, si_stime=0} ---
unlink("/tmp/claws-mail-1000/677bd36674dab07d744cee6741268c2e") = 0
exit_group(253) = ?
+++ exited with 253 +++

$ ps aux | grep claws
jviki 4771 3.0 1.1 625928 91400 ? Sl 12:08 0:01 claws-mail
jviki 4797 0.1 0.1 243420 15132 ? S 12:09 0:00 claws-mail --debug --crash 4771,11,claws-mail

Steps to reproduce:

* Start claws-mail
* Create new e-mail
* Type ý into the subject field
* Immediate freeze...
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 15 December 2017, 22:58 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Thursday, 14 December 2017, 13:15 GMT
This is probably fixed with https://github.com/AbiWord/enchant/commit/62dd1f24ef08e2f3e4bc9b15d9a48acc7c88d650

Evolution also segfaults on me when replying to a mail with accents in it. Workaround is to delete /usr/lib/enchant/enchant_hspell.so
Comment by Eli Schwartz (eschwartz) - Friday, 15 December 2017, 19:38 GMT
  • Field changed: Summary ([claws-mail] Freezes when typing an e-mail → [enchant][claws-mail] Freezes when typing an e-mail)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Andreas Radke (AndyRTR), Jan de Groot (JGC)
Can we try backporting that fix then?

Loading...