unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3663: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
@ 2009-06-23 21:55 Gilbert Harman
  0 siblings, 0 replies; 4+ messages in thread
From: Gilbert Harman @ 2009-06-23 21:55 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 4327 bytes --]

Same problem on two different iMacs

Start emacs with no .emacs file.

Trying to evaluate the following region hangs emacs.
gdb output follows the expressions whose evaluation appears to have caused
the problem.  I just tried the same thing again and the problem is
repeatable.

This went away for a while but is back for the latest pretest.

 Gil

;;;  Common to all my platforms

(setq white-background nil)
(setq mac-allow-anti-aliasing nil)

;; colors
;;
(add-to-list 'default-frame-alist '(foreground-color . "lightyellow"))
(add-to-list 'default-frame-alist '(cursor-color . "Yellow3"))
(add-to-list 'default-frame-alist
           '(background-color . "black"))
(set-face-background 'region "rgb:8/6/5")
(set-face-foreground 'region "lightyellow")
(set-face-foreground 'modeline "lightgoldenrod")
(set-face-background 'modeline "gray21")
(set-face-foreground 'highlight "lightyellow")
(set-face-background 'highlight "yellow4")
(set-face-foreground 'bold "white")
(set-face-foreground 'italic "tan1")



> cd emacs-23.0.95/src
[GH-iMAC:~/emacs-23.0.95/src]
gilbertharman%                                        > gdb
../nextstep/Emacs.app/Contents/MacOS/Emacs
GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33 UTC
2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared
libraries .......... done

DISPLAY = /tmp/launch-s7HmhN/:0
TERM = xterm-color
Breakpoint 1 at 0x4730634
Breakpoint 2 at 0xae89f: file sysdep.c, line 1142.
(gdb) run
Starting program:
/Users/gilbertharman/emacs-23.0.95/nextstep/Emacs.app/Contents/MacOS/Emacs

Reading symbols for shared libraries
+++++++++..................................................................
done
Breakpoint 1 at 0x92948634
Reading symbols for shared libraries ............ done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc0000003
0x91da3684 in objc_msgSend ()
(gdb) bt
#0  0x91da3684 in objc_msgSend ()
#1  0x001767e8 in ns_dumpglyphs_stretch (s=0xbfffe320) at nsterm.m:2972
#2  0x00177115 in ns_draw_glyph_string (s=0xbfffe320) at nsterm.m:3043
#3  0x00039bf5 in draw_glyphs (w=0x8bd2f0, x=334, row=0x20a3df0,
area=TEXT_AREA, start=0, end=39, hl=DRAW_NORMAL_TEXT, overlaps=0) at
xdisp.c:20546
#4  0x0003ecbb in x_write_glyphs (start=0x2089c00, len=39) at xdisp.c:21955
#5  0x00007a51 in update_window_line (w=0x8bd2f0, vpos=10,
mouse_face_overwritten_p=0xbfffe7bc) at dispnew.c:4454
#6  0x00008400 in update_window (w=0x8bd2f0, force_p=0) at dispnew.c:4310
#7  0x00009b53 in update_window_tree (w=0x8bd2f0, force_p=0) at
dispnew.c:4003
#8  0x0000adb2 in update_frame (f=0x8bd170, force_p=0, inhibit_hairy_id_p=0)
at dispnew.c:3930
#9  0x0003690b in redisplay_internal (preserve_echo_area=<value temporarily
unavailable, due to optimizations>) at xdisp.c:11876
#10 0x0009f685 in read_char (commandflag=1, nmaps=2, maps=0xbfffefe0,
prev_event=25165833, used_mouse_menu=0xbffff0d8, end_time=0x0) at
keyboard.c:2707
#11 0x000a2144 in read_key_sequence (keybuf=0xbffff198, bufsize=30,
prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9460
#12 0x000a466a in command_loop_1 () at keyboard.c:1642
#13 0x00107d0d in internal_condition_case (bfun=0xa4430 <command_loop_1>,
handlers=25205425, hfun=0x9a810 <cmd_error>) at eval.c:1512
#14 0x00094198 in command_loop_2 () at keyboard.c:1359
#15 0x00107bec in internal_catch (tag=-1073741821, func=0x94150
<command_loop_2>, arg=25165833) at eval.c:1248
#16 0x00093eee in command_loop () at keyboard.c:1338
#17 0x00093fb2 in recursive_edit_1 () at keyboard.c:953
#18 0x00094131 in Frecursive_edit () at keyboard.c:1015
#19 0x00092a75 in main (argc=1, argv=0xbffff640) at emacs.c:1852

[-- Attachment #2: Type: text/html, Size: 4849 bytes --]

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

* bug#3663: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
@ 2009-06-24 20:58 Chong Yidong
  2009-07-04 18:34 ` Adrian Robert
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-06-24 20:58 UTC (permalink / raw)
  To: Adrian Robert; +Cc: Gilbert Harman, 3663

Hi Adrian,

Could you check if your recent changes caused this regression?

Thanks.


Gilbert Harman <harman@princeton.edu> wrote:

> Same problem on two different iMacs

> Start emacs with no .emacs file.

> Trying to evaluate the following region hangs emacs.
> gdb output follows the expressions whose evaluation appears to have caused
> the problem.  I just tried the same thing again and the problem is
> repeatable.

> This went away for a while but is back for the latest pretest.

>  Gil

> ;;;  Common to all my platforms

> (setq white-background nil)
> (setq mac-allow-anti-aliasing nil)

> ;; colors
> ;;
> (add-to-list 'default-frame-alist '(foreground-color . "lightyellow"))
> (add-to-list 'default-frame-alist '(cursor-color . "Yellow3"))
> (add-to-list 'default-frame-alist
>            '(background-color . "black"))
> (set-face-background 'region "rgb:8/6/5")
> (set-face-foreground 'region "lightyellow")
> (set-face-foreground 'modeline "lightgoldenrod")
> (set-face-background 'modeline "gray21")
> (set-face-foreground 'highlight "lightyellow")
> (set-face-background 'highlight "yellow4")
> (set-face-foreground 'bold "white")
> (set-face-foreground 'italic "tan1")

> > cd emacs-23.0.95/src
> [GH-iMAC:~/emacs-23.0.95/src]
> gilbertharman% > gdb
> DISPLAY = /tmp/launch-s7HmhN/:0
> TERM = xterm-color
> Breakpoint 1 at 0x4730634
> Breakpoint 2 at 0xae89f: file sysdep.c, line 1142.
> (gdb) run
> Starting program:
> /Users/gilbertharman/emacs-23.0.95/nextstep/Emacs.app/Contents/MacOS/Emacs

> Reading symbols for shared libraries
> +++++++++..................................................................
> done
> Breakpoint 1 at 0x92948634
> Reading symbols for shared libraries ............ done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries .. done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done
> Reading symbols for shared libraries . done

> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0xc0000003
> 0x91da3684 in objc_msgSend ()
> (gdb) bt
> #0  0x91da3684 in objc_msgSend ()
> #1  0x001767e8 in ns_dumpglyphs_stretch (s=0xbfffe320) at nsterm.m:2972
> #2  0x00177115 in ns_draw_glyph_string (s=0xbfffe320) at nsterm.m:3043
> #3  0x00039bf5 in draw_glyphs (w=0x8bd2f0, x=334, row=0x20a3df0,
> area=TEXT_AREA, start=0, end=39, hl=DRAW_NORMAL_TEXT, overlaps=0) at
> xdisp.c:20546
> #4  0x0003ecbb in x_write_glyphs (start=0x2089c00, len=39) at xdisp.c:21955
> #5  0x00007a51 in update_window_line (w=0x8bd2f0, vpos=10,
> mouse_face_overwritten_p=0xbfffe7bc) at dispnew.c:4454
> #6  0x00008400 in update_window (w=0x8bd2f0, force_p=0) at dispnew.c:4310
> #7  0x00009b53 in update_window_tree (w=0x8bd2f0, force_p=0) at
> dispnew.c:4003
> #8  0x0000adb2 in update_frame (f=0x8bd170, force_p=0, inhibit_hairy_id_p=0)
> at dispnew.c:3930
> #9  0x0003690b in redisplay_internal (preserve_echo_area=<value temporarily
> unavailable, due to optimizations>) at xdisp.c:11876
> #10 0x0009f685 in read_char (commandflag=1, nmaps=2, maps=0xbfffefe0,
> prev_event=25165833, used_mouse_menu=0xbffff0d8, end_time=0x0) at
> keyboard.c:2707
> #11 0x000a2144 in read_key_sequence (keybuf=0xbffff198, bufsize=30,
> prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1,
> fix_current_buffer=1) at keyboard.c:9460
> #12 0x000a466a in command_loop_1 () at keyboard.c:1642
> #13 0x00107d0d in internal_condition_case (bfun=0xa4430 <command_loop_1>,
> handlers=25205425, hfun=0x9a810 <cmd_error>) at eval.c:1512
> #14 0x00094198 in command_loop_2 () at keyboard.c:1359
> #15 0x00107bec in internal_catch (tag=-1073741821, func=0x94150
> <command_loop_2>, arg=25165833) at eval.c:1248
> #16 0x00093eee in command_loop () at keyboard.c:1338
> #17 0x00093fb2 in recursive_edit_1 () at keyboard.c:953
> #18 0x00094131 in Frecursive_edit () at keyboard.c:1015
> #19 0x00092a75 in main (argc=1, argv=0xbffff640) at emacs.c:1852





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

* bug#3663: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
  2009-06-24 20:58 bug#3663: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7 Chong Yidong
@ 2009-07-04 18:34 ` Adrian Robert
  2009-07-04 19:14   ` Gilbert Harman
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Robert @ 2009-07-04 18:34 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Gilbert Harman, 3663


On Jun 24, 2009, at 4:58 PM, Chong Yidong wrote:

> Hi Adrian,
>
> Could you check if your recent changes caused this regression?

I'm unable to reproduce it (nor could I before).  I tried on both  
Tiger and Leopard.  The recent changes to font handling under NS  
should not have effected this, which seems related to colors.  There  
may still be remaining bugs in the NS color code that are exposed by  
unrelated things, so we'll just have to keep going through and trying  
to improve that code.






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

* bug#3663: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7
  2009-07-04 18:34 ` Adrian Robert
@ 2009-07-04 19:14   ` Gilbert Harman
  0 siblings, 0 replies; 4+ messages in thread
From: Gilbert Harman @ 2009-07-04 19:14 UTC (permalink / raw)
  To: Adrian Robert; +Cc: Chong Yidong, 3663

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

Dear Adrian,

Are you using Mac OS 10.5.7?

(I see this same problem on a MacBook Pro and two iMacs, all using OS
10.5.7.)

 Gil


On Sat, Jul 4, 2009 at 2:34 PM, Adrian Robert <adrian.b.robert@gmail.com>wrote:

>
> On Jun 24, 2009, at 4:58 PM, Chong Yidong wrote:
>
>  Hi Adrian,
>>
>> Could you check if your recent changes caused this regression?
>>
>
> I'm unable to reproduce it (nor could I before).  I tried on both Tiger and
> Leopard.  The recent changes to font handling under NS should not have
> effected this, which seems related to colors.  There may still be remaining
> bugs in the NS color code that are exposed by unrelated things, so we'll
> just have to keep going through and trying to improve that code.
>
>

[-- Attachment #2: Type: text/html, Size: 1211 bytes --]

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

end of thread, other threads:[~2009-07-04 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 20:58 bug#3663: Return of Bug 653 in emacs-23.0.95, Mac OS X 10.5.7 Chong Yidong
2009-07-04 18:34 ` Adrian Robert
2009-07-04 19:14   ` Gilbert Harman
  -- strict thread matches above, loose matches on Subject: below --
2009-06-23 21:55 Gilbert Harman

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).