From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44293: 26.3; Emacs crashes when sending a message through the telega package Date: Wed, 28 Oct 2020 21:59:17 +0200 Message-ID: <83361yceay.fsf@gnu.org> References: <87k0va2n0l.fsf@host.localdomain> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11025"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44293@debbugs.gnu.org To: richard.baeck@mailbox.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 21:00:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXrcA-0002i2-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 21:00:10 +0100 Original-Received: from localhost ([::1]:57610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXrc9-0003Yt-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 16:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXrc3-0003Xj-AH for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 16:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXrc2-0004z2-Ul for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 16:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXrc2-0007pZ-U9 for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 16:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44293 X-GNU-PR-Package: emacs Original-Received: via spool by 44293-submit@debbugs.gnu.org id=B44293.160391516730026 (code B ref 44293); Wed, 28 Oct 2020 20:00:02 +0000 Original-Received: (at 44293) by debbugs.gnu.org; 28 Oct 2020 19:59:27 +0000 Original-Received: from localhost ([127.0.0.1]:50841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXrbT-0007oE-Fx for submit@debbugs.gnu.org; Wed, 28 Oct 2020 15:59:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXrbS-0007ny-9m for 44293@debbugs.gnu.org; Wed, 28 Oct 2020 15:59:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51292) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXrbL-0004tI-Ok; Wed, 28 Oct 2020 15:59:19 -0400 Original-Received: from [176.228.60.248] (port=4543 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXrbK-0001fw-LF; Wed, 28 Oct 2020 15:59:19 -0400 In-Reply-To: <87k0va2n0l.fsf@host.localdomain> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191916 Archived-At: > Date: Wed, 28 Oct 2020 19:01:14 +0000 > From: richard.baeck--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > My emacs crashed when I started the package telega (installed from > melpa). It uses an external lib which is linked against the Telegram > tdlib. Everything compiled succesfully with the latest tdlib sources (I > compiled tdlib manually too). > > I am using Spacemacs as my config. > > Btw when I start Emacs without X support (emacs -nw) it does not crash. > Even using the Emacsclient without X does not crash my Emacs session. > > This is what the backtrace says: > > 0x00007ffff0ec49a5 in raise () from /lib64/libpthread.so.0 > (gdb) bt > #0 0x00007ffff0ec49a5 in raise () at /lib64/libpthread.so.0 > #1 0x00000000004ffc4d in terminate_due_to_signal () > #2 0x000000000051a569 in () > #3 0x000000000045dc56 in redisplay_internal () > #4 0x00000000004603dd in redisplay_preserve_echo_area () > #5 0x00000000005be760 in Fdelete_process () > #6 0x00000000005c676d in kill_buffer_processes () > #7 0x00000000004ffa26 in shut_down_emacs () > #8 0x00000000004cbabd in x_connection_closed () > #9 0x00000000004cf998 in x_error_quitter.isra () > #10 0x00000000004cfa2e in x_error_handler () > #11 0x00007ffff6ec443b in _XError () at /lib64/libX11.so.6 > #12 0x00007ffff6ec11a7 in handle_error () at /lib64/libX11.so.6 > #13 0x00007ffff6ec1245 in handle_response () at /lib64/libX11.so.6 > #14 0x00007ffff6ec1b92 in _XEventsQueued () at /lib64/libX11.so.6 > #15 0x00007ffff6eb3491 in XPending () at /lib64/libX11.so.6 > #16 0x00007ffff769e19f in gdk_event_source_prepare () at /lib64/libgdk-3.so.0 > #17 0x00007ffff7041dea in g_main_context_prepare () at /lib64/libglib-2.0.so.0 > #18 0x00007ffff704279b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 > #19 0x00007ffff704293c in g_main_context_pending () at /lib64/libglib-2.0.so.0 > #20 0x00007ffff79834c2 in gtk_events_pending () at /lib64/libgtk-3.so.0 > #21 0x00000000004cc4fd in XTread_socket () > #22 0x0000000000507052 in gobble_input () > #23 0x0000000000507655 in process_pending_signals () > #24 0x00000000005eed63 in xftfont_open () Sounds like bug#37786. Can you upgrade to Emacs 27.1? this bug is supposed to be fixed there. Alternatively, you could apply the patch here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37786#46 and rebuild Emacs.