[Bug 902043] Re: emacs -nw freezes with 100% CPU with glib 2.31

Bryce Harrington 902043 at bugs.launchpad.net
Sat Dec 10 01:15:54 UTC 2011


Hi Anders, thanks for fixing this bug.  Seems the PPAs are backed up,
your package still hasn't built.  However, I verified it builds on i386
in pbuilder.

I upgraded to glib 2.31 but was unable to reproduce the bug.  However
looking at the patch the error looks pretty obvious and the patch looks
sane, so I've gone ahead and uploaded it.

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