On Wed, Mar 19, 2008 at 09:14:58PM +0100, Markus Hennecke wrote:
[...]
>> I'm running mcabber on amd64, in screen (problem happens without screen, 
>> too) in rxvt
>> on OpenBSD 4.3-beta (GENERIC) #1346: Thu Feb 21 15:40:59 MST 2008 machine.
>>
>> Can you reproduce this?
>
> Unfortunately I can't resize the xterms here that fast. But I think the 
> last patch was not right. Could you retry these two patch files and report 
> back?

The patch still applies and mcabber works fine.
Resizing does work quite well now (even if I resize it very fast).

I guess I found the source of the segfault (at least I believe it was
the reason why it crashed before) and it's reproducable here.

I have my roster on the left side (width = 24), and if I resize
my terminal from right to left, until the right border of the window
passes over the line between the roster and the message window, mcabber
crashes.

Backtrace:
(gdb) bt
#0  0x00000000412ded32 in wnoutrefresh (win=0x4de37380) at 
/usr/src/lib/libcurses/base/lib_refresh.c:153
#1  0x000000004909fdbb in update_panels () at 
/usr/src/lib/libpanel/p_update.c:59
#2  0x000000000042147a in scr_DrawRoster () at screen.c:1904
#3  0x0000000000406fff in main (argc=1, argv=0x7f7ffffeacf8) at main.c:506

Can you reproduce that?
-- 
simon

Reply via email to