On Sun, Aug 04, 2019 at 04:25:03PM +0200, Klemens Nanni wrote: > On Sun, Aug 04, 2019 at 12:40:50PM +0200, Matthieu Herrb wrote: > > Did you try with the updates to libX11 and libXft that I sent to tech@ > > a few weeks ago ? There is one change in libXft which may be relevant. > No, missed them. Just fetched your updates from current CVS, rebuilt > libX11 and libXft, but with no avail. > > Same reproducer, same bug. New backtrace below and full one attached > (for real this time, sorry). >
Ok. Thanks. The 0xdfdfdf clearly shows that it's accessing a DISPLAY* that has been free'd But I can't tell if the bug is inside cwm, or if it's libX11/libXft that gets confused. I don't tink that cwm is playing games with multiple displays (Xinerama) when you add more xrandr screens, so normally it should have only one DISPLAY. But I may be wrong. > > [New process 238882] > Core was generated by `cwm'. > Program terminated with signal SIGBUS, Bus error. > #0 0x00000261a2f9101d in XAddExtension (dpy=0xdfdfdfdfdfdfdfdf) at > /usr/xenocara/lib/libX11/src/InitExt.c:73 > 73 LockDisplay (dpy); > #0 0x00000261a2f9101d in XAddExtension (dpy=0xdfdfdfdfdfdfdfdf) at > /usr/xenocara/lib/libX11/src/InitExt.c:73 > #1 0x0000026265e448f9 in _XftDisplayInfoGet () from > /usr/X11R6/lib/libXft.so.11.0 > #2 0x0000026265e46a49 in XftDrawSrcPicture () from > /usr/X11R6/lib/libXft.so.11.0 > #3 0x0000026265e470cb in XftDrawGlyphs () from /usr/X11R6/lib/libXft.so.11.0 > #4 0x0000026265e479dc in XftDrawStringUtf8 () from > /usr/X11R6/lib/libXft.so.11.0 > #5 0x0000025f92282fdd in menu_draw (mc=0x7f7ffffdd570, menuq=0x7f7ffffdd948, > resultq=0x7f7ffffdd560) at /x/app/cwm/menu.c:399 > #6 0x0000025f9228212f in menu_filter (sc=0x26197db1000, > menuq=0x7f7ffffdd948, prompt=0x25f9227849f "window", initial=0x0, flags=0, > match=0x25f92283f00 <search_match_client>, print=0x25f92284b20 > <search_print_client>) at /x/app/cwm/menu.c:153 > #7 0x0000025f9228ca16 in kbfunc_menu_client (ctx=0x26197db1000, > cargs=0x261ab1b6280) at /x/app/cwm/kbfunc.c:484 > #8 0x0000025f92288ffa in xev_handle_keypress (ee=0x7f7ffffdda28) at > /x/app/cwm/xevents.c:336 > #9 0x0000025f9228a19d in xev_process () at /x/app/cwm/xevents.c:491 > #10 0x0000025f9227c63f in main (argc=0, argv=0x7f7ffffddbd0) at > /x/app/cwm/calmwm.c:114 -- Matthieu Herrb
