all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GTK applications crash on start
@ 2018-03-01  3:37 Alex ter Weele
  2018-03-02 13:56 ` Ludovic Courtès
  2018-03-02 22:39 ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Alex ter Weele @ 2018-03-01  3:37 UTC (permalink / raw)
  To: help-guix

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

Hello,

On a recently guix-pulled system I observe an immediate crash when
starting emacs:

    $ emacs -Q

    (process:20087): Gtk-WARNING **: Locale not supported by C library.
            Using the fallback 'C' locale.
    Fatal error 4: Illegal instruction
    Backtrace:
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x504ac2]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x4ec4f9]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503a5e]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503c63]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503d09]
    /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0(+0x12000)[0x7f8ac12f7000]
    /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2(+0x1ca1c)[0x7f8ac8606a1c]
    Illegal instruction

With the help of OriansJ, I found that
1va3rsg2rjy75gmvfa5xkv2dw970ygaw-emacs-25.3.drv is the .drv that
produces bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3; see attached.

I have a working build of emacs in a previous profile generation --
83rlg4n4slccqrgicpxgr38hgvxga5sh-emacs-25.3. It is produced by
s4wyzhizmn858hvn3zmahmqi7ckphdgi-emacs-25.3.drv, also attached.

I used gdb on the failing emacs:

    (gdb) bt
    #0  0x00007ffff7df4a1c in ?? () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2
    #1  0x00007fffefecbfbb in dlopen_doit () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
    #2  0x00007ffff01f7901 in _dl_catch_error () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6
    #3  0x00007fffefecc599 in _dlerror_run () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
    #4  0x00007fffefecc021 in dlopen@@GLIBC_2.2.5 () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
    #5  0x00007fffec693e73 in g_module_open () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgmodule-2.0.so.0
    #6  0x00007ffff6a18339 in _gtk_module_has_mixed_deps () from /gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/lib/libgtk-3.so.0
    #7  0x00007ffff69f0b32 in pre_parse_hook () from /gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/lib/libgtk-3.so.0
    #8  0x00007ffff4e6ef87 in g_option_context_parse () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
    #9  0x00007ffff69f125a in gtk_parse_args () from /gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/lib/libgtk-3.so.0
    #10 0x00007ffff69f12fa in gtk_init_check () from /gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/lib/libgtk-3.so.0
    #11 0x00007ffff69f1359 in gtk_init () from /gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/lib/libgtk-3.so.0
    #12 0x00000000004cba84 in x_term_init ()
    #13 0x00000000004cdc57 in Fx_open_connection ()
    #14 0x000000000055d402 in Ffuncall ()
    #15 0x00000000005907d3 in exec_byte_code ()
    #16 0x000000000055d23b in Ffuncall ()
    #17 0x000000000055e6dc in Fapply ()
    #18 0x000000000055d329 in Ffuncall ()
    #19 0x00000000005907d3 in exec_byte_code ()
    #20 0x000000000055d23b in Ffuncall ()
    #21 0x00000000005907d3 in exec_byte_code ()
    #22 0x000000000055d23b in Ffuncall ()
    #23 0x00000000005907d3 in exec_byte_code ()
    #24 0x000000000055c358 in apply_lambda ()
    #25 0x000000000055c67f in eval_sub ()
    #26 0x000000000055fbe1 in Feval ()
    #27 0x000000000055bc32 in internal_condition_case ()
    #28 0x00000000004eef6c in top_level_1 ()
    #29 0x000000000055bbd3 in internal_catch ()
    #30 0x00000000004ec8f8 in command_loop ()
    #31 0x00000000004f0e47 in recursive_edit_1 ()
    #32 0x00000000004f1188 in Frecursive_edit ()
    #33 0x000000000041abd1 in main ()

This indicates a problem in something GTK related. This is corroborated
by terminal Emacs working:

    $ emacs -nw -Q --eval "(kill-emacs)"
    $ echo $?
    0

And by other GTK apps crashing. Here's dino:

    (gdb) run
    Starting program: /gnu/store/d5104zb5s96mjcyycl2v68cnj6wmfl2j-dino-0.0-3.f25fadde2/bin/.dino-real 
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libthread_db.so.1".

    (process:10641): Gtk-WARNING **: Locale not supported by C library.
            Using the fallback 'C' locale.

    Program received signal SIGILL, Illegal instruction.
    0x00007ffff7df4a1c in ?? () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2
    (gdb) bt 
    #0  0x00007ffff7df4a1c in ?? () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2
    #1  0x00007ffff3c03fbb in dlopen_doit () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
    #2  0x00007ffff426a901 in _dl_catch_error () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6
    #3  0x00007ffff3c04599 in _dlerror_run () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
    #4  0x00007ffff3c04021 in dlopen@@GLIBC_2.2.5 () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
    #5  0x00007ffff775ee73 in g_module_open () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgmodule-2.0.so.0
    #6  0x00007ffff6309339 in _gtk_module_has_mixed_deps () from /gnu/store/wsdqwpm22l8dgqqibzbgx5zn4bnkz0ci-gtk+-3.22.26/lib/libgtk-3.so.0
    #7  0x00007ffff62e1b32 in pre_parse_hook () from /gnu/store/wsdqwpm22l8dgqqibzbgx5zn4bnkz0ci-gtk+-3.22.26/lib/libgtk-3.so.0
    #8  0x00007ffff475ff87 in g_option_context_parse () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libglib-2.0.so.0
    #9  0x00007ffff62e225a in gtk_parse_args () from /gnu/store/wsdqwpm22l8dgqqibzbgx5zn4bnkz0ci-gtk+-3.22.26/lib/libgtk-3.so.0
    #10 0x00007ffff62e22fa in gtk_init_check () from /gnu/store/wsdqwpm22l8dgqqibzbgx5zn4bnkz0ci-gtk+-3.22.26/lib/libgtk-3.so.0
    #11 0x00007ffff62e2359 in gtk_init () from /gnu/store/wsdqwpm22l8dgqqibzbgx5zn4bnkz0ci-gtk+-3.22.26/lib/libgtk-3.so.0
    #12 0x000000000041caa2 in dino_main ()
    #13 0x000000000041c900 in main ()

Where can I go from here to debug this?


[-- Attachment #2: 1va3rsg2rjy75gmvfa5xkv2dw970ygaw-emacs-25.3.drv --]
[-- Type: text/plain, Size: 3162 bytes --]

Derive([("out","/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3","","")],[("/gnu/store/0iy0bmkv4b9xl74av672c627ha3kldk2-gdk-pixbuf+svg-2.36.11.drv",["out"]),("/gnu/store/0nb7a2rhjix08knny6nqaqm01w3gzrq9-gdk-pixbuf+svg-2.36.11.drv",["out"]),("/gnu/store/165hznm0497kw7kc72d1dvr0macwgg46-pango-1.40.14.drv",["out"]),("/gnu/store/1lgf4gvpqx0f0a74hj2vczl94q2jagsn-module-import.drv",["out"]),("/gnu/store/1ramrgjamfhjl3f0yhlcdbmgx8l4hb7l-libxft-2.3.2.drv",["out"]),("/gnu/store/3m73lj0hi3b3s2l45byhh4h11m8v8g2k-librsvg-2.40.20.drv",["out"]),("/gnu/store/5skv088wdlqwcyvvl8ccg3cgzyn5wpiv-cairo-1.14.10.drv",["out"]),("/gnu/store/69qqv71rm2nmck45p5qhavg01sqby5qp-libxft-2.3.2.drv",["out"]),("/gnu/store/apqh08phl8222xhzhcsvl52l9cbhh8qm-gtk+-3.22.26.drv",["out"]),("/gnu/store/b2f2jc646np4q7sql5xxwyd1jrrgs241-fontconfig-2.12.6.drv",["out"]),("/gnu/store/frmxbw4p4sh7jg6wcpcc3bbcdqp19iz2-libotf-0.9.13.drv",["out"]),("/gnu/store/gwzx7d2m2xkx07lkf4p0ym9s5fixwh1v-librsvg-2.40.20.drv",["out"]),("/gnu/store/gyj904i5brqqqm6myh0xpgiznjkzzdri-imagemagick-6.9.9-35.drv",["out"]),("/gnu/store/gykb1fs9fgfnyhxa60d31hra3ylfa8w7-libtiff-4.0.9.drv",["out"]),("/gnu/store/ij7f175h1x8q62fw2yv0lf16aq355658-libtiff-4.0.9.drv",["out"]),("/gnu/store/j73zaqk9gqdvjmk56pv3hri51zyp94bj-cairo-1.14.10.drv",["out"]),("/gnu/store/j7x6fdx4l1s25dm5cccas8yqzjjq97b4-module-import-compiled.drv",["out"]),("/gnu/store/jlmvrsmcbb0q5dcbw1fv30fhknkjjw7y-guile-2.0.14.drv",["out"]),("/gnu/store/mkyrk466ar2kmqr4xlm7pcxpzdhjr10z-pango-1.40.14.drv",["out"]),("/gnu/store/nkcspaiaxrcp221ckd1vwav46bq045dk-gnutls-3.5.13.drv",["out"]),("/gnu/store/nzbjbnd0b2s4wfax6gya5x1a3lrp30ab-freetype-2.8.1.drv",["out"]),("/gnu/store/p02agywf4n0cdzd379phairr3qr2152v-fontconfig-2.12.6.drv",["out"]),("/gnu/store/q3bwlwwc49m5zbr7a5cv22qxb9qd85pl-gtk+-3.22.26.drv",["out"]),("/gnu/store/qb1byzg8m90xcplj2d3kp5ajkd3vbp72-libtasn1-4.12.drv",["out"]),("/gnu/store/qhiabw873x71xxr9dafl2n8gk4kpxjgb-m17n-lib-1.7.0.drv",["out"]),("/gnu/store/s25da1scn792jdm4c2hsd90zzr92803y-emacs-25.3.drv",["out"]),("/gnu/store/svklrskf1786k4qg66p8f9f017y0jvss-gdk-pixbuf-2.36.11.drv",["out"]),("/gnu/store/vn6krhyc8zy0ygcac1r081znh8qi9d1z-gnutls-3.5.13.drv",["out"]),("/gnu/store/w3hw1kwhvh1r85w91hyxhnnbsnmzrq7d-freetype-2.8.1.drv",["out"]),("/gnu/store/wbjbycvqn6j2d1j6x671l9gmvyxzq459-imagemagick-6.9.9-35.drv",["out"]),("/gnu/store/wgcysah900nm64b5xywdcnrx5bq6wqfv-gdk-pixbuf-2.36.11.drv",["out"]),("/gnu/store/wxvifrqdl0vkm3nww92749kv6i26nn4i-m17n-lib-1.7.0.drv",["out"]),("/gnu/store/xqcvzz2a3rx55ldw2d6m0hsdhckz0nyk-libtasn1-4.12.drv",["out"]),("/gnu/store/xr102g3m3qrxvl4gys1rnbfwk3z94awz-libotf-0.9.13.drv",["out"])],["/gnu/store/9ydr953b8amw0zv85j3f35xnpk4ycsps-emacs-25.3-guile-builder"],"x86_64-linux","/gnu/store/qx36n6wlgzx3v0021cm0qa2acwnhxdam-guile-2.0.14/bin/guile",["--no-auto-compile","-L","/gnu/store/vll62dyn4hqffmrhbrnsksx05xq6gq3d-module-import","/gnu/store/9ydr953b8amw0zv85j3f35xnpk4ycsps-emacs-25.3-guile-builder"],[("GUILE_LOAD_COMPILED_PATH","/gnu/store/3d6byi320dr7k2y3y6i46j5bjyd8x59m-module-import-compiled"),("out","/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3"),("preferLocalBuild","1")])

[-- Attachment #3: Type: text/plain, Size: 7586 bytes --]

Derive([("out","/gnu/store/83rlg4n4slccqrgicpxgr38hgvxga5sh-emacs-25.3","","")],[("/gnu/store/03pwc4rckk37lhf7sqn795v5nyxs5m4f-libxpm-3.5.12.drv",["out"]),("/gnu/store/0ccbm3rxiic74myh94zq3jwy15f7x45z-nettle-3.3.drv",["out"]),("/gnu/store/0jq34pwkdwqnx4n93pp5phkbsl812phi-zlib-1.2.11.drv",["out"]),("/gnu/store/19asybikgrrdaf6zaa13kac14fz7fpb2-libxfixes-5.0.3.drv",["out"]),("/gnu/store/1n2ahzw2y4mg969fngr0qg1rdia4rqpr-libxft-2.3.2.drv",["out"]),("/gnu/store/2kqacfpln0gr0iyija40bd2815d1x9c4-glib-2.52.3.drv",["out"]),("/gnu/store/2q6nmr8i2ry2gsn58ss0dqrjva3zsvfr-m17n-lib-1.7.0.drv",["out"]),("/gnu/store/3yxannkn899mda6fnlmlc88ayy6gwmqg-graphite2-1.3.10.drv",["out"]),("/gnu/store/4pl0dhn7lzxf6q941kachlfnx1m53mv8-libtiff-4.0.8.drv",["out"]),("/gnu/store/4wf95z56nv3ismfsdkccr3gv14vi7r2a-libxinerama-1.1.3.drv",["out"]),("/gnu/store/4whc98p9c71g2zb4qsswngdx80j79i2p-giflib-5.1.4.drv",["out"]),("/gnu/store/51iay3g9mipi71wj2772xqhq0kmfz49q-giflib-5.1.4.drv",["out"]),("/gnu/store/5r4qb0fnf828b5svzv87bbicgz99jyml-icu4c-58.2.drv",["out"]),("/gnu/store/6hld4cs5j9rk4hgp4y72mlcgymi2k5jx-expat-2.2.4.drv",["out"]),("/gnu/store/6p1vi73g66fydbfx12smrfinw7k8b0iy-gcc-5.4.0.drv",["lib"]),("/gnu/store/76kdp82k42bbk3074yrrjha6n2qqdwyw-ncurses-6.0.drv",["out"]),("/gnu/store/7k8r43kg94chzva0qji8arc4lp1lbk22-freetype-2.8.drv",["out"]),("/gnu/store/84f4ml7h0bzvqmbr784hfzbvsanp4qkz-wayland-1.13.0.drv",["out"]),("/gnu/store/84pm25wf9w2qf0hwsgyb81v5mmd7sqxa-dbus-1.10.22.drv",["out"]),("/gnu/store/8b97n8in1ynywb5ijcmdxfkpisiv5av9-libxml2-2.9.4.drv",["out"]),("/gnu/store/8rf6a5rm5q4m763gf655ryn5vnymvm1x-module-import-compiled.drv",["out"]),("/gnu/store/94di6q9hgki67fvr9hi9335wxggispf6-libjpeg-8d.drv",["out"]),("/gnu/store/9yql2zxicnipmgzs4gsbpzisb6gkln9n-libxrender-0.9.10.drv",["out"]),("/gnu/store/am2n10ygbxsxpgxf352yilsgaf0wnh8x-module-import.drv",["out"]),("/gnu/store/an3l3fx1ihp6rvdlmyph95n52pcsld7q-graphite2-1.3.10.drv",["out"]),("/gnu/store/av982vczc4a1aiz7sb3hgfsivdwi06av-libxft-2.3.2.drv",["out"]),("/gnu/store/avd2v7g4d1xn4s04729vpwy7z2bkddvx-alsa-lib-1.1.4.1.drv",["out"]),("/gnu/store/bjf6s6jxpld955zhksyfkdznwjhajzmr-dbus-1.10.22.drv",["out"]),("/gnu/store/bm2qz3cvvcavzxymbwclq2rf72bjilyd-bash-minimal-4.4.12.drv",["out"]),("/gnu/store/c7hr9krcilmk77giddb3xmxcbds0n6zw-gdk-pixbuf-2.36.10.drv",["out"]),("/gnu/store/cgdhkvkrb49kxg0mf0jlj617fnm3d4l9-libxinerama-1.1.3.drv",["out"]),("/gnu/store/cl2nv6ifqc0dv3vw9if3q21a21pdc2h8-icu4c-58.2.drv",["out"]),("/gnu/store/cvkx97d594j8bysyirs0l4v3ii4xx5sy-libpng-1.6.29.drv",["out"]),("/gnu/store/dbcx3cwvwppslspxwwnvh0vb3jcyqqq7-cairo-1.14.10.drv",["out"]),("/gnu/store/dihhxlnq76fccr2252vrjcar2kxs4w32-gcc-5.4.0.drv",["lib"]),("/gnu/store/djdl6gq6d73m7h1di09jhz8gp9fz5pyf-fontconfig-2.12.3.drv",["out"]),("/gnu/store/dschrim69ibg0l8pkhmm48pxpg864gqz-graphviz-2.40.1.drv",["out"]),("/gnu/store/fh3ifgpsy35n7rq50vv29fbi1zs5vvs6-libidn2-2.0.4.drv",["out"]),("/gnu/store/fh5z4wkixjm6f052fbaackng915c4ix3-pango-1.40.12.drv",["out"]),("/gnu/store/fkf3014cgvr733yz90q97cc2g3xmjq90-gtk+-3.22.21.drv",["out"]),("/gnu/store/fkvd9djlm3jazbsabpc14gnwdyjx46xd-m17n-lib-1.7.0.drv",["out"]),("/gnu/store/fqg3ghmrbb4060z4qis44cask8vq89gr-librsvg-2.40.18.drv",["out"]),("/gnu/store/fw6mwfvph0hz2nlqd58dbc8hgssv49b1-emacs-25.3.drv",["out"]),("/gnu/store/g162wzr0zfrb7d89h0sniq77znkas74s-glibc-2.25.drv",["out"]),("/gnu/store/gq0nsxwgfzyf3hx956sbzk25wlx0lmai-gnutls-3.5.13.drv",["out"]),("/gnu/store/h1ldrvqx51agllivskyb65b659cjkq4s-graphviz-2.40.1.drv",["out"]),("/gnu/store/hbpfa2icbg9z7bmcqqi88q30phf5ilm8-libjpeg-8d.drv",["out"]),("/gnu/store/hir167yz6npifvm3paaas2jiq9plf5b0-libxrender-0.9.10.drv",["out"]),("/gnu/store/hrk70qn5iqdp9hipvcq043v5hg5b6l25-libxpm-3.5.12.drv",["out"]),("/gnu/store/ik38309a8f46690bqd8gjvyaqab87hq7-fontconfig-2.12.3.drv",["out"]),("/gnu/store/isihdw6aw4vwpq8s8xvahk9r3ji7nz2y-gtk+-3.22.21.drv",["out"]),("/gnu/store/iyc5yxvnpq9va9qxhc65i8i9a82g41rq-imagemagick-6.9.9-34.drv",["out"]),("/gnu/store/j1lch4ck3yakafi92q95gn5dbkazxqsv-freetype-2.8.drv",["out"]),("/gnu/store/j7q5vx95gp8y1ajb9cs1qyisp066h7p7-libsm-1.2.2.drv",["out"]),("/gnu/store/jimas0hzshg6kbvyxzg2davj43827ikz-atk-2.24.0.drv",["out"]),("/gnu/store/jsxqq8lh2n6mw7z4p55lk1xjap2a11gx-libxfixes-5.0.3.drv",["out"]),("/gnu/store/jy07cskai9l5bb5qiv4s9n9shm7cl8pr-libpng-1.6.29.drv",["out"]),("/gnu/store/ki9411ic37k41a2ql9m128vw3fl5hi27-libotf-0.9.13.drv",["out"]),("/gnu/store/kmqr42268njp5lbinjrxlklsdq3ak5cl-libidn2-2.0.2.drv",["out"]),("/gnu/store/kr5cnngavrc4nrh0k1cyw9xj1hncxmqy-glib-2.52.3.drv",["out"]),("/gnu/store/l3lighp49dmw8rc3kckwflpqsvq3wxix-libtiff-4.0.8.drv",["out"]),("/gnu/store/lfcwvmnbmrav062d9p1pc5hx4pf9kpsv-libice-1.0.9.drv",["out"]),("/gnu/store/lkbnlba9yjrk3whlhb4lkv2agh1xcr48-librsvg-2.40.18.drv",["out"]),("/gnu/store/lkd1i40aaadapx35mda8blyd6svj037k-gnutls-3.5.13.drv",["out"]),("/gnu/store/n8720z4b9zxcjgz5i71zlvkc1g5rpin0-wayland-1.13.0.drv",["out"]),("/gnu/store/n8cplqk6mkaagvxir2a8hai94w1923ky-libxcb-1.12.drv",["out"]),("/gnu/store/pavmdwyzv8b9hxhfdbyl6zgqlikkhnsn-ncurses-6.0.drv",["out"]),("/gnu/store/pc8sxzlb62wyrhmk1amfwys5bd28xis3-shared-mime-info-1.8.drv",["out"]),("/gnu/store/pvl7hf151h2anpa7nvs9nv17jqwl9f3a-libx11-1.6.5.drv",["out"]),("/gnu/store/qfns6akvfbn31x2ygp67s8zmcfq0ib35-gdk-pixbuf-2.36.10.drv",["out"]),("/gnu/store/qjl5jli6dhv6hcwyzba5vghrbksp2jxz-glibc-2.25.drv",["out"]),("/gnu/store/rcxwybm1wg2dpmqq4w90cw1d7aray296-libice-1.0.9.drv",["out"]),("/gnu/store/rkph2gfwdw76j2fkbm2d8r4d3r2wn2zy-guile-2.0.14.drv",["out"]),("/gnu/store/s9x57vbsrb2dndpaigajjkgsjc2llvap-bash-minimal-4.4.12.drv",["out"]),("/gnu/store/sc3ipvx8h898mf1d9g6x0yzcxqfb0cpk-gdk-pixbuf+svg-2.36.10.drv",["out"]),("/gnu/store/sx2abbsxgpf6wyyn7h7dm0q9q8g08nqc-libxml2-2.9.4.drv",["out"]),("/gnu/store/v39f5akywb1dvar31mpjzyklpxvrjms4-libtasn1-4.12.drv",["out"]),("/gnu/store/v7ilcs8css2iz73w5283yw4syflqybd9-zlib-1.2.11.drv",["out"]),("/gnu/store/vfjwkvnsmjq0mybmmn2nqi6p15mnqgc2-nettle-3.3.drv",["out"]),("/gnu/store/vkiqzm0z9gbyv78npyzad1hgd2kis31d-pango-1.40.12.drv",["out"]),("/gnu/store/w2skfjpvg7qv3i6pg0hyfbbl9hg5y7pn-libsm-1.2.2.drv",["out"]),("/gnu/store/wqrlmgsbaradzpgmdbcix2nhgk521ff3-acl-2.2.52.drv",["out"]),("/gnu/store/ws76f6fyf2cfcigc32hc4w32b3s7s9hg-shared-mime-info-1.8.drv",["out"]),("/gnu/store/x5ixsajsfis778kx6v5cnf40cmhy3kzs-libx11-1.6.5.drv",["out"]),("/gnu/store/xg5qmws9mra0pfl9mbpy968ssj9h7dpz-libotf-0.9.13.drv",["out"]),("/gnu/store/xk84bx1pvkwknrvjlcs9vg2das45499v-alsa-lib-1.1.4.1.drv",["out"]),("/gnu/store/xmb2wwrlgccka2l8bgsgh9h9nvcdwazg-cairo-1.14.10.drv",["out"]),("/gnu/store/xn1nfwbs9hlw81flxqhxaz1lkd8qqihb-imagemagick-6.9.9-34.drv",["out"]),("/gnu/store/xqr7x59rav9nn6mdicznx2gvpdsp1kim-libxcb-1.12.drv",["out"]),("/gnu/store/z44awlhw8vsynvd5sxykmbgq1j40l3fr-acl-2.2.52.drv",["out"]),("/gnu/store/z8g9kyh6kbxh12s94hp2mpmsxbk1pvgd-gdk-pixbuf+svg-2.36.10.drv",["out"]),("/gnu/store/z8w4h96cbmbjh1fqc44x09w6jqch19y1-expat-2.2.1.drv",["out"]),("/gnu/store/zlx5wjgih1hppn0q3d9w4n6s1aamk266-libtasn1-4.12.drv",["out"]),("/gnu/store/zpk3dyr7dy60smxpisqh9xbx5nr82ys0-atk-2.24.0.drv",["out"])],["/gnu/store/mh7qqmm00ymqb98xf8l265xbsnsnysv8-emacs-25.3-guile-builder"],"x86_64-linux","/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/bin/guile",["--no-auto-compile","-L","/gnu/store/z7qh33vh62r1rwi3iwlyv69cj9yp81j4-module-import","/gnu/store/mh7qqmm00ymqb98xf8l265xbsnsnysv8-emacs-25.3-guile-builder"],[("GUILE_LOAD_COMPILED_PATH","/gnu/store/ppqa09snri83nmxjbh043lz134bcl576-module-import-compiled"),("out","/gnu/store/83rlg4n4slccqrgicpxgr38hgvxga5sh-emacs-25.3"),("preferLocalBuild","1")])

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

* Re: GTK applications crash on start
  2018-03-01  3:37 GTK applications crash on start Alex ter Weele
@ 2018-03-02 13:56 ` Ludovic Courtès
  2018-03-02 14:05   ` Alex ter Weele
  2018-03-02 22:39 ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-03-02 13:56 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: help-guix

Hi Alex,

Alex ter Weele <alex.ter.weele@gmail.com> skribis:

> I used gdb on the failing emacs:
>
>     (gdb) bt
>     #0  0x00007ffff7df4a1c in ?? () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2
>     #1  0x00007fffefecbfbb in dlopen_doit () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #2  0x00007ffff01f7901 in _dl_catch_error () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>     #3  0x00007fffefecc599 in _dlerror_run () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #4  0x00007fffefecc021 in dlopen@@GLIBC_2.2.5 () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #5  0x00007fffec693e73 in g_module_open () from /gnu/store/sm37m59gq3smxxz8gs4jikn50qg0g7xh-glib-2.54.2/lib/libgmodule-2.0.so.0
>     #6  0x00007ffff6a18339 in _gtk_module_has_mixed_deps () from /gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/lib/libgtk-3.so.0

Could you run the faulty Emacs with:

  LD_DEBUG=files emacs

to see what file it tries and fails to dlopen?

Or otherwise with:

  strace emacs

TIA!

Ludo’.

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

* Re: GTK applications crash on start
  2018-03-02 13:56 ` Ludovic Courtès
@ 2018-03-02 14:05   ` Alex ter Weele
  2018-03-02 16:05     ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Alex ter Weele @ 2018-03-02 14:05 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

The bottom of the output of LD_DEBUG=files emacs follows:

     13244:     initialize program: /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3
     13244:
     13244:
     13244:     transferring control: /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3
     13244:
     13244:     opening file=/gnu/store/xfjba1kww8ngdc6nxldd8ly93nh13ayy-gcc-5.5.0-lib/lib/libgcc_s.so.1 [0]; direct_opencount=1
     13244:
     13244:
     13244:     file=libnss_compat.so.2 [0];  dynamically loaded by /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6 [0]
     13244:
     13244:     file=libnss_files.so.2 [0];  dynamically loaded by /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6 [0]
     13244:     file=libnss_files.so.2 [0];  generating link map
     13244:       dynamic: 0x00007fabc0f6ade0  base: 0x00007fabc0d60000   size: 0x0000000000211738
     13244:         entry: 0x00007fabc0d622d0  phdr: 0x00007fabc0d60040  phnum:                  7
     13244:
     13244:
     13244:     calling init: /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libnss_files.so.2
     13244:
     13244:     opening file=/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libnss_files.so.2 [0]; direct_opencount=1
     13244:

(process:13244): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Fatal error 4: Illegal instruction
Backtrace:
/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x504ac2]
/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x4ec4f9]
/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503a5e]
/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503c63]
/gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503d09]
/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0(+0x12000)[0x7fabc8629000]
/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2(+0x1ca1c)[0x7fabcf938a1c]
Illegal instruction

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

* Re: GTK applications crash on start
  2018-03-02 14:05   ` Alex ter Weele
@ 2018-03-02 16:05     ` Ludovic Courtès
  2018-03-02 19:42       ` Alex ter Weele
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-03-02 16:05 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: help-guix

Alex ter Weele <alex.ter.weele@gmail.com> skribis:

> The bottom of the output of LD_DEBUG=files emacs follows:
>
>      13244:     initialize program: /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3
>      13244:
>      13244:
>      13244:     transferring control: /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3
>      13244:
>      13244:     opening file=/gnu/store/xfjba1kww8ngdc6nxldd8ly93nh13ayy-gcc-5.5.0-lib/lib/libgcc_s.so.1 [0]; direct_opencount=1
>      13244:
>      13244:
>      13244:     file=libnss_compat.so.2 [0];  dynamically loaded by /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6 [0]
>      13244:
>      13244:     file=libnss_files.so.2 [0];  dynamically loaded by /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6 [0]
>      13244:     file=libnss_files.so.2 [0];  generating link map
>      13244:       dynamic: 0x00007fabc0f6ade0  base: 0x00007fabc0d60000   size: 0x0000000000211738
>      13244:         entry: 0x00007fabc0d622d0  phdr: 0x00007fabc0d60040  phnum:                  7
>      13244:
>      13244:
>      13244:     calling init: /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libnss_files.so.2
>      13244:
>      13244:     opening file=/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libnss_files.so.2 [0]; direct_opencount=1
>      13244:

Looks like nscd is not running.  Can you see if it makes a difference
when you start it?

See
<https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#Name-Service-Switch-1>.

Ludo’.

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

* Re: GTK applications crash on start
  2018-03-02 16:05     ` Ludovic Courtès
@ 2018-03-02 19:42       ` Alex ter Weele
  0 siblings, 0 replies; 9+ messages in thread
From: Alex ter Weele @ 2018-03-02 19:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Alex ter Weele, help-guix

It does appear to be running:

    $ sudo herd status nscd
    Status of nscd:
    It is started.
    Running value is 356.
    It is enabled.
    Provides (nscd).
    Requires (user-processes).
    Conflicts with ().
    Will be respawned.
    $ emacs -Q

    (process:15407): Gtk-WARNING **: Locale not supported by C library.
            Using the fallback 'C' locale.
    Fatal error 4: Illegal instruction
    Backtrace:
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x504ac2]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x4ec4f9]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503a5e]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503c63]
    /gnu/store/bk22dmj4x23h71pvpj1ndj5xdsm3mgdj-emacs-25.3/bin/emacs-25.3[0x503d09]
    /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0(+0x12000)[0x7f5fe1a27000]
    /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2(+0x1ca1c)[0x7f5fe8d36a1c]
    Illegal instruction

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

* Re: GTK applications crash on start
  2018-03-01  3:37 GTK applications crash on start Alex ter Weele
  2018-03-02 13:56 ` Ludovic Courtès
@ 2018-03-02 22:39 ` Ludovic Courtès
  2018-03-03 18:32   ` Alex ter Weele
  1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-03-02 22:39 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: help-guix

Alex ter Weele <alex.ter.weele@gmail.com> skribis:

> I used gdb on the failing emacs:
>
>     (gdb) bt
>     #0  0x00007ffff7df4a1c in ?? () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2
>     #1  0x00007fffefecbfbb in dlopen_doit () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #2  0x00007ffff01f7901 in _dl_catch_error () from /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>     #3  0x00007fffefecc599 in _dlerror_run () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #4  0x00007fffefecc021 in dlopen@@GLIBC_2.2.5 () from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2

Wait, we missed an important bit: there are two different libcs here.

What does this say:

  ldd $(dirname $(readlink -f $(type -P emacs)))/.emacs-25.3-real | grep glibc

Is LD_LIBRARY_PATH or LD_PRELOAD set?

Does the beginning of “LD_DEBUG=files emacs” give hints as to why the
second libc gets picked up?

Thanks,
Ludo’.

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

* Re: GTK applications crash on start
  2018-03-02 22:39 ` Ludovic Courtès
@ 2018-03-03 18:32   ` Alex ter Weele
  2018-03-03 18:47     ` Alex ter Weele
  0 siblings, 1 reply; 9+ messages in thread
From: Alex ter Weele @ 2018-03-03 18:32 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Alex ter Weele, help-guix

ludo@gnu.org (Ludovic Courtès) writes:

> What does this say:
>
>   ldd $(dirname $(readlink -f $(type -P emacs)))/.emacs-25.3-real | grep glibc
>

    $ ldd $(dirname $(readlink -f $(type -P emacs)))/.emacs-25.3-real | grep glibc
            libm.so.6 => /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libm.so.6 (0x00007fd969692000)
            librt.so.1 => /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/librt.so.1 (0x00007fd968869000)
            libpthread.so.0 => /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0 (0x00007fd966b80000)
            libc.so.6 => /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6 (0x00007fd96617c000)
            libdl.so.2 => /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2 (0x00007fd965f78000)
            libresolv.so.2 => /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libresolv.so.2 (0x00007fd962529000)
            /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2 (0x00007fd96de85000)

> Is LD_LIBRARY_PATH or LD_PRELOAD set?
>

    $ echo $LD_LIBRARY_PATH

    $ echo $LD_PRELOAD
    /gnu/store/hfz0z0fs14jgl0kzk5hid2msr83lxii1-spectrwm-3.1.0/lib/libswmhack.so.0.0

That's weird, looks like my WM set LD_PRELOAD. I wouldn't have expected
that. And sure enough, with LD_PRELOAD unset:

    $ LD_PRELOAD= emacs -Q --eval "(kill-emacs)"
    ...(GTK warnings omitted)
    $ echo $?
    0

So why and how does spectrwm set LD_PRELOAD? I can't figure this out.

Other than that, I think I know what's going on: my user's compiled
emacs uses a newer glibc than the one injected by LD_PRELOAD:

    $ objdump -p /gnu/store/hfz0z0fs14jgl0kzk5hid2msr83lxii1-spectrwm-3.1.0/lib/libswmhack.so.0.0
    ...
      RUNPATH              /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib:...

    $ objdump -p $(dirname $(readlink -f $(type -P emacs)))/.emacs-25.3-real 
    ...
      RUNPATH              /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib:...

And that's because I've guix-pulled and upgraded my user more recently
than my system.

> Does the beginning of “LD_DEBUG=files emacs” give hints as to why the
> second libc gets picked up?
>

The first paragraph of output looks like this:

     19839:	
     19839:	file=/gnu/store/hfz0z0fs14jgl0kzk5hid2msr83lxii1-spectrwm-3.1.0/lib/libswmhack.so.0.0 [0];  needed by /gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash [0]
     19839:	file=/gnu/store/hfz0z0fs14jgl0kzk5hid2msr83lxii1-spectrwm-3.1.0/lib/libswmhack.so.0.0 [0];  generating link map
     19839:	  dynamic: 0x00007f50b9725dc0  base: 0x00007f50b9524000   size: 0x00000000002020e0
     19839:	    entry: 0x00007f50b9524a90  phdr: 0x00007f50b9524040  phnum:                  6
     19839:	
     19839:	

I think that's just further evidence of the LD_PRELOAD injection.

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

* Re: GTK applications crash on start
  2018-03-03 18:32   ` Alex ter Weele
@ 2018-03-03 18:47     ` Alex ter Weele
  2018-03-05  8:34       ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Alex ter Weele @ 2018-03-03 18:47 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: help-guix

Alex ter Weele <alex.ter.weele@gmail.com> writes:

>
>     $ echo $LD_LIBRARY_PATH
>
>     $ echo $LD_PRELOAD
>     /gnu/store/hfz0z0fs14jgl0kzk5hid2msr83lxii1-spectrwm-3.1.0/lib/libswmhack.so.0.0
>
> That's weird, looks like my WM set LD_PRELOAD. I wouldn't have expected
> that. And sure enough, with LD_PRELOAD unset:
>
>     $ LD_PRELOAD= emacs -Q --eval "(kill-emacs)"
>     ...(GTK warnings omitted)
>     $ echo $?
>     0
>
> So why and how does spectrwm set LD_PRELOAD? I can't figure this out.

OK, I figured it out:
https://github.com/conformal/spectrwm/blob/SPECTRWM_3_1_0/spectrwm.c#L3764. Looks
like it injects libswmhack.so so that it can intercept X events,
e.g. https://github.com/conformal/spectrwm/blob/SPECTRWM_3_1_0/lib/swm_hack.c#L137

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

* Re: GTK applications crash on start
  2018-03-03 18:47     ` Alex ter Weele
@ 2018-03-05  8:34       ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-03-05  8:34 UTC (permalink / raw)
  To: Alex ter Weele; +Cc: help-guix

Alex ter Weele <alex.ter.weele@gmail.com> skribis:

> Alex ter Weele <alex.ter.weele@gmail.com> writes:
>
>>
>>     $ echo $LD_LIBRARY_PATH
>>
>>     $ echo $LD_PRELOAD
>>     /gnu/store/hfz0z0fs14jgl0kzk5hid2msr83lxii1-spectrwm-3.1.0/lib/libswmhack.so.0.0
>>
>> That's weird, looks like my WM set LD_PRELOAD. I wouldn't have expected
>> that. And sure enough, with LD_PRELOAD unset:
>>
>>     $ LD_PRELOAD= emacs -Q --eval "(kill-emacs)"
>>     ...(GTK warnings omitted)
>>     $ echo $?
>>     0

Bingo!

>> So why and how does spectrwm set LD_PRELOAD? I can't figure this out.
>
> OK, I figured it out:
> https://github.com/conformal/spectrwm/blob/SPECTRWM_3_1_0/spectrwm.c#L3764. Looks
> like it injects libswmhack.so so that it can intercept X events,
> e.g. https://github.com/conformal/spectrwm/blob/SPECTRWM_3_1_0/lib/swm_hack.c#L137

Well, the library name says it all.  :-)

Thanks,
Ludo’.

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

end of thread, other threads:[~2018-03-05  8:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01  3:37 GTK applications crash on start Alex ter Weele
2018-03-02 13:56 ` Ludovic Courtès
2018-03-02 14:05   ` Alex ter Weele
2018-03-02 16:05     ` Ludovic Courtès
2018-03-02 19:42       ` Alex ter Weele
2018-03-02 22:39 ` Ludovic Courtès
2018-03-03 18:32   ` Alex ter Weele
2018-03-03 18:47     ` Alex ter Weele
2018-03-05  8:34       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.