Re: [dev] [dwm] segfault with xrandr dual-head setup

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Fri, 4 Mar 2011 07:47:25 +0000

On Thu, Mar 03, 2011 at 09:18:10PM +0100, Pascal Wittmann wrote:
> On 01/29/2011 11:26 PM, Rob wrote:
> >> gdb gives me this output:
> >>
> >> Program terminated with signal 11, Segmentation fault.
> >> #0 0x0804b157 in arrangemon (m=0x9280688) at dwm.c:382
> >> 382 strncpy(m->ltsymbol, m->lt[m->sellt]->symbol, sizeof m->ltsymbol);
> >>
> >
> > Can you give details of the variables? (print m->lt)
> > Continue this off-list if you want.
> >
> >
>
> Today I had some time to dig in the problem. With the unpatched dwm
> version everything works, but I've the flextile-patch applied.
>
> In this patch are some initialisations (in the function createmon())
> missing. I've fixed the issue and attached a corrected version of the patch.
>
> @joten: If you agree with the patch, I would update the one on suckless.org.

I suggest just push the patch. Looks like a valid bugfix!

Cheers,
        Anselm
Received on Fri Mar 04 2011 - 08:47:25 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 04 2011 - 08:48:03 CET