GNU bug report logs - #11315
24.1.50; Emacs 24 Hangs [Related to gnutls and lisp_data_to_selection_data]

Previous Next

Package: emacs;

Reported by: egallego <at> babel.ls.fi.upm.es (Emilio Jesús Gallego Arias)

Date: Mon, 23 Apr 2012 15:27:01 UTC

Severity: grave

Found in version 24.1.50

Done: egallego <at> babel.ls.fi.upm.es (Emilio Jesús Gallego Arias)

Bug is archived. No further changes may be made.

Full log


Message #16 received at 11315 <at> debbugs.gnu.org (full text, mbox):

From: egallego <at> babel.ls.fi.upm.es (Emilio Jesús Gallego Arias)
To: Chong Yidong <cyd <at> gnu.org>
Cc: 11315 <at> debbugs.gnu.org
Subject: Re: 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
Chong Yidong <cyd <at> gnu.org> 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




This bug report was last modified 12 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.