[fusion-trac] #173: Stack overflow errors in IE related to context menus

Fusion trac_fusion at osgeo.org
Thu Nov 27 09:59:31 EST 2008


#173: Stack overflow errors in IE related to context menus
--------------------------+-------------------------------------------------
 Reporter:  chrisclaydon  |         Owner:  pagameba
     Type:  defect        |        Status:  assigned
 Priority:  P1            |     Milestone:  2.0     
Component:  Core          |       Version:  SVN     
 Severity:  Major         |    Resolution:          
 Keywords:                |   External_id:  1161259 
    State:  Analysing     |       Browser:  IE7     
       Os:  All           |  
--------------------------+-------------------------------------------------
Comment (by pagameba):

 The culprit is the eventInMenu method of menus, it has a recursive check
 to see if an event happened inside the menu before deciding if the mouse
 event should close the menu.  The stack overflow seems to be triggered by
 a deeply nested call stack in IE, and recursion is often at fault.

 I'm figuring out if we can refactor the code to remove the recursion.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/173#comment:3>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list