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

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

"Text is read-only" infinite loop (Carbon)


From: Magnus Henoch
Subject: "Text is read-only" infinite loop (Carbon)
Date: Sun, 21 Nov 2004 18:23:46 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Running Carbon Emacs from CVS a couple of days ago, I suddenly noticed
that I couldn't open menus from the menubar - clicking it gave a "Text
is read-only" error.  I tried getting a backtrace by M-x
toggle-debug-on-error, but that didn't change anything.  I switched
between buffers trying to think about something to do.  I use
icomplete-mode, and somehow the "(No matches)" string of icomplete got
into the buffer name I was writing, to which was appended another "(No
matches)" in a loop.  I got out of the minibuffer with C-g, but after
that Emacs got into a loop, giving the "Text is read-only" error and
beeping, and not responding to any keystroke.  I was running Emacs in
gdb, so I switched to the terminal window, hit C-z and got the
backtrace below.

Emacs had been running for about six hours.  I was running Gnus, ERC
and jabber.el at the time.  

This has happened to me before, but I don't know a way to reproduce
this.  What more information can I provide if/when this happens next
time?

(gdb) bt
#0  0xffff8660 in __bzero ()
#1  0x935f2684 in aa_render_shape ()
#2  0x91b859cc in ripr_Coverage ()
#3  0x91b823b4 in ripc_GetClippingState ()
#4  0x91b847a8 in ripc_GetRenderingState ()
#5  0x91b87884 in ripc_DrawRects ()
#6  0x935f023c in __CGContextDrawRects ()
#7  0x93602f40 in CGContextFillRects ()
#8  0x93607830 in CGContextFillRect ()
#9  0x927d99b8 in TilePixMapListCG ()
#10 0x927db78c in DrawPartCG(TTheme*, CGRect const&, CGRect const&, ThemePart*, 
ThemeStateData*, ThemeStateData*, float, CGContext*) ()
#11 0x927db3cc in DrawLayoutCG(TTheme*, LayoutCache*, long, CGRect const&, 
unsigned short, unsigned long, CGRect const&, unsigned long const*, unsigned 
long const*, float, CGContext*) ()
#12 0x927e6dd4 in LayoutEngine::DrawLayoutWithClipComposited(TTheme*, long, 
CGRect const&, unsigned short, long const*, unsigned long, short, unsigned long 
const*, unsigned long const*, float, CGContext*, short) ()
#13 0x927faf88 in LayoutEngine::DrawLayoutWithClip(TTheme*, long, CGRect 
const&, unsigned short, long const*, unsigned long, short, unsigned long 
const*, CGContext*, short) ()
#14 0x927faf3c in LayoutEngine::DrawLayout(TTheme*, long, CGRect const&, 
unsigned short, long const*, unsigned long, unsigned long const*, CGContext*, 
short) ()
#15 0x927eb4b0 in DataEngine::DrawThemeTrack(HIThemeTrackDrawInfo const*, 
CGRect const*, ThemeEraseXUPP*, unsigned long, CGContext*) ()
#16 0x92808a38 in _HIThemeDrawTrack(HIThemeTrackDrawInfo const*, CGRect const*, 
ThemeEraseXUPP*, unsigned long, CGContext*, unsigned long) ()
#17 0x9280f610 in HIScrollBar::DrawSelf(short, OpaqueRgnHandle*, CGContext*) ()
#18 0x927f5abc in HIView::DrawCacheOrSelf(short, OpaqueRgnHandle*, CGContext*) 
()
#19 0x927d5500 in HIView::EventHandler(OpaqueEventHandlerCallRef*, 
OpaqueEventRef*, void*) ()
#20 0x927d1fc8 in DispatchEventToHandlers ()
#21 0x927d223c in SendEventToEventTargetInternal ()
#22 0x927d66bc in SendEventToEventTargetWithOptions ()
#23 0x927ddd5c in SendControlDefDraw(HIView*, short, OpaqueGrafPtr*, 
OpaqueRgnHandle*, CGContext*) ()
#24 0x927dbb74 in HIView::DrawInternal(short, OpaqueGrafPtr*, OpaqueRgnHandle*, 
unsigned char, unsigned char, unsigned char, HIView*, CGContext*) ()
#25 0x927dcc18 in HIView::Draw(short, OpaqueGrafPtr*, OpaqueRgnHandle*, 
unsigned long, HIView*, CGContext*) ()
#26 0x00138860 in XTset_vertical_scroll_bar (w=0x267a1d0, portion=323, 
whole=323, position=0) at /Users/magnus/src/emacs/src/macterm.c:4241
#27 0x0002e608 in redisplay_window (window=40346068, just_this_one_p=0) at 
/Users/magnus/src/emacs/src/xdisp.c:12277
#28 0x0002a15c in redisplay_window_0 (window=-1073760528) at 
/Users/magnus/src/emacs/src/xdisp.c:10646
#29 0x000e7264 in internal_condition_case_1 (bfun=0x2a120 <redisplay_window_0>, 
arg=40346068, handlers=5764349, hfun=0x2a0ec <redisplay_window_error>) at 
/Users/magnus/src/emacs/src/eval.c:1408
#30 0x0002a0c4 in redisplay_windows (window=2804) at 
/Users/magnus/src/emacs/src/xdisp.c:10625
#31 0x000296cc in redisplay_internal (preserve_echo_area=-1073760528) at 
/Users/magnus/src/emacs/src/xdisp.c:10207
#32 0x0008247c in read_char (commandflag=1, nmaps=2, maps=0xbfffed30, 
prev_event=58721281, used_mouse_menu=0xbfffee24) at 
/Users/magnus/src/emacs/src/keyboard.c:2531
#33 0x0008a984 in read_key_sequence (keybuf=0x1, bufsize=40346068, prompt=0, 
dont_downcase_last=2650736, can_return_switch_frame=2650728, 
fix_current_buffer=2650720) at /Users/magnus/src/emacs/src/keyboard.c:8785
#34 0x00080200 in command_loop_1 () at 
/Users/magnus/src/emacs/src/keyboard.c:1528
#35 0x000e70f8 in internal_condition_case (bfun=0x7fd44 <command_loop_1>, 
handlers=58766401, hfun=0x7f6d4 <cmd_error>) at 
/Users/magnus/src/emacs/src/eval.c:1367
#36 0x0007fafc in command_loop_2 () at 
/Users/magnus/src/emacs/src/keyboard.c:1309
#37 0x000e6b6c in internal_catch (tag=-1073760528, func=0x7fabc 
<command_loop_2>, arg=58721281) at /Users/magnus/src/emacs/src/eval.c:1128
#38 0x0007fa54 in command_loop () at /Users/magnus/src/emacs/src/keyboard.c:1288
#39 0x0007f43c in recursive_edit_1 () at 
/Users/magnus/src/emacs/src/keyboard.c:981
#40 0x0007f5d4 in Frecursive_edit () at 
/Users/magnus/src/emacs/src/keyboard.c:1042
#41 0x0007e0d4 in main (argc=2663756, argv=0x287b14) at 
/Users/magnus/src/emacs/src/emacs.c:1736



In GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.6.0)
 of 2004-11-17 on zemdatav.local
Distributor `Apple Computers', version 10.3.6
configured using `configure '--enable-carbon-app' '--without-x''

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

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  erc-autojoin-mode: t
  erc-button-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-fill-mode: t
  erc-netsplit-mode: t
  erc-match-mode: t
  jabber-activity-mode: t
  jabber-mode-line-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
<return> y M-x r e p o r t SPC e m <return>

Recent messages:
nnimap: Updating info for nnimap+anastasis:Mail/spamcop-reports...done
Opening nntp server on news.gmane.org...done
Opening nntp server on news1.comhem.se...done
Opening nntp server on news.gmane.org...done
nnimap: Updating info for nnimap+anastasis:Mail/cron...done
Opening nntp server on news1.comhem.se...done
Opening nntp server on news.gmane.org...done
Checking new news...done
No more unread newsgroups
Loading emacsbug...done




reply via email to

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