[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Infinite looping inside e_actions.c

B S Srinidhi wrote:
> Hi,
> Found a problem with E this morning. It bit me many times, because this
> problem is triggered when I press CTRL+Shift+{Left,Right} keys. I use
> those key (extensively) in konsole to move shells to the left / right. 
> (gdb) bt
> #0  0x080ca34e in _e_actions_act_screen_send_by_go (obj=0x8150570, params=0x8166960 "1") at e_actions.c:969

> There's a while loop over there which, I guess, is causing the problem.
> 	while (scr >= zone->num) scr -= zone->num;

while (scr >= zone->num && zone->num > 0) seems safer