Re: [dev] [dmenu] 4.9 segfault on input

2019-02-08 Thread Jordan Timmerman
Additional note: if I revert the commit 377bd37..., everything works. So there's no doubt at this point that I mislabeled commits during the bisect: the segfault is introduced with "Handle IME input". On Fri, Feb 8, 2019 at 10:40 PM Jordan Timmerman wrote: > > Did a git bisect to find the bad com

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-08 Thread Jordan Timmerman
Did a git bisect to find the bad commit, and it was in fact the commit Hiltjo identified: 377bd37e212b1ec4c03a481245603c6560d0be22, "Handle IME input". The output of 'locale' on my system is attached in "locale.out". It's all en_US.UTF-8. I've fiddled with the code very slightly to try to figure

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-08 Thread Laslo Hunhold
On Thu, 7 Feb 2019 22:59:24 -0600 Jordan Timmerman wrote: Hey Jordan, > I'm pretty confident at this point that the segfault occurs during the > call to libx11 XmbLookupString. I've attempted downgrading libx11 from > 1.6.7 to 1.6.6 and rebuilding, but this makes no difference. For > whatever re

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-08 Thread Hiltjo Posthuma
On Thu, Feb 07, 2019 at 08:29:14PM -0600, Jordan Timmerman wrote: > First bug report -- also only an amateur at debugging C. Please be patient. :) > > Originally reported to the package maintainer for Arch linux, who > tells me he's fairly certain it's an upstream bug. > > Per the hacking page, I

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-08 Thread Donald Allen
On Thu, 7 Feb 2019 at 23:56, Jordan Timmerman wrote: > > Thanks, Donald. > > My `ldd` output includes all the same libraries as yours, although the > addresses of the libraries of course differ. > > I'm pretty confident at this point that the segfault occurs during the > call to libx11 XmbLookupSt