unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34454: After an update, icecat now segfaults very quickly after opening.
@ 2019-02-12 10:16 Bradley Haggerty
  2019-02-12 10:31 ` bug#34454: (no subject) Bradley Haggerty
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Bradley Haggerty @ 2019-02-12 10:16 UTC (permalink / raw)
  To: 34454

user profile version: guix (GNU Guix)
d5612439178465cd5bda6c69b71d6afb652b83e5
icecat version: GNU IceCat 60.5.0
system profile version: guix (GNU Guix)
db7c901af1dfaaab2e12218759475a6e121ac3b7

I am able to launch icecat, but loading some sites (e.g. riot.im) or
trying to restore my session seem to make it segfault very quickly. I
even had a crash on the session restore page so now the session it
restores is just an empty tab and it still crashes. Icecat is installed
via my user profile, but I recently updated both system and user
packages. I don't recall the breakage/crashing until very recently, so
I suspect it is the user profile which more recently finished.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: (no subject)
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
@ 2019-02-12 10:31 ` Bradley Haggerty
  2019-02-15 18:28 ` bug#34454: Icecat crashes after several seconds Bradley Haggerty
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Bradley Haggerty @ 2019-02-12 10:31 UTC (permalink / raw)
  To: 34454

I've now had a similar crash from emacs. I've got errors for both.
emacs erorr:
(emacs-26-1:1049): Gdk-ERROR **: 04:27:15.240: The program 'emacs-26-1'
received an X Window System error. This probably reflects a bug in the
program. The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 605 error_code 8 request_code 2 (core protocol)
minor_code 0) (Note to programmers: normally, X errors are reported
asynchronously; that is, you will receive the error a while after
causing it. To debug your program, run it with the GDK_SYNCHRONIZE
environment variable to change this behavior. You can then get a
meaningful backtrace from your debugger if you break on the
gdk_x_error() function.) Fatal error 5: Trace/breakpoint trap
Backtrace:
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x50b032]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x4f1f34]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x509cee]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x509fd3]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x50a089]
/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libpthread.so.0(+0x12750)[0x7f0896f5b750]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x53431)[0x7f0897f8b431]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_writer_default+0x182)[0x7f0897f8dbc2]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_structured_array+0x7c)[0x7f0897f8bf6c]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_structured_standard+0x182)[0x7f0897f8c962]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x634bd)[0x7f08984804bd]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6f7c9)[0x7f089848c7c9]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XError+0xf5)[0x7f0897e16475]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x434f7)[0x7f0897e134f7]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x435a5)[0x7f0897e135a5]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XReply+0x208)[0x7f0897e14428]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(XGetWindowProperty+0xe6)[0x7f0897dfb356]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x2f2b1)[0x7f089844c2b1]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x64deb)[0x7f0898481deb]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a8e2)[0x7f08984878e2]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a41c)[0x7f089848741c]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(gdk_display_get_event+0x79)[0x7f0898453769]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a002)[0x7f0898487002]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_dispatch+0x287)[0x7f0897f85b57]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x4dd98)[0x7f0897f85d98]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f0897f85e3c]
/gnu/store/wjs7m0isjzixaslfbcqz3v2ic3zfbr5a-gtk+-3.24.2/lib/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7f089874e185]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x4c1b02]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x4f90c9]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x4f9625]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x4cda91]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x427798]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x565d16]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x59ba68]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x565c83]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x59ba68]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x565c83]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x56775e]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x565d16]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x59ba68]
/gnu/store/40w5rmp52z2xr8bjdim65rq7d4g89mdd-emacs-26.1/bin/emacs-26.1[0x565c83]
...
zsh: trace trap  emacs

icecat error:
(icecat:1125): Gdk-ERROR **: 10:28:30.375: The program 'icecat'
received an X Window System error. This probably reflects a bug in the
program. The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 11602 error_code 8 request_code 2 (core protocol)
minor_code 0) (Note to programmers: normally, X errors are reported
asynchronously; that is, you will receive the error a while after
causing it. To debug your program, run it with the GDK_SYNCHRONIZE
environment variable to change this behavior. You can then get a
meaningful backtrace from your debugger if you break on the
gdk_x_error() function.) [Child 1260, Chrome_ChildThread] WARNING: pipe
error (3): Connection reset by peer:
file /tmp/guix-build-icecat-60.5.0-guix1.drv-0/icecat-60.5.0-guix1/ipc/chro
mium/src/chrome/common/ipc_channel_posix.cc, line 342 Crash Annotation
GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with
reason=AbnormalShutdown (t=4.64968) zsh: trace trap  icecat

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: Icecat crashes after several seconds
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
  2019-02-12 10:31 ` bug#34454: (no subject) Bradley Haggerty
@ 2019-02-15 18:28 ` Bradley Haggerty
  2019-03-09 23:37 ` bug#34454: GTK programs segfaulting Bradley Haggerty
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Bradley Haggerty @ 2019-02-15 18:28 UTC (permalink / raw)
  To: 34454

GNU IceCat 60.5.0
guix (GNU Guix) a37bdf4289e9bb533907a6ee5c4c84e68e12c5b1
Fri Feb 15 12:15:29 CST 2019

After the problem the other day I rolled back to a previous working
generation. I've now updated and still had problems, so I'm back with
new crashes. I noticed it mentioned an environment variable to display
more info, so here are two crashes, the second one has it enabled.

icecat:3108): Gdk-ERROR **: 18:11:32.573: The program 'icecat' received
an X Window System error. This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 26875 error_code 8 request_code 2 (core protocol)
minor_code 0) (Note to programmers: normally, X errors are reported
asynchronously; that is, you will receive the error a while after
causing it. To debug your program, run it with the GDK_SYNCHRONIZE
environment variable to change this behavior. You can then get a
meaningful backtrace from your debugger if you break on the
gdk_x_error() function.) zsh: trace trap  icecat


(icecat:4060): Gdk-ERROR **: 18:16:33.014: The program 'icecat'
received an X Window System error. This probably reflects a bug in the
program. The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 10299 error_code 8 request_code 2 (core protocol)
minor_code 0) (Note to programmers: normally, X errors are reported
asynchronously; that is, you will receive the error a while after
causing it. To debug your program, run it with the GDK_SYNCHRONIZE
environment variable to change this behavior. You can then get a
meaningful backtrace from your debugger if you break on the
gdk_x_error() function.) Crash Annotation GraphicsCriticalError:
|[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown
(t=6.64841) [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[Child 4208, Chrome_ChildThread] WARNING: pipe error: Broken pipe:
file /tmp/guix-build-icecat-60.5.0-guix1.drv-0/icecat-60.5.0-guix1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 694 zsh: trace trap  icecat [Child 4108, Chrome_ChildThread]
WARNING: pipe error (3): Connection reset by peer:
file /tmp/guix-build-icecat-60.5.0-guix1.drv-0/icecat-60.5.0-guix1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 342

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: GTK programs segfaulting
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
  2019-02-12 10:31 ` bug#34454: (no subject) Bradley Haggerty
  2019-02-15 18:28 ` bug#34454: Icecat crashes after several seconds Bradley Haggerty
@ 2019-03-09 23:37 ` Bradley Haggerty
  2019-03-10 17:45   ` Ludovic Courtès
  2019-03-11  3:07 ` Bradley Haggerty
                   ` (4 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Bradley Haggerty @ 2019-03-09 23:37 UTC (permalink / raw)
  To: 34454

[-- Attachment #1: Type: text/plain, Size: 4887 bytes --]

I've allowed emacs and icecat to update after holding them back for
sometime. So far icecat has yet to crash, although I haven't restart it so
it's likely the safe version running from memory. Emacs, however, crashes
instantly. Error details below.

brad@kazuki:~/ > emacs

(emacs-26-1:10553): Gdk-ERROR **: 17:18:31.044: The program 'emacs-26-1'
received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 605 error_code 8 request_code 2 (core protocol)
minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Fatal error 5: Trace/breakpoint trap
Backtrace:
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50b1a2]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f20a4]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x509e5e]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50a143]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50a1f9]
/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libpthread.so.0(+0x12750)[0x7f23cb2ab750]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x53431)[0x7f23cc2db431]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_writer_default+0x182)[0x7f23cc2ddbc2]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_structured_array+0x7c)[0x7f23cc2dbf6c]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_log_structured_standard+0x182)[0x7f23cc2dc962]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x634bd)[0x7f23cc7d04bd]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6f7c9)[0x7f23cc7dc7c9]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XError+0xf5)[0x7f23cc166475]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x434f7)[0x7f23cc1634f7]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x435a5)[0x7f23cc1635a5]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XReply+0x208)[0x7f23cc164428]
/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(XGetWindowProperty+0xe6)[0x7f23cc14b356]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x2f2b1)[0x7f23cc79c2b1]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x64deb)[0x7f23cc7d1deb]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a8e2)[0x7f23cc7d78e2]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a41c)[0x7f23cc7d741c]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(gdk_display_get_event+0x79)[0x7f23cc7a3769]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a002)[0x7f23cc7d7002]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_dispatch+0x287)[0x7f23cc2d5b57]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x4dd98)[0x7f23cc2d5d98]
/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f23cc2d5e3c]
/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7f23cca9e185]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4c1c42]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f9239]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f9795]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4cdbd1]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4278d8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565f76]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x5679ee]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565f76]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]
...
zsh: trace trap  emacs

[-- Attachment #2: Type: text/html, Size: 5184 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: GTK programs segfaulting
  2019-03-09 23:37 ` bug#34454: GTK programs segfaulting Bradley Haggerty
@ 2019-03-10 17:45   ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2019-03-10 17:45 UTC (permalink / raw)
  To: Bradley Haggerty; +Cc: 34454

Hi Bradley,

Bradley Haggerty <bradigger@gmail.com> skribis:

> I've allowed emacs and icecat to update after holding them back for
> sometime. So far icecat has yet to crash, although I haven't restart it so
> it's likely the safe version running from memory. Emacs, however, crashes
> instantly. Error details below.
>
> brad@kazuki:~/ > emacs
>
> (emacs-26-1:10553): Gdk-ERROR **: 17:18:31.044: The program 'emacs-26-1'
> received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>   (Details: serial 605 error_code 8 request_code 2 (core protocol)
> minor_code 0)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the GDK_SYNCHRONIZE environment
>    variable to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)
> Fatal error 5: Trace/breakpoint trap

What distro are you using Guix on?

Can you reproduce the error with:

  guix environment --pure --ad-hoc emacs -- emacs

?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: GTK programs segfaulting
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
                   ` (2 preceding siblings ...)
  2019-03-09 23:37 ` bug#34454: GTK programs segfaulting Bradley Haggerty
@ 2019-03-11  3:07 ` Bradley Haggerty
  2019-03-12 13:11   ` Ludovic Courtès
  2019-03-11  3:09 ` Bradley Haggerty
                   ` (3 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Bradley Haggerty @ 2019-03-11  3:07 UTC (permalink / raw)
  To: 34454

[-- Attachment #1: Type: text/plain, Size: 7302 bytes --]

Ludovic Courtès said:
>Can you reproduce the error with:
>
>  guix environment --pure --ad-hoc emacs -- emacs

Yes, it seems I can!

brad@kazuki:~/ > guix environment --pure --ad-hoc emacs --
emacs
[40/40]
substitute: updating substitutes from 'https://ci.guix.info'...
100.0%

The following derivation will be
built:


/gnu/store/fs34hybsk4v4zvjpka9kz275ic49n74m-profile.drv

The following profile hooks will be
built:


/gnu/store/g2ydgb9gskajwc8viplsn5gpnixiqck9-manual-database.drv


/gnu/store/17n0524cddh0n9fm42qqa5fyhkwkld1r-xdg-mime-database.drv


/gnu/store/53sjm9xa094dwf38hgsr62b7fnzx1p9v-gtk-icon-themes.drv


/gnu/store/5hknn5y3jn44r26nkpk2isyb3c3mna56-ca-certificate-bundle.drv


/gnu/store/8i3bggrbcli2sv2vrw725fr3ysap5hsl-fonts-dir.drv


/gnu/store/dv7d7r3g3mk4rclrra2n0wgvbvpxxkl0-info-dir.drv


/gnu/store/jhq4mf8rsasm2c27m0ym1qjar7iz545s-xdg-desktop-database.drv


/gnu/store/l16m658swa27fgh5q09nc8c68hnq0k53-glib-schemas.drv


/gnu/store/q29wgxwlsp8qxh95sr5pg9l6x78afjjl-gtk-im-modules.drv

building CA certificate
bundle...

successfully built
/gnu/store/5hknn5y3jn44r26nkpk2isyb3c3mna56-ca-certificate-bundle.drv

building fonts
directory...

successfully built
/gnu/store/8i3bggrbcli2sv2vrw725fr3ysap5hsl-fonts-dir.drv

generating GLib schema
cache...

No schema files found: doing
nothing.

successfully built
/gnu/store/l16m658swa27fgh5q09nc8c68hnq0k53-glib-schemas.drv

creating GTK+ icon theme
cache...

successfully built
/gnu/store/53sjm9xa094dwf38hgsr62b7fnzx1p9v-gtk-icon-themes.drv

building cache files for GTK+ input
methods...

successfully built
/gnu/store/q29wgxwlsp8qxh95sr5pg9l6x78afjjl-gtk-im-modules.drv

building directory of Info
manuals...

successfully built
/gnu/store/dv7d7r3g3mk4rclrra2n0wgvbvpxxkl0-info-dir.drv

building database for manual
pages...

Creating manual page
database...

[  1/  1] building list of man-db
entries...

5 entries processed in 0.0
s

successfully built
/gnu/store/g2ydgb9gskajwc8viplsn5gpnixiqck9-manual-database.drv

building XDG desktop file
cache...

successfully built
/gnu/store/jhq4mf8rsasm2c27m0ym1qjar7iz545s-xdg-desktop-database.drv

building XDG MIME
database...

successfully built
/gnu/store/17n0524cddh0n9fm42qqa5fyhkwkld1r-xdg-mime-database.drv

building
/gnu/store/fs34hybsk4v4zvjpka9kz275ic49n74m-profile.drv...

successfully built
/gnu/store/fs34hybsk4v4zvjpka9kz275ic49n74m-profile.drv

X protocol error: BadMatch (invalid parameter attributes) on protocol
request
2

When compiled with GTK, Emacs cannot recover from X
disconnects.

This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715

For details, see etc/PROBLEMS.
Fatal error 6: Aborted
Backtrace:
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50b1a2]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f20a4]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x50b233]
/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4c12b1]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4c4d05]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4c4d8b]

/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XError+0xf5)[0x7f3a7aa9a475]

/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x434f7)[0x7f3a7aa974f7]

/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(+0x435a5)[0x7f3a7aa975a5]

/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(_XEventsQueued+0x55)[0x7f3a7aa97e45]

/gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6/lib/libX11.so.6(XPending+0x57)[0x7f3a7aa8a0c7]

/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgdk-3.so.0(+0x6a11e)[0x7f3a7b10b11e]

/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_prepare+0x155)[0x7f3a7ac092d5]

/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(+0x4dc53)[0x7f3a7ac09c53]

/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7f3a7ac09de7]

/gnu/store/q8ikhir919bkf4apfhq39fyv9n8hhcim-gtk+-3.24.2/lib/libgtk-3.so.0(gtk_events_pending+0xd)[0x7f3a7b3d215d]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4c1c6b]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f9239]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4f9795]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4cadd6]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4cdd3d]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x4278d8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565f76]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x5679ee]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565f76]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x565ee3]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x59d8f8]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x564f40]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x5652bf]

/gnu/store/g2vjlp82ya80p7gjh5kp058xg2prf925-emacs-26.1/bin/emacs-26.1[0x568f10]

...

I've also just ran into the issue with yet another program, pavucontrol.

brad@kazuki:~/ > pavucontrol --display=:0

(pavucontrol:12807): Gdk-ERROR **: 22:00:39.555: The program 'pavucontrol'
received an X Window System
error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 7769 error_code 8 request_code 2 (core protocol)
minor_code
0)

  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
zsh: trace trap  pavucontrol --display=:0

[-- Attachment #2: Type: text/html, Size: 21589 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: GTK programs segfaulting
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
                   ` (3 preceding siblings ...)
  2019-03-11  3:07 ` Bradley Haggerty
@ 2019-03-11  3:09 ` Bradley Haggerty
  2019-03-14  4:19 ` Bradley Haggerty
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Bradley Haggerty @ 2019-03-11  3:09 UTC (permalink / raw)
  To: 34454

[-- Attachment #1: Type: text/plain, Size: 82 bytes --]

Sorry, forgot to answer which distro I'm on. I am on GuixSD, aka the Guix
system.

[-- Attachment #2: Type: text/html, Size: 111 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: GTK programs segfaulting
  2019-03-11  3:07 ` Bradley Haggerty
@ 2019-03-12 13:11   ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2019-03-12 13:11 UTC (permalink / raw)
  To: Bradley Haggerty; +Cc: 34454

Hi Bradley,

Bradley Haggerty <bradigger@gmail.com> skribis:

> Ludovic Courtès said:
>>Can you reproduce the error with:
>>
>>  guix environment --pure --ad-hoc emacs -- emacs
>
> Yes, it seems I can!
>
> brad@kazuki:~/ > guix environment --pure --ad-hoc emacs -- emacs                                                  

[...]

> X protocol error: BadMatch (invalid parameter attributes) on protocol request 2                                                                                
> When compiled with GTK, Emacs cannot recover from X disconnects.                                                                                               
> This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715                                                                                            
> For details, see etc/PROBLEMS.
> Fatal error 6: Aborted

Weird, that definitely works for me.

Could you then see if this can be reproduced in a VM?  That is, run:

  guix system vm config.scm

where config.scm is your system config, with Emacs added to the
‘packages’ field, like so:

  (operating-system
    ;; …
    (packages (cons emacs %base-packages)))

If the problem doesn’t show up in the VM, it would mean there’s some
corrupt state somewhere on your system.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: GTK programs segfaulting
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
                   ` (4 preceding siblings ...)
  2019-03-11  3:09 ` Bradley Haggerty
@ 2019-03-14  4:19 ` Bradley Haggerty
  2019-03-30  4:22 ` bug#34454: Gtk upstream bug #1280 causes crashes in IceCat and Emacs Mark H Weaver
  2019-03-31  8:52 ` Bradley Haggerty
  7 siblings, 0 replies; 11+ messages in thread
From: Bradley Haggerty @ 2019-03-14  4:19 UTC (permalink / raw)
  To: 34454

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

Ludovic Courtès said:
> Could you then see if this can be reproduced in a VM?  That is, run:
>  guix system vm config.scm
> where config.scm is your system config, with Emacs added

I've started on this process but it's new to me so I'm a bit lost here.
I added emacs to the package list of my existing real config.scm, the one
at /etc/config.scm, then ran the guix system vm command on it. I read up a
bit
on what the command does, and I *think* I've now created a qemu-compatible
image that I now have to boot with qemu and it should be like my exact
system
minus user profile packages. I've never used qemu so I'm a bit intimidated
there,
but I plan to try to figure this out soon.

[-- Attachment #2: Type: text/html, Size: 911 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: Gtk upstream bug #1280 causes crashes in IceCat and Emacs
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
                   ` (5 preceding siblings ...)
  2019-03-14  4:19 ` Bradley Haggerty
@ 2019-03-30  4:22 ` Mark H Weaver
  2019-03-31  8:52 ` Bradley Haggerty
  7 siblings, 0 replies; 11+ messages in thread
From: Mark H Weaver @ 2019-03-30  4:22 UTC (permalink / raw)
  To: 34454; +Cc: Joshua Branson, Bradley Haggerty

I applied my proposed patch to my private branch of Guix, rebuilt my
system and user profiles, rebooted, and verified that things seem to be
working fine.  However, since I'm unable to reproduce the original bug,
I will have to rely on others to check whether this fixes the problem.

      Thanks,
        Mark

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#34454: Gtk upstream bug #1280 causes crashes in IceCat and Emacs
  2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
                   ` (6 preceding siblings ...)
  2019-03-30  4:22 ` bug#34454: Gtk upstream bug #1280 causes crashes in IceCat and Emacs Mark H Weaver
@ 2019-03-31  8:52 ` Bradley Haggerty
  7 siblings, 0 replies; 11+ messages in thread
From: Bradley Haggerty @ 2019-03-31  8:52 UTC (permalink / raw)
  To: 34454; +Cc: 34454-done

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

Thanks so much for taking a look at this. I was getting worried it would
never be solved since just a few of us were affected. I've updated and
everything seems to be in order. No more crashes from icecat, emacs,
pavucontrol, etc.

[-- Attachment #2: Type: text/html, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-03-31  8:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-12 10:16 bug#34454: After an update, icecat now segfaults very quickly after opening Bradley Haggerty
2019-02-12 10:31 ` bug#34454: (no subject) Bradley Haggerty
2019-02-15 18:28 ` bug#34454: Icecat crashes after several seconds Bradley Haggerty
2019-03-09 23:37 ` bug#34454: GTK programs segfaulting Bradley Haggerty
2019-03-10 17:45   ` Ludovic Courtès
2019-03-11  3:07 ` Bradley Haggerty
2019-03-12 13:11   ` Ludovic Courtès
2019-03-11  3:09 ` Bradley Haggerty
2019-03-14  4:19 ` Bradley Haggerty
2019-03-30  4:22 ` bug#34454: Gtk upstream bug #1280 causes crashes in IceCat and Emacs Mark H Weaver
2019-03-31  8:52 ` Bradley Haggerty

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).