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

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 21 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=691825.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2011-03-29T15:01:51+00:00 Jonathan wrote:

Description of problem:

I run emacs in the server / emacsclient mode.  Occasionally all emacs
windows will stop responding to character input - though they will will
respond to mouse clicks.  Sometimes, I can recover by hitting ^G in all
windows until one takes it.  Other times, the only way out is to kill
all emacsclient processes, at which point new emacsclient invocations
can connect to the daemon and things work.

Version-Release number of selected component (if applicable):
emacs-23.3-4.fc16.x86_64

How reproducible: Happens daily, but not on command.


Steps to Reproduce:
1. Run emacs with emacsclient
2. Suddenly notice it's ignoring you
3.
  
Actual results:

No response from emacs windows

Expected results:

The $#*$! thing should be listening to me.

Additional info:

I cannot reproduce the focus problem described in #674140, so I think
this is a different bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/902043/comments/0


On 2011-04-18T17:11:32+00:00 Karel wrote:

Jonathan, I cannot reproduce it. Tried (fully updated) Rawhide with
emacs-23.3-4.fc16.x86_64 and Emacs clients for a day and the issue
didn't occur. I also use emacs-23.3-4 on Fedora 14 without any problem
(using emacsclients occasionally).

When the problem occurs again, could you attach gdb to the emacs daemon
(via `gdb --pid PID`) and get the backtrace, please?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/902043/comments/1


On 2011-04-22T17:01:52+00:00 Jonathan wrote:

OK, took me a while to reproduce it...and the result is not going to be
particularly satisfying.  Even after three rounds of installing
debuginfo packages, all I get is:

(gdb) bt
#0  0x7f62e21dc053 in __gethostname (name=0x7fffb718e270 "0\005P", 
len=140736265248864)
at ../sysdeps/unix/sysv/gethostname.c:31
#1  0x00b23a12 in ?? ()
#2  0x1000 in ?? ()
#3  0x in ?? ()

Reply at:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/902043/comments/2


On 2011-04-23T13:24:32+00:00 Jonathan wrote:

OK, here's a hang with more (and totally different) information:

#0  0x7fe80b6df1f3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x004d0af5 in xg_select (max_fds=20, rfds=0x7fff41928f10, wfds=
0x0, efds=0x0, timeout=0x7fff41929160)
at /usr/src/debug/emacs-23.3/src/xgselect.c:102
#2  0x0059b4ce in wait_reading_process_output (time_limit=30, 
microsecs=0, read_kbd=, do_display=1, wait_for_cell=
11680274, wait_proc=0x0, just_wait_proc=0)
at /usr/src/debug/emacs-23.3/src/process.c:4981
#3  0x0041e714 in sit_for (timeout=120, reading=1, do_display=1)
at /usr/src/debug/emacs-23.3/src/dispnew.c:6657
#4  0x004ef9c8 in read_char (commandflag=1, nmaps=2, maps=
0x7fff41929620, prev_event=11680274, used_mouse_menu=0x7fff41929790, 
end_time=0x0) at /usr/src/debug/emacs-23.3/src/keyboard.c:2972
#5  0x004f091a in read_key_sequence (keybuf=0x7fff419297f0, prompt=
11680274, dont_downcase_last=0, can_return_switch_frame=1, 
fix_current_buffer=1, bufsize=30)
at /usr/src/debug/emacs-23.3/src/keyboard.c:9567
#6  0x004f2969 in command_loop_1 ()
at /usr/src/debug/emacs-23.3/src/keyboard.c:1645
#7  0x005568e4 in internal_condition_case (bfun=
0x4f2780 , handlers=11747538, hfun=0x4e60d0 )
at /usr/src/debug/emacs-23.3/src/eval.c:1492
#8  0x004e42fe in command_loop_2 ()
at /usr/src/debug/emacs-23.3/src/keyboard.c:1362
#9  0x005567ba in internal_catch (tag=Cannot access memory at address 
0xfff5
)
at /usr/src/debug/emacs-23.3/src/eval.c:1228
#10 0x004e6339 in command_loop ()
at /usr/src/debug/emacs-23.3/src/keyboard.c:1341
#11 0x004e63da in recursive_edit_1 ()
at /usr/src/debug/emacs-23.3/src/keyboard.c:956
#12 0x004e6517 in Frecursive_edit ()
at /usr/src/debug/emacs-23.3/src/keyboard.c:1018
#13 0x0041357f in main (argc=2, argv=)
at /usr/src/debug/emacs-23.3/src/emacs.c:1833

Reply at:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/902043/comments/3


On 2011-05-11T10:21:58+00:00 Karel wrote:

Thank you for the backtraces.

As for the backtrace from comment #2, it would 

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

2016-10-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~violetzijing/ubuntu/trusty/emacs24/233

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-09 Thread Launchpad Bug Tracker
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 ande...@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
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-09 Thread Bryce Harrington
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
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/emacs23

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-09 Thread Anders Kaseorg
Yeah, that fixed it.  Thanks.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-09 Thread Ubuntu Foundation's Bug Bot
The attachment emacs23_23.3+1-1ubuntu6_lp902043.debdiff of this bug
report has been identified as being a patch in the form of a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff.  In the event that
this is in fact not a patch you can resolve this situation by removing
the tag 'patch' from the bug report and editing the attachment so that
it is not flagged as a patch.  Additionally, if you are member of the
ubuntu-sponsors team please also unsubscribe the team from this bug
report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: emacs23 (Ubuntu)
   Status: New = Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-12-08 Thread Anders Kaseorg
Here’s a debdiff with the patch from Fedora.  I’m testing it in my PPA;
I’ll post the results once it builds.

** Patch added: emacs23_23.3+1-1ubuntu6_lp902043.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/902043/+attachment/2625621/+files/emacs23_23.3%2B1-1ubuntu6_lp902043.debdiff

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs