Bug 10841 - Changing a grouped property crashes Xamarin Studio
Summary: Changing a grouped property crashes Xamarin Studio
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.6.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-03-02 07:01 UTC by Nic Wise
Modified: 2014-01-22 07:46 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Nic Wise 2013-03-02 07:01:11 UTC
I open a layout in the Android editor.

I select an item, and navigate to the Layout -> Min Size item

I enter "48dp,48dp" and press enter.

XS crashes (seg fault)

Expected:

It doesn't crash, and the max/min values are set to 48dp each.

100% reproducible.




Process:         XamarinStudio [8650]
Path:            /Applications/Xamarin Studio.app/Contents/MacOS/XamarinStudio
Identifier:      com.xamarin.monodevelop
Version:         4.0 (4.0)
Code Type:       X86 (Native)
Parent Process:  launchd [158]
User ID:         502

Date/Time:       2013-03-02 12:00:17.319 +0000
OS Version:      Mac OS X 10.8.2 (12C3006)
Report Version:  10

Interval Since Last Report:          200970 sec
Crashes Since Last Report:           205
Per-App Interval Since Last Report:  1174779 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      44FACD29-DCED-DDF0-2148-50C1A7EDE996

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000003c

VM Regions Near 0x3c:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/Xamarin Studio.app/Contents/MacOS/XamarinStudio
    __TEXT                 0000000000001000-0000000000004000 [   12K] r-x/rwx SM=COW  /Applications/Xamarin Studio.app/Contents/MacOS/XamarinStudio

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x94f34a6a __pthread_kill + 10
1   libsystem_c.dylib             	0x97b4cacf pthread_kill + 101
2   libsystem_c.dylib             	0x97b834f8 abort + 168
3   libmonosgen-2.0.dylib         	0x01092e80 mono_handle_native_sigsegv + 624
4   libmonosgen-2.0.dylib         	0x010034c8 mono_sigsegv_signal_handler + 248
5   libsystem_c.dylib             	0x97b3786b _sigtramp + 43
6   ???                           	0xffffffff 0 + 4294967295
7   libmonosgen-2.0.dylib         	0x010033d0 mono_sigill_signal_handler + 64
8   ???                           	0x1abab85c 0 + 448444508
9   ???                           	0x1abab808 0 + 448444424
10  ???                           	0x226bad74 0 + 577482100
11  ???                           	0x18a02c44 0 + 413150276
12  ???                           	0x107f2a18 0 + 276769304
13  libgobject-2.0.0.dylib        	0x063609d9 g_cclosure_marshal_VOID__OBJECT + 233
14  libgobject-2.0.0.dylib        	0x0635d9ce g_type_class_meta_marshal + 142
15  libgobject-2.0.0.dylib        	0x0635d5bf g_closure_invoke + 511
16  libgobject-2.0.0.dylib        	0x0637d620 signal_emit_unlocked_R + 1616
17  libgobject-2.0.0.dylib        	0x0637c8e6 g_signal_emit_valist + 2662
18  libgobject-2.0.0.dylib        	0x0637cdb1 g_signal_emit + 65
19  libgtk-quartz-2.0.0.dylib     	0x05623073 gtk_container_remove + 499
20  ???                           	0x1903e664 0 + 419685988
21  ???                           	0x1903e620 0 + 419685920
22  ???                           	0x226bacf8 0 + 577481976
23  ???                           	0x226ba8f6 0 + 577480950
24  ???                           	0x226ba7d4 0 + 577480660
25  ???                           	0x226ba638 0 + 577480248
26  ???                           	0x226ba584 0 + 577480068
27  ???                           	0x226ba5a8 0 + 577480104
28  ???                           	0x226ba524 0 + 577479972
29  ???                           	0x226ba4ac 0 + 577479852
30  ???                           	0x226ba3f4 0 + 577479668
31  ???                           	0x226ba30f 0 + 577479439
32  ???                           	0x226ba260 0 + 577479264
33  ???                           	0x226b80a0 0 + 577470624
34  ???                           	0x226b7ed0 0 + 577470160
35  ???                           	0x226b7e80 0 + 577470080
36  ???                           	0x226b74e0 0 + 577467616
37  ???                           	0x226b7118 0 + 577466648
38  ???                           	0x226b70a1 0 + 577466529
39  ???                           	0x226b7044 0 + 577466436
40  ???                           	0x226b6ff3 0 + 577466355
41  ???                           	0x226b5dd2 0 + 577461714
42  ???                           	0x226b5cec 0 + 577461484
43  ???                           	0x226b5c94 0 + 577461396
44  ???                           	0x226b5bc1 0 + 577461185
45  ???                           	0x22215c33 0 + 572611635
46  ???                           	0x226b594c 0 + 577460556
47  ???                           	0x221bc82b 0 + 572246059
48  libmonosgen-2.0.dylib         	0x0100b882 mono_jit_runtime_invoke + 722
49  libmonosgen-2.0.dylib         	0x011a8cda mono_runtime_invoke + 170
50  libmonosgen-2.0.dylib         	0x011ac122 mono_runtime_invoke_array + 2066
51  libmonosgen-2.0.dylib         	0x0112e4c9 ves_icall_InternalInvoke + 1481
52  ???                           	0x0795a608 0 + 127247880
53  ???                           	0x0795a330 0 + 127247152
54  ???                           	0x0ce9ba63 0 + 216644195
55  ???                           	0x15bdd42c 0 + 364762156
56  ???                           	0x15bdd234 0 + 364761652
57  ???                           	0x15bdd1f7 0 + 364761591
58  ???                           	0x15bdd1c8 0 + 364761544
59  ???                           	0x15bdd08c 0 + 364761228
60  ???                           	0x15bdbecc 0 + 364756684
61  ???                           	0x0ce9da0c 0 + 216652300
62  libgobject-2.0.0.dylib        	0x0635d5bf g_closure_invoke + 511
63  libgobject-2.0.0.dylib        	0x0637dbbe signal_emit_unlocked_R + 3054
64  libgobject-2.0.0.dylib        	0x0637c98c g_signal_emit_valist + 2828
65  libgobject-2.0.0.dylib        	0x0637cdb1 g_signal_emit + 65
66  libgtk-quartz-2.0.0.dylib     	0x0589742d gtk_widget_event_internal + 749
67  libgtk-quartz-2.0.0.dylib     	0x05896c1f gtk_widget_event + 319
68  libgtk-quartz-2.0.0.dylib     	0x058b108d gtk_window_propagate_key_event + 253
69  libgtk-quartz-2.0.0.dylib     	0x058b1180 gtk_window_key_press_event + 96
70  libgtksharpglue-2.so          	0x0db4b786 gtksharp_widget_base_key_press_event + 86 (generated.c:5447)
71  ???                           	0x226b5648 0 + 577459784
72  ???                           	0x226b55fc 0 + 577459708
73  ???                           	0x226b5504 0 + 577459460
74  ???                           	0x226b531a 0 + 577458970
75  ???                           	0x0ce9c9e0 0 + 216648160
76  libgtk-quartz-2.0.0.dylib     	0x056e440e _gtk_marshal_BOOLEAN__BOXED + 286
77  libgobject-2.0.0.dylib        	0x0635d9ce g_type_class_meta_marshal + 142
78  libgobject-2.0.0.dylib        	0x0635d5bf g_closure_invoke + 511
79  libgobject-2.0.0.dylib        	0x0637de94 signal_emit_unlocked_R + 3780
80  libgobject-2.0.0.dylib        	0x0637c98c g_signal_emit_valist + 2828
81  libgobject-2.0.0.dylib        	0x0637cdb1 g_signal_emit + 65
82  libgtk-quartz-2.0.0.dylib     	0x0589742d gtk_widget_event_internal + 749
83  libgtk-quartz-2.0.0.dylib     	0x05896c1f gtk_widget_event + 319
84  libgtk-quartz-2.0.0.dylib     	0x056e2092 propagate_event + 450
85  libgtk-quartz-2.0.0.dylib     	0x056e21f7 gtk_propagate_event + 247
86  libgtk-quartz-2.0.0.dylib     	0x056e049b gtk_main_do_event + 1211
87  libgdk-quartz-2.0.0.dylib     	0x05b4a075 gdk_event_dispatch + 293
88  libglib-2.0.0.dylib           	0x05477d61 g_main_dispatch + 513
89  libglib-2.0.0.dylib           	0x0547965b g_main_context_dispatch + 155
90  libglib-2.0.0.dylib           	0x05479c8a g_main_context_iterate + 1466
91  libglib-2.0.0.dylib           	0x0547a5cd g_main_loop_run + 1037
92  libgtk-quartz-2.0.0.dylib     	0x056df8d0 gtk_main + 240
93  ???                           	0x18ff68bc 0 + 419391676
94  ???                           	0x18ff6884 0 + 419391620
95  ???                           	0x18ff6834 0 + 419391540
96  ???                           	0x05397140 0 + 87650624
97  ???                           	0x000d2000 0 + 860160
98  ???                           	0x000d1de4 0 + 859620
99  ???                           	0x000d1eaa 0 + 859818
100 libmonosgen-2.0.dylib         	0x0100b882 mono_jit_runtime_invoke + 722
101 libmonosgen-2.0.dylib         	0x011a8cda mono_runtime_invoke + 170
102 libmonosgen-2.0.dylib         	0x011ab7fc mono_runtime_exec_main + 620
103 libmonosgen-2.0.dylib         	0x011aaa61 mono_runtime_run_main + 929
104 libmonosgen-2.0.dylib         	0x010677e5 mono_jit_exec + 149
105 libmonosgen-2.0.dylib         	0x01069d79 mono_main + 9609
106 com.xamarin.monodevelop       	0x00003817 main + 2503
107 com.xamarin.monodevelop       	0x00001ce5 start + 53
Comment 1 Lluis Sanchez 2013-03-12 14:48:04 UTC
Fixed.
Comment 2 Saurabh 2014-01-22 07:46:07 UTC
We have checked this issue with latest master builds:

XS 4.2.3 (build 154)) 
Release ID: 402030154
Git revision: 4dca4a28d7ecc2c4df8a4d58e74b8902d0283b53
Build date: 2014-01-21 19:51:39+0000
Xamarin addins: cc120a6f639fa6649aa4d23a0f0e7c5701134047

mono-android-4.13.0-39(Master for Mac)

Now, Xamarin Studio does not crash on changing a grouped property for any widget.

Screencast: http://screencast.com/t/zdU5lepF

Hence, closing this issue.