Bug 3646

Summary: SEGV when selecting unicode char ≥ U+10000 with fr_FR dictionary
Product: Claws Mail (GTK 2) Reporter: Jean-Benoist Leger <jb>
Component: UI/Compose Window/Spell CheckerAssignee: users
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 3.14.0   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
call stack
none
Example to reproduce (in UTF-8) none

Description Jean-Benoist Leger 2016-05-13 15:17:20 UTC
Created attachment 1645 [details]
call stack

In the compose windows, I write text with unicode ≥ U+10000, like

> Hello
Comment 1 Jean-Benoist Leger 2016-05-13 15:28:33 UTC
It seems the bucktracker does not like ≥ U+10000 too.

So, I try again, without U+10000

In the compose windows, I write text with unicode ≥ U+10000, like (but with real caracter, not escaped one)

> Hello \U0001d500\U0001d4f8\U0001d4fb\U0001d4f5\U0001d4ed!

Without the bug
===============

I select text begining with a normal character e.g. (I use [] to mark selection):

> Hel[lo \U0001d500\U0001d4f8\U0001d4fb\U0001d4f5\U0001d4ed!]

and I right-click, nothing happens.

With the bug
============

I select text begining with a ≥ U+10000 character e.g. (I use [] to mark selection):

> Hello [\U0001d500\U0001d4f8\U0001d4fb\U0001d4f5\U0001d4ed!]

and I right-click, SEGV happens.

Details
=======

Version: bug happens with 3.11.1 packaged by my distribution and git version (commit c4ebc9dacb8242351b3cc485aadfe6bc05f89cd8)

Provided in attachment: gdb call stack for both version.
Comment 2 Paul 2016-05-13 15:32:13 UTC
looks like a crash in hunspell.
no crash here.
what dictionary are you using?
what distro and version are you using?
Comment 3 Paul 2016-05-13 15:33:52 UTC
Maybe you can attach a message which produces this? Or fwd as attachment to me directly.
Comment 4 Jean-Benoist Leger 2016-05-13 15:38:54 UTC
My distribution is Debian Jessie (8.4).

I use the `fr_FR` dictionnary. The problem does not happend wuth the `en`.

I will attach a message for reproducing.
Comment 5 Jean-Benoist Leger 2016-05-13 15:40:33 UTC
Created attachment 1646 [details]
Example to reproduce (in UTF-8)
Comment 6 Jean-Benoist Leger 2016-05-13 15:44:13 UTC
I think the bugtracker web interface hates me. Sorry for serverity change.
Comment 7 Paul 2016-05-13 16:34:31 UTC
It's not our bug. Probably hunspell's bug
Comment 8 Paul 2016-05-13 16:35:24 UTC
Sorry, didn't mean to close it. Not our bug, but not good to crash...
Comment 9 Paul 2018-10-26 11:25:11 UTC
presumably fixed in hunspell, no longer crashes here.