From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#34256: 27.0.50; Crash on draw_glyphs() Date: Thu, 31 Jan 2019 22:15:43 -0500 Message-ID: References: <83pnse15pb.fsf@gnu.org> <83k1im142z.fsf@gnu.org> <83bm3y0ycm.fsf@gnu.org> <834l9o2acz.fsf@gnu.org> <83lg30zs5d.fsf@gnu.org> <83ef8szi8i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002be62f0580cc91c6" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91924"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34256@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 01 04:23:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpPQ1-000Nhw-3o for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Feb 2019 04:23:05 +0100 Original-Received: from localhost ([127.0.0.1]:36319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpPQ0-0001J9-1F for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jan 2019 22:23:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpPPb-0001Bu-AN for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 22:22:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpPKA-00022T-Qd for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 22:17:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpPKA-00021r-NI for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 22:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpPKA-0002gV-8k for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 22:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Feb 2019 03:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34256 X-GNU-PR-Package: emacs Original-Received: via spool by 34256-submit@debbugs.gnu.org id=B34256.154899099510275 (code B ref 34256); Fri, 01 Feb 2019 03:17:02 +0000 Original-Received: (at 34256) by debbugs.gnu.org; 1 Feb 2019 03:16:35 +0000 Original-Received: from localhost ([127.0.0.1]:53562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpPJg-0002fc-Ri for submit@debbugs.gnu.org; Thu, 31 Jan 2019 22:16:35 -0500 Original-Received: from mail-lj1-f178.google.com ([209.85.208.178]:44966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpPJc-0002fK-8e for 34256@debbugs.gnu.org; Thu, 31 Jan 2019 22:16:30 -0500 Original-Received: by mail-lj1-f178.google.com with SMTP id k19-v6so4498502lji.11 for <34256@debbugs.gnu.org>; Thu, 31 Jan 2019 19:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8/MRLhEJa5YfsPvibiUnJ1fQOxnnAFXukD/3C3af+x4=; b=apOgODYilXnXapKrxeVdvsId6HNuga7zVHYnn7oKqDhpZubCN8brUzcRTIgAV1ngrA 85jj0Re87ja7FeHesx5v7SIeotTt4RNQrHmBD4JLt69IYIZuRyBVDogt7vKOe5uxPnN1 GLoQaKqHFFo06NSAg4BN822VlSTZtg/XMre+XVyz/NiloCLlOjFD1eHku8GZNJbJBTRm hsDcmk1QfXvFgfLA0mI70AUq6yYo/+GuJLDb7cR1E2d2I3lE/uqT8Rkljn3m8JNpPGzN LAVREuGgCPm9drWgzPuIsj2B5Ui6QLdkBGNr7BL240++0bC7va0ZtqQlXXsJUC2Uq1BU QKzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8/MRLhEJa5YfsPvibiUnJ1fQOxnnAFXukD/3C3af+x4=; b=pM1FO9HlwZB3ot7aMQzzhUTljC2YJZaIJvC+R+ii6gmcVPGZZ9bQfGyyCUGVFLE/Tr 3BsKKpWMFp3Y4PK6cLcRdNVhV9T2Acrcibsu1qV/65O5ebcwrg5vuRaX/VQB+ZBv5GmW 8WbdZ4xdgjNVbxGsfb4BlE9xrNckKHrjXP5N/13QExxYzTlupTAy3zt/phhDQss3bn9D tr33Jvsv1Axx9hr03DJIcPTIBRiDi4OFIeKaLq9eu2ff1mVdkN1NaY5m+XEFyMpFDmai 3lHA4odnlss/SaDxDCj70EFLBsLl8B8dG2xo94JP0f4TdsvUKPzJVRc6Pg8FFkTGRy3I hh2g== X-Gm-Message-State: AJcUukcEWOoTYl3sToi/VC6o/ZCw92FtIed0sc9px7lx+87I2oZR/V1p Bt7roM+k3ZurhSWKummN7ijpXwnTNZIwkHXQQH4= X-Google-Smtp-Source: ALg8bN56fP2uc7AlYuS+M+qckIXmyXg0dFepGUYWLsB9odjWKwxMGvTS1L5STXmBqXXaA9EzIP2aRbwbpPxejxqidNw= X-Received: by 2002:a2e:8855:: with SMTP id z21-v6mr29680471ljj.191.1548990980808; Thu, 31 Jan 2019 19:16:20 -0800 (PST) In-Reply-To: <83ef8szi8i.fsf@gnu.org> 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: 209.51.188.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:154949 Archived-At: --0000000000002be62f0580cc91c6 Content-Type: text/plain; charset="UTF-8" On Thu, Jan 31, 2019 at 3:26 PM Eli Zaretskii wrote: > > OK, so here's a way that could potentially find the culprit: > > $ cd /path/to/emacs/src > $ gdb ./emacs > ... > (gdb) source ./.gdbinit > (gdb) break fill_image_glyph_string > (gdb) run > (gdb) break fill_image_glyph_string Breakpoint 3 at 0x4377e1: file xdisp.c, line 26151. (gdb) run Starting program: /home/kmodi/downloads/git/emacs/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffec3ab700 (LWP 5462)] (emacs:5458): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed When this breakpoint breaks, type: > > (gdb) disable > (gdb) print s->f->terminal->image_cache->images[0] > (gdb) watch -l s->f->terminal->image_cache->images[0] if > s->f->terminal->image_cache->images[0] == 0 > (gdb) continue > Thread 1 "emacs" hit Breakpoint 3, fill_image_glyph_string ( s=s@entry=0x7fffffff8f10) at xdisp.c:26151 26151 { (gdb) disable (gdb) print s->f->terminal->image_cache->images[0] $1 = (struct image *) 0x42a70b0 (gdb) watch -l s->f->terminal->image_cache->images[0] if s->f->terminal->image_cache->images[0] == 0 Hardware watchpoint 4: -location s->f->terminal->image_cache->images[0] (gdb) continue Continuing. > Then invoke the rest of your recipe. (It could be that the breakpoint > breaks only after you invoke the last two lines of the recipe.) > warning: Watchpoint condition cannot be tested in the current scope Thread 1 "emacs" hit Hardware watchpoint 4: -location s->f->terminal->image_cache->images[0] Old value = (struct image *) 0x42a70b0 New value = (struct image *) 0x0 free_image (f=f@entry=0x143b260, img=img@entry=0x42a70b0) at image.c:1022 1022 if (img->picture) > Each time the watchpoint breaks, type > > (gdb) bt > (gdb) bt #0 free_image (f=f@entry=0x143b260, img=img@entry=0x42a70b0) at image.c:1022 #1 0x00000000006646a1 in clear_image_cache (f=0x143b260, filter=filter@entry=XIL(0xc5a0)) at image.c:1574 #2 0x000000000066a35d in Fclear_image_cache (filter=...) at image.c:1658 #3 0x00000000005cf848 in funcall_subr (subr=0xceadc0 , numargs=numargs@entry=0, args=args@entry=0x7fffffff0650) at eval.c:2935 #4 0x00000000005cdc27 in Ffuncall (nargs=1, args=args@entry=0x7fffffff0648) at eval.c:2860 #5 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x4d70415), maxdepth=..., maxdepth@entry =make_number(17), args_template=..., args_template@entry=make_number(1024), nargs=nargs@entry=0, args=, args@entry=0x7fffffff0a88) at bytecode.c:633 #6 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x4d70635), nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffff0a88) at eval.c:3058 #7 0x00000000005cdd80 in Ffuncall (nargs=1, args=args@entry=0x7fffffff0a80) at eval.c:2862 #8 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x4ce79c5), maxdepth=..., maxdepth@entry =make_number(7), args_template=..., args_template@entry=make_number(0), nargs=nargs@entry=0, args=, args@entry=0x7fffffff1020) at bytecode.c:633 #9 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x4ce6925), nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffff1020) at eval.c:3058 #10 0x00000000005cdd80 in Ffuncall (nargs=1, args=args@entry=0x7fffffff1018) at eval.c:2862 #11 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., ---Type to continue, or q to quit--- vector@entry=XIL(0x7ffff32d538d), maxdepth=..., maxdepth@entry=make_number(5), args_template=..., args_template@entry=make_number(513), nargs=nargs@entry=2, args=, args@entry=0x7fffffff1308) at bytecode.c:633 #12 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff32d535d), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffff1308) at eval.c:3058 #13 0x00000000005cdd80 in Ffuncall (nargs=3, args=args@entry=0x7fffffff1300) at eval.c:2862 #14 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff31de765), maxdepth=..., maxdepth@entry=make_number(13), args_template=..., args_template@entry=make_number(256), nargs=nargs@entry=0, args=, args@entry=0x7fffffff17d0) at bytecode.c:633 #15 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff31de735), nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffff17d0) at eval.c:3058 #16 0x00000000005cdd80 in Ffuncall (nargs=1, args=args@entry=0x7fffffff17c8) at eval.c:2862 #17 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x60373e5), maxdepth=..., maxdepth@entry =make_number(16), args_template=..., args_template@entry=make_number(1026), nargs=nargs@entry=4, args=, args@entry=0x7fffffff1bb0) at bytecode.c:633 #18 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x60374e5), nargs=nargs@entry=4, arg_vector=arg_vector@entry=0x7fffffff1bb0) at eval.c:3058 #19 0x00000000005cdd80 in Ffuncall (nargs=5, args=args@entry=0x7fffffff1ba8) at eval.c:2862 ---Type to continue, or q to quit--- #20 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x3e55fd5), maxdepth=..., maxdepth@entry =make_number(18), args_template=..., args_template@entry=make_number(771), nargs=nargs@entry=3, args=, args@entry=0x7fffffff2130) at bytecode.c:633 #21 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x3e55365), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7fffffff2130) at eval.c:3058 #22 0x00000000005cdd80 in Ffuncall (nargs=4, args=args@entry=0x7fffffff2128) at eval.c:2862 #23 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x3e549b5), maxdepth=..., maxdepth@entry =make_number(6), args_template=..., args_template@entry=make_number(514), nargs=nargs@entry=2, args=, args@entry=0x7fffffff23f0) at bytecode.c:633 #24 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x3e549d5), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffff23f0) at eval.c:3058 #25 0x00000000005cdd80 in Ffuncall (nargs=3, args=args@entry=0x7fffffff23e8) at eval.c:2862 #26 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x3e54895), maxdepth=..., maxdepth@entry =make_number(9), args_template=..., args_template@entry=make_number(257), nargs=nargs@entry=1, args=, args@entry=0x7fffffff2788) at bytecode.c:633 #27 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x3e54945), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffff2788) at eval.c:3058 #28 0x00000000005cdd80 in Ffuncall (nargs=2, args=args@entry=0x7fffffff2780) ---Type to continue, or q to quit--- at eval.c:2862 #29 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff323e465), maxdepth=..., maxdepth@entry=make_number(30), args_template=..., args_template@entry=make_number(770), nargs=nargs@entry=3, args=, args@entry=0x7fffffff2d40) at bytecode.c:633 #30 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff323e435), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7fffffff2d40) at eval.c:3058 #31 0x00000000005cdd80 in Ffuncall (nargs=4, args=args@entry=0x7fffffff2d38) at eval.c:2862 #32 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff323da15), maxdepth=..., maxdepth@entry=make_number(14), args_template=..., args_template@entry=make_number(771), nargs=nargs@entry=3, args=, args@entry=0x7fffffff30b8) at bytecode.c:633 #33 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff323d9e5), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7fffffff30b8) at eval.c:3058 #34 0x00000000005cdd80 in Ffuncall (nargs=4, args=args@entry=0x7fffffff30b0) at eval.c:2862 #35 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff323d94d), maxdepth=..., maxdepth@entry=make_number(7), args_template=..., args_template@entry=make_number(770), nargs=nargs@entry=2, args=, args@entry=0x7fffffff3358) at bytecode.c:633 #36 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff323d91d), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffff3358) at eval.c:3058 ---Type to continue, or q to quit--- #37 0x00000000005cdd80 in Ffuncall (nargs=3, args=args@entry=0x7fffffff3350) at eval.c:2862 #38 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x1c09dd5), maxdepth=..., maxdepth@entry =make_number(10), args_template=..., args_template@entry=make_number(257), nargs=nargs@entry=1, args=, args@entry=0x7fffffff37a8) at bytecode.c:633 #39 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x1c09e25), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffff37a8) at eval.c:3058 #40 0x00000000005cdd80 in Ffuncall (nargs=2, args=args@entry=0x7fffffff37a0) at eval.c:2862 #41 0x00000000005cdff9 in run_hook_wrapped_funcall (nargs=, args=0x7fffffff37a0) at eval.c:2587 #42 0x00000000005cd341 in run_hook_with_args (nargs=2, args=0x7fffffff37a0, funcall=funcall@entry=0x5cdfdd ) at eval.c:2668 #43 0x00000000005cd4de in Frun_hook_wrapped (nargs=, args=) at eval.c:2602 #44 0x00000000005cf71c in funcall_subr (subr=0xce4ac0 , numargs=numargs@entry=2, args=args@entry=0x7fffffff37a0) at eval.c:2915 #45 0x00000000005cdc27 in Ffuncall (nargs=3, args=args@entry=0x7fffffff3798) at eval.c:2860 #46 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff32e32bd), maxdepth=..., maxdepth@entry=make_number(19), args_template=..., args_template@entry=make_number(514), nargs=nargs@entry=2, args=, args@entry=0x7fffffff3ae0) at bytecode.c:633 #47 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff32e328d), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffff3ae0) ---Type to continue, or q to quit--- at eval.c:3058 #48 0x00000000005cdd80 in Ffuncall (nargs=3, args=args@entry=0x7fffffff3ad8) at eval.c:2862 #49 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff32e303d), maxdepth=..., maxdepth@entry=make_number(27), args_template=..., args_template@entry=make_number(512), nargs=nargs@entry=2, args=, args@entry=0x7fffffff3ef8) at bytecode.c:633 #50 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff32e300d), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7fffffff3ef8) at eval.c:3058 #51 0x00000000005cdd80 in Ffuncall (nargs=3, args=args@entry=0x7fffffff3ef0) at eval.c:2862 #52 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff3352f5d), maxdepth=..., maxdepth@entry=make_number(12), args_template=..., args_template@entry=make_number(257), nargs=nargs@entry=1, args=, args@entry=0x7fffffff4248) at bytecode.c:633 #53 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff3352f2d), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffff4248) at eval.c:3058 #54 0x00000000005cdd80 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffff4240) at eval.c:2862 #55 0x00000000005ccffa in internal_condition_case_n (bfun=0x5cdaef , nargs=nargs@entry=2, args=args@entry=0x7fffffff4240, handlers=..., handlers@entry=XIL(0xc5a0), hfun=hfun@entry=0x4529d5 ) at eval.c:1456 #56 0x00000000004455e9 in safe__call (inhibit_quit=inhibit_quit@entry=false, nargs=nargs@entry=2, func=XIL(0x7ffff25f1c78), ap=ap@entry =0x7fffffff42b8) ---Type to continue, or q to quit--- at xdisp.c:2644 #57 0x000000000044dd82 in safe_call (nargs=nargs@entry=2, func=...) at xdisp.c:2659 #58 0x000000000044dda3 in safe_call1 (fn=..., fn@entry=XIL(0x7ffff25f1c78), arg=..., arg@entry=make_number(1)) at xdisp.c:2670 #59 0x000000000044e068 in handle_fontified_prop (it=0x7fffffff4520) at xdisp.c:3914 #60 0x0000000000455bc3 in handle_stop (it=it@entry=0x7fffffff4520) at xdisp.c:3480 #61 0x0000000000455c97 in reseat (it=it@entry=0x7fffffff4520, pos=..., force_p=force_p@entry=true) at xdisp.c:6673 #62 0x0000000000456563 in init_iterator (it=it@entry=0x7fffffff4520, w=w@entry=0x4e72520, charpos=1, bytepos=, row=, base_face_id=base_face_id@entry=DEFAULT_FACE_ID) at xdisp.c:3095 #63 0x000000000045e6e1 in start_display (it=it@entry=0x7fffffff4520, w=w@entry=0x4e72520, pos=...) at xdisp.c:3111 #64 0x0000000000466acf in try_window (window=..., window@entry =XIL(0x4e72525), pos=..., flags=flags@entry=1) at xdisp.c:17812 #65 0x000000000047c63b in redisplay_window (window=XIL(0x4e72525), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:17265 #66 0x000000000047e247 in redisplay_window_0 (window=..., window@entry=XIL(0x4e72525)) at xdisp.c:14993 #67 0x00000000005cce92 in internal_condition_case_1 ( bfun=bfun@entry=0x47e218 , arg=..., arg@entry=XIL(0x4e72525), handlers=..., hfun=hfun@entry=0x43b9ba ) at eval.c:1400 #68 0x000000000043d755 in redisplay_windows (window=...) at xdisp.c:14973 #69 0x000000000043d6f6 in redisplay_windows (window=...) at xdisp.c:14967 ---Type to continue, or q to quit--- #70 0x000000000046ce76 in redisplay_internal () at xdisp.c:14443 #71 0x000000000046e493 in redisplay () at xdisp.c:13664 #72 0x000000000054451e in read_char (commandflag=0, map=..., map@entry=XIL(0x47f8093), prev_event=XIL(0x47f8093), used_mouse_menu=used_mouse_menu@entry=0x7fffffff967b, end_time=end_time@entry=0x0) at keyboard.c:2462 #73 0x0000000000545f05 in read_key_sequence (keybuf=keybuf@entry=0x7fffffff9750, prompt=..., prompt@entry=XIL(0x3ada394), dont_downcase_last=, can_return_switch_frame=can_return_switch_frame@entry=false, fix_current_buffer=fix_current_buffer@entry=false, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:9082 #74 0x00000000005489be in read_key_sequence_vs (prompt=..., continue_echo=XIL(0), dont_downcase_last=..., can_return_switch_frame=XIL(0), cmd_loop=..., allow_string=allow_string@entry=false) at keyboard.c:9777 #75 0x0000000000548a97 in Fread_key_sequence_vector (prompt=..., continue_echo=..., dont_downcase_last=..., can_return_switch_frame=..., cmd_loop=...) at keyboard.c:9858 #76 0x00000000005cf89c in funcall_subr (subr=0xcdd780 , numargs=numargs@entry=3, args=args@entry=0x7fffffff9970) at eval.c:2947 #77 0x00000000005cdc27 in Ffuncall (nargs=4, args=args@entry=0x7fffffff9968) at eval.c:2860 #78 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff31fe77d), maxdepth=..., maxdepth@entry=make_number(14), args_template=..., args_template@entry=make_number(256), nargs=nargs@entry=1, args=, args@entry=0x7fffffff9ca0) at bytecode.c:633 #79 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff31fe74d), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffff9ca0) at eval.c:3058 #80 0x00000000005cdd80 in Ffuncall (nargs=2, args=args@entry=0x7fffffff9c98) at eval.c:2862 #81 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff319f95d), maxdepth=..., maxdepth@entry=make_number(9), args_template=..., args_template@entry=make_number(257), nargs=nargs@entry=1, args=, args@entry=0x7fffffffa0a0) at bytecode.c:633 #82 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff319f92d), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffa0a0) at eval.c:3058 #83 0x00000000005cdd80 in Ffuncall (nargs=2, args=args@entry=0x7fffffffa098) at eval.c:2862 #84 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x603b905), maxdepth=..., maxdepth@entry=make_number(14), args_template=..., args_template@entry=make_number(0), nargs=nargs@entry=0, args=, args@entry=0x7fffffffa620) at bytecode.c:633 #85 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x603ba45), nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x7fffffffa620) at eval.c:3058 #86 0x00000000005cdd80 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffa618) at eval.c:2862 #87 0x00000000005c91cb in Ffuncall_interactively (nargs=1, args=0x7fffffffa618) at callint.c:253 #88 0x00000000005cf71c in funcall_subr (subr=0xce4780 , numargs=numargs@entry=1, args=args@entry=0x7fffffffa618) at eval.c:2915 #89 0x00000000005cdc27 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffa610) at eval.c:2860 #90 0x00000000005ce16c in Fapply (nargs=nargs@entry=3, args=args@entry=0x7fffffffa610) at eval.c:2433 #91 0x00000000005c9a0a in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:340 #92 0x00000000005cf86a in funcall_subr (subr=0xce4740 , numargs=numargs@entry=3, args=args@entry=0x7fffffffa750) at eval.c:2940 #93 0x00000000005cdc27 in Ffuncall (nargs=4, args=args@entry=0x7fffffffa748) at eval.c:2860 #94 0x000000000060f0bb in exec_byte_code (bytestr=..., vector=..., vector@entry=XIL(0x7ffff32a25a5), maxdepth=..., maxdepth@entry=make_number(13), args_template=..., args_template@entry=make_number(1025), nargs=nargs@entry=1, args=, args@entry=0x7fffffffaa78) at bytecode.c:633 #95 0x00000000005d0e5b in funcall_lambda (fun=fun@entry=XIL(0x7ffff32a2575), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7fffffffaa78) at eval.c:3058 #96 0x00000000005cdd80 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffaa70) at eval.c:2862 #97 0x00000000005ce041 in call1 (fn=..., fn@entry=XIL(0x4020), arg1=...) at eval.c:2711 #98 0x0000000000547999 in command_loop_1 () at keyboard.c:1462 #99 0x00000000005ccded in internal_condition_case (bfun=bfun@entry=0x5473a3 , handlers=..., handlers@entry=XIL(0x5490), hfun=hfun@entry=0x53c25f ) at eval.c:1376 #100 0x0000000000537c9a in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1090 #101 0x00000000005ccd35 in internal_catch (tag=..., func=func@entry=0x537c82 , arg=..., arg@entry=XIL(0)) at eval.c:1139 #102 0x000000000053addd in command_loop () at keyboard.c:1069 #103 0x000000000053bcff in recursive_edit_1 () at keyboard.c:714 #104 0x000000000053c061 in Frecursive_edit () at keyboard.c:785 #105 0x0000000000534efa in main (argc=1, argv=) at emacs.c:1949 Lisp Backtrace: "clear-image-cache" (0xffff0650) "org-display-inline-images" (0xffff0a88) "org-mode" (0xffff1020) "set-auto-mode-0" (0xffff1308) "set-auto-mode" (0xffff17d0) "vc-find-revision-no-save" (0xffff1bb0) ---Type to continue, or q to quit--- "diff-syntax-fontify-hunk" (0xffff2130) "diff-syntax-fontify" (0xffff23f0) "diff--font-lock-syntax" (0xffff2788) "font-lock-fontify-keywords-region" (0xffff2d40) "font-lock-default-fontify-region" (0xffff30b8) "font-lock-fontify-region" (0xffff3358) 0x1c09e20 PVEC_COMPILED "run-hook-wrapped" (0xffff37a0) "jit-lock--run-functions" (0xffff3ae0) "jit-lock-fontify-now" (0xffff3ef8) "jit-lock-function" (0xffff4248) "redisplay_internal (C function)" (0x0) "read-key-sequence-vector" (0xffff9970) "read-key" (0xffff9ca0) "yes-or-no-p" (0xffffa0a0) "vc-revert" (0xffffa620) "funcall-interactively" (0xffffa618) "call-interactively" (0xffffa750) "command-execute" (0xffffaa78) (gdb) continue Continuing. warning: Watchpoint condition cannot be tested in the current scope Thread 1 "emacs" hit Hardware watchpoint 4: -location s->f->terminal->image_cache->images[0] Old value = (struct image *) 0x0 New value = (struct image *) 0x1f089b0 cache_image (f=f@entry=0x143b260, img=img@entry=0x1f089b0) at image.c:2044 2044 img->id = i; The result should include the Lisp backtrace as well. If the "print" > command above shows that images[0] is already NULL, type "bt" right > there and then, before continuing with the rest. > > Each time the watchpoint breaks, type "continue" until the program > segfaults, I want to see all the cases where the image in the cache > gets nullified. > Interestingly, the segfault did not happen when I set that breakpoint and proceeded as you suggested, as you see above. But I killed that gdb session and started again, redid steps to create and crash and got the segfault again: (gdb) r Starting program: /home/kmodi/downloads/git/emacs/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffec3ab700 (LWP 8054)] (emacs:8050): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed xdisp.c:26154: Emacs fatal error: assertion failed: s->img Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:370 370 { (gdb) bt #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:370 #1 0x00000000005a1622 in die (msg=msg@entry=0x67dc2c "s->img", file=file@entry=0x67dbaa "xdisp.c", line=line@entry=26154) at alloc.c:7453 #2 0x00000000004378fe in fill_image_glyph_string (s=s@entry=0x7fffffff7aa0) at xdisp.c:26154 #3 0x00000000004708cf in draw_glyphs (w=w@entry=0x13fa500, x=44, row=0x3c6a390, area=area@entry=TEXT_AREA, start=, start@entry=0, end=end@entry=6, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:26841 #4 0x0000000000474bd2 in x_write_glyphs (w=0x13fa500, updated_row=, start=, updated_area=TEXT_AREA, len=6) at xdisp.c:29042 --0000000000002be62f0580cc91c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu,= Jan 31, 2019 at 3:26 PM Eli Zaretskii <= eliz@gnu.org> wrote:

OK, so here's a way that could potentially find the culprit:

=C2=A0 $ cd /path/to/emacs/src
=C2=A0 $ gdb ./emacs
=C2=A0 ...
=C2=A0 (gdb) source ./.gdbinit
=C2=A0 (gdb) break fill_image_glyph_string
=C2=A0 (gdb) run

(gdb) break fill_image_glyph_string
Breakpoint 3 at 0x4377e1: file xdisp= .c, line 26151.
(gdb) run
Starting program: /home/kmodi/downloads/git= /emacs/src/emacs
[Thread debugging using libthread_db enabled]
Using = host libthread_db library "/lib64/libthread_db.so.1".
[New Thr= ead 0x7fffec3ab700 (LWP 5462)]

(emacs:5458): GLib-GIO-CRITICAL **: g= _settings_schema_source_lookup: assertion 'source !=3D NULL' failed=
=C2=A0

When this breakpoint breaks, type:

=C2=A0 (gdb) disable
=C2=A0 (gdb) print s->f->terminal->image_cache->images[0]
=C2=A0 (gdb) watch -l s->f->terminal->image_cache->images[0] if= s->f->terminal->image_cache->images[0] =3D=3D 0
=C2=A0 (gdb) continue

Thread 1 "emacs" hit Breakpoint 3, fill_image_glyph_string (
= =C2=A0=C2=A0=C2=A0 s=3Ds@entry=3D0x7fffffff8f10) at xdisp.c:26151
26151= =C2=A0=C2=A0 {
(gdb) disable
(gdb) print s->f->terminal->ima= ge_cache->images[0]
$1 =3D (struct image *) 0x42a70b0
(gdb) watch = -l s->f->terminal->image_cache->images[0] if s->f->termin= al->image_cache->images[0] =3D=3D 0
Hardware watchpoint 4: -locati= on s->f->terminal->image_cache->images[0]
(gdb) continue
= Continuing.
=C2=A0
Then invoke the rest of your recipe.=C2=A0 (It could be that the breakpoint=
breaks only after you invoke the last two lines of the recipe.)

warning: Watchpoint condition cannot be tested in the current scope

= Thread 1 "emacs" hit Hardware watchpoint 4: -location s->f->= ;terminal->image_cache->images[0]

Old value =3D (struct image = *) 0x42a70b0
New value =3D (struct image *) 0x0
free_image (f=3Df@ent= ry=3D0x143b260, img=3Dimg@entry=3D0x42a70b0) at image.c:1022
1022=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (img->picture)
= =C2=A0
Each time the watchpoint breaks, type

=C2=A0(gdb) bt

(gdb) bt
#0=C2=A0 fre= e_image (f=3Df@entry=3D0x143b260, img=3Dimg@entry=3D0x42a70b0) at image.c:1= 022
#1=C2=A0 0x00000000006646a1 in clear_image_cache (f=3D0x143b260,
= =C2=A0=C2=A0=C2=A0 filter=3Dfilter@entry=3DXIL(0xc5a0)) at image.c:1574
= #2=C2=A0 0x000000000066a35d in Fclear_image_cache (filter=3D...) at image.c= :1658
#3=C2=A0 0x00000000005cf848 in funcall_subr (subr=3D0xceadc0 <S= clear_image_cache>,
=C2=A0=C2=A0=C2=A0 numargs=3Dnumargs@entry=3D0, a= rgs=3Dargs@entry=3D0x7fffffff0650) at eval.c:2935
#4=C2=A0 0x00000000005= cdc27 in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffffff0648)
=C2=A0= =C2=A0=C2=A0 at eval.c:2860
#5=C2=A0 0x000000000060f0bb in exec_byte_cod= e (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x= 4d70415), maxdepth=3D..., maxdepth@entry=3Dmake_number(17),
=C2=A0=C2=A0= =C2=A0 args_template=3D..., args_template@entry=3Dmake_number(1024),
=C2= =A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D0, args=3D<optimized out>, args= @entry=3D0x7fffffff0a88)
=C2=A0=C2=A0=C2=A0 at bytecode.c:633
#6=C2= =A0 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x4d70635),=
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vector@ent= ry=3D0x7fffffff0a88)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#7=C2= =A0 0x00000000005cdd80 in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffff= ff0a80)
=C2=A0=C2=A0=C2=A0 at eval.c:2862
#8=C2=A0 0x000000000060f0bb= in exec_byte_code (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vect= or@entry=3DXIL(0x4ce79c5), maxdepth=3D..., maxdepth@entry=3Dmake_number(7),=
=C2=A0=C2=A0=C2=A0 args_template=3D..., args_template@entry=3Dmake_numb= er(0),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D0, args=3D<optimized = out>, args@entry=3D0x7fffffff1020)
=C2=A0=C2=A0=C2=A0 at bytecode.c:6= 33
#9=C2=A0 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(= 0x4ce6925),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D0, arg_vector=3Darg= _vector@entry=3D0x7fffffff1020)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#10= 0x00000000005cdd80 in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffffff1= 018)
=C2=A0=C2=A0=C2=A0 at eval.c:2862
#11 0x000000000060f0bb in exec= _byte_code (bytestr=3D..., vector=3D...,
---Type <return> to conti= nue, or q <return> to quit---
=C2=A0=C2=A0=C2=A0 vector@entry=3DXI= L(0x7ffff32d538d), maxdepth=3D...,
=C2=A0=C2=A0=C2=A0 maxdepth@entry=3Dm= ake_number(5), args_template=3D...,
=C2=A0=C2=A0=C2=A0 args_template@ent= ry=3Dmake_number(513), nargs=3Dnargs@entry=3D2,
=C2=A0=C2=A0=C2=A0 args= =3D<optimized out>, args@entry=3D0x7fffffff1308) at bytecode.c:633#12 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x7ffff32d= 535d),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vect= or@entry=3D0x7fffffff1308)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#13 0x00= 000000005cdd80 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffffff1300)<= br>=C2=A0=C2=A0=C2=A0 at eval.c:2862
#14 0x000000000060f0bb in exec_byte= _code (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXI= L(0x7ffff31de765), maxdepth=3D...,
=C2=A0=C2=A0=C2=A0 maxdepth@entry=3Dm= ake_number(13), args_template=3D...,
=C2=A0=C2=A0=C2=A0 args_template@en= try=3Dmake_number(256), nargs=3Dnargs@entry=3D0,
=C2=A0=C2=A0=C2=A0 args= =3D<optimized out>, args@entry=3D0x7fffffff17d0) at bytecode.c:633#15 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x7ffff31d= e735),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D0, arg_vector=3Darg_vect= or@entry=3D0x7fffffff17d0)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#16 0x00= 000000005cdd80 in Ffuncall (nargs=3D1, args=3Dargs@entry=3D0x7fffffff17c8)<= br>=C2=A0=C2=A0=C2=A0 at eval.c:2862
#17 0x000000000060f0bb in exec_byte= _code (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXI= L(0x60373e5), maxdepth=3D..., maxdepth@entry=3Dmake_number(16),
=C2=A0= =C2=A0=C2=A0 args_template=3D..., args_template@entry=3Dmake_number(1026),<= br>=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D4, args=3D<optimized out>= , args@entry=3D0x7fffffff1bb0)
=C2=A0=C2=A0=C2=A0 at bytecode.c:633
#= 18 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x60374e5),<= br>=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D4, arg_vector=3Darg_vector@entr= y=3D0x7fffffff1bb0)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#19 0x000000000= 05cdd80 in Ffuncall (nargs=3D5, args=3Dargs@entry=3D0x7fffffff1ba8)
=C2= =A0=C2=A0=C2=A0 at eval.c:2862
---Type <return> to continue, or q = <return> to quit---
#20 0x000000000060f0bb in exec_byte_cod= e (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x= 3e55fd5), maxdepth=3D..., maxdepth@entry=3Dmake_number(18),
=C2=A0=C2=A0= =C2=A0 args_template=3D..., args_template@entry=3Dmake_number(771),
=C2= =A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D3, args=3D<optimized out>, args= @entry=3D0x7fffffff2130)
=C2=A0=C2=A0=C2=A0 at bytecode.c:633
#21 0x0= 0000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x3e55365),
=C2= =A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D3, arg_vector=3Darg_vector@entry=3D0x= 7fffffff2130)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#22 0x00000000005cdd8= 0 in Ffuncall (nargs=3D4, args=3Dargs@entry=3D0x7fffffff2128)
=C2=A0=C2= =A0=C2=A0 at eval.c:2862
#23 0x000000000060f0bb in exec_byte_code (bytes= tr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x3e549b5)= , maxdepth=3D..., maxdepth@entry=3Dmake_number(6),
=C2=A0=C2=A0=C2=A0 ar= gs_template=3D..., args_template@entry=3Dmake_number(514),
=C2=A0=C2=A0= =C2=A0 nargs=3Dnargs@entry=3D2, args=3D<optimized out>, args@entry=3D= 0x7fffffff23f0)
=C2=A0=C2=A0=C2=A0 at bytecode.c:633
#24 0x0000000000= 5d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x3e549d5),
=C2=A0=C2=A0= =C2=A0 nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fffffff2= 3f0)
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#25 0x00000000005cdd80 in Ffun= call (nargs=3D3, args=3Dargs@entry=3D0x7fffffff23e8)
=C2=A0=C2=A0=C2=A0 = at eval.c:2862
#26 0x000000000060f0bb in exec_byte_code (bytestr=3D..., = vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x3e54895), maxdepth= =3D..., maxdepth@entry=3Dmake_number(9),
=C2=A0=C2=A0=C2=A0 args_templat= e=3D..., args_template@entry=3Dmake_number(257),
=C2=A0=C2=A0=C2=A0 narg= s=3Dnargs@entry=3D1, args=3D<optimized out>, args@entry=3D0x7fffffff2= 788)
=C2=A0=C2=A0=C2=A0 at bytecode.c:633
#27 0x00000000005d0e5b in f= uncall_lambda (fun=3Dfun@entry=3DXIL(0x3e54945),
=C2=A0=C2=A0=C2=A0 narg= s=3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fffffff2788)
=C2= =A0=C2=A0=C2=A0 at eval.c:3058
#28 0x00000000005cdd80 in Ffuncall (nargs= =3D2, args=3Dargs@entry=3D0x7fffffff2780)
---Type <return> to cont= inue, or q <return> to quit---
=C2=A0=C2=A0=C2=A0 at eval.c:2862#29 0x000000000060f0bb in exec_byte_code (bytestr=3D..., vector=3D...,=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x7ffff323e465), maxdepth=3D...,
= =C2=A0=C2=A0=C2=A0 maxdepth@entry=3Dmake_number(30), args_template=3D...,=C2=A0=C2=A0=C2=A0 args_template@entry=3Dmake_number(770), nargs=3Dnargs@= entry=3D3,
=C2=A0=C2=A0=C2=A0 args=3D<optimized out>, args@entry= =3D0x7fffffff2d40) at bytecode.c:633
#30 0x00000000005d0e5b in funcall_l= ambda (fun=3Dfun@entry=3DXIL(0x7ffff323e435),
=C2=A0=C2=A0=C2=A0 nargs= =3Dnargs@entry=3D3, arg_vector=3Darg_vector@entry=3D0x7fffffff2d40)
=C2= =A0=C2=A0=C2=A0 at eval.c:3058
#31 0x00000000005cdd80 in Ffuncall (nargs= =3D4, args=3Dargs@entry=3D0x7fffffff2d38)
=C2=A0=C2=A0=C2=A0 at eval.c:2= 862
#32 0x000000000060f0bb in exec_byte_code (bytestr=3D..., vector=3D..= .,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x7ffff323da15), maxdepth=3D...= ,
=C2=A0=C2=A0=C2=A0 maxdepth@entry=3Dmake_number(14), args_template=3D.= ..,
=C2=A0=C2=A0=C2=A0 args_template@entry=3Dmake_number(771), nargs=3Dn= args@entry=3D3,
=C2=A0=C2=A0=C2=A0 args=3D<optimized out>, args@en= try=3D0x7fffffff30b8) at bytecode.c:633
#33 0x00000000005d0e5b in= funcall_lambda (fun=3Dfun@entry=3DXIL(0x7ffff323d9e5),
=C2=A0=C2=A0=C2= =A0 nargs=3Dnargs@entry=3D3, arg_vector=3Darg_vector@entry=3D0x7fffffff30b8= )
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#34 0x00000000005cdd80 in Ffuncal= l (nargs=3D4, args=3Dargs@entry=3D0x7fffffff30b0)
=C2=A0=C2=A0=C2=A0 at = eval.c:2862
#35 0x000000000060f0bb in exec_byte_code (bytestr=3D..., vec= tor=3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x7ffff323d94d), maxdep= th=3D...,
=C2=A0=C2=A0=C2=A0 maxdepth@entry=3Dmake_number(7), args_templ= ate=3D...,
=C2=A0=C2=A0=C2=A0 args_template@entry=3Dmake_number(770), na= rgs=3Dnargs@entry=3D2,
=C2=A0=C2=A0=C2=A0 args=3D<optimized out>, = args@entry=3D0x7fffffff3358) at bytecode.c:633
#36 0x00000000005d0e5b in= funcall_lambda (fun=3Dfun@entry=3DXIL(0x7ffff323d91d),
=C2=A0=C2=A0=C2= =A0 nargs=3Dnargs@entry=3D2, arg_vector=3Darg_vector@entry=3D0x7fffffff3358= )
=C2=A0=C2=A0=C2=A0 at eval.c:3058
---Type <return> to continu= e, or q <return> to quit---
#37 0x00000000005cdd80 in Ffuncall (na= rgs=3D3, args=3Dargs@entry=3D0x7fffffff3350)
=C2=A0=C2=A0=C2=A0 at eval.= c:2862
#38 0x000000000060f0bb in exec_byte_code (bytestr=3D..., vector= =3D...,
=C2=A0=C2=A0=C2=A0 vector@entry=3DXIL(0x1c09dd5), maxdepth=3D...= , maxdepth@entry=3Dmake_number(10),
=C2=A0=C2=A0=C2=A0 args_template=3D.= .., args_template@entry=3Dmake_number(257),
=C2=A0=C2=A0=C2=A0 nargs=3Dn= args@entry=3D1, args=3D<optimized out>, args@entry=3D0x7fffffff37a8)<= br>=C2=A0=C2=A0=C2=A0 at bytecode.c:633
#39 0x00000000005d0e5b in funcal= l_lambda (fun=3Dfun@entry=3DXIL(0x1c09e25),
=C2=A0=C2=A0=C2=A0 nargs=3Dn= args@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fffffff37a8)
=C2=A0= =C2=A0=C2=A0 at eval.c:3058
#40 0x00000000005cdd80 in Ffuncall (nargs=3D= 2, args=3Dargs@entry=3D0x7fffffff37a0)
=C2=A0=C2=A0=C2=A0 at eval.c:2862=
#41 0x00000000005cdff9 in run_hook_wrapped_funcall (nargs=3D<optimiz= ed out>,
=C2=A0=C2=A0=C2=A0 args=3D0x7fffffff37a0) at eval.c:2587
= #42 0x00000000005cd341 in run_hook_with_args (nargs=3D2, args=3D0x7fffffff3= 7a0,
=C2=A0=C2=A0=C2=A0 funcall=3Dfuncall@entry=3D0x5cdfdd <run_hook_= wrapped_funcall>) at eval.c:2668
#43 0x00000000005cd4de in Frun_hook_= wrapped (nargs=3D<optimized out>,
=C2=A0=C2=A0=C2=A0 args=3D<op= timized out>) at eval.c:2602
#44 0x00000000005cf71c in funcall_subr (= subr=3D0xce4ac0 <Srun_hook_wrapped>,
=C2=A0=C2=A0=C2=A0 numargs=3D= numargs@entry=3D2, args=3Dargs@entry=3D0x7fffffff37a0) at eval.c:2915
#4= 5 0x00000000005cdc27 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffffff= 3798)
=C2=A0=C2=A0=C2=A0 at eval.c:2860
#46 0x000000000060f0bb in exe= c_byte_code (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vector@entr= y=3DXIL(0x7ffff32e32bd), maxdepth=3D...,
=C2=A0=C2=A0=C2=A0 maxdepth@ent= ry=3Dmake_number(19), args_template=3D...,
=C2=A0=C2=A0=C2=A0 args_templ= ate@entry=3Dmake_number(514), nargs=3Dnargs@entry=3D2,
=C2=A0=C2=A0=C2= =A0 args=3D<optimized out>, args@entry=3D0x7fffffff3ae0) at bytecode.= c:633
#47 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x= 7ffff32e328d),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D2, arg_vector=3D= arg_vector@entry=3D0x7fffffff3ae0)
---Type <return> to continue, o= r q <return> to quit---
=C2=A0=C2=A0=C2=A0 at eval.c:3058
#48 0= x00000000005cdd80 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x7fffffff3ad= 8)
=C2=A0=C2=A0=C2=A0 at eval.c:2862
#49 0x000000000060f0b= b in exec_byte_code (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vec= tor@entry=3DXIL(0x7ffff32e303d), maxdepth=3D...,
=C2=A0=C2=A0=C2=A0 maxd= epth@entry=3Dmake_number(27), args_template=3D...,
=C2=A0=C2=A0=C2=A0 ar= gs_template@entry=3Dmake_number(512), nargs=3Dnargs@entry=3D2,
=C2=A0=C2= =A0=C2=A0 args=3D<optimized out>, args@entry=3D0x7fffffff3ef8) at byt= ecode.c:633
#50 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3D= XIL(0x7ffff32e300d),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D2, arg_vec= tor=3Darg_vector@entry=3D0x7fffffff3ef8)
=C2=A0=C2=A0=C2=A0 at eval.c:30= 58
#51 0x00000000005cdd80 in Ffuncall (nargs=3D3, args=3Dargs@entry=3D0x= 7fffffff3ef0)
=C2=A0=C2=A0=C2=A0 at eval.c:2862
#52 0x000000000060f0b= b in exec_byte_code (bytestr=3D..., vector=3D...,
=C2=A0=C2=A0=C2=A0 vec= tor@entry=3DXIL(0x7ffff3352f5d), maxdepth=3D...,
=C2=A0=C2=A0=C2=A0 maxd= epth@entry=3Dmake_number(12), args_template=3D...,
=C2=A0=C2=A0=C2=A0 ar= gs_template@entry=3Dmake_number(257), nargs=3Dnargs@entry=3D1,
=C2=A0=C2= =A0=C2=A0 args=3D<optimized out>, args@entry=3D0x7fffffff4248) at byt= ecode.c:633
#53 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3D= XIL(0x7ffff3352f2d),
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D1, arg_vec= tor=3Darg_vector@entry=3D0x7fffffff4248)
=C2=A0=C2=A0=C2=A0 at eval.c:30= 58
#54 0x00000000005cdd80 in Ffuncall (nargs=3Dnargs@entry=3D2,
=C2= =A0=C2=A0=C2=A0 args=3Dargs@entry=3D0x7fffffff4240) at eval.c:2862
#55 0= x00000000005ccffa in internal_condition_case_n (bfun=3D0x5cdaef <Ffuncal= l>,
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@entry=3D2, args=3Dargs@entry=3D0= x7fffffff4240, handlers=3D...,
=C2=A0=C2=A0=C2=A0 handlers@entry=3DXIL(0= xc5a0), hfun=3Dhfun@entry=3D0x4529d5 <safe_eval_handler>)
=C2=A0= =C2=A0=C2=A0 at eval.c:1456
#56 0x00000000004455e9 in safe__call (inhibi= t_quit=3Dinhibit_quit@entry=3Dfalse,
=C2=A0=C2=A0=C2=A0 nargs=3Dnargs@en= try=3D2, func=3DXIL(0x7ffff25f1c78), ap=3Dap@entry=3D0x7fffffff42b8)
---= Type <return> to continue, or q <return> to quit---
=C2=A0= =C2=A0=C2=A0 at xdisp.c:2644
#57 0x000000000044dd82 in safe_call (nargs= =3Dnargs@entry=3D2, func=3D...)
=C2=A0=C2=A0=C2=A0 at xdisp.c:2659
#5= 8 0x000000000044dda3 in safe_call1 (fn=3D..., fn@entry=3DXIL(0x7ffff25f1c78= ),
=C2=A0=C2=A0=C2=A0 arg=3D..., arg@entry=3Dmake_number(1)) at xdisp.c:= 2670
#59 0x000000000044e068 in handle_fontified_prop (it=3D0x7fffffff452= 0)
=C2=A0=C2=A0=C2=A0 at xdisp.c:3914
#60 0x0000000000455bc3 in handl= e_stop (it=3Dit@entry=3D0x7fffffff4520)
=C2=A0=C2=A0=C2=A0 at xdisp.c:34= 80
#61 0x0000000000455c97 in reseat (it=3Dit@entry=3D0x7fffffff4520, pos= =3D...,
=C2=A0=C2=A0=C2=A0 force_p=3Dforce_p@entry=3Dtrue) at xdisp.c:66= 73
#62 0x0000000000456563 in init_iterator (it=3Dit@entry=3D0x7fffffff45= 20,
=C2=A0=C2=A0=C2=A0 w=3Dw@entry=3D0x4e72520, charpos=3D1, bytepos=3D&= lt;optimized out>,
=C2=A0=C2=A0=C2=A0 row=3D<optimized out>, ba= se_face_id=3Dbase_face_id@entry=3DDEFAULT_FACE_ID)
=C2=A0=C2=A0=C2=A0 at= xdisp.c:3095
#63 0x000000000045e6e1 in start_display (it=3Dit@entry=3D0= x7fffffff4520,
=C2=A0=C2=A0=C2=A0 w=3Dw@entry=3D0x4e72520, pos=3D...) at= xdisp.c:3111
#64 0x0000000000466acf in try_window (window=3D..., window= @entry=3DXIL(0x4e72525),
=C2=A0=C2=A0=C2=A0 pos=3D..., flags=3Dflags@ent= ry=3D1) at xdisp.c:17812
#65 0x000000000047c63b in redisplay_window (win= dow=3DXIL(0x4e72525),
=C2=A0=C2=A0=C2=A0 just_this_one_p=3Djust_this_one= _p@entry=3Dfalse) at xdisp.c:17265
#66 0x000000000047e247 in redi= splay_window_0 (window=3D...,
=C2=A0=C2=A0=C2=A0 window@entry=3DXIL(0x4e= 72525)) at xdisp.c:14993
#67 0x00000000005cce92 in internal_condition_ca= se_1 (
=C2=A0=C2=A0=C2=A0 bfun=3Dbfun@entry=3D0x47e218 <redisplay_win= dow_0>, arg=3D...,
=C2=A0=C2=A0=C2=A0 arg@entry=3DXIL(0x4e72525), han= dlers=3D...,
=C2=A0=C2=A0=C2=A0 hfun=3Dhfun@entry=3D0x43b9ba <redispl= ay_window_error>) at eval.c:1400
#68 0x000000000043d755 in redisplay_= windows (window=3D...) at xdisp.c:14973
#69 0x000000000043d6f6 in redisp= lay_windows (window=3D...) at xdisp.c:14967
---Type <return> to co= ntinue, or q <return> to quit---
#70 0x000000000046ce76 in redispl= ay_internal () at xdisp.c:14443
#71 0x000000000046e493 in redisplay () a= t xdisp.c:13664
#72 0x000000000054451e in read_char (commandflag=3D0, ma= p=3D..., map@entry=3DXIL(0x47f8093), prev_event=3DXIL(0x47f8093), used_mous= e_menu=3Dused_mouse_menu@entry=3D0x7fffffff967b, end_time=3Dend_time@entry= =3D0x0)
=C2=A0=C2=A0=C2=A0 at keyboard.c:2462
#73 0x0000000000545f05 = in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fffffff9750, prompt=3D...,= prompt@entry=3DXIL(0x3ada394), dont_downcase_last=3D<optimized out>,=
=C2=A0=C2=A0=C2=A0 can_return_switch_frame=3Dcan_return_switch_frame@en= try=3Dfalse, fix_current_buffer=3Dfix_current_buffer@entry=3Dfalse, prevent= _redisplay=3Dprevent_redisplay@entry=3Dfalse) at keyboard.c:9082
#74 0x0= 0000000005489be in read_key_sequence_vs (prompt=3D..., continue_echo=3DXIL(= 0), dont_downcase_last=3D..., can_return_switch_frame=3DXIL(0), cmd_loop=3D= ..., allow_string=3Dallow_string@entry=3Dfalse)
=C2=A0=C2=A0=C2=A0 at ke= yboard.c:9777
#75 0x0000000000548a97 in Fread_key_sequence_vector (promp= t=3D..., continue_echo=3D..., dont_downcase_last=3D..., can_return_switch_f= rame=3D..., cmd_loop=3D...) at keyboard.c:9858
#76 0x00000000005cf89c in= funcall_subr (subr=3D0xcdd780 <Sread_key_sequence_vector>, numargs= =3Dnumargs@entry=3D3, args=3Dargs@entry=3D0x7fffffff9970) at eval.c:2947#77 0x00000000005cdc27 in Ffuncall (nargs=3D4, args=3Dargs@entry=3D0x7ffff= fff9968) at eval.c:2860
#78 0x000000000060f0bb in exec_byte_code (bytest= r=3D..., vector=3D..., vector@entry=3DXIL(0x7ffff31fe77d), maxdepth=3D..., = maxdepth@entry=3Dmake_number(14), args_template=3D...,
=C2=A0=C2=A0=C2= =A0 args_template@entry=3Dmake_number(256), nargs=3Dnargs@entry=3D1, args= =3D<optimized out>, args@entry=3D0x7fffffff9ca0) at bytecode.c:633#79 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entry=3DXIL(0x7ffff31f= e74d), nargs=3Dnargs@entry=3D1, arg_vector=3Darg_vector@entry=3D0x7fffffff9= ca0) at eval.c:3058
#80 0x00000000005cdd80 in Ffuncall (nargs=3D2, args= =3Dargs@entry=3D0x7fffffff9c98) at eval.c:2862
#81 0x000000000060f0bb in= exec_byte_code (bytestr=3D..., vector=3D..., vector@entry=3DXIL(0x7ffff319= f95d), maxdepth=3D..., maxdepth@entry=3Dmake_number(9), args_template=3D...= , args_template@entry=3Dmake_number(257),
=C2=A0=C2=A0=C2=A0 nargs=3Dnar= gs@entry=3D1, args=3D<optimized out>, args@entry=3D0x7fffffffa0a0) at= bytecode.c:633
#82 0x00000000005d0e5b in funcall_lambda (fun=3Dfun@entr= y=3DXIL(0x7ffff319f92d), nargs=3Dnargs@entry=3D1, arg_vector=3Darg_vector@e= ntry=3D0x7fffffffa0a0) at eval.c:3058
#83 0x00000000005cdd80 in Ffuncall= (nargs=3D2, args=3Dargs@entry=3D0x7fffffffa098) at eval.c:2862
#84 0x00= 0000000060f0bb in exec_byte_code (bytestr=3D..., vector=3D..., vector@entry= =3DXIL(0x603b905), maxdepth=3D..., maxdepth@entry=3Dmake_number(14), args_t= emplate=3D..., args_template@entry=3Dmake_number(0),
=C2=A0=C2=A0=C2=A0 = nargs=3Dnargs@entry=3D0, args=3D<optimized out>, args@entry=3D0x7ffff= fffa620) at bytecode.c:633
#85 0x00000000005d0e5b in funcall_lambda (fun= =3Dfun@entry=3DXIL(0x603ba45), nargs=3Dnargs@entry=3D0, arg_vector=3Darg_ve= ctor@entry=3D0x7fffffffa620) at eval.c:3058
#86 0x00000000005cdd80 in Ff= uncall (nargs=3Dnargs@entry=3D1, args=3Dargs@entry=3D0x7fffffffa618) at eva= l.c:2862
#87 0x00000000005c91cb in Ffuncall_interactively (nargs=3D1, ar= gs=3D0x7fffffffa618) at callint.c:253
#88 0x00000000005cf71c in funcall_= subr (subr=3D0xce4780 <Sfuncall_interactively>, numargs=3Dnumargs@ent= ry=3D1, args=3Dargs@entry=3D0x7fffffffa618) at eval.c:2915
#89 0x0000000= 0005cdc27 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@entry=3D0x7ffff= fffa610) at eval.c:2860
#90 0x00000000005ce16c in Fapply (nargs=3Dnargs@= entry=3D3, args=3Dargs@entry=3D0x7fffffffa610) at eval.c:2433
#91 0x0000= 0000005c9a0a in Fcall_interactively (function=3D..., record_flag=3D..., key= s=3D...) at callint.c:340
#92 0x00000000005cf86a in funcall_subr (subr= =3D0xce4740 <Scall_interactively>, numargs=3Dnumargs@entry=3D3, args= =3Dargs@entry=3D0x7fffffffa750) at eval.c:2940
#93 0x00000000005cdc27 in= Ffuncall (nargs=3D4, args=3Dargs@entry=3D0x7fffffffa748) at eval.c:2860#94 0x000000000060f0bb in exec_byte_code (bytestr=3D..., vector=3D..., vec= tor@entry=3DXIL(0x7ffff32a25a5), maxdepth=3D..., maxdepth@entry=3Dmake_numb= er(13), args_template=3D...,
=C2=A0=C2=A0=C2=A0 args_template@entry=3Dma= ke_number(1025), nargs=3Dnargs@entry=3D1, args=3D<optimized out>, arg= s@entry=3D0x7fffffffaa78) at bytecode.c:633
#95 0x00000000005d0e5b in fu= ncall_lambda (fun=3Dfun@entry=3DXIL(0x7ffff32a2575), nargs=3Dnargs@entry=3D= 1, arg_vector=3Darg_vector@entry=3D0x7fffffffaa78) at eval.c:3058
#96 0x= 00000000005cdd80 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs@entry=3D= 0x7fffffffaa70) at eval.c:2862
#97 0x00000000005ce041 in call1 (fn=3D...= , fn@entry=3DXIL(0x4020), arg1=3D...) at eval.c:2711
#98 0x0000000000547= 999 in command_loop_1 () at keyboard.c:1462
#99 0x00000000005ccde= d in internal_condition_case (bfun=3Dbfun@entry=3D0x5473a3 <command_loop= _1>, handlers=3D..., handlers@entry=3DXIL(0x5490), hfun=3Dhfun@entry=3D0= x53c25f <cmd_error>) at eval.c:1376
#100 0x0000000000537c9a in com= mand_loop_2 (ignore=3D..., ignore@entry=3DXIL(0)) at keyboard.c:1090
#10= 1 0x00000000005ccd35 in internal_catch (tag=3D..., func=3Dfunc@entry=3D0x53= 7c82 <command_loop_2>, arg=3D..., arg@entry=3DXIL(0)) at eval.c:1139<= br>#102 0x000000000053addd in command_loop () at keyboard.c:1069
#103 0x= 000000000053bcff in recursive_edit_1 () at keyboard.c:714
#104 0x0000000= 00053c061 in Frecursive_edit () at keyboard.c:785
#105 0x0000000000534ef= a in main (argc=3D1, argv=3D<optimized out>) at emacs.c:1949

L= isp Backtrace:
"clear-image-cache" (0xffff0650)
"org-d= isplay-inline-images" (0xffff0a88)
"org-mode" (0xffff1020= )
"set-auto-mode-0" (0xffff1308)
"set-auto-mode" = (0xffff17d0)
"vc-find-revision-no-save" (0xffff1bb0)
---Typ= e <return> to continue, or q <return> to quit---
"diff-= syntax-fontify-hunk" (0xffff2130)
"diff-syntax-fontify" (= 0xffff23f0)
"diff--font-lock-syntax" (0xffff2788)
"fon= t-lock-fontify-keywords-region" (0xffff2d40)
"font-lock-defaul= t-fontify-region" (0xffff30b8)
"font-lock-fontify-region"= (0xffff3358)
0x1c09e20 PVEC_COMPILED
"run-hook-wrapped" (0= xffff37a0)
"jit-lock--run-functions" (0xffff3ae0)
"jit= -lock-fontify-now" (0xffff3ef8)
"jit-lock-function" (0xff= ff4248)
"redisplay_internal (C function)" (0x0)
"read-= key-sequence-vector" (0xffff9970)
"read-key" (0xffff9ca0)=
"yes-or-no-p" (0xffffa0a0)
"vc-revert" (0xffffa6= 20)
"funcall-interactively" (0xffffa618)
"call-interac= tively" (0xffffa750)
"command-execute" (0xffffaa78)
(g= db) continue
Continuing.
warning: Watchpoint condition cannot be test= ed in the current scope

Thread 1 "emacs" hit Hardware watc= hpoint 4: -location s->f->terminal->image_cache->images[0]
<= br>Old value =3D (struct image *) 0x0
New value =3D (struct image *) 0x1= f089b0
cache_image (f=3Df@entry=3D0x143b260, img=3Dimg@entry=3D0x1f089b0= ) at image.c:2044
2044=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 img->id =3D i;

The result should include the Lisp backtrace as well.=C2=A0 If the "pr= int"
command above shows that images[0] is already NULL, type "bt" rig= ht
there and then, before continuing with the rest.

Each time the watchpoint breaks, type "continue" until the progra= m
segfaults, I want to see all the cases where the image in the cache
gets nullified.

Interestingly, the segfault = did not happen when I set that breakpoint and proceeded as you suggested, a= s you see above.

But I killed that gdb session and started again, redid steps to = create and crash and got the segfault again:

(gdb) r
Starting program: /home/k= modi/downloads/git/emacs/src/emacs
[Thread debugging using libthread_db = enabled]
Using host libthread_db library "/lib64/libthread_db.so.1&= quot;.
[New Thread 0x7fffec3ab700 (LWP 8054)]

(emacs:8050): GLib-= GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != =3D NULL' failed

xdisp.c:26154: Emacs fatal error: assertion fai= led: s->img

Thread 1 "emacs" hit Breakpoint 1, terminat= e_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dbacktrace_limit@ent= ry=3D2147483647) at emacs.c:370
370=C2=A0=C2=A0=C2=A0=C2=A0 {
(gdb) b= t
#0=C2=A0 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit= =3Dbacktrace_limit@entry=3D2147483647) at emacs.c:370
#1=C2=A0 0x0000000= 0005a1622 in die (msg=3Dmsg@entry=3D0x67dc2c "s->img", file=3D= file@entry=3D0x67dbaa "xdisp.c", line=3Dline@entry=3D26154) at al= loc.c:7453
#2=C2=A0 0x00000000004378fe in fill_image_glyph_string (s=3Ds= @entry=3D0x7fffffff7aa0) at xdisp.c:26154
#3=C2=A0 0x00000000004708cf in= draw_glyphs (w=3Dw@entry=3D0x13fa500, x=3D44, row=3D0x3c6a390, area=3Darea= @entry=3DTEXT_AREA, start=3D<optimized out>, start@entry=3D0, end=3De= nd@entry=3D6, hl=3DDRAW_NORMAL_TEXT, overlaps=3D0)
=C2=A0=C2=A0=C2=A0 at= xdisp.c:26841
#4=C2=A0 0x0000000000474bd2 in x_write_glyphs (w=3D0x13fa= 500, updated_row=3D<optimized out>, start=3D<optimized out>, up= dated_area=3DTEXT_AREA, len=3D6) at xdisp.c:29042
--0000000000002be62f0580cc91c6--