From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: egallego@babel.ls.fi.upm.es (Emilio =?UTF-8?Q?Jes=C3=BAs?= Gallego Arias) Newsgroups: gmane.emacs.bugs Subject: bug#11315: 24.1.50; Emacs 24 Hangs [Related to gnutls and lisp_data_to_selection_data] Date: Tue, 24 Apr 2012 12:25:22 +0200 Organization: TKE Message-ID: <87ipgptoj1.fsf@baal.ls.fi.upm.es> References: <87sjfvnu0a.fsf@babel.ls.fi.upm.es> <87vckplupq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335263186 1011 80.91.229.3 (24 Apr 2012 10:26:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 10:26:26 +0000 (UTC) Cc: 11315@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 12:26:25 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SMcwz-0002Cd-Ms for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 12:26:25 +0200 Original-Received: from localhost ([::1]:57408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMcwy-0006sp-II for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 06:26:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMcws-0006sA-OP for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 06:26:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMcwp-0001y4-VX for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 06:26:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMcwp-0001y0-S5 for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 06:26:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMcxa-0000U9-1M; Tue, 24 Apr 2012 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: egallego@babel.ls.fi.upm.es (Emilio =?UTF-8?Q?Jes=C3=BAs?= Gallego Arias) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2012 10:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11315 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11315-submit@debbugs.gnu.org id=B11315.13352631751810 (code B ref 11315); Tue, 24 Apr 2012 10:27:01 +0000 Original-Received: (at 11315) by debbugs.gnu.org; 24 Apr 2012 10:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:50083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMcwo-0000T7-LD for submit@debbugs.gnu.org; Tue, 24 Apr 2012 06:26:14 -0400 Original-Received: from relay.fi.upm.es ([138.100.8.77]:45713 helo=relay4.fi.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMcwl-0000Sy-H8 for 11315@debbugs.gnu.org; Tue, 24 Apr 2012 06:26:12 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by relay4.fi.upm.es (Postfix) with ESMTP id 56B1F304AD; Tue, 24 Apr 2012 12:25:23 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at efiltro.fi.upm.es Original-Received: from baal (babel.ls.fi.upm.es [138.100.12.136]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by relay4.fi.upm.es (Postfix) with ESMTP id 1F1A230440; Tue, 24 Apr 2012 12:25:23 +0200 (CEST) X-Url: https://babel.ls.fi.upm.es/~egallego/ In-Reply-To: <87vckplupq.fsf@gnu.org> (Chong Yidong's message of "Tue, 24 Apr 2012 10:38:57 +0800") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59436 Archived-At: Chong Yidong writes: > Please apply the following patch and see if it fixes the hang. > > === modified file 'src/xselect.c' > *** src/xselect.c 2012-02-25 03:01:11 +0000 > --- src/xselect.c 2012-04-24 02:36:56 +0000 > *************** > *** 931,936 **** > --- 931,937 ---- > > /* Otherwise, record the converted selection to binary. */ > cs = xmalloc (sizeof (struct selection_data)); > + cs->data = NULL; > cs->nofree = 1; > cs->property = property; > cs->wait_object = NULL; Thanks for the patch, I'll test it ASAP and report back. Keep in mind that the hang is not easy to reproduce (about twice a week), so I'll try it for about 10 days. Regards, Emilio