bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34454: GTK programs segfaulting


From: Bradley Haggerty
Subject: bug#34454: GTK programs segfaulting
Date: Mon, 11 Mar 2019 03:07:24 +0000

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

Yes, it seems I can!

address@hidden:~/ > 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.

address@hidden:~/ > 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]