all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GNU Emacs/GLib filling up ~/.xsession-errors with 42GB of warnings
@ 2010-10-24 18:02 Adam Sjøgren
  2010-10-24 21:08 ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Sjøgren @ 2010-10-24 18:02 UTC (permalink / raw
  To: emacs-devel

  Hi.

This just happened to me again: GNU Emacs¹ filled up my root-partition
by writing 42GB of copies of this line:

  (emacs-snapshot-gtk:6008): GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member.

I think it was because I had an emacsclient X window open on my phone,
which lost connection when I walked the dog.

It happened once before, so I thought I would report it, as it severely
cripples the system it happens to when the filesystem is filled up.

From Googling I can see that the answer to people who hit this usually
is "Don't use GTK, use Lucid"² - so I guess I have to talk Romain
Francoise into creating another set of snapshot packages³.

Or is there a way to turn off those warnings, or some other clever
workaround I can employ?

  Best regards,

    Adam

¹ GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of
  2010-10-16 on elegiac, modified by Debian

² http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1493
  http://groups.google.com/group/gnu.emacs.bug/browse_thread/thread/7492b3293cee1b45
  http://www.archivum.info/bug-gnu-emacs@gnu.org/2009-08/01037/bug-4078-23.1-Forcibly-breaking-%27emacsclient-c%27-X-connections-can-crash-emacs.html
  https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/543611

³ http://emacs.orebokech.com/

-- 
 "All you'll see                                              Adam Sjøgren
  Is a tightlipped smile                                 asjo@koldfront.dk
  On a scared little man
  As the train runs wild"




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

* Re: GNU Emacs/GLib filling up ~/.xsession-errors with 42GB of warnings
  2010-10-24 18:02 GNU Emacs/GLib filling up ~/.xsession-errors with 42GB of warnings Adam Sjøgren
@ 2010-10-24 21:08 ` Chong Yidong
  2010-10-25  5:49   ` Jan Djärv
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2010-10-24 21:08 UTC (permalink / raw
  To: emacs-devel

asjo@koldfront.dk (Adam Sjøgren) writes:

> This just happened to me again: GNU Emacs¹ filled up my root-partition
> by writing 42GB of copies of this line:
>
>   (emacs-snapshot-gtk:6008): GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member.

Hmm, previously this bug was a nuisance, but filling users' hard disks
is a serious problem.

Given this, I think it's best not to try to be too clever in handling
the loss of X connections.  I've just checked in a patch that kills GTK
Emacs when that happens.



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

* Re: GNU Emacs/GLib filling up ~/.xsession-errors with 42GB of warnings
  2010-10-24 21:08 ` Chong Yidong
@ 2010-10-25  5:49   ` Jan Djärv
  2010-10-25 16:47     ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2010-10-25  5:49 UTC (permalink / raw
  To: Chong Yidong; +Cc: emacs-devel

I think you should update the PROBLEMS entry also.

	Jan D.


Chong Yidong skrev 2010-10-24 23.08:
> asjo@koldfront.dk (Adam Sjøgren) writes:
>
>> This just happened to me again: GNU Emacs¹ filled up my root-partition
>> by writing 42GB of copies of this line:
>>
>>    (emacs-snapshot-gtk:6008): GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member.
>
> Hmm, previously this bug was a nuisance, but filling users' hard disks
> is a serious problem.
>
> Given this, I think it's best not to try to be too clever in handling
> the loss of X connections.  I've just checked in a patch that kills GTK
> Emacs when that happens.



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

* Re: GNU Emacs/GLib filling up ~/.xsession-errors with 42GB of warnings
  2010-10-25  5:49   ` Jan Djärv
@ 2010-10-25 16:47     ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2010-10-25 16:47 UTC (permalink / raw
  To: Jan Djärv; +Cc: emacs-devel

Jan Djärv <jan.h.d@swipnet.se> writes:

> I think you should update the PROBLEMS entry also.

Done, thanks for the reminder.



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

end of thread, other threads:[~2010-10-25 16:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-24 18:02 GNU Emacs/GLib filling up ~/.xsession-errors with 42GB of warnings Adam Sjøgren
2010-10-24 21:08 ` Chong Yidong
2010-10-25  5:49   ` Jan Djärv
2010-10-25 16:47     ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.