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

From: Pascal Wittmann <PascalWittmann_AT_gmx.net>
Date: Thu, 03 Mar 2011 21:18:10 +0100

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.

@Rob: thanks for your support.

Received on Thu Mar 03 2011 - 21:18:10 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 03 2011 - 21:24:03 CET