bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11315: 24.1.50; Emacs 24 Hangs [Related to gnutls and lisp_data_to_s


From: Chong Yidong
Subject: bug#11315: 24.1.50; Emacs 24 Hangs [Related to gnutls and lisp_data_to_selection_data]
Date: Tue, 24 Apr 2012 10:38:57 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias) writes:

> This bug happens at random. I didn't find a similar backtrace so
> reporting it.
>
> Emacs hangs at random. I have to kill it. The gnus mailreader is always
> open.

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;







reply via email to

[Prev in Thread] Current Thread [Next in Thread]