* bug#2314: Crash with word-wrap and wrap-prefix
@ 2009-02-12 22:01 ` Juri Linkov
2009-02-14 17:30 ` bug#2314: marked as done (Crash with word-wrap and wrap-prefix) Emacs bug Tracking System
0 siblings, 1 reply; 2+ messages in thread
From: Juri Linkov @ 2009-02-12 22:01 UTC (permalink / raw
To: emacs-pretest-bug
I was trying to report a weirdness of a long wrap-prefix
with non-nil word-wrap but got a crash.
With emacs -Q, evaluate in *scratch*:
(progn
(setq word-wrap t wrap-prefix (make-string 120 ?\s))
(dotimes (i 25) (insert (make-string 120 ?.) "\n")))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f0ea59a67a0 (LWP 9334)]
0x0000000000430f3f in underlying_face_id (it=0x7fffad9d6c30) at xdisp.c:3594
3594 if (NILP (it->stack[i].string))
(gdb) bt
#0 0x0000000000430f3f in underlying_face_id (it=0x7fffad9d6c30) at xdisp.c:3594
#1 0x0000000000430d1e in handle_face_prop (it=0x7fffad9d6c30) at xdisp.c:3534
#2 0x0000000000430071 in handle_stop (it=0x7fffad9d6c30) at xdisp.c:3134
#3 0x000000000043870f in next_element_from_string (it=0x7fffad9d6c30) at xdisp.c:6270
#4 0x000000000043684a in get_next_display_element (it=0x7fffad9d6c30) at xdisp.c:5674
#5 0x0000000000452fdb in display_line (it=0x7fffad9d6c30) at xdisp.c:16597
#6 0x000000000044b617 in try_window (window=15654180, pos={charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:14054
#7 0x000000000044a1ff in redisplay_window (window=15654180, just_this_one_p=0) at xdisp.c:13677
#8 0x0000000000445cae in redisplay_window_0 (window=15654180) at xdisp.c:12272
#9 0x0000000000665594 in internal_condition_case_1 (bfun=0x445c72 <redisplay_window_0>, arg=15654180, handlers=12715829, hfun=0x445c47 <redisplay_window_error>) at eval.c:1559
#10 0x0000000000445c28 in redisplay_windows (window=15654180) at xdisp.c:12251
#11 0x0000000000444daf in redisplay_internal (preserve_echo_area=0) at xdisp.c:11827
#12 0x0000000000442c5b in redisplay () at xdisp.c:11033
#13 0x00000000005c5dd6 in read_char (commandflag=1, nmaps=2, maps=0x7fffad9d8f20, prev_event=12357345, used_mouse_menu=0x7fffad9d92e8, end_time=0x0) at keyboard.c:2703
#14 0x00000000005d2b6b in read_key_sequence (keybuf=0x7fffad9d9490, bufsize=30, prompt=12357345, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9432
#15 0x00000000005c2b75 in command_loop_1 () at keyboard.c:1640
#16 0x000000000066540a in internal_condition_case (bfun=0x5c27db <command_loop_1>, handlers=12444417, hfun=0x5c210c <cmd_error>) at eval.c:1511
#17 0x00000000005c24fa in command_loop_2 () at keyboard.c:1357
#18 0x0000000000664de6 in internal_catch (tag=12425809, func=0x5c24e0 <command_loop_2>, arg=12357345) at eval.c:1247
#19 0x00000000005c24b4 in command_loop () at keyboard.c:1336
#20 0x00000000005c1c52 in recursive_edit_1 () at keyboard.c:951
#21 0x00000000005c1df5 in Frecursive_edit () at keyboard.c:1013
#22 0x00000000005c0269 in main (argc=2, argv=0x7fffad9d9db8) at emacs.c:1852
GNU Emacs 23.0.90 (x86_64-pc-linux-gnu) of 2009-02-12
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#2314: marked as done (Crash with word-wrap and wrap-prefix)
2009-02-12 22:01 ` bug#2314: Crash with word-wrap and wrap-prefix Juri Linkov
@ 2009-02-14 17:30 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-02-14 17:30 UTC (permalink / raw
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
Your message dated Sat, 14 Feb 2009 12:30:20 -0500
with message-id <87prhlvscz.fsf@cyd.mit.edu>
and subject line Re: Crash with word-wrap and wrap-prefix
has caused the Emacs bug report #2314,
regarding Crash with word-wrap and wrap-prefix
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
2314: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2314
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 4862 bytes --]
From: Juri Linkov <juri@jurta.org>
To: emacs-pretest-bug@gnu.org
Subject: Crash with word-wrap and wrap-prefix
Date: Fri, 13 Feb 2009 00:01:23 +0200
Message-ID: <878wob2tt2.fsf@jurta.org>
I was trying to report a weirdness of a long wrap-prefix
with non-nil word-wrap but got a crash.
With emacs -Q, evaluate in *scratch*:
(progn
(setq word-wrap t wrap-prefix (make-string 120 ?\s))
(dotimes (i 25) (insert (make-string 120 ?.) "\n")))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f0ea59a67a0 (LWP 9334)]
0x0000000000430f3f in underlying_face_id (it=0x7fffad9d6c30) at xdisp.c:3594
3594 if (NILP (it->stack[i].string))
(gdb) bt
#0 0x0000000000430f3f in underlying_face_id (it=0x7fffad9d6c30) at xdisp.c:3594
#1 0x0000000000430d1e in handle_face_prop (it=0x7fffad9d6c30) at xdisp.c:3534
#2 0x0000000000430071 in handle_stop (it=0x7fffad9d6c30) at xdisp.c:3134
#3 0x000000000043870f in next_element_from_string (it=0x7fffad9d6c30) at xdisp.c:6270
#4 0x000000000043684a in get_next_display_element (it=0x7fffad9d6c30) at xdisp.c:5674
#5 0x0000000000452fdb in display_line (it=0x7fffad9d6c30) at xdisp.c:16597
#6 0x000000000044b617 in try_window (window=15654180, pos={charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:14054
#7 0x000000000044a1ff in redisplay_window (window=15654180, just_this_one_p=0) at xdisp.c:13677
#8 0x0000000000445cae in redisplay_window_0 (window=15654180) at xdisp.c:12272
#9 0x0000000000665594 in internal_condition_case_1 (bfun=0x445c72 <redisplay_window_0>, arg=15654180, handlers=12715829, hfun=0x445c47 <redisplay_window_error>) at eval.c:1559
#10 0x0000000000445c28 in redisplay_windows (window=15654180) at xdisp.c:12251
#11 0x0000000000444daf in redisplay_internal (preserve_echo_area=0) at xdisp.c:11827
#12 0x0000000000442c5b in redisplay () at xdisp.c:11033
#13 0x00000000005c5dd6 in read_char (commandflag=1, nmaps=2, maps=0x7fffad9d8f20, prev_event=12357345, used_mouse_menu=0x7fffad9d92e8, end_time=0x0) at keyboard.c:2703
#14 0x00000000005d2b6b in read_key_sequence (keybuf=0x7fffad9d9490, bufsize=30, prompt=12357345, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9432
#15 0x00000000005c2b75 in command_loop_1 () at keyboard.c:1640
#16 0x000000000066540a in internal_condition_case (bfun=0x5c27db <command_loop_1>, handlers=12444417, hfun=0x5c210c <cmd_error>) at eval.c:1511
#17 0x00000000005c24fa in command_loop_2 () at keyboard.c:1357
#18 0x0000000000664de6 in internal_catch (tag=12425809, func=0x5c24e0 <command_loop_2>, arg=12357345) at eval.c:1247
#19 0x00000000005c24b4 in command_loop () at keyboard.c:1336
#20 0x00000000005c1c52 in recursive_edit_1 () at keyboard.c:951
#21 0x00000000005c1df5 in Frecursive_edit () at keyboard.c:1013
#22 0x00000000005c0269 in main (argc=2, argv=0x7fffad9d9db8) at emacs.c:1852
GNU Emacs 23.0.90 (x86_64-pc-linux-gnu) of 2009-02-12
--
Juri Linkov
http://www.jurta.org/emacs/
[-- Attachment #3: Type: message/rfc822, Size: 1088 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: Juri Linkov <juri@jurta.org>
Cc: 2314-done@emacsbugs.donarmstrong.com
Subject: Re: Crash with word-wrap and wrap-prefix
Date: Sat, 14 Feb 2009 12:30:20 -0500
Message-ID: <87prhlvscz.fsf@cyd.mit.edu>
I've checked in a fix. Thanks for spotting this.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-14 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87prhlvscz.fsf@cyd.mit.edu>
2009-02-12 22:01 ` bug#2314: Crash with word-wrap and wrap-prefix Juri Linkov
2009-02-14 17:30 ` bug#2314: marked as done (Crash with word-wrap and wrap-prefix) Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.