Crash on open - v1.0.0 Mac OS Sierra

Installed the new 1.0.0 on Mac OS Sierra. After choosing to make a new project and click ‘open’, the window opens and the rainbow spinner begins. About 10 seconds later, Fuse crashes silently.

I’ve installed Fuse 1.0.0 on macOS Sierra 10.12.3 yesterday, it works slowly and crash often.

I’m on macOS Sierra 10.12.5. Same behavior here, crash error message is: “Stack overflow in unmanaged: IP: 0x23d92db, fault addr: 0xbf808ff8”

Output when running Fusetools from command line:

[raju@MacBook-Pro:~]$ /Applications/Fuse.app/Contents/Fuse.app/Contents/MacOS/Fuse
objc[7332]: Class VCWeakObjectHolder is implemented in both /System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/Versions/A/ViceroyTrace (0xa6662090) and /System/Library/PrivateFrameworks/AVConference.framework/Versions/A/AVConference (0xa6678ea4). One of the two will be used. Which one is undefined.
Fuse 1.0.0 (build 13426)
# Verifying install status of sublime-plugin
Checking for update
Package up to date
sublime-plugin is installed.
new ObservableNSDocument()
ReadFromData(Fuse Project)
Getting window
Reloading //Users/raju/coding/fuse/fuse1_0_example/MainView.ux from disk...
Started simulator: 7416
Got window
Will show!
Stack overflow in unmanaged: IP: 0x23d92db, fault addr: 0xbf808ff8

Hardware:

Model Name:	MacBook Pro
Model Identifier:	MacBookPro12,1
Processor Name:	Intel Core i5
Processor Speed:	2,9 GHz
Number of Processors:	1
Total Number of Cores:	2
L2 Cache (per Core):	256 KB
L3 Cache:	3 MB
Memory:	8 GB
Boot ROM Version:	MBP121.0167.B24
SMC Version (system):	2.28f7

Intel Iris Graphics 6100:
Chipset Model:	Intel Iris Graphics 6100
Type:	GPU
Bus:	Built-In
VRAM (Dynamic, Max):	1536 MB
Vendor:	Intel (0x8086)
Device ID:	0x162b
Revision ID:	0x0009
Metal:	Supported

Software:

System Version:	macOS 10.12.5 (16F73)
Kernel Version:	Darwin 16.6.0
Boot Volume:	Macintosh HD
Boot Mode:	Normal
User Name:	Raju (raju)
Secure Virtual Memory:	Enabled
System Integrity Protection:	Enabled
Time since boot:	2 days 17:08

Raju, are you also on Sierra?

brian and ablipan, can you also try to run /Applications/Fuse.app/Contents/Fuse.app/Contents/MacOS/Fuse from a command line and see if you get anything interesting in the output?

And can all of you please let me know your hardware specs, in particular the CPU and GPU types, and whether there is anything special about your environment (such as running in a VM)?

brian, does this happen when you select a “New Fuse project” from the dashboard? This creates an empty app, so it would be interesting to know if that crashes, or if it only crashes when there’s some more content in the app.

All of you: Are you logged into the tool, and do you have a pro license / trial? If so, could you please try to log out and see if you have the same problem?

I am also having crashes on macOS Sierra, but this happens for me when I try to use any of the main menus from Fuse App.

When trying to use the menu ‘open in sublime text’, the Fuse App crashed.

 /Users/Pan/Downloads/_tmp/test-weex 🤔  /Applications/Fuse.app/Contents/Fuse.app/Contents/MacOS/Fuse
objc[38346]: Class VCWeakObjectHolder is implemented in both /System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/Versions/A/ViceroyTrace (0xa4bcd090) and /System/Library/PrivateFrameworks/AVConference.framework/Versions/A/AVConference (0xa4be3e9c). One of the two will be used. Which one is undefined.
2017-05-26 09:49:13.643 Fuse[38346:29206703] Error loading /Users/Pan/Library/ColorPickers/ZeplinColorPicker.colorPicker/Contents/MacOS/ZeplinColorPicker:  dlopen(/Users/Pan/Library/ColorPickers/ZeplinColorPicker.colorPicker/Contents/MacOS/ZeplinColorPicker, 265): no suitable image found.  Did find:
	/Users/Pan/Library/ColorPickers/ZeplinColorPicker.colorPicker/Contents/MacOS/ZeplinColorPicker: mach-o, but wrong architecture
Fuse 1.0.0 (build 13426)
# Verifying install status of sublime-plugin
Checking for update
Package up to date
sublime-plugin is installed.
new ObservableNSDocument()
ReadFromData(Fuse Project)
Getting window
Reloading //Users/Pan/Downloads/_tmp/App/MainView.ux from disk...
Started simulator: 38387
Got window
Will show!
Running UnoHost with args:"/Users/Pan/Downloads/_tmp/App/build/Local/Designer/App.dll" "ffbc6768-f450-48ce-8bd2-7678a3a322d3" "869c7676-dd42-4e0c-b6fe-c91c352f21d4" "//Users/Pan/.fuse/designer-config.json" "--host" "127.0.0.1" "53539"
objc[38412]: Class VCWeakObjectHolder is implemented in both /System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/Versions/A/ViceroyTrace (0xa4bcd090) and /System/Library/PrivateFrameworks/AVConference.framework/Versions/A/AVConference (0xa4be3e9c). One of the two will be used. Which one is undefined.
GL_VERSION: 2.1 INTEL-10.22.29
GL_VENDOR: Intel Inc.
GL_RENDERER: Intel Iris Pro OpenGL Engine
Loading plugin from Outracks.UnoHost.LoadPlugin
Succsess!
Stack overflow in unmanaged: IP: 0x452d59, fault addr: 0xbf808fbc
--- End of stack trace from previous location where exception was thrown ---
  at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:bool_objc_msgSend_IntPtr (intptr,intptr,intptr)
  at MonoMac.Foundation.NSObject.ConformsToProtocol (IntPtr protocol) <0x1409dad0 + 0x000db> in <filename unknown>:0
  at MonoMac.Foundation.NSObject.InvokeConformsToProtocol (IntPtr protocol) <0x1409d990 + 0x0001a> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
Read Error
UnoHost failed to write message to designer: System.InvalidOperationException: Couldn't send data: System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) <0x13b31fd8 + 0x000bf> in <filename unknown>:0
  at Outracks.IPC.UnixSocketStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) <0x13b658f8 + 0x0004f> in <filename unknown>:0
  at Outracks.IPC.UnixSocketStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) <0x13b658f8 + 0x000ab> in <filename unknown>:0
  at System.IO.Stream.WriteByte (Byte value) <0x13b31728 + 0x0004d> in <filename unknown>:0
  at System.IO.BinaryWriter.Write (Byte value) <0x13b30988 + 0x0001b> in <filename unknown>:0
  at System.IO.BinaryWriter.Write7BitEncodedInt (Int32 value) <0x13b30938 + 0x00041> in <filename unknown>:0
  at System.IO.BinaryWriter.Write (System.String value) <0x13b306a8 + 0x0003b> in <filename unknown>:0
  at Outracks.BinaryMessage.WriteTo (IBinaryMessage message, System.IO.BinaryWriter writer) <0x13b30230 + 0x0009e> in <filename unknown>:0
  at Outracks.BinaryMessageStreams+<BeginWritingMessages>c__AnonStorey0+<BeginWritingMessages>c__AnonStorey1.<>m__0 (IBinaryMessage message) <0x13b65850 + 0x0001b> in <filename unknown>:0
  at Outracks.DispatcherQueue`1[T].DispatchCurrent (System.Action`1 action, Optional`1 timeout) <0x105f0be0 + 0x000a4> in <filename unknown>:0
  at Outracks.DispatcherQueue`1[T].Dispatch (System.Action`1 action, CancellationToken ct) <0x105f04e8 + 0x00123> in <filename unknown>:0
  at Outracks.BinaryMessageStreams+<BeginWritingMessages>c__AnonStorey0.<>m__0 () <0x105f1538 + 0x001e3> in <filename unknown>:0

Here’s my hardware info:

Hardware Overview:

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro11,2
  Processor Name:	Intel Core i7
  Processor Speed:	2.2 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	6 MB
  Memory:	16 GB
  Boot ROM Version:	MBP112.0138.B21
  SMC Version (system):	2.18f15
  Serial Number (system):	C02N59W8G3QC
  Hardware UUID:	1F970D8D-9F81-54CA-85A6-C325311532AB

software info:

System Software Overview:
  System Version:	macOS 10.12.3 (16D32)
  Kernel Version:	Darwin 16.4.0
  Boot Volume:	Macintosh HD
  Boot Mode:	Normal
  Computer Name:	**'s Mac
  User Name:	Pan (Pan)
  Secure Virtual Memory:	Enabled
  System Integrity Protection:	Disabled
  Time since boot:	30 days 15:50

Hi Anders, thanks for looking into this. I’m on the 30 days trial license for Pro. Logging out and back in doesn’t solve the problem for me.

Any time I try to access a main menu entry the system crashes.

Here’s a partial output from /Applications/Fuse.app/Contents/Fuse.app/Contents/MacOS/Fuse
The output is very long, so only copied the first few statements.

objc[1949]: Class VCWeakObjectHolder is implemented in both /System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/Versions/A/ViceroyTrace (0xa64d4090) and /System/Library/PrivateFrameworks/AVConference.framework/Versions/A/AVConference (0xa64eaea4). One of the two will be used. Which one is undefined.

Fuse 1.0.0 (build 13426)

-# Verifying install status of sublime-plugin
Checking for update
Package up to date
sublime-plugin is installed.
new ObservableNSDocument()
ReadFromData(Fuse Project)
Getting window
Reloading //Users/briansandholdt/Fuse/AppNew/MainView.ux from disk...
Started simulator: 1977
Got window
Will show!
Stack overflow in unmanaged: IP: 0x13e320c, fault addr: 0xbf808f3c
Unhandled exception: GCHandle value belongs to a different domain
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: GCHandle value belongs to a different domain
  at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:bool_objc_msgSend_IntPtr (intptr,intptr,intptr)
  at MonoMac.Foundation.NSObject.ConformsToProtocol (IntPtr protocol) <0x13b5d758 + 0x000db> in <filename unknown>:0 
  at MonoMac.Foundation.NSObject.InvokeConformsToProtocol (IntPtr protocol) <0x13b5d618 + 0x0001a> in <filename unknown>:0

And this my hardware:

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro11,5
  Processor Name:	Intel Core i7
  Processor Speed:	2,5 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	6 MB
  Memory:	16 GB
  Boot ROM Version:	MBP114.0172.B16
  SMC Version (system):	2.30f2

No VMs or anything else.

It doesn’t matter if I create an example app from Fuse or a blank. It shows the rainbow spinner after the window shows up and 20-30 seconds later it crashes.

Raju Bitter wrote:

Hi Anders, thanks for looking into this. I’m on the 30 days trial license for Pro. Logging out and back in doesn’t solve the problem for me.

Any time I try to access a main menu entry the system crashes.

Same for me, again. It happens when I try to use any system menu from the fuse app.

brian, I have filed an issue for the tools team to look into this. For reference, it’s ticket #3845. I’m afraid there are no known workarounds. What you could try though is:

ablipan does it only crash when you interact with the menu? If not, in which other scenarios does it crash?

Raju, ablipan and rvizcaino: We are also working on the issue where Fuse crashes for some users when you use the menu. For reference, it’s ticket #3811.

Just a brief note that my problem with Fuse crashing, as mentioned in the first post, is NOT resolved with this latest release 1.0.1.

Brian

Same for me, updated to 1.0.1, still experiencing the same behavior.

  • Raju

Thanks for reporting back! We’ll investigate this shortly. Unfortunately, the only workaround in the mean time is to not use the menus, but instead do things manually.

For instance, opening the project in editors and terminals can be done in those programs. Selection and Compact view can be toggled from the main UI. Preview can be started from a terminal by doing fuse preview -t<ios|android>. We realise that this is cumbersome, and hope to have a fix out soon! Sorry for the inconvenience in the mean time.

Anders, in my case I don’t get the chance to use menus or do something manually (I just get a spinner and a crash), so I guess these are two separate issues?

Yeah, sorry brian, this thread has two different issues mixed up. Does everything work in 0.37 for you?

0.37 worked fine. Haven’t reverted to that version though, just looking forward to getting my hands on 1.0.x :slight_smile:

Hi :slight_smile:

We’re really sorry you’re having these problems, and we’re working hard to figure out how to reproduce and fix them.

Some more things that might help us figuring this out:

  • All files in the ~/.fuse/logs, and the complete output while running from terminal.
    • If this is difficult to copy paste from the terminal you could try /Applications/Fuse.app/Contents/Fuse.app/Contents/MacOS/Fuse 2>&1 | tee log.txt, and send us the resulting log.txt file
    • You can zip all these files and upload it to our dropbox here https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK
  • What kind of Internet connection do you have, and how stable is it? (I know this shouldn’t make a difference, but who knows…)
  • What version of Sublime Text is installed?
  • Could you try (temporarily) uninstalling the Fuse sublime text plugin, and see if that changes anything?
  • If not anything else helps, maybe deleting ~/.fuse. Note that this will require logging in again.

If there’s anything else any of you could think of that might be a contributing factor that would also be great. Will appreciate any help.

Thanks,
Karsten N. Strand

Tried again with version 1.3.0 (build 14520), and same result. Deleted the ~/.fuse folder, uninstalled Sublime plugin. Launch command:

/Applications/Fuse.app/Contents/Fuse\ Studio.app/Contents/MacOS/Fuse\ Studio >&1 | tee log.t

Uploaded the log files with system information attached to https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK

Have to say it’s unfortunate that over a period of 5 months since the 1.0 launch I haven’t been able to run Fuse on my Mac.