Bug 520523 - MonthCalendar: select 'tree table' in accerciser, click button in GUI crash the app
Summary: MonthCalendar: select 'tree table' in accerciser, click button in GUI crash ...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P2 - High : Major
Target Milestone: Release 1.1
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 516718
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-09 08:15 UTC by calen chen
Modified: 2009-07-14 19:50 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
sample for MonthCalendar (2.20 KB, text/x-python)
2009-07-09 08:16 UTC, calen chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description calen chen 2009-07-09 08:15:13 UTC
PROBLEM STATEMENT:

This sample has gave CalendarDimensions property showing 6 month on the form, but when you browse to select 'tree table'(don't select others) in accerciser on the left treeview, then back to GUI to click Pre/Back push button or 'Today:...' button, the application is crashed

REPRO:

1. run the attachment sample
2. run accerciser, expand 'ipy', expand 'filler', selecte 'tree table' on the left treeview.
3. mouse left click Preview/Back push button or 'Today:...' button

RESULTS:

the application is crashed:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: Value does not fall within the expected range.
  at Mono.UIAutomation.Winforms.MonthCalendarDataGridProvider.GetItem (Int32 row, Int32 col) [0x00086] in /usr/src/packages/BUILD/uiautomationwinforms-137456/UIAutomationWinforms/Mono.UIAutomation.Winforms/MonthCalendarDataGridProvider.cs:144 
  at Mono.UIAutomation.Winforms.Behaviors.MonthCalendar.GridProviderBehavior.GetItem (Int32 row, Int32 col) [0x00000] in /usr/src/packages/BUILD/uiautomationwinforms-137456/UIAutomationWinforms/Mono.UIAutomation.Winforms.Behaviors/MonthCalendar/GridProviderBehavior.cs:87 
  at UiaAtkBridge.TableImplementorHelper.GetRowExtentAt (Int32 row, Int32 column) [0x0006d] in /usr/src/packages/BUILD/uiaatkbridge-137574/UiaAtkBridge/TableImplementorHelper.cs:240 
  at UiaAtkBridge.Table.GetRowExtentAt (Int32 row, Int32 column) [0x00000] in /usr/src/packages/BUILD/uiaatkbridge-137574/UiaAtkBridge/Table.cs:105 
  at Atk.TableAdapter.GetRowExtentAtCallback (IntPtr table, Int32 row, Int32 column) [0x0000d] in /usr/src/packages/BUILD/gtk-sharp-135660/atk/generated/TableAdapter.cs:210 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) in /usr/src/packages/BUILD/gtk-sharp-135660/glib/ExceptionManager.cs:line 58
   at Atk.TableAdapter.GetRowExtentAtCallback(IntPtr table, Int32 row, Int32 column) in /usr/src/packages/BUILD/gtk-sharp-135660/atk/generated/TableAdapter.cs:line 213
   at GLib.MainLoop.g_main_loop_run(IntPtr )
   at GLib.MainLoop.Run() in /usr/src/packages/BUILD/gtk-sharp-135660/glib/MainLoop.cs:line 59
   at UiaAtkBridge.Monitor.GLibMainLoopThread() in /usr/src/packages/BUILD/uiaatkbridge-137574/UiaAtkBridge/Monitor.cs:line 145
Segmentation fault

EXPECTED RESULTS:

click button should change to the correct month but not crashed
Comment 1 calen chen 2009-07-09 08:16:40 UTC
Created attachment 303994 [details]
sample for MonthCalendar
Comment 2 Brad Taylor 2009-07-14 16:08:42 UTC
Move all P1 and P2 bugs into Release 1.1 milestone.