unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11003: Emacs-24 Hangs When Displaying Unicode #x6c0 (ARABIC HEH WITH YEH ABOVE) -- gdb backtrace
@ 2012-03-13  5:32 Mohsen BANAN
  2012-03-13  6:08 ` Mohsen BANAN
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Mohsen BANAN @ 2012-03-13  5:32 UTC (permalink / raw)
  To: 11003


In my environment,

- I run emacs -Q
- Then in the *scratch* buffer I eval (ucs-insert 1728)

Emacs display hangs.

The hang occurs when displaying unicode #x6c0
(arabic heh with yeh above).

The display hangs but the emacs process stays
alive.

This problem is reproducible in all my
environments Debian and Ubuntu emacs-24.0.50 through
emacs-24.0.90.4.

I have looked some into this problematic character.

On emacs23, describe-char on that character produces:

    character: (1728, #o3300, #x6c0)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x06C0
           syntax: w 	which means: word
         category: .:Base, b:Arabic
      buffer code: #xDB #x80
        file code: #xDB #x80 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
    xft:-unknown-B Compset-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#xC7)

Character code properties: customize what to show
  name: ARABIC LETTER HEH WITH YEH ABOVE
  old-name: ARABIC LETTER HAMZAH ON HA
  general-category: Lo (Letter, Other)
  decomposition: (1749 1620)

Below is the bt after gdb attach to the running
process after display hung on #x6c0.

bue0010-thisusr# ps -ef | grep -i emacs
thisusr  28800 28798 42 16:54 ?        00:09:58 /usr/local/bin/emacs -fn Monospace 12
thisusr  29728 29726  0 16:59 ?        00:00:09 /usr/local/bin/emacs -fn Monospace 12
thisusr  30669 30219  0 17:18 pts/2    00:00:00 grep -i emacs
bue0010-thisusr# su
Password: 
bue0010-root# gdb /usr/local/bin/emacs 28800
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/bin/emacs...done.
Attaching to program: /usr/local/bin/emacs, process 28800
Reading symbols from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libgio-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgio-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libfreetype.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libfontconfig.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Reading symbols from /lib/i386-linux-gnu/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libglib-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libSM.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libICE.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libtiff.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libtiff.so.4
Reading symbols from /usr/lib/i386-linux-gnu/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libjpeg.so.62
Reading symbols from /lib/i386-linux-gnu/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libpng12.so.0
Reading symbols from /lib/i386-linux-gnu/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libm.so.6
Reading symbols from /usr/lib/libgif.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgif.so.4
Reading symbols from /usr/lib/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/lib/i386-linux-gnu/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libX11.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXrender.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libXft.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXft.so.2
Reading symbols from /usr/lib/i386-linux-gnu/librsvg-2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/librsvg-2.so.2
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libtinfo.so.5
Reading symbols from /usr/lib/libotf.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libotf.so.0
Reading symbols from /usr/lib/libm17n-flt.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm17n-flt.so.0
Reading symbols from /usr/lib/libm17n-core.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm17n-core.so.0
Reading symbols from /lib/i386-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb58ffb70 (LWP 28802)]
[New Thread 0xb6297b70 (LWP 28801)]
Loaded symbols for /lib/i386-linux-gnu/libpthread.so.0
Reading symbols from /lib/i386-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libc.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXfixes.so.3
Reading symbols from /usr/lib/i386-linux-gnu/libatk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libatk-1.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libcairo.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libcairo.so.2
Reading symbols from /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libpango-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libpango-1.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXext.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libXinerama.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXinerama.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXi.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXrandr.so.2
Reading symbols from /usr/lib/i386-linux-gnu/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXcursor.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libXcomposite.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXcomposite.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXdamage.so.1
Reading symbols from /lib/i386-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libz.so.1
Reading symbols from /lib/i386-linux-gnu/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libselinux.so.1
Reading symbols from /lib/i386-linux-gnu/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libresolv.so.2
Reading symbols from /lib/i386-linux-gnu/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libexpat.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libffi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libffi.so.6
Reading symbols from /lib/i386-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libpcre.so.3
Reading symbols from /lib/i386-linux-gnu/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/librt.so.1
Reading symbols from /lib/i386-linux-gnu/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libuuid.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/i386-linux-gnu/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libxcb.so.1
Reading symbols from /lib/i386-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/libcroco-0.6.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcroco-0.6.so.3
Reading symbols from /usr/lib/i386-linux-gnu/libthai.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libthai.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libpixman-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libpixman-1.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libxcb-shm.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libxcb-shm.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libxcb-render.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libxcb-render.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXdmcp.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libdatrie.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libdatrie.so.1
Reading symbols from /lib/i386-linux-gnu/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libnss_files.so.2
Reading symbols from /lib/i386-linux-gnu/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/i386-linux-gnu/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libnsl.so.1
Reading symbols from /lib/i386-linux-gnu/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libnss_nis.so.2
Reading symbols from /usr/lib/liboverlay-scrollbar-0.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liboverlay-scrollbar-0.2.so.0
Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
Reading symbols from /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so
Reading symbols from /usr/lib/gio/modules/libdconfsettings.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gio/modules/libdconfsettings.so
Reading symbols from /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0//2.10.0/loaders/libpixbufloader-svg.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0//2.10.0/loaders/libpixbufloader-svg.so
Reading symbols from /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
0xb6b7de08 in OTF_drive_gdef () from /usr/lib/libotf.so.0
(gdb) bt
#0  0xb6b7de08 in OTF_drive_gdef () from /usr/lib/libotf.so.0
#1  0x081fa512 in ftfont_drive_otf (font=0xbf9a5440, spec=0x8cf2fb8, in=0xbf9a5288, from=0, to=3, out=0xbf9a53c8, 
    adjustment=0xbf9a4d30) at ftfont.c:1863
#2  0xb6b649e5 in ?? () from /usr/lib/libm17n-flt.so.0
#3  0xb6b67712 in ?? () from /usr/lib/libm17n-flt.so.0
#4  0xb6b68820 in ?? () from /usr/lib/libm17n-flt.so.0
#5  0xb6b6995e in mflt_run () from /usr/lib/libm17n-flt.so.0
#6  0x081f9d49 in ftfont_shape_by_flt (matrix=0x9e0cb8c, otf=0x9f40fb8, ft_face=0x9e0be20, font=0x9e0cae0, 
    lgstring=<optimized out>) at ftfont.c:2515
#7  ftfont_shape (lgstring=138875853) at ftfont.c:2579
#8  0x081fbde3 in xftfont_shape (lgstring=138875853) at xftfont.c:688
#9  0x081ad064 in Ffont_shape_gstring (gstring=138875853) at font.c:4308
#10 0x0819e0c0 in Ffuncall (nargs=2, args=0xbf9a5590) at eval.c:3002
#11 0x081d4ad5 in exec_byte_code (bytestr=<optimized out>, vector=137272173, maxdepth=24, args_template=138756330, nargs=0, 
    args=<optimized out>) at bytecode.c:785
#12 0x0819db8f in funcall_lambda (fun=137272093, nargs=5, arg_vector=0xbf9a5888) at eval.c:3233
#13 0x0819decb in Ffuncall (nargs=6, args=0xbf9a5884) at eval.c:3063
#14 0x0819c8f6 in internal_condition_case_n (bfun=0x819dcf0 <Ffuncall>, nargs=6, args=0xbf9a5884, handlers=138756354, 
    hfun=0x8076610 <safe_eval_handler>) at eval.c:1637
#15 0x08074312 in safe_call (args=0xbf9a5884, nargs=6) at xdisp.c:2357
#16 safe_call (nargs=6, args=0xbf9a5884) at xdisp.c:2341
#17 0x081ee466 in autocmp_chars (rule=<optimized out>, charpos=<optimized out>, bytepos=15723, limit=<optimized out>, 
    win=0xa25e6f8, face=0x9b96cd0, string=138756330) at composite.c:969
#18 0x081f2b89 in composition_reseat_it (cmp_it=0xbf9a7110, charpos=14566, bytepos=15723, endpos=1, w=0xa25e6f8, 
    face=0x9b96cd0, string=138756330) at composite.c:1300
#19 0x080838c0 in next_element_from_buffer (it=0xbf9a6c40) at xdisp.c:7755
#20 0x0807b0ea in get_next_display_element (it=0xbf9a6c40) at xdisp.c:6403
#21 0x0807fe37 in display_line (it=0xbf9a6c40) at xdisp.c:18943
#22 0x08085def in try_window (window=170256125, pos=..., flags=1) at xdisp.c:15971
#23 0x0809821e in redisplay_window (window=170256125, just_this_one_p=0) at xdisp.c:15496
#24 0x0809a4a1 in redisplay_window_0 (window=170256125) at xdisp.c:13619
#25 0x0819c557 in internal_condition_case_1 (bfun=0x809a480 <redisplay_window_0>, arg=170256125, handlers=138738534, 
    hfun=0x8069800 <redisplay_window_error>) at eval.c:1553
#26 0x0806d8df in redisplay_windows (window=<optimized out>) at xdisp.c:13599
#27 0x08086be0 in redisplay_internal () at xdisp.c:13176
#28 0x08136ee7 in read_char (commandflag=1, nmaps=4, maps=0xbf9ab640, prev_event=138756330, used_mouse_menu=0xbf9ab734, 
    end_time=0x0) at keyboard.c:2446
#29 0x081390be in read_key_sequence (keybuf=0xbf9ab7a8, prompt=138756330, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1, bufsize=30) at keyboard.c:9326
#30 0x0813a916 in command_loop_1 () at keyboard.c:1448
#31 0x0819c42d in internal_condition_case (bfun=0x813a780 <command_loop_1>, handlers=138787338, hfun=0x8130b10 <cmd_error>)
    at eval.c:1515
#32 0x0812f5d5 in command_loop_2 (ignore=138756330) at keyboard.c:1159
#33 0x0819c349 in internal_catch (tag=138785314, func=0x812f5b0 <command_loop_2>, arg=138756330) at eval.c:1272
#34 0x0813064a in command_loop () at keyboard.c:1138
#35 recursive_edit_1 () at keyboard.c:758
#36 0x0813093e in Frecursive_edit () at keyboard.c:822
#37 0x08055620 in main (argc=4, argv=Cannot access memory at address 0x5
) at emacs.c:1715
(gdb) 






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-03-21  2:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13  5:32 bug#11003: Emacs-24 Hangs When Displaying Unicode #x6c0 (ARABIC HEH WITH YEH ABOVE) -- gdb backtrace Mohsen BANAN
2012-03-13  6:08 ` Mohsen BANAN
2012-03-13  6:44 ` Achim Gratz
2012-03-13 18:47   ` Eli Zaretskii
2012-03-13 21:08     ` Achim Gratz
2012-03-13 21:16       ` Achim Gratz
2012-03-13 19:50   ` Mohsen BANAN
2012-03-13 18:46 ` Eli Zaretskii
2012-03-14  8:18 ` Kenichi Handa
2012-03-19  4:21   ` Kenichi Handa
2012-03-21  0:23     ` Mohsen BANAN
2012-03-21  2:09       ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).