emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs crashes by narrowing the frame


From: Kenichi Handa
Subject: emacs crashes by narrowing the frame
Date: Tue, 24 Oct 2000 17:10:14 +0900 (JST)

I've got this bug report.

Start Emacs on X, type C-x 3 three times, and make the frame
narrower to 8-column width.  Then, Emacs crashes as below:

(gdb) run
Starting program: /project/mule/work/fsf-emacs/src/emacs -geometry 80x40+0+0

Breakpoint 1, abort () at /project/mule/fsf-emacs/src/emacs.c:384
384       kill (getpid (), SIGABRT);
(gdb) bt
#0  abort () at /project/mule/fsf-emacs/src/emacs.c:384
#1  0x132a70 in wrong_type_argument (predicate=271383316, value=-15)
    at /project/mule/fsf-emacs/src/data.c:118
#2  0x147ae8 in extract_float (num=-15)
    at /project/mule/fsf-emacs/src/floatfns.c:221
#3  0x58164 in allocate_matrices_for_window_redisplay (w=0x586e48, ch_dim={
      width = 2, height = 10}) at /project/mule/fsf-emacs/src/dispnew.c:1875
#4  0x58154 in allocate_matrices_for_window_redisplay (w=0x541ea8, ch_dim={
      width = 2, height = 10}) at /project/mule/fsf-emacs/src/dispnew.c:1871
#5  0x58680 in adjust_frame_glyphs_for_window_redisplay (f=0x49a698)
    at /project/mule/fsf-emacs/src/dispnew.c:2101
#6  0x58454 in adjust_frame_glyphs (f=0x49a698)
    at /project/mule/fsf-emacs/src/dispnew.c:1984
#7  0x582b4 in adjust_glyphs (f=0x49a698)
    at /project/mule/fsf-emacs/src/dispnew.c:1928
#8  0x8232c in delete_window (window=1079537224)
    at /project/mule/fsf-emacs/src/window.c:1250
#9  0x84014 in size_window (window=1078751264, size=-7, width_p=1, 
    nodelete_p=0) at /project/mule/fsf-emacs/src/window.c:2347
#10 0x84294 in size_window (window=5009440, size=41, width_p=1, nodelete_p=0)
    at /project/mule/fsf-emacs/src/window.c:2459
#11 0x842e8 in set_window_width (window=1079254696, width=10, nodelete=0)
    at /project/mule/fsf-emacs/src/window.c:2490
#12 0x5e854 in change_frame_size_1 (f=0x49a698, newheight=40, newwidth=8, 
    pretend=0, delay=0, safe=1) at /project/mule/fsf-emacs/src/dispnew.c:5623
#13 0x5e63c in change_frame_size (f=0x49a698, newheight=40, newwidth=8, 
    pretend=0, delay=0, safe=1) at /project/mule/fsf-emacs/src/dispnew.c:5545
#14 0x5e55c in do_pending_window_change (safe=1)
    at /project/mule/fsf-emacs/src/dispnew.c:5511
#15 0x70950 in redisplay_internal (preserve_echo_area=1)
    at /project/mule/fsf-emacs/src/xdisp.c:8232
#16 0x709b8 in redisplay_preserve_echo_area ()
    at /project/mule/fsf-emacs/src/xdisp.c:8265
[...]
(gdb) up 3
#3  0x58164 in allocate_matrices_for_window_redisplay (w=0x586e48, ch_dim={
      width = 2, height = 10}) at /project/mule/fsf-emacs/src/dispnew.c:1875
1875              int window_pixel_width = XFLOATINT (w->width) * CANON_X_UNIT 
(f);
(gdb) p w->width
$13 = -15



reply via email to

[Prev in Thread] Current Thread [Next in Thread]