From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory Date: Mon, 03 Jun 2013 23:09:09 -0700 Organization: UCLA Computer Science Department Message-ID: <51AD8485.90201@cs.ucla.edu> References: <87zjxxn6th.fsf@gmx.de> <83fvx7p1h4.fsf@gnu.org> <877gihc3qm.fsf@gmx.de> <83mwrd6c54.fsf@gnu.org> <87obbtaie8.fsf@gmx.de> <83bo7ozc0q.fsf@gnu.org> <87zjxxn6th.fsf@gmx.de> <87hajqpjn1.fsf@gmx.de> <8738t7pewc.fsf@gmx.de> <83fvx7p1h4.fsf@gnu.org> <877gihc3qm.fsf@gmx.de> <83mwrd6c54.fsf@gnu.org> <87obbtaie8.fsf@gmx.de> <83bo7ozc0q.fsf@gnu.org> <87bo7ngwj8.fsf@gmx.de> <83mwr7xm7b.fsf@gnu.org> <3d7gibw6sa.fsf@fencepost.gnu.org> <83bo7nxim8.fsf@gnu.org> <834ndfxh0g.fsf@gnu.org> <2cobbnt897.fsf@fencepost.gnu.org> <87ip1vq8wy.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1370331049 10496 80.91.229.3 (4 Jun 2013 07:30:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2013 07:30:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 04 09:30:47 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ujlhe-00063B-RS for ged-emacs-devel@m.gmane.org; Tue, 04 Jun 2013 09:30:46 +0200 Original-Received: from localhost ([::1]:39417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujlhe-0002iY-F0 for ged-emacs-devel@m.gmane.org; Tue, 04 Jun 2013 03:30:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjlhX-0002iR-UA for emacs-devel@gnu.org; Tue, 04 Jun 2013 03:30:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjlMg-0006Xr-QN for emacs-devel@gnu.org; Tue, 04 Jun 2013 03:09:08 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:43805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjkQg-0000cG-OQ for emacs-devel@gnu.org; Tue, 04 Jun 2013 02:09:10 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 36DC939E8106; Mon, 3 Jun 2013 23:09:10 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h-K13Ze8GMP9; Mon, 3 Jun 2013 23:09:09 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-71-108-49-126.lsanca.fios.verizon.net [71.108.49.126]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id C224A39E8008; Mon, 3 Jun 2013 23:09:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 In-Reply-To: <87ip1vq8wy.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160071 Archived-At: I tried the new monitor and it made Emacs freeze. I was running "emacs -nw", which I think may help explain the problem. Fedora 17, x86-64. Here's what I ran: (gfile-add-watch "/tmp/foo" '() (lambda (ev) (message "%s" ev))) Here are the diagnostics that were blatted onto my screen before Emacs froze: (process:11082): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init() (process:11082): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)'\ failed (process:11082): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (process:11082): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init() (process:11082): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (process:11082): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to call g_type_init() (process:11082): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed