From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#23386: Segfault when messing with font-backend Date: Sat, 09 Jul 2016 16:02:30 -0400 Message-ID: <8760seinqh.fsf@users.sourceforge.net> References: <83y47zxi81.fsf@gnu.org> <87d1mmiq35.fsf@users.sourceforge.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468094608 28375 80.91.229.3 (9 Jul 2016 20:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 20:03:28 +0000 (UTC) Cc: 23386@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 22:03:17 2016 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 1bLyT5-00025R-MK for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 22:03:15 +0200 Original-Received: from localhost ([::1]:52276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLyT5-0004Zx-0A for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 16:03:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLySz-0004Ze-3r for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 16:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLySs-0003mL-Uj for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 16:03:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLySs-0003mB-RH for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 16:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLySs-0000VN-GI for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 16:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2016 20:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23386 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 23386-submit@debbugs.gnu.org id=B23386.14680945601913 (code B ref 23386); Sat, 09 Jul 2016 20:03:02 +0000 Original-Received: (at 23386) by debbugs.gnu.org; 9 Jul 2016 20:02:40 +0000 Original-Received: from localhost ([127.0.0.1]:44402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLySV-0000Un-RV for submit@debbugs.gnu.org; Sat, 09 Jul 2016 16:02:39 -0400 Original-Received: from mail-it0-f53.google.com ([209.85.214.53]:35658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLyST-0000UW-GU for 23386@debbugs.gnu.org; Sat, 09 Jul 2016 16:02:38 -0400 Original-Received: by mail-it0-f53.google.com with SMTP id u186so33711963ita.0 for <23386@debbugs.gnu.org>; Sat, 09 Jul 2016 13:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=TEM8Lz/tkZzvlYhN8HOcVmIBZ2Hx8+CLrwY9UbKs/zg=; b=ftZjEqWHWoe2Q85muyiIjQ3Z6+okB+ENvcSU9J0ucX4TLA04S6Y50Ty7jLiYqB20nC t+Dl8jkQGlYf6EREL0MD6BI5AzvPSkm/RyKkO4d0potvG0pskM0T+BTH3mTiXtCkFD1d 4uz/rU+tV+EMvvxdzzvLPSKOVmeSY3OJxEQVIUDqrmjeTQi+op1/pwW8NKon1AVelkAN aw3RS54o2lfO4iG/B5XW27jILaLftCq2Fb6UPkDfxy8AhKa4Nw5f1HDrFVve9MqKKWsi NMEmUkXMLHB5qGhvpmbKBiYymOUXuq8YmIqYVArNAUAYX+ID8Q2jznSV4cLsbtBn7HbK 28YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=TEM8Lz/tkZzvlYhN8HOcVmIBZ2Hx8+CLrwY9UbKs/zg=; b=P0VmFVKce646UHom//ZRwqXNRbvUp1H1+pZeMtxF/K4/38d3zUIw8m4GuZ3KnJ6Nhz lIdOkpwZ3BbmLRhe4QrPhEFZL/RypNSAaNkioie0C9apGX+QdlnBn4gC4Tl3TjdYgOn+ RVQBwU12JMLCmnHuaIWg4n8I86ZzNVGJupU7c1CUfeLvpYCZnx4nY5WzlatM96MJp2kP YqksyzJx0ZdlZ816iX3YiTzkJ96r4yCpWUJHhwgUtqoG3INfA60myvON5uE3OYmVW9d4 hS+AesL0GTdJ7z+kvh47dH9qZiunTh1rWK1zKeV1qxpoXKN8PaBJOTqtLCSC1cxOaTrZ KnVQ== X-Gm-Message-State: ALyK8tLNqpJGhsBypFmu6E9qp/sHfZtc8ok1U1XBdIfJOvY0m0MQ/FNngz9kAYCvMVgOvg== X-Received: by 10.36.204.198 with SMTP id x189mr4055293itf.52.1468094552053; Sat, 09 Jul 2016 13:02:32 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id e127sm6993137ith.1.2016.07.09.13.02.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jul 2016 13:02:31 -0700 (PDT) In-Reply-To: <87d1mmiq35.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sat, 09 Jul 2016 15:11:42 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120716 Archived-At: npostavs@users.sourceforge.net writes: > Here is a patch that attempts to fix the issue by resetting the font > after the backend is changed. It does let Emacs successfully open the > frame with the new font (no funny box characters in the modeline), but > I'm not sure if it's the best way of marking the font object invalid. Definitely not the best way: it causes segfault on delete-frame.