[Bug 902043] Re: emacs -nw freezes with 100% CPU with glib 2.31
Launchpad Bug Tracker
902043 at bugs.launchpad.net
Sat Dec 10 01:15:13 UTC 2011
This bug was fixed in the package emacs23 - 23.3+1-1ubuntu7
---------------
emacs23 (23.3+1-1ubuntu7) precise; urgency=low
* debian/patches/emacs-xgselect.patch: Initialize xgselect in
function xg_select when gfds_size == 0. Fixes 100% CPU startup
freeze with glib 2.31. (LP: #902043)
-- Anders Kaseorg <andersk at mit.edu> Fri, 09 Dec 2011 02:17:48 -0500
** Changed in: emacs23 (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/902043
Title:
emacs -nw freezes with 100% CPU with glib 2.31
Status in GNU Emacs:
Unknown
Status in “emacs23” package in Ubuntu:
Fix Released
Status in Fedora:
Unknown
Bug description:
After glib2.0 2.31.2 was uploaded to precise, ‘emacs -nw’ freezes at
startup, going into an infinite loop at 100% CPU usage. A backtrace
starts as follows:
#0 xg_select (max_fds=4, rfds=0x7fffd264a5b0, wfds=0x0, efds=0x0,
timeout=0x7fffd264a800) at xgselect.c:58
#1 0x000000000059cd8e in wait_reading_process_output (time_limit=1,
microsecs=996270, read_kbd=<optimized out>, do_display=1,
wait_for_cell=11690546, wait_proc=0x0, just_wait_proc=0) at process.c:4981
#2 0x00000000004f0309 in kbd_buffer_get_event (end_time=0x7fffd264aca0,
used_mouse_menu=0x0, kbp=<synthetic pointer>) at keyboard.c:4177
#3 read_char (commandflag=0, nmaps=0, maps=0x0, prev_event=11690642,
used_mouse_menu=0x0, end_time=0x7fffd264aca0) at keyboard.c:3081
…
which matches a known upstream bug: http://debbugs.gnu.org/9754 .
Downgrading to libglib2.0-0 2.30.1-2ubuntu1 makes the problem
disappear.
To manage notifications about this bug go to:
https://bugs.launchpad.net/emacs/+bug/902043/+subscriptions
More information about the Ubuntu-sponsors
mailing list