GNU bug report logs - #28110
25.2; crashes when opening a file with Kannada script

Previous Next

Package: emacs;

Reported by: reddy <reddy <at> sikshana.org>

Date: Wed, 16 Aug 2017 15:36:02 UTC

Severity: normal

Merged with 30193

Found in versions 25.2, 25.2+1-6, 26.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28110 in the body.
You can then email your comments to 28110 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 16 Aug 2017 15:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to reddy <reddy <at> sikshana.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 16 Aug 2017 15:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: reddy <reddy <at> sikshana.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; crashes when opening a file with Kannada script
Date: Wed, 16 Aug 2017 19:18:18 +0530
[Message part 1 (text/plain, inline)]
1. Open the attached file "kannada.txt"

[kannada.txt (text/plain, inline)]
ಸಿಕೊಂಡ
[backtrace (application/octet-stream, attachment)]
[Message part 4 (text/plain, inline)]
If you need more info, I can provide it.



In GNU Emacs 25.2.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
 of 2017-08-16 built on zen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	elementary OS 0.4.1 Loki

Configured using:
 'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
 'CFLAGS=-O0 -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE
M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Target doesn’t support non-stop mode.  Turning it off.
Switched to thread 1
Undefined command: "full".  Try "help".

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs cl-seq gdb-mi bindat json map seq byte-opt gv bytecomp
byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib
gud easy-mmode comint ansi-color ring time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 148124 8600)
 (symbols 48 23775 0)
 (miscs 40 483 194)
 (strings 32 28376 5476)
 (string-bytes 1 1044349)
 (vectors 16 18462)
 (vector-slots 8 502279 4038)
 (floats 8 196 76)
 (intervals 56 3939 1)
 (buffers 976 25)
 (heap 1024 24229 1160))

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 16 Aug 2017 15:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: reddy <reddy <at> sikshana.org>, Kenichi Handa <handa <at> gnu.org>
Cc: 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Wed, 16 Aug 2017 18:48:21 +0300
> From: reddy <reddy <at> sikshana.org>
> Date: Wed, 16 Aug 2017 19:18:18 +0530
> 
> 1. Open the attached file "kannada.txt"

Emacs 25.2 here doesn't crash when displaying that file, but my build
doesn't use libotf and libm17n-flt.

Can you try installing the latest versions of those libraries,
including from their development repositories?  It could well be the
problem with those libraries.  Also, if you could try the latest
development snapshot of Emacs 26.

CC'ing Handa-san who could tell more about this.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 16 Aug 2017 15:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: reddy <reddy <at> sikshana.org>
Cc: 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Wed, 16 Aug 2017 17:54:13 +0200
On Aug 16 2017, reddy <reddy <at> sikshana.org> wrote:

> 1. Open the attached file "kannada.txt"
>
> ಸಿಕೊಂಡ

No problem with Noto Sans Kannada.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 16 Aug 2017 16:14:02 GMT) Full text and rfc822 format available.

Message #14 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: reddy <at> sikshana.org, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Wed, 16 Aug 2017 19:12:37 +0300
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Date: Wed, 16 Aug 2017 17:54:13 +0200
> Cc: 28110 <at> debbugs.gnu.org
> 
> On Aug 16 2017, reddy <reddy <at> sikshana.org> wrote:
> 
> > 1. Open the attached file "kannada.txt"
> >
> > ಸಿಕೊಂಡ
> 
> No problem with Noto Sans Kannada.

Thanks.  Reddy, what font are you using for the Kannada script?  Can
you try with Noto Sans Kannada?  Does displaying the HELLO file (using
"C-h H") also crash for you when you get to the part which shows the
Kannada greeting on line 46?

Andreas, can you please tell what versions of libotf and libm17n-flt
do you use?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 16 Aug 2017 16:51:02 GMT) Full text and rfc822 format available.

Message #17 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: reddy <at> sikshana.org, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Wed, 16 Aug 2017 18:50:32 +0200
On Aug 16 2017, Eli Zaretskii <eliz <at> gnu.org> wrote:

> Andreas, can you please tell what versions of libotf and libm17n-flt
> do you use?

0.9.13 and 1.6.4.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 16 Aug 2017 16:55:01 GMT) Full text and rfc822 format available.

Message #20 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: reddy <at> sikshana.org, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Wed, 16 Aug 2017 19:54:12 +0300
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: reddy <at> sikshana.org,  28110 <at> debbugs.gnu.org
> Date: Wed, 16 Aug 2017 18:50:32 +0200
> 
> On Aug 16 2017, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> > Andreas, can you please tell what versions of libotf and libm17n-flt
> > do you use?
> 
> 0.9.13 and 1.6.4.

Thanks.  Reddy, please compare this with your versions, in addition to
finding out what font is installed on your system for Kannada.




Merged 27836 28110. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 16 Aug 2017 19:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Thu, 17 Aug 2017 04:14:02 GMT) Full text and rfc822 format available.

Message #25 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Venkatesh Reddy <reddy <at> sikshana.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Kenichi Handa <handa <at> gnu.org>, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Thu, 17 Aug 2017 09:43:48 +0530
[Message part 1 (text/plain, inline)]
Eli,
Thanks for looking into it. The crash happens only while using GTK and not
while using "emacs -nw".
Will try the suggestions you have and report back.

Regards,
Reddy

On Wed, Aug 16, 2017 at 9:18 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: reddy <reddy <at> sikshana.org>
> > Date: Wed, 16 Aug 2017 19:18:18 +0530
> >
> > 1. Open the attached file "kannada.txt"
>
> Emacs 25.2 here doesn't crash when displaying that file, but my build
> doesn't use libotf and libm17n-flt.
>
> Can you try installing the latest versions of those libraries,
> including from their development repositories?  It could well be the
> problem with those libraries.  Also, if you could try the latest
> development snapshot of Emacs 26.
>
> CC'ing Handa-san who could tell more about this.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Thu, 17 Aug 2017 04:44:02 GMT) Full text and rfc822 format available.

Message #28 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Venkatesh Reddy <reddy <at> sikshana.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Andreas Schwab <schwab <at> linux-m68k.org>, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Thu, 17 Aug 2017 10:13:22 +0530
[Message part 1 (text/plain, inline)]
Eli/Andreas,
Noto-Kannada is installed in the system. C-h H has no problems displaying
the content.
libotf: 0.9.13-3
libm17n-flt: 1.7.0-3


Regards,
Reddy

On Wed, Aug 16, 2017 at 10:24 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Andreas Schwab <schwab <at> linux-m68k.org>
> > Cc: reddy <at> sikshana.org,  28110 <at> debbugs.gnu.org
> > Date: Wed, 16 Aug 2017 18:50:32 +0200
> >
> > On Aug 16 2017, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > Andreas, can you please tell what versions of libotf and libm17n-flt
> > > do you use?
> >
> > 0.9.13 and 1.6.4.
>
> Thanks.  Reddy, please compare this with your versions, in addition to
> finding out what font is installed on your system for Kannada.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Thu, 17 Aug 2017 12:28:01 GMT) Full text and rfc822 format available.

Message #31 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Venkatesh Reddy <reddy <at> sikshana.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Andreas Schwab <schwab <at> linux-m68k.org>, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Thu, 17 Aug 2017 17:56:59 +0530
[Message part 1 (text/plain, inline)]
Eli/Andreas,
Here are a few more things I tried.
1. Removed the current libotf and libm17n-flt libraries, installed the
versions
libm17n-flt                                    1.6.4-2ubuntu1
libotf0:amd64                                  0.9.13-3
Configured and compiled emacs.  This crashes as well.

2. If I set the default font to Noto-Kannada and open the file, It has no
issues but crashes as soon as I start adding English words.

3. The crash occurs only when a certain combination of Kannada chars are
present along with English characters/Words.

Let me know if you need additional data.

There were no such issues with a variant of ubuntu-14.04.

Regards,
Reddy




On Wed, Aug 16, 2017 at 10:24 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Andreas Schwab <schwab <at> linux-m68k.org>
> > Cc: reddy <at> sikshana.org,  28110 <at> debbugs.gnu.org
> > Date: Wed, 16 Aug 2017 18:50:32 +0200
> >
> > On Aug 16 2017, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > Andreas, can you please tell what versions of libotf and libm17n-flt
> > > do you use?
> >
> > 0.9.13 and 1.6.4.
>
> Thanks.  Reddy, please compare this with your versions, in addition to
> finding out what font is installed on your system for Kannada.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Thu, 17 Aug 2017 14:17:01 GMT) Full text and rfc822 format available.

Message #34 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Venkatesh Reddy <reddy <at> sikshana.org>,
    Kenichi Handa <handa <at> gnu.org>
Cc: schwab <at> linux-m68k.org, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Thu, 17 Aug 2017 17:16:13 +0300
> From: Venkatesh Reddy <reddy <at> sikshana.org>
> Date: Thu, 17 Aug 2017 17:56:59 +0530
> Cc: Andreas Schwab <schwab <at> linux-m68k.org>, 28110 <at> debbugs.gnu.org
> 
> Eli/Andreas,
> Here are a few more things I tried.
> 1. Removed the current libotf and libm17n-flt libraries, installed the versions
> libm17n-flt 1.6.4-2ubuntu1 
> libotf0:amd64 0.9.13-3 
> Configured and compiled emacs. This crashes as well.
> 
> 2. If I set the default font to Noto-Kannada and open the file, It has no issues but crashes as soon as I start
> adding English words.
> 
> 3. The crash occurs only when a certain combination of Kannada chars are present along with English
> characters/Words.
> 
> Let me know if you need additional data.

Thanks, I hope Handa-san will be able to help us with this problem.

> There were no such issues with a variant of ubuntu-14.04.

Is there any way to see what changed with respect to that version of
the OS?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28110; Package emacs. (Wed, 30 Aug 2017 23:01:02 GMT) Full text and rfc822 format available.

Message #37 received at 28110 <at> debbugs.gnu.org (full text, mbox):

From: handa <handa <at> gnu.org>
To: Venkatesh Reddy <reddy <at> sikshana.org>
Cc: eliz <at> gnu.org, schwab <at> linux-m68k.org, 28110 <at> debbugs.gnu.org
Subject: Re: bug#28110: 25.2; crashes when opening a file with Kannada script
Date: Thu, 31 Aug 2017 08:00:19 +0900
Hi, sorry for the late response.

> 1. Removed the current libotf and libm17n-flt libraries, installed the
> versions
> libm17n-flt                                    1.6.4-2ubuntu1
> libotf0:amd64                                  0.9.13-3
> Configured and compiled emacs.  This crashes as well.

Here I have the latest version of those libraries:

$ pkg-config --modversion m17n-flt
1.7.1
$ pkg-config --modversion libotf
0.9.15

and has no problem with rendering your file kannada.txt with the font
"Noto Sans Kannada.ttf".

> 2. If I set the default font to Noto-Kannada and open the file, It has no
> issues but crashes as soon as I start adding English words.

> 3. The crash occurs only when a certain combination of Kannada chars are
> present along with English characters/Words.

Then please give me a test file containing that combination.  And,
please check if your emacs is surely using "Noto Sans Kannada" by typing
C-u C-x = while putting cursor on a kannda character of HELLO file.

And, if possible, please try the latest version of libotf and m17n-lib
by getting the source from repositories as below;

$ cvs -d :pserver:anonymous <at> cvs.savannah.nongnu.org:/sources/m17n co libotf
$ git clone https://git.savannah.nongnu.org/git/m17n/m17n-lib.git
$ git clone https://git.savannah.nongnu.org/git/m17n/m17n-db.git

and installing them in this order: libotf, m17n-lib, m17n-db

---
K. Handa
handa <at> gnu.org




Merged 27836 28110 30193. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Feb 2018 15:25:02 GMT) Full text and rfc822 format available.

Merged 27836 28110 30193. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Feb 2018 15:25:03 GMT) Full text and rfc822 format available.

Merged 27836 28110 30193. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Feb 2018 15:25:03 GMT) Full text and rfc822 format available.

Disconnected #27836 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Feb 2018 16:42:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Apr 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.