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

[E-devel] Infinite looping inside e_actions.c



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. 

Here's the backtrace:

(gdb) bt
#0  0x080ca34e in _e_actions_act_screen_send_by_go (obj=0x8150570, params=0x8166960 "1") at e_actions.c:969
#1  0x080c6c84 in e_bindings_key_down_event_handle (ctxt=E_BINDING_CONTEXT_MANAGER, obj=0x8150570, ev=0x87d9e90)
    at e_bindings.c:430
#2  0x08065f1a in _e_manager_cb_key_down (data=0x8150570, ev_type=10, ev=0x87d9e90) at e_manager.c:572
#3  0xb7e15841 in _ecore_event_call () at ecore_events.c:431
#4  0xb7e1c9b8 in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:639
#5  0xb7e1bbe5 in ecore_main_loop_begin () at ecore_main.c:79
#6  0x08063979 in main (argc=1, argv=0xbff18374) at e_main.c:689
(gdb)

There's a while loop over there which, I guess, is causing the problem.

	while (scr >= zone->num) scr -= zone->num;

I use a single screen, so this event of moving the window to a different
screen (hope I've understood it right) shouldn't do anything to E or the
window.

Srinidhi.
-- 
ASCII ribbon campaign ( )         B S Srinidhi
 - against HTML email  X          http://srinidhi.deeproot.co.in
             & vCards / \         DeepRoot Linux