unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4331: 23.1.50; Emacs 23.1.50 on Solaris 11 hangs in C-h h
@ 2009-09-03 15:07 Rainer Orth
  2011-09-17  7:29 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer Orth @ 2009-09-03 15:07 UTC (permalink / raw)
  To: emacs-pretest-bug

When checking CVS Emacs for several bugs I've noticed and reported, I
ran across another one that makes the CVS version unusable: if I type
C-h h, Emacs just hangs (or at least takes a very long time to finish),
unlike e.g. Emacs 23.1.

I've taken to exemplary stack traces with pstack, which show this
happens in fontset_find_font:

19283:	emacs-23.1.50
 fe22694c FcStrCaseWalkerNext (ffbf8104, ffbf80f4, 0, 10, 3, 10) + 9c
 fe226cfc FcStrCmpIgnoreCase (fa6b54a0, 1069970, 0, 0, 0, 0) + 54
 fe205724 FcConfigCompareValue (fa6b5488, 15, 13f9a30, 0, 0, 0) + 45c
 fe219cc4 FcListValueListMatchAny (13f9a28, fa6b5480, ffbf8280, 0, 80808080, 1010101) + 54
 fe21a3e8 FcListPatternMatchAny (ea3f30, fa6b52b8, 10ed950, d19640, 4, fdfda16c) + f0
 fe21b2e4 FcFontSetList (c3cd28, ffbfc3d4, 1, ea3f30, 10ed950, 1e42753b) + f4
 fe21b60c FcFontList (0, ea3f30, 10ed950, 154a818, 237ae4, 1) + dc
 0021a274 ftfont_lookup_cache (61554d48, 10ed950, ea3f30, a1551ba8, 1562c58, 237adc) + 280
 0021a300 ftfont_get_fc_charset (81555420, aa8, 20f56e20, ffffffff, 1, 1ffffc00) + c
 0021bf0c ftfont_has_char (81555420, aa8, 3be800, 3be800, 3c7000, 1555420) + 34c
 0021d9bc xftfont_has_char (81555420, aa8, 3be800, 3c7000, e, 1555420) + 354
 001c7690 font_has_char (cbcd80, 81555420, aa8, 1555420, 4, ffffffff) + a4
 001c5cf4 font_sort_entities (13dd, cbcd80, 81450548, ffffffff, 1fffffff, 1428788) + 314
 001c7eac font_select_entity (80cbcd80, a1589020, e73bb0, 12, aa8, c870) + 19c
 001c8660 font_find_for_lface (ffbfc7a4, e73bb0, ffbfc784, aa8, ffbfc754, 80cbcd80) + 788
 00114b00 fontset_find_font (0, 0, cbcd80, 0, 80ea7f48, 3beafc) + 458
 00114f98 fontset_font (807d2a20, aa8, e73b70, 8f, 7d2a20, 203ca0b0) + 210
 00115778 font_for_char (e73b70, aa8, 112, 203ca080, 807d2a20, 3bbbb8) + 12c
 001c969c font_range (113, 203ca080, 28, 2, 203ca080, 3beafc) + 368
 0021171c autocmp_chars (434d68, 112, 15a, 122, ca1280, 1ffffc00) + 1d4
 00212258 composition_reseat_it (ffbfd578, 112, 15a, c35, ca1280, e73b70) + 1fc
 000769cc next_element_from_buffer (ffbfd1c0, 0, cbcd80, 0, 203ca080, cfdb40) + 15c
 00074f50 get_next_display_element (ffbfd1c0, 1, 75c00, c0, 24a400, 24a718) + 18
 0008a124 display_line (0, ffbfd1c0, 3c3448, ee95f0, 3beafc, 1fffffff) + 1b0
 00084a10 try_window (80, ffbfd720, 1, 3beafc, 1ffffc00, ca1280) + 84
 00083838 redisplay_window (80ca1280, 0, 203ca080, 1, 3beafc, 3c726c) + a10
 00080560 redisplay_window_0 (80ca1280, 3be800, 0, 53, f51d28, f51d30) + 28
 001afea8 internal_condition_case_1 (80538, 80ca1280, a03d1238, 80518, 3c7400, ffbfec74) + 120
 000804f0 redisplay_windows (80ca1280, 203ca080, f51d28, 3beafc, 1ffffc00, 3be800) + 98
 0007f7f8 redisplay_internal (cbcd80, cbcd80, 80cbcd80, ca1280, 1fffffff, 3c726c) + 10b8
 0007db6c redisplay (0, 3c3000, 3c5400, 0, 0, 3c2400) + 4
 00134b7c read_char (1, 3c5400, 0, 203ca080, 0, ffbfea28) + 590
 0013f5b8 read_key_sequence (40000400, 1e, 203ca080, 3c5000, 1ffffc00, 3beafc) + 718
 00132078 command_loop_1 (3c8c00, 3c4c00, 3c3400, 3bb800, 1ffffc00, 30) + 39c
 001afd50 internal_condition_case (131cdc, 203d9238, 131558, 203d9238, 3c7400, ffbfed94) + 118
 0013192c command_loop_2 (203ca080, 3beafc, 3c4de8, 131400, 131c00, 3c4c00) + 24
 001af7b8 internal_catch (203d8318, 131908, 203ca080, 131908, 0, 3c7400) + c8
 001318a8 command_loop (131800, 3c4c00, 45d3a8, 3beafc, 0, 3c5800) + 60
 0013108c recursive_edit_1 (0, 10, 0, 1, 3bea90, 3beafc) + 80
 00131248 Frecursive_edit (3be800, 131000, 3be800, 0, 203ca080, 3c1000) + 128
 0012f67c main     (203ca080, ffbff0ec, ffbff084, 22b800, 1, ffbff8be) + 1304
 00053ed8 _start   (0, 0, 0, 0, 0, 0) + 108

19283:	emacs-23.1.50
 fe20b1d0 FcCharSetPopCount (0, ffbfc028, 0, 10, 8, 10) + 70
 fe20b6a8 FcCharSetSubtractCount (fdad0ba0, fa610760, 0, 0, 0, 0) + 190
 fe21bf60 FcCompareCharSet (13f9b20, fa647400, 0, 0, 0, 0) + 88
 fe21c590 FcCompareValueList (21, 13f9b18, fa6473f8, 0, ffbfc2f0, ffbfc6c4) + 168
 fe21cb14 FcCompare (1427470, fa647150, ffbfc2f0, ffbfc6c4, 1, d26e90) + 1e4
 fe21d194 FcFontSetMatch (c3cd28, ffbfc3dc, 1, 1427470, ffbfc6c4, 1b410) + 1bc
 fe21d544 FcFontMatch (0, 1427470, ffbfc6c4, fe492000, 1, 1) + dc
 fe479b5c XftFontMatch (c2c230, 0, 1427470, ffbfc6c4, fe480230, fe492000) + f0
 0021cf48 xftfont_open (cbcd80, 8155be18, 12, 0, 1fffffff, cc8ff0) + 4b0
 001c7390 font_open_entity (cbcd80, 8155be18, 12, 1ffffc00, 203ca080, 2040edc8) + 15c
 001c884c font_open_for_lface (cbcd80, 8155be18, 1c8400, 1c86f8, 155be18, 12) + 13c
 00114b1c fontset_find_font (0, 0, cbcd80, 0, 80ea7f48, 3beafc) + 474
 00114f98 fontset_font (807d2a20, aa8, e73b70, 8f, 7d2a20, 203ca0b0) + 210
 00115778 font_for_char (e73b70, aa8, 112, 203ca080, 807d2a20, 3bbbb8) + 12c
 001c969c font_range (113, 203ca080, 28, 2, 203ca080, 3beafc) + 368
 0021171c autocmp_chars (434d68, 112, 15a, 122, ca1280, 1ffffc00) + 1d4
 00212258 composition_reseat_it (ffbfd578, 112, 15a, c35, ca1280, e73b70) + 1fc
 000769cc next_element_from_buffer (ffbfd1c0, 0, cbcd80, 0, 203ca080, cfdb40) + 15c
 00074f50 get_next_display_element (ffbfd1c0, 1, 75c00, c0, 24a400, 24a718) + 18
 0008a124 display_line (0, ffbfd1c0, 3c3448, ee95f0, 3beafc, 1fffffff) + 1b0
 00084a10 try_window (80, ffbfd720, 1, 3beafc, 1ffffc00, ca1280) + 84
 00083838 redisplay_window (80ca1280, 0, 203ca080, 1, 3beafc, 3c726c) + a10
 00080560 redisplay_window_0 (80ca1280, 3be800, 0, 53, f51d28, f51d30) + 28
 001afea8 internal_condition_case_1 (80538, 80ca1280, a03d1238, 80518, 3c7400, ffbfec74) + 120
 000804f0 redisplay_windows (80ca1280, 203ca080, f51d28, 3beafc, 1ffffc00, 3be800) + 98
 0007f7f8 redisplay_internal (cbcd80, cbcd80, 80cbcd80, ca1280, 1fffffff, 3c726c) + 10b8
 0007db6c redisplay (0, 3c3000, 3c5400, 0, 0, 3c2400) + 4
 00134b7c read_char (1, 3c5400, 0, 203ca080, 0, ffbfea28) + 590
 0013f5b8 read_key_sequence (40000400, 1e, 203ca080, 3c5000, 1ffffc00, 3beafc) + 718
 00132078 command_loop_1 (3c8c00, 3c4c00, 3c3400, 3bb800, 1ffffc00, 30) + 39c
 001afd50 internal_condition_case (131cdc, 203d9238, 131558, 203d9238, 3c7400, ffbfed94) + 118
 0013192c command_loop_2 (203ca080, 3beafc, 3c4de8, 131400, 131c00, 3c4c00) + 24
 001af7b8 internal_catch (203d8318, 131908, 203ca080, 131908, 0, 3c7400) + c8
 001318a8 command_loop (131800, 3c4c00, 45d3a8, 3beafc, 0, 3c5800) + 60
 0013108c recursive_edit_1 (0, 10, 0, 1, 3bea90, 3beafc) + 80
 00131248 Frecursive_edit (3be800, 131000, 3be800, 0, 203ca080, 3c1000) + 128
 0012f67c main     (203ca080, ffbff0ec, ffbff084, 22b800, 1, ffbff8be) + 1304
 00053ed8 _start   (0, 0, 0, 0, 0, 0) + 108


In GNU Emacs 23.1.50.1 (sparc-sun-solaris2.10, GTK+ Version 2.12.9)
 of 2009-08-31 on padouk
Windowing system distributor `Sun Microsystems, Inc.', version 11.0.6620
configured using `configure  'CC=cc' 'CXX=CC' 'CPPFLAGS=-I/vol/graphics/include' 'LDFLAGS=-L/vol/graphics/lib -R/vol/graphics/lib' '--prefix=/vol/gnu' '--infodir=/vol/gnu/info' '--mandir=/vol/gnu/man' '--libexecdir=/vol/gnu/lib' '--localstatedir=/vol/gnu/share/emacs/var' '--with-x-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.ISO8859-15@euro
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/vol/gnu/share/emacs/site-lisp/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-other
/vol/gnu/share/emacs/site-lisp/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-api
/vol/gnu/share/emacs/site-lisp/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-charent
/vol/gnu/share/emacs/site-lisp/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-info
/vol/gnu/share/emacs/site-lisp/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd
/vol/gnu/share/emacs/site-lisp/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-edit
/vol/gnu/share/emacs/site-lisp/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/psgml-parse
/vol/gnu/share/emacs/site-lisp/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/psgml
/vol/gnu/share/emacs/site-lisp/info-look hides /vol/gnu/share/emacs/23.1.50/lisp/info-look






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

* bug#4331: 23.1.50; Emacs 23.1.50 on Solaris 11 hangs in C-h h
  2009-09-03 15:07 bug#4331: 23.1.50; Emacs 23.1.50 on Solaris 11 hangs in C-h h Rainer Orth
@ 2011-09-17  7:29 ` Lars Magne Ingebrigtsen
  2011-09-17 14:24   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-17  7:29 UTC (permalink / raw)
  To: Rainer Orth; +Cc: 4331

Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> When checking CVS Emacs for several bugs I've noticed and reported, I
> ran across another one that makes the CVS version unusable: if I type
> C-h h, Emacs just hangs (or at least takes a very long time to finish),
> unlike e.g. Emacs 23.1.
>
> I've taken to exemplary stack traces with pstack, which show this
> happens in fontset_find_font:
>
> 19283:	emacs-23.1.50
>  fe22694c FcStrCaseWalkerNext (ffbf8104, ffbf80f4, 0, 10, 3, 10) + 9c

`C-h h' generally takes a long time to finish if Emacs actually manages
to find all the required fonts, because it has to ask the X server for
all the fonts.  So I don't think this sounds like a bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

* bug#4331: 23.1.50; Emacs 23.1.50 on Solaris 11 hangs in C-h h
  2011-09-17  7:29 ` Lars Magne Ingebrigtsen
@ 2011-09-17 14:24   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2011-09-17 14:24 UTC (permalink / raw)
  To: 'Lars Magne Ingebrigtsen', 'Rainer Orth'; +Cc: 4331

> > C-h h, Emacs just hangs (or at least takes a very long time 
> > to finish), unlike e.g. Emacs 23.1.
> 
> `C-h h' generally takes a long time to finish if Emacs 
> actually manages to find all the required fonts, because
> it has to ask the X server for all the fonts.  So I don't
> think this sounds like a bug.

We owe users at least a message saying that we are gathering info/fonts or
whatever, and that that might take a while.

It is always a UI bug that Emacs seemingly does nothing - seems to hang, without
forewarning users or providing progress info.

The user who reported this even went to the trouble to try to track down what
was happening.  This kind of heads-up from a user should be a wake-up call, not
just an excuse to close another bug.






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

end of thread, other threads:[~2011-09-17 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-03 15:07 bug#4331: 23.1.50; Emacs 23.1.50 on Solaris 11 hangs in C-h h Rainer Orth
2011-09-17  7:29 ` Lars Magne Ingebrigtsen
2011-09-17 14:24   ` Drew Adams

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