From unknown Thu Jun 19 13:59:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#32258 <32258@debbugs.gnu.org> To: bug#32258 <32258@debbugs.gnu.org> Subject: Status: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] Reply-To: bug#32258 <32258@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:59:58 +0000 retitle 32258 27.0.50; Crash on minimizing/maximizing Emacs frame from task= bar [RHEL 6.8 GTK2] reassign 32258 emacs submitter 32258 Kaushal Modi severity 32258 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 08:06:59 2018 Received: (at submit) by debbugs.gnu.org; 24 Jul 2018 12:06:59 +0000 Received: from localhost ([127.0.0.1]:54645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhw5h-00088S-8A for submit@debbugs.gnu.org; Tue, 24 Jul 2018 08:06:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhw5g-00088H-1e for submit@debbugs.gnu.org; Tue, 24 Jul 2018 08:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhw5Z-0008BA-Tq for submit@debbugs.gnu.org; Tue, 24 Jul 2018 08:06:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fhw5Z-0008B4-Qn for submit@debbugs.gnu.org; Tue, 24 Jul 2018 08:06:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhw5Y-0005dk-J3 for bug-gnu-emacs@gnu.org; Tue, 24 Jul 2018 08:06:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhw5S-00088s-9O for bug-gnu-emacs@gnu.org; Tue, 24 Jul 2018 08:06:48 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:41892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhw5S-00088R-13 for bug-gnu-emacs@gnu.org; Tue, 24 Jul 2018 08:06:42 -0400 Received: by mail-lf1-x132.google.com with SMTP id v22-v6so2783299lfe.8 for ; Tue, 24 Jul 2018 05:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=fftJeS3DZkEyd7hIqkd5A5n08D8cMckkXBlRDA4YeU4=; b=iIyvSit5NXWlE43s3QMEWaj5093t9vYNaaRIerQ7ngVvvgW7nUq+xTh4yHxl4GK0zr a7r2vFCTNIox5fUQ5YL8TbOYSF52rd6afGR6myBnDY9Fs2fr3+MqGTU4kpMNdlSLI6Uu SFl7/Wux5sof26pu9eGN6uXYoYh72hWAgGSw7j93Y3s5H80u4+C+H0qiF/Ngsly79c5W EPtl28Nauua3mK2HXVB9yEFNHcfzpQtM/8uxCbmh9JHfiYNfJnN7oB+Ew7mSd+Q4SaVX 4oCwDOjrdS5pXsehH3J3cYltVMheooK2wtumUTGAQ0kCBVtpYL/qWGrVTNbncH/bR88g EUww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fftJeS3DZkEyd7hIqkd5A5n08D8cMckkXBlRDA4YeU4=; b=TbgBoy/U9Zyo50sMaKt2fcMh+mTyATVSvosPEib7JzC04j8O1/6Ecj9c8usB8yZmLb T5J8ZIGLVTBKRCu1FsW/ioO4Wi2kco9PwXRIBJvhPKNLzVuB9X65tBmTGbT5joR/4wHz z6KGhl8nEvORteuJ8RnIB+6Z7e5n2HuyD1ntLH1jQX2NDXwdePwrRY1dlNgAM35jl4Q+ BXDzHT92xH2yzJmhC6QZ4TZ3nOJR858ruB3mr/kR3k9m6+FNwa3CS2giLtCJmSB5taR+ dfytFKe0ZwQP5DOwXBvIIGlXIgKwI1uTWSI8Z/woH29SSZhMBbu4jOSu3gQPa6/fhCXM mEgA== X-Gm-Message-State: AOUpUlEmi1wy+l+fRub192tchs3WdShX5Gc1+m5Byz6UItqdRbj/XYbs RX/cwsifB5xx0gY4BpgbV+kwO1kkHV7Pet3tC0ECdy4t X-Google-Smtp-Source: AAOMgpfo87ISd7+IEQaxHcHlfBs/oBxzRKdkW2hPVHkSFUvfqKKBaoXF0xlwG9KLkcx2wpPSuMXlpiigThGIWSjUjiU= X-Received: by 2002:a19:1c81:: with SMTP id c123-v6mr10461506lfc.105.1532434000144; Tue, 24 Jul 2018 05:06:40 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Tue, 24 Jul 2018 08:06:28 -0400 Message-ID: Subject: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: "bug-gnu-emacs@gnu.org" Content-Type: multipart/alternative; boundary="000000000000386cbf0571bd98a3" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --000000000000386cbf0571bd98a3 Content-Type: text/plain; charset="UTF-8" Hello, I have started seeing this crash in the past week I believe. The crash happens when I randomly minimize/maximize the Emacs frame by clicking on its tab in the OS taskbar. I am using RHEL 6.8. I have yet to find a good recipe to recreate this programmatically. xdisp.c:21236: Emacs fatal error: assertion failed: it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0 Backtrace: emacs[0x5bd0c2] ... emacs[0x592ea5] /lib64/libc.so.6(__libc_start_main+0xfd)[0x32f4c1ed1d] I'll next attempt to recreate this from gdb. Here is my Emacs build information. Emacs version: GNU Emacs 27.0.50 (build 11, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2018-07-23, built using commit 57c4bc146b7e17b6f662604047cb5d10982f962c. ./configure options: --with-modules --prefix=/home/kmodi/usr_local/apps/6/emacs/master '--program-transform-name=s/^ctags$/ctags_emacs/' --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CPPFLAGS=-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3' Features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES THREADS -- Kaushal Modi --000000000000386cbf0571bd98a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I have started seeing= this crash in the past week I believe.

The crash = happens when I randomly minimize/maximize the Emacs frame by clicking on it= s tab in the OS taskbar. I am using RHEL 6.8.

I have yet to find a good recipe to recreate this programmatically.
<= div>
xdisp.c:21236: Emacs fatal error: assertion failed: it-&= gt;glyph_row =3D=3D NULL || it->glyph_row->used[TEXT_AREA] =3D=3D 0
Backtrace:
emacs[0x5bd0c2]

...
<= div>
emacs[0x592ea5]
/lib64/libc.so.6(__libc_start_main+0x= fd)[0x32f4c1ed1d]

I'll next attempt to recreat= e this from gdb.

Here is my Emacs build informatio= n.

Emacs version: GNU Emacs 27.0.50 (build 11,= x86_64-pc-linux-gnu, GTK+ Version 2.24.23)
=C2=A0of 2018-07-23, built u= sing commit 57c4bc146b7e17b6f662604047cb5d10982f962c.

./configure op= tions:
=C2=A0 --with-modules --prefix=3D/home/kmodi/usr_local/apps/6/ema= cs/master '--program-transform-name=3Ds/^ctags$/ctags_emacs/' --ena= ble-checking=3Dyes,glyphs --enable-check-lisp-object-type 'CPPFLAGS=3D-= I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include= 9; 'CFLAGS=3D-ggdb3 -O0' 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLA= GS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3&#= 39;

Features:
=C2=A0 XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND= GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XF= T ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES THREADS

-- <= br>

Kaushal Modi

--000000000000386cbf0571bd98a3-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 09:36:35 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 13:36:35 +0000 Received: from localhost ([127.0.0.1]:54865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhxUR-0004J6-H1 for submit@debbugs.gnu.org; Tue, 24 Jul 2018 09:36:35 -0400 Received: from mail-lj1-f182.google.com ([209.85.208.182]:38938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhxUQ-0004Is-7M for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 09:36:34 -0400 Received: by mail-lj1-f182.google.com with SMTP id l15-v6so3620756lji.6 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 06:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=202hPyt2nqdzGjGoprLpc12QWBpFkgvcZ1GUDI1DYEA=; b=oZ2zZPHV8CSc0BTo6hSZO/VbB41y3ActyGWvnklNyaEQYE5jD9q/HbNTijmpD3NQhd Jbl2/UuuDs+I3pTeUiYp1M04VM8wbOWHe8Za8d3/2qLZNYSS3EtSP2bux+MQpcblzbD3 ZTbXUt0wiUI6funuk28QU4H85Bl5mqk1VzWb2xmQCHohJ2CwHVmdr7S5TAC1l5Xc1mld U8Kau/IurAK+X8YAbLoPo5/TesEhsAQGZGfiadAWE1QZ4wJU1+VNY/HujPyysEVuBLg2 pmhO8YtFDrnLoqUunyQDbG7GXvaE3bBZ13qBhoDGzLRjH3Uu+9wGXX55fO50QmAsF8B5 G3dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=202hPyt2nqdzGjGoprLpc12QWBpFkgvcZ1GUDI1DYEA=; b=o5Vm3XE99AL3ZnFuLXeoFY9HRfIrstFlaz6N90591CAFqnHG2SiRdXo5TIBAb5haAb 2D9LcPQddvyi1+1LEQ1MJpkljFSGCYKM+izD3+UghXDeaJ23dJK9smvjSx0X+uEqSZ8O AD1JmblUrEefI2/z6SoGoT5fmwTZ1jZVPZsavD6HR9uZqsRgSwFflecEp/tQVF4wNG1c aP4NhSTUpeSJDr25oue87MURYr3SRAWeTZ4HpnxDlE1d7dATBFLUJAeMMKaTxKEUrvQ0 iWclc+1jjUfXZy/6pB5IdNaJvQ27zhBnBIW7JBCHRiJLGPBlJqLbLrHzYiQW3peJHAwD vkJw== X-Gm-Message-State: AOUpUlFQ5WHaMtCZ9I4MncNhhc2AE/05YFS7jsJWkSNWXqNblRCzxfaU 8wx3BFxzVFznadCMiU83delGRHeCSaznZhV5p/hmP7Kt X-Google-Smtp-Source: AAOMgpfOUs7CiZEIJCbSvPNAp3ULuxLOkGMqZ9wXjei8BzTfoUxGz2UIq7gY6yElNwuhGsdc7OZtYnhXJdDt+QYH+JE= X-Received: by 2002:a2e:59d1:: with SMTP id g78-v6mr12738387ljf.79.1532439387770; Tue, 24 Jul 2018 06:36:27 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Tue, 24 Jul 2018 09:36:10 -0400 Message-ID: Subject: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: 32258@debbugs.gnu.org Content-Type: multipart/alternative; boundary="0000000000005914460571bed90b" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000005914460571bed90b Content-Type: text/plain; charset="UTF-8" I need some help getting started with ignoring initial errors in gdb. Things seem to have changed from what I have in my notes. >From my notes, after: break Fsignal r -Q Below worked: Breakpoint 3, Fsignal (error_symbol=41328, data=16185859) at eval.c:1471 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); (gdb) p error_symbol $1 = 41328 (gdb) xsymbol $2 = (struct Lisp_Symbol *) 0xc85aa0 "scan-error" (gdb) condition 3 error_symbol!=41328 (gdb) c But now, I am getting this breakpoint: Starting program: /home/kmodi/downloads/git/emacs/src/emacs -Q [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffed1b3700 (LWP 30703)] (emacs:30702): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=XIL(0xd980), data=XIL(0x127f163)) at eval.c:1582 1582 signal_or_quit (error_symbol, data, false); (gdb) r -Q The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) p error_symbol $1 = XIL(0xd980) (gdb) xsymbol $2 = (struct Lisp_Symbol *) 0xe1b2c0 "void-variable" (gdb) condition 3 error_symbol!=XIL(0xd980) (gdb) c Continuing. Error in testing breakpoint condition: Structure has no component named operator!=. Error in testing breakpoint condition: Structure has no component named operator!=. Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=XIL(0xd980), data=XIL(0x1284653)) at eval.c:1582 1582 signal_or_quit (error_symbol, data, false); (gdb) condition 3 error_symbol!=0xd980 (gdb) c Continuing. Error in testing breakpoint condition: Structure has no component named operator!=. Error in testing breakpoint condition: Structure has no component named operator!=. Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=XIL(0xd980), data=XIL(0x12838e3)) at eval.c:1582 1582 signal_or_quit (error_symbol, data, false); (gdb) condition 3 error_symbol!=55680 (gdb) c Continuing. Error in testing breakpoint condition: Structure has no component named operator!=. Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=XIL(0xd980), data=XIL(0x1282ca3)) at eval.c:1582 1582 signal_or_quit (error_symbol, data, false); So, what would be the right way to ignore that hex error_symbol code? Earlier that code was in decimal. But now it is in hex. As seen above, none of the below works: - condition 3 error_symbol!=XIL(0xd980) -- What is XIL? - condition 3 error_symbol!=0xd980 - condition 3 error_symbol!=55680 Thanks. -- Kaushal Modi --0000000000005914460571bed90b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I need some help getting started with ignoring initia= l errors in gdb. Things seem to have changed from what I have in my notes.<= /div>

From my notes, after:

=C2= =A0=C2=A0=C2=A0 break Fsignal
=C2=A0=C2=A0=C2=A0 r -Q
<= br>
Below worked:

Breakpoint 3, Fsignal = (error_symbol=3D41328, data=3D16185859) at eval.c:1471
1471=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D (NILP (error_symbol) ? Fcar (data) : err= or_symbol);
(gdb) p error_symbol
$1 =3D 41328
(gdb) xsymbol
$2 = =3D (struct Lisp_Symbol *) 0xc85aa0 <lispsym+41328>
"scan-err= or"
(gdb) condition 3 error_symbol!=3D41328
(gdb) c
=

But now, I am getting this breakpoint:

Starting program: /home/kmodi/downloads/git/emacs/src/emacs -Q
= [Thread debugging using libthread_db enabled]
Using host libthread_db li= brary "/lib64/libthread_db.so.1".
[New Thread 0x7fffed1b3700 (= LWP 30703)]

(emacs:30702): GLib-GIO-CRITICAL **: g_settings_schema_s= ource_lookup: assertion 'source !=3D NULL' failed

Thread 1 &= quot;emacs" hit Breakpoint 3, Fsignal (error_symbol=3DXIL(0xd980), dat= a=3DXIL(0x127f163))
=C2=A0=C2=A0=C2=A0 at eval.c:1582
1582=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 signal_or_quit (error_symbol, data, false);
(gdb) = r -Q
The program being debugged has been started already.
Start it fr= om the beginning? (y or n) n
Program not restarted.
(gdb) p error_sym= bol
$1 =3D XIL(0xd980)
(gdb) xsymbol
$2 =3D (struct Lisp_Symbol *)= 0xe1b2c0 <lispsym+55680>
"void-variable"
(gdb) condi= tion 3 error_symbol!=3DXIL(0xd980)
(gdb) c
Continuing.
Error in te= sting breakpoint condition:
Structure has no component named operator!= =3D.
Error in testing breakpoint condition:
Structure has no componen= t named operator!=3D.

Thread 1 "emacs" hit Breakpoint 3, F= signal (error_symbol=3DXIL(0xd980), data=3DXIL(0x1284653))
=C2=A0=C2=A0= =C2=A0 at eval.c:1582
1582=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 signal_or_quit = (error_symbol, data, false);
(gdb) condition 3 error_symbol!=3D0x= d980
(gdb) c
Continuing.
Error in testing breakpoint condition:Structure has no component named operator!=3D.
Error in testing breakpo= int condition:
Structure has no component named operator!=3D.

Thr= ead 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=3DXIL(0xd98= 0), data=3DXIL(0x12838e3))
=C2=A0=C2=A0=C2=A0 at eval.c:1582
1582=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 signal_or_quit (error_symbol, data, false);
= (gdb) condition 3 error_symbol!=3D55680
(gdb) c
Continuing.
Error = in testing breakpoint condition:
Structure has no component named operat= or!=3D.

Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_= symbol=3DXIL(0xd980), data=3DXIL(0x1282ca3))
=C2=A0=C2=A0=C2=A0 at eval.= c:1582
1582=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 signal_or_quit (error_symbol, = data, false);

So, what would be the right way to i= gnore that hex error_symbol code? Earlier that code was in decimal. But now= it is in hex.

As seen above, none of the below wo= rks:
- condition 3 error_symbol!=3DXIL(0xd980)=C2=A0=C2=A0 -- Wha= t is XIL?
- condition 3 error_symbol!=3D0xd980
- condition 3 error_symbol!=3D55680

Thanks.
--

K= aushal Modi

--0000000000005914460571bed90b-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 09:52:56 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 13:52:56 +0000 Received: from localhost ([127.0.0.1]:54873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhxkG-0004gM-CA for submit@debbugs.gnu.org; Tue, 24 Jul 2018 09:52:56 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:42933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhxkE-0004g8-7M for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 09:52:54 -0400 Received: by mail-io0-f179.google.com with SMTP id g11-v6so3460800ioq.9 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 06:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7EfkB3uuILEJR9J2XYtH1GSbobCxtBEfC3M28G7q+Bg=; b=R78ijoCFZEP0upR2P3brJ4P6jlbFcHyoJPEsoAf13gyWnXtXiXTOApKZcJamFGdc7V GUadZhJxILq97iz8+m9FvQ6ENdOvPld+Cq5g/SRhSHqhL0LH477PS2WyFJl1f6GUxZqY y7h53EPM1hUetVdyx5Qy5VZh2y0Scnflw9wu5WwP7Rlj6AGJO7OJb4keM5tWNWk23Eu4 xiYEN6x5qUVhBvxnG59AFiadDgEZirAvzLVpNiVaqUJWZtS3AvO3Ch5sHm60GXCFXDCL WZ98kNKzPsSynf4eMSlohF7Q3TaDz2BusobFgpc8d+xIC7hYvymiMwhE3fEsl4USwwWQ yVtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7EfkB3uuILEJR9J2XYtH1GSbobCxtBEfC3M28G7q+Bg=; b=bHePQRPzGHkzvFqyNnvxQc4i05LbqWwtN8AT27yo02Ai5qoUvyPElGshx+vYGTaHJ/ 8w07i7p4MYkzXmqE/IcbxECupIzWMBZ+hp7/1+ARKwFLxQGZlOyv68aVnzKMWH85oUHt hIYccNVFgT/3Gw0YeObLOUKtTW2JoDslAFc8Ek8yHH3eae08L/pC0QOMnhcByHWdxGJe wiRkeCLhcyJcd38RFYZwhgoT3m0/3qvAMd7BOEe5sgaRdnuH/1TUx57cm5tJyfOsdsrK IRW2XtS4rG1BZzd9Idrp1IKjqPlKMtsZkTN+Wp8Qd0dIZ44XV0wc5zLHL3cHNVYOLx8k qEzw== X-Gm-Message-State: AOUpUlFwf7lplil5bsSy4WnxHpCrC43QybkK/TCSMpLfF/W5Om5prh+D trXPqKPfmOTmBFRqiTfmE2U35y11 X-Google-Smtp-Source: AAOMgpfnoJuiSOWnY+IJaPFjeqrdg89cRNp+UbHgAFgJathSu6CGbvvh8loWO4KolYtMRGuOT2GtMQ== X-Received: by 2002:a6b:cc03:: with SMTP id c3-v6mr13081947iog.191.1532440368623; Tue, 24 Jul 2018 06:52:48 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id z71-v6sm9140645ioz.34.2018.07.24.06.52.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 06:52:48 -0700 (PDT) From: Noam Postavsky To: Kaushal Modi Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: Date: Tue, 24 Jul 2018 09:52:47 -0400 In-Reply-To: (Kaushal Modi's message of "Tue, 24 Jul 2018 09:36:10 -0400") Message-ID: <87h8ko4u6o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kaushal Modi writes: > Thread 1 "emacs" hit Breakpoint 3, Fsignal (error_symbol=XIL(0xd980), > data=XIL(0x127f163)) > at eval.c:1582 > 1582 signal_or_quit (error_symbol, data, false); > (gdb) r -Q > The program being debugged has been started already. > Start it from the beginning? (y or n) n > Program not restarted. > (gdb) p error_symbol > $1 = XIL(0xd980) > (gdb) xsymbol > $2 = (struct Lisp_Symbol *) 0xe1b2c0 > "void-variable" > (gdb) condition 3 error_symbol!=XIL(0xd980) > (gdb) c > Continuing. > Error in testing breakpoint condition: > Structure has no component named operator!=. > Error in testing breakpoint condition: > Structure has no component named operator!=. This works for me: condition 3 !EQ (error_symbol, XIL(0xd980)) Using $1 instead of XIL(0xd980) also works (and in this case, Qvoid_variable is an option too). From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 10:00:05 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 14:00:06 +0000 Received: from localhost ([127.0.0.1]:55661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhxrA-00053J-4H for submit@debbugs.gnu.org; Tue, 24 Jul 2018 10:00:05 -0400 Received: from mail-lf1-f52.google.com ([209.85.167.52]:36020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhxr8-00051j-AW for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 10:00:02 -0400 Received: by mail-lf1-f52.google.com with SMTP id b22-v6so3050315lfa.3 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 07:00:02 -0700 (PDT) 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=FBRR/jgyQM1lnQ+tVmrEsIG9ajfEMA2pcIqaxLgCqtk=; b=gt4S6R/9SbTYAPjUCvE8JLz5tRM9Y/Dze59g94Ehk7go2wZlVyluvNzZS4PQwpRhOJ tSYnIDaZ8BQg15aj9sOth/ApT2Gn0/7qBSUFJoxy4g0ebTEg6/iCzNrLq/bmrw+ZruzS +Cc8RuoMyv2G0J3XzQA5tqTnfRIMaRPAH0NGSiKeLG2IlB7PSjHuuBL1iH5eoYzKxhZl 4jM+9A7D2lI6yEUT2If6wwnLUT7LwcMeIvYI+hIIaXT2BHWlH+/rm2V3TussaicrWydE GnMSGCPTkEnrjEml0TMc7kayQq3YimC2k6B4+UU2r8sqAgPa40jYX0ywlwXZGg/ZuQVm TY2A== 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=FBRR/jgyQM1lnQ+tVmrEsIG9ajfEMA2pcIqaxLgCqtk=; b=EkuRqnxPyhUlTLP/FCOkp0CEoYUOFqHK84zqttC/yK+XA2ilL95h93w4/RwU0F4hpQ 7fceFuhQbAEVsC100INaD0sjiuZmTF7nAzN1Oqu8f7PB1depPo1jwgd6/0Rq3YVzJIiz +8BGR3QLCx2PTyJi2Nq7rnW/4wg8EPRBxzdEVx4dzRTIaZDw3j91hQqgy49yVwAMZSJX VY+8V4YVt7eYg86u0ziMhenc7255mcifA2GM51/2bEFZpbtmNP61+h6LtW50VlJ5Quuh kcvoU5rvHCrBwJ9nFQ7jIIT6grb3lRzII2a/C/gZKULmsdfyMSuobKQIyk6C8sBco0/+ qr1Q== X-Gm-Message-State: AOUpUlEpLsNoRjwzgoos666QXrTTNH+htRAMw5O2sHrhz2zYr3XodHL+ lCQBgAe28+18i2vdSgYxJgRgmy0sruUkdAAAw34= X-Google-Smtp-Source: AAOMgpc01xJCpWHj5yqqJMXRthHugvQo93WBTvxXrpwykF/jPNMvrAvZtO7Fe9LsVu7O5dYNwc3FFrq0ru1Djre4/Pg= X-Received: by 2002:a19:9806:: with SMTP id a6-v6mr10802829lfe.128.1532440796318; Tue, 24 Jul 2018 06:59:56 -0700 (PDT) MIME-Version: 1.0 References: <87h8ko4u6o.fsf@gmail.com> In-Reply-To: <87h8ko4u6o.fsf@gmail.com> From: Kaushal Modi Date: Tue, 24 Jul 2018 09:59:43 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Noam Postavsky Content-Type: multipart/alternative; boundary="0000000000004dd39c0571bf2d0b" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000004dd39c0571bf2d0b Content-Type: text/plain; charset="UTF-8" Hello Noam, On Tue, Jul 24, 2018 at 9:52 AM Noam Postavsky wrote: > > This works for me: > > condition 3 !EQ (error_symbol, XIL(0xd980)) > > Using $1 instead of XIL(0xd980) also works (and in this case, > Qvoid_variable is an option too). > Thank you. That helped! Looks like some update in gdb invalidated the "!=" operator? Need to update my notes .. Now I am just waiting for that crash to happen again.. so that I can post the backtrace. -- Kaushal Modi --0000000000004dd39c0571bf2d0b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Noam,

On Tue, Jul 24, 2018 at 9:52 AM Noam Postavsky <npostavs@gmail.com> wrote:

This works for me:

=C2=A0 =C2=A0 condition 3 !EQ (error_symbol, XIL(0xd980))

Using $1 instead of XIL(0xd980) also works (and in this case,
Qvoid_variable is an option too).

Thank= you. That helped! Looks like some update in gdb invalidated the "!=3D= " operator? Need to update my notes ..

Now I = am just waiting for that crash to happen again.. so that I can post the bac= ktrace.
--

Kaushal Modi

--0000000000004dd39c0571bf2d0b-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 10:39:44 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 14:39:45 +0000 Received: from localhost ([127.0.0.1]:55683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhyTY-0007zZ-Ng for submit@debbugs.gnu.org; Tue, 24 Jul 2018 10:39:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhyTV-0007zJ-2J for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 10:39:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhyTN-0006iD-85 for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 10:39:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhyTN-0006i5-2y; Tue, 24 Jul 2018 10:39:33 -0400 Received: from [176.228.60.248] (port=3672 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhyTM-0008AE-Eq; Tue, 24 Jul 2018 10:39:32 -0400 Date: Tue, 24 Jul 2018 17:39:41 +0300 Message-Id: <83va94vgsy.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Tue, 24 Jul 2018 09:36:10 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Tue, 24 Jul 2018 09:36:10 -0400 > > I need some help getting started with ignoring initial errors in gdb. Things seem to have changed from what I > have in my notes. > > From my notes, after: > > break Fsignal > r -Q > > Below worked: > > Breakpoint 3, Fsignal (error_symbol=41328, data=16185859) at eval.c:1471 > 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); > (gdb) p error_symbol > $1 = 41328 > (gdb) xsymbol > $2 = (struct Lisp_Symbol *) 0xc85aa0 > "scan-error" > (gdb) condition 3 error_symbol!=41328 > (gdb) c > > But now, I am getting this breakpoint: You don't need to set breakpoints when you know Emacs will crash (or abort due to an assertion violation, which has the same effect). Just run Emacs, and when the assertion violation happens, GDB will kick in automatically, and you will be able to display the C backtrace, look at related variables, etc. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 11:56:15 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 15:56:15 +0000 Received: from localhost ([127.0.0.1]:55695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhzfb-0001Ks-1X for submit@debbugs.gnu.org; Tue, 24 Jul 2018 11:56:15 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:43715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhzfY-0001Ke-ON for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 11:56:13 -0400 Received: by mail-lj1-f169.google.com with SMTP id r13-v6so4045884ljg.10 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 08:56:12 -0700 (PDT) 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=+yYdy1wBbWhzYyKfbQTzoAEBQ9qbTLzTb7bb/WZHBJQ=; b=HSDUDE8mfeYatJOX+nlGVwCUrDgvGIzvOZ9jmza5HEtxnK6L7Fn6DGUAq0qhxNLGCx mQ07KN08Nw3TIFlcfHSGX79VcgGl/oi7uBJboCM0IZD5x1rLJvozVfBpzpzIIyn2jvS0 Hv6JRex1b2vCNxwIS79dGK6h9dCD+o15b6Lanb+xUpCX1/mBMLl86aECiiS2yuNhOW76 +DS97bAY6KC8CNy0Wo0ACJWrXHvVzBP5P36vre4w6cRuLwYLl1e0gW1/MnZDkrXa8w32 GRE+XaJhq51GOV5nxlnxF3AdPoY+3vRP+Xb+0ddX0AC4ufpqq12V4Cg5nXsFkzwfpMhh JqyQ== 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=+yYdy1wBbWhzYyKfbQTzoAEBQ9qbTLzTb7bb/WZHBJQ=; b=LtLIqzetY97zHrHyFtQlAw5x2IqAAVtPw1yVf7yFF1MNpIG5ZgIcRdHZuLnoJmkWnm TlwnCn56IYSBIi/p3GCStqGq+mre0m0RXvSbCjkI+m3Aginj+TbSvqmv0tZi5IOZIwsd /lZY8OuUHgw4ggvQMkrZ8YqrZdEOBgWs1CR2beiziuiXCdpm9QEEXvFlU6S9VBnvu5w2 YeQYQXVKp5r7BRPKRCxtJSwcg2Reu/h8gMKjHoPFijABV2dqlsL2BrJbOA9AvCXtvtbd 7aUJqoZvj2SxrxP11eL1NEj4+HdI8AptzDhfaXpchn/m1bsZc91AC18FfzZrPQ69H+hh 7t1g== X-Gm-Message-State: AOUpUlFTl5X+fSJlRyFKwW2LUYJqV/IcZfgTfSzudPOz6cOFgLbGcrGN 2WYJK5I+2P6wvcC6FL2109tem4PJ3I/1f7K1ULCEp6Gx X-Google-Smtp-Source: AAOMgpeVA5NCyQc7qsubLzmOLYzNCmcG7+t/4bUO8VcTyX5F5NN3ouQwaFT0fGMrHR+lWD63rN+DklDz131OiFTve7g= X-Received: by 2002:a2e:1c6:: with SMTP id f67-v6mr12187080lji.88.1532447766350; Tue, 24 Jul 2018 08:56:06 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> In-Reply-To: <83va94vgsy.fsf@gnu.org> From: Kaushal Modi Date: Tue, 24 Jul 2018 11:55:54 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000c00f860571c0cc15" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c00f860571c0cc15 Content-Type: text/plain; charset="UTF-8" Hello Eli, On Tue, Jul 24, 2018 at 10:39 AM Eli Zaretskii wrote: > > You don't need to set breakpoints when you know Emacs will crash (or > abort due to an assertion violation, which has the same effect). Just > run Emacs, and when the assertion violation happens, GDB will kick in > automatically, and you will be able to display the C backtrace, look > at related variables, etc. > Thanks. I did not know that. I was just living by my notes. The only time I use gdb is to report Emacs bugs. But now that I have emacs running through gdb, I am failing to get that crash.. and without that, I got that crash 4 times since yesterday (and 2-3 times in the past week). I use emacsclient by default. But in gdb I run ./emacs. Based on the assertion failure in: ,-------- #21236 -- /home/kmodi/downloads/git/emacs/src/xdisp.c --- | eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); `-------- #21236 -- 2018/07/24 -- kmodi would that make any difference? If yes, how do I run emacsclient from gdb? -- Kaushal Modi --000000000000c00f860571c0cc15 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Eli,

On Tue, Jul 24, 2018 at 10:39 AM Eli Zaretskii &= lt;eliz@gnu.org> wrote:

You don't need to set breakpoints when you know Emacs will crash (or abort due to an assertion violation, which has the same effect).=C2=A0 Just=
run Emacs, and when the assertion violation happens, GDB will kick in
automatically, and you will be able to display the C backtrace, look
at related variables, etc.

Thanks. I di= d not know that. I was just living by my notes. The only time I use gdb is = to report Emacs bugs.

But now that I have emacs r= unning through gdb, I am failing to get that crash.. and without that, I go= t that crash 4 times since yesterday (and 2-3 times in the past week).

I use emacsclient by default. But in gdb I run ./emacs= . Based on the assertion failure in:

,-------- #21= 236 -- /home/kmodi/downloads/git/emacs/src/xdisp.c ---
| eassert (it->= ;glyph_row =3D=3D NULL || it->glyph_row->used[TEXT_AREA] =3D=3D 0);`-------- #21236 -- 2018/07/24 -- kmodi

would th= at make any difference?

If yes, how do I run emacs= client from gdb?
--

Kaus= hal Modi

--000000000000c00f860571c0cc15-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 14:17:51 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 18:17:51 +0000 Received: from localhost ([127.0.0.1]:55747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi1sd-0004mK-3O for submit@debbugs.gnu.org; Tue, 24 Jul 2018 14:17:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi1sc-0004m7-7L for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 14:17:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fi1sS-00037I-T2 for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 14:17:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fi1sS-00037D-Ol; Tue, 24 Jul 2018 14:17:40 -0400 Received: from [176.228.60.248] (port=1236 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fi1sS-0002iE-7c; Tue, 24 Jul 2018 14:17:40 -0400 Date: Tue, 24 Jul 2018 21:17:49 +0300 Message-Id: <83pnzcv6pe.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Tue, 24 Jul 2018 11:55:54 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Tue, 24 Jul 2018 11:55:54 -0400 > Cc: 32258@debbugs.gnu.org > > But now that I have emacs running through gdb, I am failing to get that crash.. and without that, I got that crash > 4 times since yesterday (and 2-3 times in the past week). > > I use emacsclient by default. But in gdb I run ./emacs. Based on the assertion failure in: > > ,-------- #21236 -- /home/kmodi/downloads/git/emacs/src/xdisp.c --- > | eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); > `-------- #21236 -- 2018/07/24 -- kmodi > > would that make any difference? > > If yes, how do I run emacsclient from gdb? What exactly do you mean by "use emacsclient by default"? Does emacsclient start Emacs, or do you start Emacs as a daemon (or maybe normally)? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 14:26:39 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 18:26:39 +0000 Received: from localhost ([127.0.0.1]:55751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi218-0004yw-Vv for submit@debbugs.gnu.org; Tue, 24 Jul 2018 14:26:39 -0400 Received: from mail-lj1-f176.google.com ([209.85.208.176]:37290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi217-0004yg-42 for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 14:26:37 -0400 Received: by mail-lj1-f176.google.com with SMTP id v9-v6so4434580ljk.4 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 11:26:37 -0700 (PDT) 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=Su992ggiXRkrveMX37WnfSdyzlyEKL+irwGIyTG7JGA=; b=vRoRR7mxxieyI3VGQ8n+kLK+ffVlPwZLZ2wRr2ZsER95meNPNNtG3/TxLvZ1vXNN/Q J22R2Qa6mmE7OT+B9mes+YYQnzJdUuHjZnKqcJSFkbrrDVXmfvYv3cHxl4e9dLbX3IfM fUazYtgu48JBYnYOHtP+zM4BpWSijrSkWHN+anNKIDtHDqJyWegneCmvzpe4iePHXUEi DP1aVWnaikjZu3qfSpa1gwjerEmoMqTtGadyl651CHmCy3VTSx6gz8IixXediDDW6qub rThmapYETQJihdBucDf4i/CXB/WgGJhGQMislWuxTjG5ULGdGvs7Z7JqgeOilkTLf8WU q5lg== 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=Su992ggiXRkrveMX37WnfSdyzlyEKL+irwGIyTG7JGA=; b=GgLhfyYkz/wsEBGTv/Xv7qKnpaj0Gi+APzKm5uXVFPPEJ3SCFVow/Bj3wEuNMHjWTa 4FM7b2BUaYgpyR3S760c0tOw6CsRQNV6yOeaUKKMTYKyqEPKF2QKLDoRXVMpZKyAdHw3 uMsTGc0jps26PR1BdBMeC1rp6rouNUpM779/O8zYRLtteczn79IBPLSyu3nxG/dEzO9y KAYy3Hbh90qUrXC42om8bt5q00hoKGiGaUGrC/5tuLFkTdK+r3xw/UkH7+7sMBm5McM6 /YKuMm7n6g79CM0X0vggjD1IdszTUxlk1y6GXkGJ0uedSx0ZoFxHaogUIW/oS5HucAVv FI2Q== X-Gm-Message-State: AOUpUlHgc6iSV9tvONKvSobvEdDrDthlHq7IG2OGlfDFdOQKx+dO7b1/ sBhDbnainnheE3+3LXcNgkXGBAjWpBSDHi5JjGM= X-Google-Smtp-Source: AAOMgpfueeEjNSQjb0SwikUSZL5q6a2V/7PLdShGwVrsp8pBtziV4SDwZBlAeeL3U7NAEcKbN2p8apdIcNLBmG/39Dk= X-Received: by 2002:a2e:59d1:: with SMTP id g78-v6mr13495535ljf.79.1532456790911; Tue, 24 Jul 2018 11:26:30 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> In-Reply-To: <83pnzcv6pe.fsf@gnu.org> From: Kaushal Modi Date: Tue, 24 Jul 2018 14:26:18 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000a7f1c50571c2e68f" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000a7f1c50571c2e68f Content-Type: text/plain; charset="UTF-8" On Tue, Jul 24, 2018 at 2:17 PM Eli Zaretskii wrote: > > What exactly do you mean by "use emacsclient by default"? Does > emacsclient start Emacs, or do you start Emacs as a daemon (or maybe > normally)? > I start Emacs using "emacsclient -a '' -n -c" when launching the first time, and then onwards using "emacsclient -a '' -n". I do this via a wrapper script[1]. [1]: https://gist.github.com/e2512ccd59039c88c15b03cef32b3d4f -- Kaushal Modi --000000000000a7f1c50571c2e68f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 24= , 2018 at 2:17 PM Eli Zaretskii <eliz@gn= u.org> wrote:

What exactly do you mean by "use emacsclient by default"?=C2=A0 D= oes
emacsclient start Emacs, or do you start Emacs as a daemon (or maybe
normally)?

I start Emacs using "em= acsclient -a '' -n -c" when launching the first time, and then= onwards using "emacsclient -a '' -n". I do this via a wr= apper script[1].


--
<= p dir=3D"ltr">Kaushal Modi

--000000000000a7f1c50571c2e68f-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 14:55:09 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 18:55:09 +0000 Received: from localhost ([127.0.0.1]:55797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi2Sj-0005gK-9I for submit@debbugs.gnu.org; Tue, 24 Jul 2018 14:55:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi2Si-0005g2-3z for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 14:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fi2SZ-0006Nt-0G for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 14:55:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fi2SY-0006Ng-SM; Tue, 24 Jul 2018 14:54:58 -0400 Received: from [176.228.60.248] (port=3774 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fi2SY-00029L-9N; Tue, 24 Jul 2018 14:54:58 -0400 Date: Tue, 24 Jul 2018 21:55:07 +0300 Message-Id: <83muugv4z8.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Tue, 24 Jul 2018 14:26:18 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Tue, 24 Jul 2018 14:26:18 -0400 > Cc: 32258@debbugs.gnu.org > > What exactly do you mean by "use emacsclient by default"? Does > emacsclient start Emacs, or do you start Emacs as a daemon (or maybe > normally)? > > I start Emacs using "emacsclient -a '' -n -c" when launching the first time, and then onwards using > "emacsclient -a '' -n". I do this via a wrapper script[1]. Then start Emacs via emacsclient as you usually do, and then immediately attach GDB to it with "gdb -p PID" where PID is the process ID of the Emacs process (NOT the emacsclient process!). When GDB shows its prompt "(gdb)", type "continue RET" to let Emacs continue to run. Then do whatever you did before to cause the abort, and GDB should kick in when you succeed. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 15:05:18 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 19:05:18 +0000 Received: from localhost ([127.0.0.1]:55801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi2cY-0005vG-A7 for submit@debbugs.gnu.org; Tue, 24 Jul 2018 15:05:18 -0400 Received: from mail-lj1-f178.google.com ([209.85.208.178]:45055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi2cT-0005v1-R3 for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 15:05:14 -0400 Received: by mail-lj1-f178.google.com with SMTP id q127-v6so4522491ljq.11 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 12:05:13 -0700 (PDT) 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=MxiTMIqwPyoxEEW6Jb5QzSly4Qw2DKtJp7WNn/oN2C4=; b=a55u+QgDBVV4nd+zbHMvc3jpaZECpKEedMZky+qyTCTKXS2KrX9muUdjg7ZZogaKj7 hO6RmLJCt7Xf3yOHBeZqn/v0cAQc7xqs0Tgg1yADaN0EVCrSMhtc457Kg+0X9J3PlDwW 24X7dpq+vh2XxDaN0y9H81dPOlipcSks2FErBMzfOzTaM9TuhtIOMmuajVfiYb5LxcXB LgQxtHqmD6y/IrbAjdC1bKJ4MTWgtmY0ivZNKjyLNo/zLGYkbL13Cjue3BcNBWtm0WPA KOdUATfIQkxc3c+oPss/Xdji4L6WU5hRq7mB1NpcQD0/nH7oj/g6QjuFRdabq2bwkOSw UtfA== 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=MxiTMIqwPyoxEEW6Jb5QzSly4Qw2DKtJp7WNn/oN2C4=; b=AV30ciQEJE10S4g6n6Ka4YhiRckmZufs97w6+A/2PYBUz9pxM32/IZg7O82xWHSPPX TTgb4AnVESnS5v53XrUyE4XF114Ojiix/iVGIzNxqg9Df4kjHIdbajXMdcD3c0Bvjujb 52dqKgjp1U5n5x8Nvpi7RgSaR0475cCX034c3eLDMAS9HcXyqPK8q5gJotpm3KPYpKM8 mIFfxbP0r5v2naNfyyQtxC3KTe3FzN+lgrpUyV+RfkoPN+l7VYPwb4vHViUzDkSzqQSA 835qsgQ8KiwpK7E0O8i5+v/KrQKE6ZG034SQkwH//0vDd7FRw4Xt3aLXBbITMU+6Vmo+ KGuA== X-Gm-Message-State: AOUpUlEpAPs+R0NWqC8Bgeo/HLYDnH+/1SN9QAi/CyZRnZq+PNkjHNsB aalETzyk+4TBJRaGDe/pdZlK9M/Mqy7rthpyGj0= X-Google-Smtp-Source: AAOMgpegn/A9QJJSi8oNzGVJH3qNusjBcvwiBGbyB0OOjW8X2T58BZLowCUOGZ/GxsC+lMDIiGMV92QN42xXs3ZfMiI= X-Received: by 2002:a2e:1c6:: with SMTP id f67-v6mr12594428lji.88.1532459107671; Tue, 24 Jul 2018 12:05:07 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> In-Reply-To: <83muugv4z8.fsf@gnu.org> From: Kaushal Modi Date: Tue, 24 Jul 2018 15:04:56 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000bee4a60571c37002" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000bee4a60571c37002 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 24, 2018 at 2:55 PM Eli Zaretskii wrote: > > Then start Emacs via emacsclient as you usually do, and then > immediately attach GDB to it with "gdb -p PID" where PID is the > process ID of the Emacs process (NOT the emacsclient process!). Thanks. I was able to link gdb to the emacs process (Though, the only process containing "emacs" string was "emacs --daemon". I believe emacsclient launches that? I did not find a separate emacsclient process.) > When GDB shows its prompt "(gdb)", type "continue RET" to let Emacs > continue to run. Then do whatever you did before to cause the abort, > and GDB should kick in when you succeed. > I tried minimizing/maximizing the emacs frame quite a few times, but still no luck making it crash. Very strange. I think you can stop actively tracking this issue. I will update the issue when that crash happens again, or just close this bug if no crash happens in about a week :(. -- Kaushal Modi --000000000000bee4a60571c37002 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 24= , 2018 at 2:55 PM Eli Zaretskii <eliz@gn= u.org> wrote:

Then start Emacs via emacsclient as you usually do, and then
immediately attach GDB to it with "gdb -p PID" where PID is the process ID of the Emacs process (NOT the emacsclient process!).

Thanks. I was able to link gdb to the emacs process (T= hough, the only process containing "emacs" string was "emacs= --daemon". I believe emacsclient launches that? I did not find a sepa= rate emacsclient process.)
=C2=A0
When GDB shows its prompt "(gdb)", type "continue R= ET" to let Emacs
continue to run.=C2=A0 Then do whatever you did before to cause the abort,<= br> and GDB should kick in when you succeed.

I tried minimizing/maximizing the emacs frame quite a few times, but stil= l no luck making it crash. Very strange.

I think you can stop actively trac= king this issue. I will update the issue when that crash happens again, or = just close this bug if no crash happens in about a week :(.
= --

Kaushal Modi

--000000000000bee4a60571c37002-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 15:13:02 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 19:13:02 +0000 Received: from localhost ([127.0.0.1]:55807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi2k2-00065i-5V for submit@debbugs.gnu.org; Tue, 24 Jul 2018 15:13:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi2k0-00065F-9c for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 15:13:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fi2js-0001jF-1l for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 15:12:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fi2jr-0001jB-TU; Tue, 24 Jul 2018 15:12:51 -0400 Received: from [176.228.60.248] (port=4908 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fi2jr-0000P2-98; Tue, 24 Jul 2018 15:12:51 -0400 Date: Tue, 24 Jul 2018 22:13:00 +0300 Message-Id: <83k1pkv45f.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Tue, 24 Jul 2018 15:04:56 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Tue, 24 Jul 2018 15:04:56 -0400 > Cc: 32258@debbugs.gnu.org > > Thanks. I was able to link gdb to the emacs process (Though, the only process containing "emacs" string was > "emacs --daemon". I believe emacsclient launches that? Yes. > I tried minimizing/maximizing the emacs frame quite a few times, but still no luck making it crash. Very > strange. It probably means it's a Heisenbug: it's triggered by some specific memory layout, and that changes under the debugger. Are you still able to trigger the abort when running not under GDB? If that's gone as well, try rebuilding Emacs by touching src/config.h or somesuch, then try again. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 24 15:35:47 2018 Received: (at 32258) by debbugs.gnu.org; 24 Jul 2018 19:35:47 +0000 Received: from localhost ([127.0.0.1]:55816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi363-0006cx-GC for submit@debbugs.gnu.org; Tue, 24 Jul 2018 15:35:47 -0400 Received: from mail-lj1-f174.google.com ([209.85.208.174]:34325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fi362-0006cj-EB for 32258@debbugs.gnu.org; Tue, 24 Jul 2018 15:35:46 -0400 Received: by mail-lj1-f174.google.com with SMTP id f8-v6so4619047ljk.1 for <32258@debbugs.gnu.org>; Tue, 24 Jul 2018 12:35:46 -0700 (PDT) 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=cOfTwOtyPAtpf91adfOdYNHZi+1/Wz0m1491Jy9TNZM=; b=n1DnhBfnZUAOxuKxkx4vCdqktDwsjvfwADgq4r82eb25+RBhEWk534D87595NQ5LuR UE0p6NxSwKw3jugwNTitlJX6Uspmb5ixtaOqhGrnJhNA7rssL6R7meh35ECninvuOlsR btwTPBSFF7MxdzTn51pDDobjXygYlfvrpSBA23+CzQHjhXWB5//NpIOpgC06H6ci7dDI 0iQjO7ypfdQbrrafooMGAslU6L5LFI3xptMCdBtlAbNMBQNE1sjeLfoiHZ2oS6HvKKwQ FDV55LJ6FUFQpx0woO5uH+mnUDTAelw0q4z90GA9co2FWey8cKVjW0jQhnW6tGCM92B4 ESQg== 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=cOfTwOtyPAtpf91adfOdYNHZi+1/Wz0m1491Jy9TNZM=; b=sLoVfh8tdQ+FSyitdUnW6swzwvJbj9/QFLM12JLd8FeWyXTR2biGzjSmz8ohd1wrFF /pcR5Xs7bqihzo068moYFDcudTzy4YlrL3QzS02rpcTIjOU56bLWAW9eNlN1QjueG1hb tE2/A2vZENJ8SuLK4z9dRPZvsqqGG7fitXGIfF6OMgZJ+fhN/Ql/u7B/tmT0ndozl/BG 2K61E9qV1GLxEHZ/567D00hdU9lonjDfzdcnbY2YbIukiDWhGoOsJ/8B19JQFRyvWJVV 7zdWe5w5S8K3cqWHj0ajIHwwWMmPGueVYlTjF5ajyK5iuliXl+IIaGf+cqHCoZOcuc7N PZpg== X-Gm-Message-State: AOUpUlHRuz6tXYe3axZMD28Ryv7kDWWBADLDvYvD9Rf9BL2UvGsM5UQ/ sdoAL2tEfW3A0DnRCPvAmj3Rtkyua94PDBEtz3A= X-Google-Smtp-Source: AAOMgpfPTTsGI8xiLlHF2yYjCB0tAUgHXgPBWfqD0qN+m/NYdbjXHlzGfHp7eYQip5LC7ovZRnv0EfsOWx/rpkUBrqE= X-Received: by 2002:a2e:9742:: with SMTP id f2-v6mr13880760ljj.5.1532460940053; Tue, 24 Jul 2018 12:35:40 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> In-Reply-To: <83k1pkv45f.fsf@gnu.org> From: Kaushal Modi Date: Tue, 24 Jul 2018 15:35:27 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000f6d25d0571c3ddaa" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000f6d25d0571c3ddaa Content-Type: text/plain; charset="UTF-8" On Tue, Jul 24, 2018 at 3:13 PM Eli Zaretskii wrote: > > It probably means it's a Heisenbug: it's triggered by some specific > memory layout, and that changes under the debugger. > Yeah, I hate those kinds of bugs.. I am good for stumbling across those :P[1] > Are you still able to trigger the abort when running not under GDB? > Sadly, no. If that's gone as well, try rebuilding Emacs by touching src/config.h > or somesuch, then try again. > Same. The crash is gone. I'll still leave that emacsclient session running with gdb attached - I hope to catch this Heisenbug. Funny, I see like 6-7 crashes in the past week. And the moment I report it, it gets scared and goes away. [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29031#35 -- Kaushal Modi --000000000000f6d25d0571c3ddaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 24= , 2018 at 3:13 PM Eli Zaretskii <eliz@gn= u.org> wrote:

It probably means it's a Heisenbug: it's triggered by some specific=
memory layout, and that changes under the debugger.
Yeah, I hate those kinds of bugs.. I am good for stumbling acr= oss those :P[1]
=C2=A0
Are you still able to trigger the abort when running not under GDB?

Sadly, no.

If that's gone as well, try rebuilding Emacs by touching src/config.h or somesuch, then try again.

Same. The = crash is gone.

I'll still leave that emacsclie= nt session running with gdb attached -=C2=A0 I hope to catch this Heisenbug= . Funny, I see like 6-7 crashes in the past week. And the moment I report i= t, it gets scared and goes away.


[1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29031#35
--

Kaushal Modi

--000000000000f6d25d0571c3ddaa-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 09:42:55 2018 Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 13:42:56 +0000 Received: from localhost ([127.0.0.1]:58600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1figXf-0005H4-Gs for submit@debbugs.gnu.org; Thu, 26 Jul 2018 09:42:55 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:33395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1figXd-0005Gr-Jj for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 09:42:54 -0400 Received: by mail-lf1-f44.google.com with SMTP id u14-v6so1239626lfu.0 for <32258@debbugs.gnu.org>; Thu, 26 Jul 2018 06:42:53 -0700 (PDT) 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=yR+H/w0EvsKg6B2maKmdHDfS3ZTTwDsEma8u+bbodJ8=; b=NKkFGHag00ZvFJA3ZcrLQiIjFwxoH4ju6HU3q1XDk+QpjlMPOUhIrJLrNW+nHr9y6x rmkAhxNxq5ap743t0mq+KG5O2KWi0Iu0kp1eH29NrbaVDNFLtECjcJIda3hr2XCLjCm6 FPKGLUYbAGL8NM8Z9sTQR/leNMeaF/Qh5Lt3l0DSPQayrxBuyGeMd8+cFCKhXJKiQT6c oDOU/YW+b5zo0KabaUDzqEJ/SO191G80GXYasIjKKomLZ2HAh15J5VXVMFWkX+L2alxz oyK+DetIwNhPEGymmLbnaNQ1/z0IBnIPFcUA/X9QgVLEnaubaUKLZdzQXsQfPiCbrqms Te0A== 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=yR+H/w0EvsKg6B2maKmdHDfS3ZTTwDsEma8u+bbodJ8=; b=atbG6Ou4o9Uf1mbjOyUMXyQwbCRYiwZG1NJBUufpT7Wg//KMeft58tVUlX6REtcJXK UwSna1MgHpsJGvXpFVhclGhBYFKMIHTmcftj7Rmpp7uAP8y8heIEdIZhA/HS4BqLmKPa /i9KrvtcZNFUe5Q4Mf469cfSuMlq7ixrq2GBdb71uFYGmRclVXd0USpB9DTndtITviCL G5Yx0yTLYFP7zx1FgJSAi1gqKqxFhgPrCyWpSnnPLq9FAODI8g+I4rHAlFdQlVuhCLWm 9/wgDdY+kIt80Bxgnxol/XomFw87l/QEIG3s86DCyIP+IjO5CBYe27n3d8upU5Vo38kz rrtg== X-Gm-Message-State: AOUpUlGnKnYlis+EyH0msS0d16ah+3ZPRnpgh2MBMsQCoee+2jgiXLHU xJgvwZwAwCE6L+3/0cRSh1M5/TShkCzmwYBUC4A= X-Google-Smtp-Source: AAOMgpf4QPfGbwJDIE7KdfnrKsKwgL0CZNvbr6bRTdkREnlqKrLx7uc7zhP3oiyhf+mRt8O98hTU97dAi/B09/T9PjA= X-Received: by 2002:a19:e119:: with SMTP id y25-v6mr1581001lfg.3.1532612567506; Thu, 26 Jul 2018 06:42:47 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Thu, 26 Jul 2018 09:42:35 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000aa26550571e72bd1" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000aa26550571e72bd1 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 24, 2018 at 3:35 PM Kaushal Modi wrote: > > I'll still leave that emacsclient session running with gdb attached - I > hope to catch this Heisenbug. Funny, I see like 6-7 crashes in the past > week. And the moment I report it, it gets scared and goes away. > Looks like emacs crashed overnight. On doing bt in gdb, I got this: (gdb) bt #0 0x00000032f580f6ab in raise () from /lib64/libpthread.so.0 #1 0x000000000059118c in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:399 #2 0x00000000006264e9 in die (msg=0x729930 "it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0", file=0x724dfd "xdisp.c", line=21236) at alloc.c:7293 #3 0x0000000000483e19 in maybe_produce_line_number (it=0x7ffea6f395e0) at xdisp.c:21236 #4 0x000000000048486e in display_line (it=0x7ffea6f395e0, cursor_vpos=24) at xdisp.c:21459 #5 0x00000000004775d5 in try_window (window=..., pos=..., flags=0) at xdisp.c:17735 #6 0x0000000000473dc8 in redisplay_window (window=..., just_this_one_p=false) at xdisp.c:16919 #7 0x000000000046d315 in redisplay_window_0 (window=...) at xdisp.c:14939 #8 0x0000000000649791 in internal_condition_case_1 (bfun=0x46d2d3 , arg=..., handlers=..., hfun=0x46d29b ) at eval.c:1373 #9 0x000000000046d26d in redisplay_windows (window=...) at xdisp.c:14919 #10 0x000000000046d223 in redisplay_windows (window=...) at xdisp.c:14913 #11 0x000000000046bd41 in redisplay_internal () at xdisp.c:14402 #12 0x000000000046c991 in redisplay_preserve_echo_area (from_where=8) at xdisp.c:14732 #13 0x00000000005ab154 in detect_input_pending_run_timers (do_display=true) at keyboard.c:9916 #14 0x00000000006b255a in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=..., wait_proc=0x0, just_wait_proc=0) at process.c:5521 #15 0x000000000059d358 in kbd_buffer_get_event (kbp=0x7ffea6f3ec38, used_mouse_menu=0x7ffea6f3f25f, end_time=0x0) at keyboard.c:3813 #16 0x0000000000598527 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7ffea6f3f040, used_mouse_menu=0x7ffea6f3f25f) at keyboard.c:2122 #17 0x000000000059881e in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7ffea6f3f040, prev_event=..., used_mouse_menu=0x7ffea6f3f25f) at keyboard.c:2185 #18 0x000000000059a525 in read_char (commandflag=1, map=..., prev_event=..., used_mouse_menu=0x7ffea6f3f25f, end_time=0x0) at keyboard.c:2773 #19 0x00000000005a948d in read_key_sequence (keybuf=0x7ffea6f3f3d0, prompt=..., dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9108 #20 0x0000000000596329 in command_loop_1 () at keyboard.c:1338 #21 0x00000000006496ba in internal_condition_case (bfun=0x595edc , handlers=..., hfun=0x59555c ) at eval.c:1349 #22 0x0000000000595b0f in command_loop_2 (ignore=...) at keyboard.c:1079 #23 0x0000000000648c14 in internal_catch (tag=..., func=0x595ae6 , arg=...) at eval.c:1114 #24 0x0000000000595ab1 in command_loop () at keyboard.c:1058 #25 0x000000000059506e in recursive_edit_1 () at keyboard.c:703 #26 0x0000000000595250 in Frecursive_edit () at keyboard.c:774 #27 0x0000000000592ea5 in main (argc=2, argv=0x7ffea6f3f898) at emacs.c:1722 I cannot tell if it's that same assertion error. But the error seems to have happened around the same area.. something with glyphs and displaying line numbers. I'll leave that gdb open. Let me know what more information I can give you from that session. Thanks! -- Kaushal Modi --000000000000aa26550571e72bd1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 24, 2018 = at 3:35 PM Kaushal Modi <kaush= al.modi@gmail.com> wrote:

I'll still le= ave that emacsclient session running with gdb attached -=C2=A0 I hope to ca= tch this Heisenbug. Funny, I see like 6-7 crashes in the past week. And the= moment I report it, it gets scared and goes away.

Looks like emacs crashed overnight. On doing = bt in gdb, I got this:

(gdb) bt
#0=C2=A0 0= x00000032f580f6ab in raise () from /lib64/libpthread.so.0
#1=C2=A0 0x000= 000000059118c in terminate_due_to_signal (sig=3D6, backtrace_limit=3D214748= 3647) at emacs.c:399
#2=C2=A0 0x00000000006264e9 in die (msg=3D0x729930 = "it->glyph_row =3D=3D NULL || it->glyph_row->used[TEXT_AREA] = =3D=3D 0",
=C2=A0=C2=A0=C2=A0 file=3D0x724dfd "xdisp.c", = line=3D21236) at alloc.c:7293
#3=C2=A0 0x0000000000483e19 in maybe_produ= ce_line_number (it=3D0x7ffea6f395e0) at xdisp.c:21236
#4=C2=A0 0x0000000= 00048486e in display_line (it=3D0x7ffea6f395e0, cursor_vpos=3D24) at xdisp.= c:21459
#5=C2=A0 0x00000000004775d5 in try_window (window=3D..., pos=3D.= .., flags=3D0) at xdisp.c:17735
#6=C2=A0 0x0000000000473dc8 in redisplay= _window (window=3D..., just_this_one_p=3Dfalse) at xdisp.c:16919
#7=C2= =A0 0x000000000046d315 in redisplay_window_0 (window=3D...) at xdisp.c:1493= 9
#8=C2=A0 0x0000000000649791 in internal_condition_case_1 (bfun=3D0x46d= 2d3 <redisplay_window_0>, arg=3D..., handlers=3D...,
=C2=A0=C2=A0= =C2=A0 hfun=3D0x46d29b <redisplay_window_error>) at eval.c:1373
#9= =C2=A0 0x000000000046d26d in redisplay_windows (window=3D...) at xdisp.c:14= 919
#10 0x000000000046d223 in redisplay_windows (window=3D...) at xdisp.= c:14913
#11 0x000000000046bd41 in redisplay_internal () at xdisp.c:14402=
#12 0x000000000046c991 in redisplay_preserve_echo_area (from_where=3D8)= at xdisp.c:14732
#13 0x00000000005ab154 in detect_input_pending_run_tim= ers (do_display=3Dtrue) at keyboard.c:9916
#14 0x00000000006b255a in wai= t_reading_process_output (time_limit=3D0, nsecs=3D0, read_kbd=3D-1, do_disp= lay=3Dtrue,
=C2=A0=C2=A0=C2=A0 wait_for_cell=3D..., wait_proc=3D0x0, jus= t_wait_proc=3D0) at process.c:5521
#15 0x000000000059d358 in kbd_buffer_= get_event (kbp=3D0x7ffea6f3ec38, used_mouse_menu=3D0x7ffea6f3f25f, end_time= =3D0x0)
=C2=A0=C2=A0=C2=A0 at keyboard.c:3813
#16 0x0000000000598527 = in read_event_from_main_queue (end_time=3D0x0, local_getcjmp=3D0x7ffea6f3f0= 40,
=C2=A0=C2=A0=C2=A0 used_mouse_menu=3D0x7ffea6f3f25f) at keyboard.c:2= 122
#17 0x000000000059881e in read_decoded_event_from_main_queue (end_ti= me=3D0x0, local_getcjmp=3D0x7ffea6f3f040,
=C2=A0=C2=A0=C2=A0 prev_event= =3D..., used_mouse_menu=3D0x7ffea6f3f25f) at keyboard.c:2185
#18 0x00000= 0000059a525 in read_char (commandflag=3D1, map=3D..., prev_event=3D..., use= d_mouse_menu=3D0x7ffea6f3f25f,
=C2=A0=C2=A0=C2=A0 end_time=3D0x0) at key= board.c:2773
#19 0x00000000005a948d in read_key_sequence (keybuf=3D0x7ff= ea6f3f3d0, prompt=3D..., dont_downcase_last=3Dfalse,
=C2=A0=C2=A0=C2=A0 = can_return_switch_frame=3Dtrue, fix_current_buffer=3Dtrue, prevent_redispla= y=3Dfalse) at keyboard.c:9108
#20 0x0000000000596329 in command_loop_1 (= ) at keyboard.c:1338
#21 0x00000000006496ba in internal_condition_case (= bfun=3D0x595edc <command_loop_1>, handlers=3D...,
=C2=A0=C2=A0=C2= =A0 hfun=3D0x59555c <cmd_error>) at eval.c:1349
#22 0x000000000059= 5b0f in command_loop_2 (ignore=3D...) at keyboard.c:1079
#23 0x000000000= 0648c14 in internal_catch (tag=3D..., func=3D0x595ae6 <command_loop_2>= ;, arg=3D...) at eval.c:1114
#24 0x0000000000595ab1 in command_loop () a= t keyboard.c:1058
#25 0x000000000059506e in recursive_edit_1 () at keybo= ard.c:703
#26 0x0000000000595250 in Frecursive_edit () at keyboard.c:774=
#27 0x0000000000592ea5 in main (argc=3D2, argv=3D0x7ffea6f3f898) at ema= cs.c:1722

I cannot tell if it's that same asse= rtion error. But the error seems to have happened around the same area.. so= mething with glyphs and displaying line numbers.

I= 'll leave that gdb open. Let me know what more information I can give y= ou from that session.

Thanks!
--

Kaushal Modi

--000000000000aa26550571e72bd1-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 13:59:45 2018 Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 17:59:45 +0000 Received: from localhost ([127.0.0.1]:59310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fikYD-000729-76 for submit@debbugs.gnu.org; Thu, 26 Jul 2018 13:59:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fikYC-00071y-H4 for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 13:59:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fikY4-00076c-0c for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 13:59:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fikY3-00076S-UE; Thu, 26 Jul 2018 13:59:35 -0400 Received: from [176.228.60.248] (port=2276 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fikY3-0002Lv-Ay; Thu, 26 Jul 2018 13:59:35 -0400 Date: Thu, 26 Jul 2018 20:59:33 +0300 Message-Id: <83d0v9ubcq.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 26 Jul 2018 09:42:35 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Thu, 26 Jul 2018 09:42:35 -0400 > Cc: 32258@debbugs.gnu.org > > (gdb) bt > #0 0x00000032f580f6ab in raise () from /lib64/libpthread.so.0 > #1 0x000000000059118c in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:399 > #2 0x00000000006264e9 in die (msg=0x729930 "it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0", > file=0x724dfd "xdisp.c", line=21236) at alloc.c:7293 > #3 0x0000000000483e19 in maybe_produce_line_number (it=0x7ffea6f395e0) at xdisp.c:21236 > #4 0x000000000048486e in display_line (it=0x7ffea6f395e0, cursor_vpos=24) at xdisp.c:21459 > #5 0x00000000004775d5 in try_window (window=..., pos=..., flags=0) at xdisp.c:17735 > #6 0x0000000000473dc8 in redisplay_window (window=..., just_this_one_p=false) at xdisp.c:16919 > #7 0x000000000046d315 in redisplay_window_0 (window=...) at xdisp.c:14939 > #8 0x0000000000649791 in internal_condition_case_1 (bfun=0x46d2d3 , arg=..., > handlers=..., > hfun=0x46d29b ) at eval.c:1373 > #9 0x000000000046d26d in redisplay_windows (window=...) at xdisp.c:14919 > #10 0x000000000046d223 in redisplay_windows (window=...) at xdisp.c:14913 > #11 0x000000000046bd41 in redisplay_internal () at xdisp.c:14402 > #12 0x000000000046c991 in redisplay_preserve_echo_area (from_where=8) at xdisp.c:14732 > #13 0x00000000005ab154 in detect_input_pending_run_timers (do_display=true) at keyboard.c:9916 > #14 0x00000000006b255a in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, > do_display=true, > wait_for_cell=..., wait_proc=0x0, just_wait_proc=0) at process.c:5521 > #15 0x000000000059d358 in kbd_buffer_get_event (kbp=0x7ffea6f3ec38, > used_mouse_menu=0x7ffea6f3f25f, end_time=0x0) > at keyboard.c:3813 > #16 0x0000000000598527 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7ffea6f3f040, > used_mouse_menu=0x7ffea6f3f25f) at keyboard.c:2122 > #17 0x000000000059881e in read_decoded_event_from_main_queue (end_time=0x0, > local_getcjmp=0x7ffea6f3f040, > prev_event=..., used_mouse_menu=0x7ffea6f3f25f) at keyboard.c:2185 > #18 0x000000000059a525 in read_char (commandflag=1, map=..., prev_event=..., > used_mouse_menu=0x7ffea6f3f25f, > end_time=0x0) at keyboard.c:2773 > #19 0x00000000005a948d in read_key_sequence (keybuf=0x7ffea6f3f3d0, prompt=..., > dont_downcase_last=false, > can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9108 > #20 0x0000000000596329 in command_loop_1 () at keyboard.c:1338 > #21 0x00000000006496ba in internal_condition_case (bfun=0x595edc , handlers=..., > hfun=0x59555c ) at eval.c:1349 > #22 0x0000000000595b0f in command_loop_2 (ignore=...) at keyboard.c:1079 > #23 0x0000000000648c14 in internal_catch (tag=..., func=0x595ae6 , arg=...) at > eval.c:1114 > #24 0x0000000000595ab1 in command_loop () at keyboard.c:1058 > #25 0x000000000059506e in recursive_edit_1 () at keyboard.c:703 > #26 0x0000000000595250 in Frecursive_edit () at keyboard.c:774 > #27 0x0000000000592ea5 in main (argc=2, argv=0x7ffea6f3f898) at emacs.c:1722 > > I cannot tell if it's that same assertion error. But the error seems to have happened around the same area.. > something with glyphs and displaying line numbers. It's the same assertion violation. > I'll leave that gdb open. Let me know what more information I can give you from that session. Here: (gdb) source /path/to/emacs/src/.gdbinit (gdb) frame 3 (gdb) p lnum_buf (gdb) p it->glyph_row->used[TEXT_AREA] (gdb) pgrowx it->glyph_row From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 14:08:18 2018 Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 18:08:19 +0000 Received: from localhost ([127.0.0.1]:59314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fikgU-0007F4-4j for submit@debbugs.gnu.org; Thu, 26 Jul 2018 14:08:18 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:34236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fikgP-0007Eo-HO for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 14:08:16 -0400 Received: by mail-lf1-f44.google.com with SMTP id n96-v6so1823848lfi.1 for <32258@debbugs.gnu.org>; Thu, 26 Jul 2018 11:08:13 -0700 (PDT) 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=L6dtNiWdaN63jMpKHSYr/An65Sim0dPoabY4LEwy/o8=; b=IhVn5/NA93jcjq+AiZhH3b6CJ3zTS2dKTyyl1L3z4Iyc3h7e2FSVcyYrayqXZ39Uul 0zWkdkez8wt6UMAHC81qB/AkhQq1FyJmAbxtwFV8dWKSrXc1KkW0V8npOFcS6vh9nlL+ 5Yn2bi+L/i9/KBn2DX4CethPO1sgkFz0FXH4FutfAq0Pqw3T6v+ZNo4H2kNmTPxjbJRW uWdoiPeyWUeQCjGYSjeY+v6azzgtLSwX16sueC/qRp4VfAEUhNTijWxmvxz3SWWPrYNR j5k6Ki/yQiufPayPttNMcC9fJb7Wn8KwqgHjNx7cSFZNsPYwjznIprsVjGOKv3qx4wqn 9rWA== 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=L6dtNiWdaN63jMpKHSYr/An65Sim0dPoabY4LEwy/o8=; b=k2mnh5hhDZAYe92YH7sRFsFNlala9A0DInBeminSvFYCjtSwAInvWw25D/CuehWL/g PqiqEVinErHEFhhWehKFuBUPfXpvv//wS2rPY+2mfsFj/4BAvOVGYxJXNEue3mbw89dp g7nZHGxtGH6x1fYOVENXTSuxWYSXG+Ze38etGOTGmfcs/n7XptQZtDmevLahTyyAch1y EsBB3UkSLNPt9Sh/Jawy15Z3y+S1KtPNxrFpRhG+hvN2u5Pliar2Azyp2STagk/heLBn MLtwtUd9FxeMhz6TVc8Cyy5ppPxsOqditpDDPmMDaxZiJZ13lNwqGIDPJ6vD3QtFItQY eS7w== X-Gm-Message-State: AOUpUlFeAYR9pXNAhYH/+iCXZbzqzvy8eqDUwRp6wH9R7u2l7Pkx/nMf MzAnOoxneJw+0VIzZKNZwkLWM2WLB4OSqjXAHXw= X-Google-Smtp-Source: AAOMgpfiB1hXneoxw1J8Iwmd9n8MxynhjBPc2YQy+tM636Tf+wxXoZ7bZwSTC1C1OnnIz+OUcNGoN7Eh0PILJmANJMM= X-Received: by 2002:a19:1c81:: with SMTP id c123-v6mr2126426lfc.105.1532628487424; Thu, 26 Jul 2018 11:08:07 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> In-Reply-To: <83d0v9ubcq.fsf@gnu.org> From: Kaushal Modi Date: Thu, 26 Jul 2018 14:07:55 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="00000000000090d18c0571eae0b5" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000090d18c0571eae0b5 Content-Type: text/plain; charset="UTF-8" On Thu, Jul 26, 2018 at 1:59 PM Eli Zaretskii wrote: > > (gdb) source /path/to/emacs/src/.gdbinit > (gdb) frame 3 > (gdb) p lnum_buf > (gdb) p it->glyph_row->used[TEXT_AREA] > (gdb) pgrowx it->glyph_row > Here's what I get. I was luckily able to share the whole of "pgrowx it->glyph_row" output because it's not much confidential. That string is part of code from a verilog-mode buffer. (gdb) source /home/kmodi/downloads/git/emacs/src/.gdbinit Warning: /home/kmodi/downloads/git/emacs/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :1.0 TERM = screen-256color Breakpoint 1 at 0x5910b5: file emacs.c, line 369. Temporary breakpoint 2 at 0x5bb7de: file sysdep.c, line 1077. (gdb) frame 3 #3 0x0000000000483e19 in maybe_produce_line_number (it=0x7ffea6f395e0) at xdisp.c:21236 21236 eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); (gdb) p lnum_buf $1 = " 424 \000\000\000\060\324\310\006\000\000\000\000\060\250\363\246\376" (gdb) p it->glyph_row->used[TEXT_AREA] $2 = 112 (gdb) pgrowx it->glyph_row TEXT: 112 glyphs 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID 1 9: CHAR[4] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID 2 18: CHAR[2] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID 3 27: CHAR[4] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID 4 36: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID 5 45: CHAR[ ] pos=15965 blev=0,btyp=L w=9 a+d=17+3 MB 6 54: CHAR[ ] pos=15966 blev=0,btyp=L w=9 a+d=17+3 MB 7 63: CHAR[ ] pos=15967 blev=0,btyp=L w=9 a+d=17+3 MB 8 72: CHAR[ ] pos=15968 blev=0,btyp=L w=9 a+d=17+3 MB 9 81: CHAR[ ] pos=15969 blev=0,btyp=L w=9 a+d=17+3 MB 10 90: CHAR[ ] pos=15970 blev=0,btyp=L w=9 a+d=17+3 MB 11 99: CHAR[ ] pos=15971 blev=0,btyp=L w=9 a+d=17+3 MB 12 108: CHAR[ ] pos=15972 blev=0,btyp=L w=9 a+d=17+3 MB 13 117: CHAR[ ] pos=15973 blev=0,btyp=L w=9 a+d=17+3 MB 14 126: CHAR[ ] pos=15974 blev=0,btyp=L w=9 a+d=17+3 MB 15 135: CHAR[ ] pos=15975 blev=0,btyp=L w=9 a+d=17+3 MB 16 144: CHAR[ ] pos=15976 blev=0,btyp=L w=9 a+d=17+3 MB 17 153: CHAR[ ] pos=15977 blev=0,btyp=L w=9 a+d=17+3 MB 18 162: CHAR[ ] pos=15978 blev=0,btyp=L w=9 a+d=17+3 MB 19 171: CHAR[ ] pos=15979 blev=0,btyp=L w=9 a+d=17+3 MB 20 180: CHAR[ ] pos=15980 blev=0,btyp=L w=9 a+d=17+3 MB 21 189: CHAR[ ] pos=15981 blev=0,btyp=L w=9 a+d=17+3 MB 22 198: CHAR[ ] pos=15982 blev=0,btyp=L w=9 a+d=17+3 MB 23 207: CHAR[ ] pos=15983 blev=0,btyp=L w=9 a+d=17+3 MB 24 216: CHAR[ ] pos=15984 blev=0,btyp=L w=9 a+d=17+3 MB 25 225: CHAR[ ] pos=15985 blev=0,btyp=L w=9 a+d=17+3 MB 26 234: CHAR[ ] pos=15986 blev=0,btyp=L w=9 a+d=17+3 MB 27 243: CHAR[ ] pos=15987 blev=0,btyp=L w=9 a+d=17+3 MB 28 252: CHAR[ ] pos=15988 blev=0,btyp=L w=9 a+d=17+3 MB 29 261: CHAR[ ] pos=15989 blev=0,btyp=L w=9 a+d=17+3 MB 30 270: CHAR[ ] pos=15990 blev=0,btyp=L w=9 a+d=17+3 MB 31 279: CHAR[ ] pos=15991 blev=0,btyp=L w=9 a+d=17+3 MB 32 288: CHAR[ ] pos=15992 blev=0,btyp=L w=9 a+d=17+3 MB 33 297: CHAR[ ] pos=15993 blev=0,btyp=L w=9 a+d=17+3 MB 34 306: CHAR[ ] pos=15994 blev=0,btyp=L w=9 a+d=17+3 MB 35 315: CHAR[ ] pos=15995 blev=0,btyp=L w=9 a+d=17+3 MB 36 324: CHAR[ ] pos=15996 blev=0,btyp=L w=9 a+d=17+3 MB 37 333: CHAR[ ] pos=15997 blev=0,btyp=L w=9 a+d=17+3 MB 38 342: CHAR[ ] pos=15998 blev=0,btyp=L w=9 a+d=17+3 MB 39 351: CHAR[ ] pos=15999 blev=0,btyp=L w=9 a+d=17+3 MB 40 360: CHAR[ ] pos=16000 blev=0,btyp=L w=9 a+d=17+3 MB 41 369: CHAR[ ] pos=16001 blev=0,btyp=L w=9 a+d=17+3 MB 42 378: CHAR[ ] pos=16002 blev=0,btyp=L w=9 a+d=17+3 MB 43 387: CHAR[ ] pos=16003 blev=0,btyp=L w=9 a+d=17+3 MB 44 396: CHAR[ ] pos=16004 blev=0,btyp=L w=9 a+d=17+3 MB 45 405: CHAR[ ] pos=16005 blev=0,btyp=L w=9 a+d=17+3 MB 46 414: CHAR[ ] pos=16006 blev=0,btyp=L w=9 a+d=17+3 MB 47 423: CHAR[ ] pos=16007 blev=0,btyp=L w=9 a+d=17+3 MB 48 432: CHAR[ ] pos=16008 blev=0,btyp=L w=9 a+d=17+3 MB 49 441: CHAR[ ] pos=16009 blev=0,btyp=L w=9 a+d=17+3 MB 50 450: CHAR[ ] pos=16010 blev=0,btyp=L w=9 a+d=17+3 MB 51 459: CHAR[ ] pos=16011 blev=0,btyp=L w=9 a+d=17+3 MB 52 468: CHAR[ ] pos=16012 blev=0,btyp=L w=9 a+d=17+3 MB 53 477: CHAR[ ] pos=16013 blev=0,btyp=L w=9 a+d=17+3 MB 54 486: CHAR[ ] pos=16014 blev=0,btyp=L w=9 a+d=17+3 MB 55 495: CHAR[ ] pos=16015 blev=0,btyp=L w=9 a+d=17+3 MB 56 504: CHAR[ ] pos=16016 blev=0,btyp=L w=9 a+d=17+3 MB 57 513: CHAR[ ] pos=16017 blev=0,btyp=L w=9 a+d=17+3 MB 58 522: CHAR[ ] pos=16018 blev=0,btyp=L w=9 a+d=17+3 MB 59 531: CHAR[ ] pos=16019 blev=0,btyp=L w=9 a+d=17+3 MB 60 540: CHAR[ ] pos=16020 blev=0,btyp=L w=9 a+d=17+3 MB 61 549: CHAR[$] pos=16021 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 62 558: CHAR[s] pos=16022 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 63 567: CHAR[f] pos=16023 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 64 576: CHAR[o] pos=16024 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 65 585: CHAR[r] pos=16025 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 66 594: CHAR[m] pos=16026 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 67 603: CHAR[a] pos=16027 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 68 612: CHAR[t] pos=16028 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 69 621: CHAR[f] pos=16029 blev=0,btyp=L w=9 a+d=17+3 face=18 MB 70 630: CHAR[(] pos=16030 blev=0,btyp=L w=9 a+d=17+3 face=19 MB 71 639: CHAR["] pos=16031 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 72 648: CHAR[r] pos=16032 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 73 657: CHAR[e] pos=16033 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 74 666: CHAR[a] pos=16034 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 75 675: CHAR[d] pos=16035 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 76 684: CHAR[ ] pos=16036 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 77 693: CHAR[c] pos=16037 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 78 702: CHAR[h] pos=16038 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 79 711: CHAR[0] pos=16039 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 80 720: CHAR[ ] pos=16040 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 81 729: CHAR[(] pos=16041 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 82 738: CHAR[t] pos=16042 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 83 747: CHAR[e] pos=16043 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 84 756: CHAR[s] pos=16044 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 85 765: CHAR[t] pos=16045 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 86 774: CHAR[ ] pos=16046 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 87 783: CHAR[m] pos=16047 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 88 792: CHAR[o] pos=16048 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 89 801: CHAR[d] pos=16049 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 90 810: CHAR[e] pos=16050 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 91 819: CHAR[ ] pos=16051 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 92 828: CHAR[=] pos=16052 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 93 837: CHAR[ ] pos=16053 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 94 846: CHAR[%] pos=16054 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 95 855: CHAR[d] pos=16055 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 96 864: CHAR[ ] pos=16056 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 97 873: CHAR[/] pos=16057 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 98 882: CHAR[ ] pos=16058 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 99 891: CHAR[d] pos=16059 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 100 900: CHAR[i] pos=16060 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 101 909: CHAR[v] pos=16061 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 102 918: CHAR[i] pos=16062 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 103 927: CHAR[d] pos=16063 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 104 936: CHAR[e] pos=16064 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 105 945: CHAR[r] pos=16065 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 106 954: CHAR[ ] pos=16066 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 107 963: CHAR[=] pos=16067 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 108 972: CHAR[ ] pos=16068 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 109 981: CHAR[%] pos=16069 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 110 990: CHAR[d] pos=16070 blev=0,btyp=L w=9 a+d=17+3 face=20 MB 111 999: CHAR[)] pos=16071 blev=0,btyp=L w=9 a+d=17+3 face=20 MB -- Kaushal Modi --00000000000090d18c0571eae0b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jul 26= , 2018 at 1:59 PM Eli Zaretskii <eliz@gn= u.org> wrote:

=C2=A0 (gdb) source /path/to/emacs/src/.gdbinit
=C2=A0 (gdb) frame 3
=C2=A0 (gdb) p lnum_buf
=C2=A0 (gdb) p it->glyph_row->used[TEXT_AREA]
=C2=A0 (gdb) pgrowx it->glyph_row

He= re's what I get.

I was luckily able to sh= are the whole of "pgrowx it->glyph_row" output because it'= s not much confidential. That string is part of code from a verilog-mode bu= ffer.


(gdb) source /home/kmodi/down= loads/git/emacs/src/.gdbinit
Warning: /home/kmodi/downloads/git/emacs/..= /lwlib: No such file or directory.
SIGINT is used by the debugger.
Ar= e you sure you want to change it? (y or n) [answered Y; input not from term= inal]
DISPLAY =3D :1.0
TERM =3D screen-256color
Breakpoint 1 at 0x= 5910b5: file emacs.c, line 369.
Temporary breakpoint 2 at 0x5bb7de: file= sysdep.c, line 1077.
(gdb) frame 3
#3=C2=A0 0x0000000000483e19 in ma= ybe_produce_line_number (it=3D0x7ffea6f395e0) at xdisp.c:21236
21236=C2= =A0=C2=A0=C2=A0=C2=A0 eassert (it->glyph_row =3D=3D NULL || it->glyph= _row->used[TEXT_AREA] =3D=3D 0);
(gdb) p lnum_buf
$1 =3D " 42= 4 \000\000\000\060\324\310\006\000\000\000\000\060\250\363\246\376"(gdb) p it->glyph_row->used[TEXT_AREA]
$2 =3D 112
(gdb) pgrowx= it->glyph_row
TEXT: 112 glyphs
=C2=A0 0=C2=A0=C2=A0=C2=A0 0: CHAR= [ ] pos=3D-1 blev=3D2,btyp=3DEN w=3D9 a+d=3D17+3 face=3D16 MB AVOID
=C2= =A0 1=C2=A0=C2=A0=C2=A0 9: CHAR[4] pos=3D-1 blev=3D2,btyp=3DEN w=3D9 a+d=3D= 17+3 face=3D16 MB AVOID
=C2=A0 2=C2=A0=C2=A0 18: CHAR[2] pos=3D-1 blev= =3D2,btyp=3DEN w=3D9 a+d=3D17+3 face=3D16 MB AVOID
=C2=A0 3=C2=A0=C2=A0 = 27: CHAR[4] pos=3D-1 blev=3D2,btyp=3DEN w=3D9 a+d=3D17+3 face=3D16 MB AVOID=
=C2=A0 4=C2=A0=C2=A0 36: CHAR[ ] pos=3D-1 blev=3D2,btyp=3DEN w=3D9 a+d= =3D17+3 face=3D16 MB AVOID
=C2=A0 5=C2=A0=C2=A0 45: CHAR[ ] pos=3D15965 = blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A0 6=C2=A0=C2=A0 54: CHAR[ ] p= os=3D15966 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A0 7=C2=A0=C2=A0 63= : CHAR[ ] pos=3D15967 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A0 8=C2= =A0=C2=A0 72: CHAR[ ] pos=3D15968 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
= =C2=A0 9=C2=A0=C2=A0 81: CHAR[ ] pos=3D15969 blev=3D0,btyp=3DL w=3D9 a+d=3D= 17+3 MB
=C2=A010=C2=A0=C2=A0 90: CHAR[ ] pos=3D15970 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 MB
=C2=A011=C2=A0=C2=A0 99: CHAR[ ] pos=3D15971 blev=3D0= ,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A012=C2=A0 108: CHAR[ ] pos=3D15972 bl= ev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A013=C2=A0 117: CHAR[ ] pos=3D15= 973 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A014=C2=A0 126: CHAR[ ] po= s=3D15974 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A015=C2=A0 135: CHAR= [ ] pos=3D15975 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A016=C2=A0 144= : CHAR[ ] pos=3D15976 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A017=C2= =A0 153: CHAR[ ] pos=3D15977 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2= =A018=C2=A0 162: CHAR[ ] pos=3D15978 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB<= br>=C2=A019=C2=A0 171: CHAR[ ] pos=3D15979 blev=3D0,btyp=3DL w=3D9 a+d=3D17= +3 MB
=C2=A020=C2=A0 180: CHAR[ ] pos=3D15980 blev=3D0,btyp=3DL w=3D9 a+= d=3D17+3 MB
=C2=A021=C2=A0 189: CHAR[ ] pos=3D15981 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 MB
=C2=A022=C2=A0 198: CHAR[ ] pos=3D15982 blev=3D0,btyp= =3DL w=3D9 a+d=3D17+3 MB
=C2=A023=C2=A0 207: CHAR[ ] pos=3D15983 blev=3D= 0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A024=C2=A0 216: CHAR[ ] pos=3D15984 b= lev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A025=C2=A0 225: CHAR[ ] pos=3D1= 5985 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A026=C2=A0 234: CHAR[ ] p= os=3D15986 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A027=C2=A0 243: CHA= R[ ] pos=3D15987 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A028=C2=A0 25= 2: CHAR[ ] pos=3D15988 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A029=C2= =A0 261: CHAR[ ] pos=3D15989 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2= =A030=C2=A0 270: CHAR[ ] pos=3D15990 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB<= br>=C2=A031=C2=A0 279: CHAR[ ] pos=3D15991 blev=3D0,btyp=3DL w=3D9 a+d=3D17= +3 MB
=C2=A032=C2=A0 288: CHAR[ ] pos=3D15992 blev=3D0,btyp=3DL w=3D9 a+= d=3D17+3 MB
=C2=A033=C2=A0 297: CHAR[ ] pos=3D15993 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 MB
=C2=A034=C2=A0 306: CHAR[ ] pos=3D15994 blev=3D0,btyp= =3DL w=3D9 a+d=3D17+3 MB
=C2=A035=C2=A0 315: CHAR[ ] pos=3D15995 blev=3D= 0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A036=C2=A0 324: CHAR[ ] pos=3D15996 b= lev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A037=C2=A0 333: CHAR[ ] = pos=3D15997 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A038=C2=A0 342: CH= AR[ ] pos=3D15998 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A039=C2=A0 3= 51: CHAR[ ] pos=3D15999 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A040= =C2=A0 360: CHAR[ ] pos=3D16000 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
= =C2=A041=C2=A0 369: CHAR[ ] pos=3D16001 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 = MB
=C2=A042=C2=A0 378: CHAR[ ] pos=3D16002 blev=3D0,btyp=3DL w=3D9 a+d= =3D17+3 MB
=C2=A043=C2=A0 387: CHAR[ ] pos=3D16003 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 MB
=C2=A044=C2=A0 396: CHAR[ ] pos=3D16004 blev=3D0,btyp= =3DL w=3D9 a+d=3D17+3 MB
=C2=A045=C2=A0 405: CHAR[ ] pos=3D16005 blev=3D= 0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A046=C2=A0 414: CHAR[ ] pos=3D16006 b= lev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A047=C2=A0 423: CHAR[ ] pos=3D1= 6007 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A048=C2=A0 432: CHAR[ ] p= os=3D16008 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A049=C2=A0 441: CHA= R[ ] pos=3D16009 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A050=C2=A0 45= 0: CHAR[ ] pos=3D16010 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A051=C2= =A0 459: CHAR[ ] pos=3D16011 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2= =A052=C2=A0 468: CHAR[ ] pos=3D16012 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB<= br>=C2=A053=C2=A0 477: CHAR[ ] pos=3D16013 blev=3D0,btyp=3DL w=3D9 a+d=3D17= +3 MB
=C2=A054=C2=A0 486: CHAR[ ] pos=3D16014 blev=3D0,btyp=3DL w=3D9 a+= d=3D17+3 MB
=C2=A055=C2=A0 495: CHAR[ ] pos=3D16015 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 MB
=C2=A056=C2=A0 504: CHAR[ ] pos=3D16016 blev=3D0,btyp= =3DL w=3D9 a+d=3D17+3 MB
=C2=A057=C2=A0 513: CHAR[ ] pos=3D16017 blev=3D= 0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A058=C2=A0 522: CHAR[ ] pos=3D16018 b= lev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A059=C2=A0 531: CHAR[ ] pos=3D1= 6019 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A060=C2=A0 540: CHAR[ ] p= os=3D16020 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 MB
=C2=A061=C2=A0 549: CHA= R[$] pos=3D16021 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D18 MB
=C2=A06= 2=C2=A0 558: CHAR[s] pos=3D16022 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D= 18 MB
=C2=A063=C2=A0 567: CHAR[f] pos=3D16023 blev=3D0,btyp=3DL w=3D9 a+= d=3D17+3 face=3D18 MB
=C2=A064=C2=A0 576: CHAR[o] pos=3D16024 blev=3D0,b= typ=3DL w=3D9 a+d=3D17+3 face=3D18 MB
=C2=A065=C2=A0 585: CHAR[r] pos=3D= 16025 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D18 MB
=C2=A066=C2=A0 594= : CHAR[m] pos=3D16026 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D18 MB
= =C2=A067=C2=A0 603: CHAR[a] pos=3D16027 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 = face=3D18 MB
=C2=A068=C2=A0 612: CHAR[t] pos=3D16028 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 face=3D18 MB
=C2=A069=C2=A0 621: CHAR[f] pos=3D16029 ble= v=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D18 MB
=C2=A070=C2=A0 630: CHAR[(]= pos=3D16030 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D19 MB
=C2=A071=C2= =A0 639: CHAR["] pos=3D16031 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face= =3D20 MB
=C2=A072=C2=A0 648: CHAR[r] pos=3D16032 blev=3D0,btyp=3DL w=3D9= a+d=3D17+3 face=3D20 MB
=C2=A073=C2=A0 657: CHAR[e] pos=3D16033 blev=3D= 0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A074=C2=A0 666: CHAR[a] pos= =3D16034 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A075=C2=A0 = 675: CHAR[d] pos=3D16035 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB=C2=A076=C2=A0 684: CHAR[ ] pos=3D16036 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3= face=3D20 MB
=C2=A077=C2=A0 693: CHAR[c] pos=3D16037 blev=3D0,btyp=3DL = w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A078=C2=A0 702: CHAR[h] pos=3D16038 bl= ev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A079=C2=A0 711: CHAR[0= ] pos=3D16039 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A080= =C2=A0 720: CHAR[ ] pos=3D16040 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D2= 0 MB
=C2=A081=C2=A0 729: CHAR[(] pos=3D16041 blev=3D0,btyp=3DL w=3D9 a+d= =3D17+3 face=3D20 MB
=C2=A082=C2=A0 738: CHAR[t] pos=3D16042 blev=3D0,bt= yp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A083=C2=A0 747: CHAR[e] pos=3D1= 6043 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A084=C2=A0 756:= CHAR[s] pos=3D16044 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2= =A085=C2=A0 765: CHAR[t] pos=3D16045 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 fac= e=3D20 MB
=C2=A086=C2=A0 774: CHAR[ ] pos=3D16046 blev=3D0,btyp=3DL w=3D= 9 a+d=3D17+3 face=3D20 MB
=C2=A087=C2=A0 783: CHAR[m] pos=3D16047 blev= =3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A088=C2=A0 792: CHAR[o] = pos=3D16048 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A089=C2= =A0 801: CHAR[d] pos=3D16049 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 M= B
=C2=A090=C2=A0 810: CHAR[e] pos=3D16050 blev=3D0,btyp=3DL w=3D9 a+d=3D= 17+3 face=3D20 MB
=C2=A091=C2=A0 819: CHAR[ ] pos=3D16051 blev=3D0,btyp= =3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A092=C2=A0 828: CHAR[=3D] pos=3D1= 6052 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A093=C2=A0 837:= CHAR[ ] pos=3D16053 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2= =A094=C2=A0 846: CHAR[%] pos=3D16054 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 fac= e=3D20 MB
=C2=A095=C2=A0 855: CHAR[d] pos=3D16055 blev=3D0,btyp=3DL w=3D= 9 a+d=3D17+3 face=3D20 MB
=C2=A096=C2=A0 864: CHAR[ ] pos=3D16056 blev= =3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A097=C2=A0 873: CHAR[/] = pos=3D16057 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
=C2=A098=C2= =A0 882: CHAR[ ] pos=3D16058 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 M= B
=C2=A099=C2=A0 891: CHAR[d] pos=3D16059 blev=3D0,btyp=3DL w=3D9 a+d=3D= 17+3 face=3D20 MB
100=C2=A0 900: CHAR[i] pos=3D16060 blev=3D0,btyp=3DL w= =3D9 a+d=3D17+3 face=3D20 MB
101=C2=A0 909: CHAR[v] pos=3D16061 blev=3D0= ,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
102=C2=A0 918: CHAR[i] pos=3D160= 62 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
103=C2=A0 927: CHAR[d= ] pos=3D16063 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
104=C2=A0 = 936: CHAR[e] pos=3D16064 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB105=C2=A0 945: CHAR[r] pos=3D16065 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face= =3D20 MB
106=C2=A0 954: CHAR[ ] pos=3D16066 blev=3D0,btyp=3DL w=3D9 a+d= =3D17+3 face=3D20 MB
107=C2=A0 963: CHAR[=3D] pos=3D16067 blev=3D0,btyp= =3DL w=3D9 a+d=3D17+3 face=3D20 MB
108=C2=A0 972: CHAR[ ] pos=3D16068 bl= ev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
109=C2=A0 981: CHAR[%] pos= =3D16069 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
110=C2=A0 990: = CHAR[d] pos=3D16070 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D20 MB
111= =C2=A0 999: CHAR[)] pos=3D16071 blev=3D0,btyp=3DL w=3D9 a+d=3D17+3 face=3D2= 0 MB

--

Kaushal Modi

--00000000000090d18c0571eae0b5-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 15:20:48 2018 Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 19:20:48 +0000 Received: from localhost ([127.0.0.1]:59334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1filoe-0000SF-IJ for submit@debbugs.gnu.org; Thu, 26 Jul 2018 15:20:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1filoc-0000S2-Tk for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 15:20:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1filoU-0008Ic-H3 for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 15:20:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1filoU-0008IW-Dw; Thu, 26 Jul 2018 15:20:38 -0400 Received: from [176.228.60.248] (port=3309 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1filoT-0007fc-Os; Thu, 26 Jul 2018 15:20:38 -0400 Date: Thu, 26 Jul 2018 22:20:36 +0300 Message-Id: <838t5xu7ln.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 26 Jul 2018 14:07:55 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Thu, 26 Jul 2018 14:07:55 -0400 > Cc: 32258@debbugs.gnu.org > > (gdb) source /home/kmodi/downloads/git/emacs/src/.gdbinit > Warning: /home/kmodi/downloads/git/emacs/../lwlib: No such file or directory. > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from terminal] > DISPLAY = :1.0 > TERM = screen-256color > Breakpoint 1 at 0x5910b5: file emacs.c, line 369. > Temporary breakpoint 2 at 0x5bb7de: file sysdep.c, line 1077. > (gdb) frame 3 > #3 0x0000000000483e19 in maybe_produce_line_number (it=0x7ffea6f395e0) at xdisp.c:21236 > 21236 eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); > (gdb) p lnum_buf > $1 = " 424 \000\000\000\060\324\310\006\000\000\000\000\060\250\363\246\376" > (gdb) p it->glyph_row->used[TEXT_AREA] > $2 = 112 > (gdb) pgrowx it->glyph_row > TEXT: 112 glyphs > 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID > 1 9: CHAR[4] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID > 2 18: CHAR[2] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID > 3 27: CHAR[4] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID > 4 36: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=17+3 face=16 MB AVOID > 5 45: CHAR[ ] pos=15965 blev=0,btyp=L w=9 a+d=17+3 MB > 6 54: CHAR[ ] pos=15966 blev=0,btyp=L w=9 a+d=17+3 MB > 7 63: CHAR[ ] pos=15967 blev=0,btyp=L w=9 a+d=17+3 MB > 8 72: CHAR[ ] pos=15968 blev=0,btyp=L w=9 a+d=17+3 MB > 9 81: CHAR[ ] pos=15969 blev=0,btyp=L w=9 a+d=17+3 MB This is some variant of bug#28710 and bug#27668. But those were fixed, so it's some similar, but different problem. Unfortunately, to debug this I need either to be able to reproduce this on my system (unlikely, since I'm guessing GTK triggers that bug on your system), or I need you to run a debugging session described in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27668#89 and show the results. But since you cannot trigger the problem at will, it sounds impractical. So it sounds like we are stuck, sorry. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 16:14:09 2018 Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 20:14:09 +0000 Received: from localhost ([127.0.0.1]:59345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fimeH-0001lg-1A for submit@debbugs.gnu.org; Thu, 26 Jul 2018 16:14:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fimeC-0001l3-Du for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 16:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fime3-0000Z4-7w for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 16:13:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fime3-0000Yo-3z; Thu, 26 Jul 2018 16:13:55 -0400 Received: from [176.228.60.248] (port=2715 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fime2-0008MQ-Dt; Thu, 26 Jul 2018 16:13:54 -0400 Date: Thu, 26 Jul 2018 23:13:53 +0300 Message-Id: <836011u54u.fsf@gnu.org> From: Eli Zaretskii To: kaushal.modi@gmail.com In-reply-to: <838t5xu7ln.fsf@gnu.org> (message from Eli Zaretskii on Thu, 26 Jul 2018 22:20:36 +0300) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> <838t5xu7ln.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Thu, 26 Jul 2018 22:20:36 +0300 > From: Eli Zaretskii > Cc: 32258@debbugs.gnu.org > > But since you cannot trigger the problem at will, it sounds > impractical. So it sounds like we are stuck, sorry. OK, stabbing in the dark here: in this fragment of xdisp.c: /* Redisplay, then check if cursor has been set during the redisplay. Give up if new fonts were loaded. */ /* We used to issue a CHECK_MARGINS argument to try_window here, but this causes scrolling to fail when point begins inside the scroll margin (bug#148) -- cyd */ if (!try_window (window, startp, 0)) { w->force_start = true; clear_glyph_matrix (w->desired_matrix); goto need_larger_matrices; } which on the current trunk is around line 16920, please insert this line: clear_glyph_matrix (w->desired_matrix); before this line: if (!try_window (window, startp, 0)) Then try running with this change for a while, and see if it solves the assertion violations and doesn't produce any unintended adverse effects. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 26 16:46:23 2018 Received: (at 32258) by debbugs.gnu.org; 26 Jul 2018 20:46:23 +0000 Received: from localhost ([127.0.0.1]:59361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fin9S-0002Vw-Vv for submit@debbugs.gnu.org; Thu, 26 Jul 2018 16:46:23 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:45780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fin9R-0002Vi-5B for 32258@debbugs.gnu.org; Thu, 26 Jul 2018 16:46:21 -0400 Received: by mail-lj1-f175.google.com with SMTP id q5-v6so2617221ljh.12 for <32258@debbugs.gnu.org>; Thu, 26 Jul 2018 13:46:21 -0700 (PDT) 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=YXY+4tmPvkDc5MGUViqqf/ZvOoDud6NJ7ztk76gG7BY=; b=cDI5CaO1Otif1twOWMolHd8GCGmXFaGQhZMR0szGaWmC/xS+6bKoQKfipbUIVIU1YK BWJmGSZzihHGhKjFf4rVt4bz0PhXH5uD7bbDibq9VZnG+DARwfxSrLW8TKrsKgGSSSR6 90+w7t/sCnCdZxPzfTRQsqLn5833OtiB8LDrIJ3w8HwULdPdaEcBe0xTrCD1s1C67fHR 69xma8BVQ7vY/39K0ds17LOiJ8rRX4sJ8zHY2xFs0AEnY2GAakOLh9bIbu506Aq6vtgF Wj8a6yBoFRMx33y+z3AWx4mzwz9mss9rXvQjiobfMK/JJtYppKi8HBil+Gwz6VivKcsA wing== 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=YXY+4tmPvkDc5MGUViqqf/ZvOoDud6NJ7ztk76gG7BY=; b=hnKG/swx3etYhIGyvHle10DaVaLB26ns8/fSlxdJFSUNGCGiPYMuOgyh9CP2DY1Iig mERpIJ2/nhCaYYukr6xnO2zblVXXEj9hnN5daQMxq7mYoHYxdnccCm3Agdk/7Y5hu5OI G15jFejssBvhaYQWpqS9NCATU3Av4CCC2qo2iTKDfti3qxM+tc8fhj8IKFl+PBUtlELn miO5ijyCKeF5ybWtN2dVHjheM+JcPpGTh7DcB3KTxYbBXTdLVy9s0879qBQzWJskEh9+ 0iKyAz8sOWuTpO9EhgCZFR0TQWxwq/3GffNzQGdSIrxBATW9pfrbmP7eTTW6FNIEQpnS B5mQ== X-Gm-Message-State: AOUpUlFqVh7pvRDylEIAgTmdW2JnQqpOAGTLjaj/EnvMxnvSzC1JhW/A LZo1V+DFSZJslDVUwTHjk+2Iq/WbQ3wnIGmfaBoSlg== X-Google-Smtp-Source: AAOMgpdNQv6r8lzFlVAiYCHE/k0ajsvc1rVnlqSKPJ+QM1jpY4imOdF7n+W1ng0m+UY7hQ/IRhcVmjr58jK/lt/Tkd0= X-Received: by 2002:a2e:8743:: with SMTP id q3-v6mr2724316ljj.139.1532637975048; Thu, 26 Jul 2018 13:46:15 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> <838t5xu7ln.fsf@gnu.org> <836011u54u.fsf@gnu.org> In-Reply-To: <836011u54u.fsf@gnu.org> From: Kaushal Modi Date: Thu, 26 Jul 2018 16:46:03 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="0000000000001276f80571ed16c7" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000001276f80571ed16c7 Content-Type: text/plain; charset="UTF-8" On Thu, Jul 26, 2018 at 4:14 PM Eli Zaretskii wrote: > > which on the current trunk is around line 16920, please insert this > line: > > clear_glyph_matrix (w->desired_matrix); > > before this line: > > if (!try_window (window, startp, 0)) > > Then try running with this change for a while, and see if it solves > the assertion violations and doesn't produce any unintended adverse > effects. > OK, I have added that line, rebuilt and running it with gdb attached, will keep you posted. Thanks! -- Kaushal Modi --0000000000001276f80571ed16c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jul 26= , 2018 at 4:14 PM Eli Zaretskii <eliz@gn= u.org> wrote:

which on the current trunk is around line 16920, please insert this
line:

=C2=A0 =C2=A0 =C2=A0 clear_glyph_matrix (w->desired_matrix);

before this line:

=C2=A0 =C2=A0 =C2=A0 if (!try_window (window, startp, 0))

Then try running with this change for a while, and see if it solves
the assertion violations and doesn't produce any unintended adverse
effects.

OK, I have added that line, re= built and running it with gdb attached, will keep you posted.
Thanks!
--

Kaushal M= odi

--0000000000001276f80571ed16c7-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 01 15:22:16 2018 Received: (at 32258) by debbugs.gnu.org; 1 Aug 2018 19:22:16 +0000 Received: from localhost ([127.0.0.1]:37941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkwhM-0007NL-Cf for submit@debbugs.gnu.org; Wed, 01 Aug 2018 15:22:16 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:40049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkwhL-0007N8-05 for 32258@debbugs.gnu.org; Wed, 01 Aug 2018 15:22:15 -0400 Received: by mail-lf1-f53.google.com with SMTP id y200-v6so14108338lfd.7 for <32258@debbugs.gnu.org>; Wed, 01 Aug 2018 12:22:14 -0700 (PDT) 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=+hRXA8kLu+LMh6jqKNQNWqdf86x7dIdCAIGn+9XMsUU=; b=niSP3M049uDK3eiayghYFJmw8bW/XfVjwnkq4kAZdLQU4//+uU1M2GQb9tJFjXcaih 8WjCky9k9AC3/GDy/OsHBGYkt2sLiiYjNFthnh5X65VYuXpJ9JXYikl4QJzB2PXEC86p NjotHmB7mTBQLHZByGGUckZwdA8vwojG02hKVxvj3/vHlDZjCnuNzf44CyLCwQcWZwCe 0npFLeB+ppykCO/SRFa6VUs3wH+ZzpiikzfGRbSLQzUWlZb+DSuZR4eagbmXnJxNV4Xb 29357qXntFlL7gfvTa689ycJj1yfcV71l53LY4WEk2qPC6/jtBelFESoUaaLjJ/dZNgv eS1Q== 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=+hRXA8kLu+LMh6jqKNQNWqdf86x7dIdCAIGn+9XMsUU=; b=UvZkdU78af5kNzKavV0SMvPyLGXXLSwlS4JruJutUKdTe6uC26QEMVxh3COwlx1sLH ZtMw4FKrmM41YemYesc6V5j6UPYNrmyA+cBqGosDM6m4+3pWyko8PTfKew9zrzoYQM7t 6DEVcim5h7cBw3Tm6tX4QNEf4hve0cuT1CE/WGjfG9O7kOP6Y5Zukp/HGlzLmKV2rYLj M0SGrRQLLOJv1QP3mG/3SAmDY97fQwcFice1XHMWpVZemscQuWIFVfzUazFvzrb9qpJt ijeJcMqxlTVZjgrzaFPu1OHR5GB2L2A6QqadqriJJsAxOeNGi215cuED0y5b4XRcoKXl 4MTw== X-Gm-Message-State: AOUpUlFpjIiw5ghgFoGHNWvSZuy/mtihkhfPjgdpusT3uC1t2ZAdgOaW juFIVI4NQvp7UO/g2vQZicsSwZ1CTn+7d4TmtGP8gA== X-Google-Smtp-Source: AAOMgpeMI8V4ssjBuC3+xd2OdLiXxLVYfi1Az9ZBBG9XfzSoWdyyxct3bKvCU1GjQA/drYWOCS1txs5xiWbHjKROO8M= X-Received: by 2002:a19:cf95:: with SMTP id f143-v6mr17159226lfg.101.1533151328990; Wed, 01 Aug 2018 12:22:08 -0700 (PDT) MIME-Version: 1.0 References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> <838t5xu7ln.fsf@gnu.org> <836011u54u.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Wed, 1 Aug 2018 15:21:56 -0400 Message-ID: Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] To: Eli Zaretskii Content-Type: multipart/alternative; boundary="00000000000059fd380572649c09" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32258 Cc: 32258@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000059fd380572649c09 Content-Type: text/plain; charset="UTF-8" On Thu, Jul 26, 2018 at 4:46 PM Kaushal Modi wrote: > OK, I have added that line, rebuilt and running it with gdb attached, will > keep you posted. > An update. My emacs sessions haven't crashed after that experimental fix. Also, I didn't see any adverse effects because of that. -- Kaushal Modi --00000000000059fd380572649c09 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jul 26= , 2018 at 4:46 PM Kaushal Modi <kaushal.modi@gmail.com> wrote:
OK, I have added that line, rebuilt and = running it with gdb attached, will keep you posted.

An update. My emacs sessions haven't crashed= after that experimental fix. Also, I didn't see any adverse effects be= cause of that.
--

Kaushal Modi<= /p>

--00000000000059fd380572649c09-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 02 10:00:25 2018 Received: (at 32258-done) by debbugs.gnu.org; 2 Aug 2018 14:00:25 +0000 Received: from localhost ([127.0.0.1]:39068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flE9Q-0002w9-Q2 for submit@debbugs.gnu.org; Thu, 02 Aug 2018 10:00:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1flE9P-0002vx-Jg for 32258-done@debbugs.gnu.org; Thu, 02 Aug 2018 10:00:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flE9F-0000vJ-17 for 32258-done@debbugs.gnu.org; Thu, 02 Aug 2018 10:00:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flE9E-0000v6-Ts; Thu, 02 Aug 2018 10:00:12 -0400 Received: from [176.228.60.248] (port=4348 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1flE9E-0001J8-8p; Thu, 02 Aug 2018 10:00:12 -0400 Date: Thu, 02 Aug 2018 17:00:00 +0300 Message-Id: <83muu4vpgf.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Wed, 1 Aug 2018 15:21:56 -0400) Subject: Re: bug#32258: 27.0.50; Crash on minimizing/maximizing Emacs frame from taskbar [RHEL 6.8 GTK2] References: <83va94vgsy.fsf@gnu.org> <83pnzcv6pe.fsf@gnu.org> <83muugv4z8.fsf@gnu.org> <83k1pkv45f.fsf@gnu.org> <83d0v9ubcq.fsf@gnu.org> <838t5xu7ln.fsf@gnu.org> <836011u54u.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32258-done Cc: 32258-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Kaushal Modi > Date: Wed, 1 Aug 2018 15:21:56 -0400 > Cc: 32258@debbugs.gnu.org > > An update. My emacs sessions haven't crashed after that experimental fix. Also, I didn't see any adverse > effects because of that. OK, I've now pushed the change to the emacs-26 branch, and I'm closing the bug. Thanks for testing. From unknown Thu Jun 19 13:59:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 31 Aug 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator