Bug 10680 - NSViewResizingMask crash in OSX 10.7 when launching app from browser plugin.
Summary: NSViewResizingMask crash in OSX 10.7 when launching app from browser plugin.
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-02-26 04:58 UTC by vtekiss
Modified: 2013-09-26 10:31 UTC (History)
1 user (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:
RESOLVED NORESPONSE

Description vtekiss 2013-02-26 04:58:04 UTC
NSViewResizingMask crash in OSX 10.7 when launching app from browser plugin. I use the fork and exec functions to launch the bundle app. This works fine in OSX 10.6  

26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari: Stacktrace:
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging.void_objc_msgSend_int (intptr,intptr,int) <0xffffffff>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at MonoMac.AppKit.NSView.set_AutoresizingMask (MonoMac.AppKit.NSViewResizingMask) <0x00027>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at VirtualClass.WindowController.Initialize () <0x0003b>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at VirtualClass.WindowController..ctor (VirtualClass.AppDelegate) <0x0002b>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at VirtualClass.AppDelegate.FinishedLaunching (MonoMac.Foundation.NSObject) <0x002d3>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at (wrapper dynamic-method) object.[VirtualClass.AppDelegate.Void FinishedLaunching(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject) <0x00030>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at (wrapper native-to-managed) object.[VirtualClass.AppDelegate.Void FinishedLaunching(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject) <0xffffffff>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at (wrapper managed-to-native) MonoMac.AppKit.NSApplication.NSApplicationMain (int,string[]) <0xffffffff>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at MonoMac.AppKit.NSApplication.Main (string[]) <0x0003f>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at VirtualClass.Application.Main (string[]) <0x00093>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
26/02/13 09:55:46,066 [0x0-0x15c15c].com.apple.Safari: Native stacktrace:
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	0   vcrmac                              0x000a058f mono_handle_native_sigsegv + 287
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	1   vcrmac                              0x0000573e mono_sigsegv_signal_handler + 334
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	2   libsystem_c.dylib                   0x928d359b _sigtramp + 43
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	3   ???                                 0xffffffff 0x0 + 4294967295
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	4   AppKit                              0x9bc3c899 -[NSView(NSConstraintBasedLayout) _invalidateAutoresizingConstraints] + 35
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	5   AppKit                              0x9bc3c830 -[NSView setAutoresizingMask:] + 81
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	6   ???                                 0x017c7b50 0x0 + 24935248
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	7   ???                                 0x017c7ad8 0x0 + 24935128
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	8   ???                                 0x017c7764 0x0 + 24934244
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	9   ???                                 0x017c7644 0x0 + 24933956
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	10  ???                                 0x017c644c 0x0 + 24929356
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	11  ???                                 0x01712251 0x0 + 24191569
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	12  ???                                 0x017c2d5c 0x0 + 24915292
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	13  Foundation                          0x98e38df1 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	14  CoreFoundation                      0x9c9dd903 ___CFXNotificationPost_block_invoke_1 + 275
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	15  CoreFoundation                      0x9c9a8688 _CFXNotificationPost + 2776
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	16  Foundation                          0x98e23fde -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	17  AppKit                              0x9bb2cba9 -[NSApplication _postDidFinishNotification] + 259
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	18  AppKit                              0x9bb2c89f -[NSApplication _sendFinishLaunchingNotification] + 84
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	19  AppKit                              0x9bb2b3c0 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 277
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	20  AppKit                              0x9bb2b0d6 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 377
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	21  CoreFoundation                      0x9c9f61c8 -[NSObject performSelector:withObject:withObject:] + 72
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	22  Foundation                          0x98e5e0c2 __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 121
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	23  Foundation                          0x98e5ce75 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 476
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	24  Foundation                          0x98e5cc49 _NSAppleEventManagerGenericHandler + 234
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	25  AE                                  0x967b6045 _Z20aeDispatchAppleEventPK6AEDescPS_mPh + 202
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	26  AE                                  0x9679fb67 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 43
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	27  AE                                  0x9679fa54 aeProcessAppleEvent + 253
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	28  HIToolbox                           0x92180a86 AEProcessAppleEvent + 103
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	29  AppKit                              0x9bb28157 _DPSNextEvent + 1301
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	30  AppKit                              0x9bb27752 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	31  AppKit                              0x9bb23ac1 -[NSApplication run] + 911
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	32  AppKit                              0x9bdb4ac5 NSApplicationMain + 1054
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	33  ???                                 0x017c5568 0x0 + 24925544
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	34  ???                                 0x017c54b0 0x0 + 24925360
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	35  ???                                 0x00782a44 0x0 + 7875140
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	36  ???                                 0x00782c3f 0x0 + 7875647
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	37  vcrmac                              0x0000f4c4 mono_jit_runtime_invoke + 164
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	38  vcrmac                              0x00184b04 mono_runtime_invoke + 68
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	39  vcrmac                              0x0018abce mono_runtime_exec_main + 238
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	40  vcrmac                              0x00002985 main + 1749
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	41  vcrmac                              0x00001c75 start + 53
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: 	42  ???                                 0x00000002 0x0 + 2
26/02/13 09:55:46,076 [0x0-0x15c15c].com.apple.Safari: Debug info from gdb:
26/02/13 09:55:46,327 [0x0-0x15c15c].com.apple.Safari: Attaching to process 7768.
26/02/13 09:55:46,327 [0x0-0x15c15c].com.apple.Safari: Reading symbols for shared libraries 
26/02/13 09:55:46,431 [0x0-0x15c15c].com.apple.Safari: .
26/02/13 09:55:46,431 [0x0-0x15c15c].com.apple.Safari:  done
26/02/13 09:55:46,630 [0x0-0x15c15c].com.apple.Safari: Reading symbols for shared libraries 
26/02/13 09:55:46,630 [0x0-0x15c15c].com.apple.Safari: warning: Trying to remove a section from the ordered section list that did not exist at 0x2eb000.
26/02/13 09:55:46,909 [0x0-0x15c15c].com.apple.Safari: .
Comment 1 Aaron Bockover [MSFT] 2013-02-26 09:38:06 UTC
I'm not really sure what you're trying to do. Do you have a sample?
Comment 2 vtekiss 2013-02-27 07:09:45 UTC
I have a safari plugin, which downloads and runs different app bundles, using fork() and execlp(...,...). 
This works in most configurations, but the app bundle crashes when run from safari 6.0.2 on OSX 10.7.5. It works ok in Safari 6.0.2 on OSX 10.8.2, and also in Safari 5.X on OSX 10.7.*
Comment 3 Aaron Bockover [MSFT] 2013-09-26 10:31:30 UTC
Closing as no sample or much indication of how to reproduce an issue has been provided.