emacs-pretest-bug
[Top][All Lists]
Advanced

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

Crash in redisplay when using set-window-margins.


From: Matt Hodges
Subject: Crash in redisplay when using set-window-margins.
Date: Fri, 29 Oct 2004 11:59:51 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

In GNU Emacs 21.3.50.9 (i686-pc-linux-gnu, GTK+ Version 2.4.13)
 of 2004-10-29 on dugong
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

If I run emacs -Q and evaluate:

    (progn
      (auto-image-file-mode 1)
      (find-file (concat data-directory "splash.xpm"))
      (set-window-margins (selected-window) 25 25))

pressing M-x then TAB for completions leads to a crash with the
following backtrace:

    Program received signal SIGSEGV, Segmentation fault.
    0x080aaccd in display_line (it=0xbfffc0f0) at xdisp.c:14632
    (gdb) backtrace 
    #0  0x080aaccd in display_line (it=0xbfffc0f0) at xdisp.c:14632
    #1  0x080a5f18 in try_window (window=140326684, pos={charpos = -1073757968, 
bytepos = 1}) at xdisp.c:12294
    #2  0x080a5794 in redisplay_window (window=140326684, just_this_one_p=0) at 
xdisp.c:11934
    #3  0x080a1823 in redisplay_window_0 (window=-1221962232) at xdisp.c:10624
    #4  0x0818a6c4 in internal_condition_case_1 (bfun=0x80a17f0 
<redisplay_window_0>, arg=140326684, handlers=137652445, hfun=0x80a17d0 
<redisplay_window_error>) at eval.c:1387
    #5  0x080a17ce in redisplay_windows (window=140326684) at xdisp.c:10603
    #6  0x080a176c in redisplay_windows (window=142346132) at xdisp.c:10595
    #7  0x080a0919 in redisplay_internal (preserve_echo_area=1) at xdisp.c:10185
    #8  0x080a1361 in redisplay_preserve_echo_area (from_where=2) at 
xdisp.c:10410
    #9  0x0808a21b in sit_for (sec=2, usec=0, reading=0, display=1, 
initial_display=1) at dispnew.c:6356
    #10 0x0808a2ee in Fsit_for (seconds=-1221962232, milliseconds=140326328, 
nodisp=17203202) at dispnew.c:6419
    #11 0x08127b42 in command_loop_1 () at keyboard.c:1486
    #12 0x0818a5be in internal_condition_case (bfun=0x81269c0 <command_loop_1>, 
handlers=137686585, hfun=0x8126480 <cmd_error>) at eval.c:1346
    #13 0x081267ee in command_loop_2 () at keyboard.c:1309
    #14 0x0818a0fb in internal_catch (tag=-1221962232, func=0x81267c0 
<command_loop_2>, arg=137625617) at eval.c:1107
    #15 0x0812672e in command_loop () at keyboard.c:1276
    #16 0x081261e4 in recursive_edit_1 () at keyboard.c:981
    #17 0x0814c580 in read_minibuf (map=137653541, initial=137625617, 
prompt=141159012, backup_n=12, expflag=0, histvar=137680137, histpos=0, 
defalt=137625617, allow_props=0, inherit_input_method=0) at minibuf.c:698
    #18 0x0814e0c7 in Fcompleting_read (prompt=-1221962232, table=-1221962232, 
predicate=-1221962232, require_match=17203208, initial_input=0, hist=0, 
def=137625617, inherit_input_method=17203202) at minibuf.c:1709
    #19 0x08132757 in Fexecute_extended_command (prefixarg=137625617) at 
keyboard.c:9772
    #20 0x0818c3bf in Ffuncall (nargs=2, args=0xbffff384) at eval.c:2736
    #21 0x08187b73 in Fcall_interactively (function=137682937, 
record_flag=17203202, keys=137682492) at callint.c:878
    #22 0x0813251c in Fcommand_execute (cmd=137682937, record_flag=137625617, 
keys=-1221962232, special=-1221962232) at keyboard.c:9724
    #23 0x08126d7e in command_loop_1 () at keyboard.c:1779
    #24 0x0818a5be in internal_condition_case (bfun=0x81269c0 <command_loop_1>, 
handlers=137686585, hfun=0x8126480 <cmd_error>) at eval.c:1346
    #25 0x081267ee in command_loop_2 () at keyboard.c:1309
    #26 0x0818a0fb in internal_catch (tag=-1221962232, func=0x81267c0 
<command_loop_2>, arg=137625617) at eval.c:1107
    #27 0x08126793 in command_loop () at keyboard.c:1288
    #28 0x081261e4 in recursive_edit_1 () at keyboard.c:981
    #29 0x08126321 in Frecursive_edit () at keyboard.c:1042
    #30 0x0812481d in main (argc=2, argv=0xbffffc24) at emacs.c:1739

Thanks,

Matt




reply via email to

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