Public bug reported:

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.

** Affects: emacs
     Importance: Unknown
         Status: Unknown

** Affects: emacs23 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: fedora
     Importance: Unknown
         Status: Unknown


** Tags: precise

** Bug watch added: debbugs.gnu.org #9754
   http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=9754

** Also affects: emacs via
   http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=9754
   Importance: Unknown
       Status: Unknown

** Bug watch added: Red Hat Bugzilla #691825
   https://bugzilla.redhat.com/show_bug.cgi?id=691825

** Also affects: fedora via
   https://bugzilla.redhat.com/show_bug.cgi?id=691825
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902043

Title:
  emacs -nw freezes with 100% CPU with glib 2.31

To manage notifications about this bug go to:
https://bugs.launchpad.net/emacs/+bug/902043/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to