From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Building the igc branch on MS-Windows Date: Fri, 26 Apr 2024 19:03:14 +0200 Message-ID: References: <86il063imh.fsf@gnu.org> <87ttjqghyd.fsf@gmail.com> <86zfti101u.fsf@gnu.org> <87pluegd4z.fsf@gmail.com> <86ttjp20je.fsf@gnu.org> <87y191fwnd.fsf@gmail.com> <87cyqcfv6k.fsf@gmail.com> <86o79wzi31.fsf@gnu.org> <86mspgza23.fsf@gnu.org> <867cgkz7e2.fsf@gnu.org> <87r0esdv7o.fsf@gmail.com> <86sez8xhe3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 26 19:04:16 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s0Ozf-0004JP-Rn for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Apr 2024 19:04:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0Oz0-00062K-5w; Fri, 26 Apr 2024 13:03:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0Oyn-00060u-0S for emacs-devel@gnu.org; Fri, 26 Apr 2024 13:03:21 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0Oyk-0006xP-1z; Fri, 26 Apr 2024 13:03:19 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a524ecaf215so304594166b.2; Fri, 26 Apr 2024 10:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714150996; x=1714755796; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Hc56LZMU5gZspFsP2n24yV9Zkmi0i/k7zigLZ8goDjY=; b=Ibi3mFqp4z1RWd4xENVgybRg0qThaCNk8a7iliGM2Qqjktf1vgyo5xapONM3SeEYKN 8XZENA3N/zGOEKw7FEJ3Rea+jSr0mp08WJMfzdP1UDdnlctx56uDUWkWak+U62KE5Lu9 UEuBW8gYy8uBiKIBNJYfFPfQxJitc9Z/Euti3UQhGxGZf5nA7L2PaEHYLMlbi5ERsmZZ y3BmWmpDF/M9b1cyLrRlulcNFm82nfRys1HNzc39cQVY1rQDW3ugs41xvAQHmtNf/mTM 9DSgyxbXcFggcOdK3M8SFlAfSel7TLiLj1jMx50HJcaV3SfxeOlPd1ShpYgNiIy4wzCI GaeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714150996; x=1714755796; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Hc56LZMU5gZspFsP2n24yV9Zkmi0i/k7zigLZ8goDjY=; b=mOKND10JhhJxiYKUdUSPf+yUK+0rXmuPPFlD1gBg3YGo5XxWVXFK9rDsOI/i/qw1GE 8m9oWA057Mo0ogfHcQllIq4ArLquyRze5VltqCguRjb6poawpaOlRI+RUOVrq2XPdV74 pyXOvk1D98RgIISBGvtopTiAYo2nQxzVxCbfdM9qfcfDN5uy3Wr2nX3Za2Q8EomGgKWj 0JiApkz+mOslf2pRoc25BLMA7VfsJr1gEHJo1u5pZpNUnrvbFEGfNfLJRvPtWPnrJFJG EOVBdYBvtEsNWqbcjAwZALCyAqqEVpq3bNkn/EZs/xZfBBfETRvuGsx6rWUa0BYxwNWa xzZQ== X-Forwarded-Encrypted: i=1; AJvYcCVXLhGW0hN1nJL5H8/GGxz/kmBF4ELB6lD6Bll+U5a347yD0d2Izqncp0DnR9w+PZloJ7K7I7yT35KVujKdFOFvLpTQ X-Gm-Message-State: AOJu0Yx1GnCHASOalCZmyiYVFchWsk21H4u++BwGmnsEANlGRQJgn6RT jFMQyPtBEj0zoTdLMcNd7g2GH8OoMGZ5poojJcaDj7+wUouc7QmOp2QeOQ== X-Google-Smtp-Source: AGHT+IHft0tzdjTnNIpxf31EOIdSFKO6KvADEfWP3r6VZLsyQtrSw2zlgyygaQh1yG2R/CzK2fF2Tg== X-Received: by 2002:a17:907:da4:b0:a55:6507:6a35 with SMTP id go36-20020a1709070da400b00a5565076a35mr2998087ejc.49.1714150995673; Fri, 26 Apr 2024 10:03:15 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a4eb.dip0.t-ipconnect.de. [79.227.164.235]) by smtp.gmail.com with ESMTPSA id bl20-20020a170906c25400b00a55358244ffsm10785245ejb.204.2024.04.26.10.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 10:03:15 -0700 (PDT) In-Reply-To: <86sez8xhe3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Apr 2024 18:39:32 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318147 Archived-At: Eli Zaretskii writes: >> From: Helmut Eller >> Cc: Eli Zaretskii , emacs-devel@gnu.org >> Date: Fri, 26 Apr 2024 17:01:15 +0200 >> >> >> I have a nice test case, that crashes both GUI and tty versions. Can >> you reproduce this? >> >> ./src/emacs -nw -Q --eval >> '(progn (view-hello-file) (redisplay) (igc--collect) (forward-line))' > > I can. It crashes in both GUI and TTY cases, but with two very > different backtraces. Here's the GUI case, it looks very similar to > what I see when scrolling through xdisp.c: > > Thread 1 received signal SIGSEGV, Segmentation fault. > XCAR (c=0xab5ca1b) at lisp.h:751 > 751 return lisp_h_XLP (o); > (gdb) bt > #0 XCAR (c=0xab5ca1b) at lisp.h:751 > #1 assoc_no_quit (key=, alist=0xab5ca1b) at fns.c:2032 > #2 0x00afc0ed in font_list_entities (f=0xaa1c478, spec=0xa843cb5) > at font.c:2795 > #3 0x00afce53 in font_find_for_lface (f=, f@entry=0xaa1c478, > attrs=, attrs@entry=0x727a2b0, spec=, > spec@entry=0xa843c15, c=, c@entry=-1) at font.c:3316 ... > #13 0x0099cba9 in display_mode_line (w=w@entry=0xaa1c628, > face_id=MODE_LINE_ACTIVE_FACE_ID, format=0x1a24e953) at > lisp.h:1179 I wonder if this could also be caused by the missing tracing of global variables in xdisp.c that I mention in the other mail. I would propose to fix that first.