GNU bug report logs - #9015
U+25B2, U+25BC in tabulated-list output crash emacs -nw

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Thu, 7 Jul 2011 02:18:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <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 9015 in the body.
You can then email your comments to 9015 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9015; Package emacs. (Thu, 07 Jul 2011 02:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 07 Jul 2011 02:18:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: U+25B2, U+25BC in tabulated-list output crash emacs -nw
Date: Thu, 7 Jul 2011 04:16:57 +0200
emacs -Q -nw -f list-processes

Breakpoint 1, w32_abort () at w32fns.c:7181
7181      button = MessageBox (NULL,
(gdb) bt
#0  w32_abort () at w32fns.c:7181
#1  0x011b27dd in produce_glyphs (it=0x88ca40) at term.c:1547
#2  0x01194192 in display_string (string=0x0, lisp_string=53116849,
face_string=53086234, face_string_pos=0, start=0, it=0x88ca40,
field_width=0,
    precision=37, max_x=150, multibyte=1) at xdisp.c:20027
#3  0x011906ce in display_mode_element (it=0x88ca40, depth=1,
field_width=0, precision=0, elt=53116849, props=53086234, risky=0) at
xdisp.c:18684
#4  0x0118fa4b in display_mode_line (w=0x34b4000,
face_id=HEADER_LINE_FACE_ID, format=53116849) at xdisp.c:18434
#5  0x0118f908 in display_mode_lines (w=0x34b4000) at xdisp.c:18388
#6  0x011826e0 in redisplay_window (window=55263237,
just_this_one_p=0) at xdisp.c:14539
#7  0x0117aadf in redisplay_window_0 (window=55263237) at xdisp.c:12457
#8  0x01033b74 in internal_condition_case_1 (bfun=0x117aaad
<redisplay_window_0>, arg=55263237, handlers=53070518,
    hfun=0x117aa8c <redisplay_window_error>) at eval.c:1538
#9  0x0117aa7c in redisplay_windows (window=55263237) at xdisp.c:12437
#10 0x0117a9eb in redisplay_windows (window=55181829) at xdisp.c:12431
#11 0x01178a1f in redisplay_internal () at xdisp.c:12014
#12 0x01175d1b in redisplay () at xdisp.c:11237
#13 0x010087fe in read_char (commandflag=1, nmaps=2, maps=0x88f9a0,
prev_event=53086234, used_mouse_menu=0x88fafc, end_time=0x0) at
keyboard.c:2444
#14 0x0101c0a7 in read_key_sequence (keybuf=0x88fc00, bufsize=30,
prompt=53086234, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:9283
#15 0x01005a51 in command_loop_1 () at keyboard.c:1445
#16 0x01033a64 in internal_condition_case (bfun=0x100545f
<command_loop_1>, handlers=53143986, hfun=0x1004c89 <cmd_error>) at
eval.c:1493
#17 0x010050c5 in command_loop_2 (ignore=53086234) at keyboard.c:1156
#18 0x01033424 in internal_catch (tag=53142010, func=0x10050a2
<command_loop_2>, arg=53086234) at eval.c:1247
#19 0x0100507d in command_loop () at keyboard.c:1135
#20 0x01004647 in recursive_edit_1 () at keyboard.c:756
#21 0x01004969 in Frecursive_edit () at keyboard.c:820
#22 0x010027eb in main (argc=5, argv=0xd92da8) at emacs.c:1698
(gdb)

The problem is caused by the characters U+25B2 BLACK UP-POINTING
TRIANGLE and U+25BC BLACK DOWN-POINTING TRIANGLE used in
`tabulated-list-init-header' to mark the sorting order.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 07 Jul 2011 15:48:02 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Thu, 07 Jul 2011 15:48:02 GMT) Full text and rfc822 format available.

Message #10 received at 9015-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 9015-done <at> debbugs.gnu.org
Subject: Re: bug#9015: U+25B2, U+25BC in tabulated-list output crash emacs -nw
Date: Thu, 07 Jul 2011 18:44:37 +0300
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Thu, 7 Jul 2011 04:16:57 +0200
> 
> emacs -Q -nw -f list-processes
> 
> Breakpoint 1, w32_abort () at w32fns.c:7181
> 7181      button = MessageBox (NULL,
> (gdb) bt
> #0  w32_abort () at w32fns.c:7181
> #1  0x011b27dd in produce_glyphs (it=0x88ca40) at term.c:1547

What is the value of it->what in this frame (frame #1)?  If it's
IT_GLYPHLESS, then I have just fixed that on the trunk (the problem
was that xassert didn't allow IT_GLYPHLESS, while the code below
clearly handles it).  If it->what is something else, please reopen the
bug.

(Ironically, I found and fixed just a few days ago this same bug on my
local branch where I work on bidi.)

> The problem is caused by the characters U+25B2 BLACK UP-POINTING
> TRIANGLE and U+25BC BLACK DOWN-POINTING TRIANGLE used in
> `tabulated-list-init-header' to mark the sorting order.

I thought Chong installed a change that was supposed to DTRT with
these characters on a TTY?




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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9015-done <at> debbugs.gnu.org
Subject: Re: bug#9015: U+25B2, U+25BC in tabulated-list output crash emacs -nw
Date: Thu, 7 Jul 2011 18:10:17 +0200
On Thu, Jul 7, 2011 at 17:44, Eli Zaretskii <eliz <at> gnu.org> wrote:

> What is the value of it->what in this frame (frame #1)?  If it's
> IT_GLYPHLESS, then I have just fixed that on the trunk (the problem
> was that xassert didn't allow IT_GLYPHLESS, while the code below
> clearly handles it).

Yes, thanks. The bug description could've been better; next time I'll
try not to file them at 5am (that's too late, not too early).

> I thought Chong installed a change that was supposed to DTRT with
> these characters on a TTY?

Yes, it changes them to [^] and [v], I think.

    Juanma




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

This bug report was last modified 12 years and 289 days ago.

Previous Next


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