From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: heisenbugs 1 joakim 0 Date: Tue, 02 Aug 2011 15:54:12 +0200 Message-ID: <87ei13yl4r.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312293291 11137 80.91.229.12 (2 Aug 2011 13:54:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 13:54:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 15:54:46 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QoFQk-000583-IQ for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 15:54:46 +0200 Original-Received: from localhost ([::1]:42001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoFQk-000821-3s for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 09:54:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoFQh-00081l-6z for emacs-devel@gnu.org; Tue, 02 Aug 2011 09:54:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoFQf-00013x-JL for emacs-devel@gnu.org; Tue, 02 Aug 2011 09:54:43 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:47026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoFQf-00013r-5u for emacs-devel@gnu.org; Tue, 02 Aug 2011 09:54:41 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QoFQb-00054y-3K for emacs-devel@gnu.org; Tue, 02 Aug 2011 15:54:37 +0200 Original-Received: from uni14-1-82-233-220-106.fbx.proxad.net ([82.233.220.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Aug 2011 15:54:37 +0200 Original-Received: from antoine.levitt by uni14-1-82-233-220-106.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Aug 2011 15:54:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: uni14-1-82-233-220-106.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:142697 Archived-At: 02/08/11 15:39, joakim@verona.se > Hello, > > Currently Emacs heisenbugs are having a field day in my computer. I'd > like to request some assistance in evening the score if possible. > > These are heisenbugs and furthermore in my own xwidget branch, so if > all this sounds like useless whining, please just disregard. A guy needs > to went now and then. > > - The recent bidi change seemed to introduce some visual artifacts > sometimes during scrolling. Sometimes the screen gets scrolled in > small rectangular regions but not all areas. It could be my branch > code but I dont think so, because my code is the bestest. It could > also be GTK3 + Bidi. This heisenbug is endurable because I can make > the display right by requesting a redraw. > > - Gnus usualy hangs for me with a flaky network but its much worse > recently with the gnutls stuff. Sometimes I get a message like: > > "gnutls.c [0] (Emacs) fatal error: The specified reason has been > invalidated for some reason." I do sometimes get error messages like these (actually, not like this, they're "size zero" errors). I also get random hangs on gnus-group-get-new-news. Strange thing is that my gnus only connects to local servers (dovecot & leafnode) ... maybe it's some error at the other end. I've added some code to get backtraces, I'll see if I can get something usable and report it. > > - I run Emacs in gdb all the time but it doesn't really help > recently. Emacs hangs so hard gdb can't interrupt. Sometimes I can > at least get a backtrace by sending a SIGHUP signal. Usualy the hang > is in accept_process_output initiated from Gnus. > > - bzr currently hangs, at the savannah end(Okay, I just like to whine > a bit) There's a thread on this, the savannah admins have been notified so presumably something will be done in the near future. > > - Hey, Martins new window code at least doesn't give me troubles! > > - Since Emacs now crashes/hangs many times a day, desktop mode helps > me a lot. Can I make it save the state more often? I've got this in my .emacs (run-with-timer (* 10 60) (* 10 60) (lambda () (flet ((message (&rest args) nil)) (desktop-save-in-desktop-dir)))) (the flet hack is there to suppress any output)