This is an odd one, difficult to explain so I just made a screencast of the behavior. In summary: Xojo crashes when I compile my iOS project. No crash report seems to be generated, Feedback is opened but no report shows up.
Where do I even begin to figure out why this is happening?
Blank project runs fine. I assumed from the get-go that the issue is in my project - but it’s not exactly a tiny little project… I need some sort of an indication about where to start looking…
Is there anything in the Console when Xojo crashes? Maybe you have a problem with a declare that is somehow bringing everything down? Also what declares do you have in your project?
if there’s nothing in console then #2 and #3 might find nothing additional
#1 may NOT have a report IF the IDE is in a state that it cannot write a report out (that can happen)
At that point the only way I can think of to figure out whats causing this is to submit a report manually with a sample attached privately that we can analyze
[quote=224244:@Norman Palardy]1) look in ~/Library/Application Support/Xojo/Feedback/Reports
2) start Xojo from terminal (NOT using open but by starting the exe buried in Contents/MacOS) and see if you get log messages in terminal
3) anything in Console[/quote]
MainEngineering:Reports kimball$ pwd
/Users/kimball/Library/Application Support/Xojo/Feedback/Reports
MainEngineering:Reports kimball$ ls -la
total 0
drwxr-xr-x 2 kimball staff 68 Oct 22 11:37 .
drwxr-xr-x 16 kimball staff 544 Oct 26 14:17 …
MainEngineering:MacOS kimball$ ./Xojo
objc[15906]: Class XOJBevelButton is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/AppearancePakCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBAppearancePak.xojo_plugin/Appearance Pak/Build Resources/Mac Cocoa/AppearancePakCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJImageWell is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/AppearancePakCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBAppearancePak.xojo_plugin/Appearance Pak/Build Resources/Mac Cocoa/AppearancePakCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJChasingArrows is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/AppearancePakCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBAppearancePak.xojo_plugin/Appearance Pak/Build Resources/Mac Cocoa/AppearancePakCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJDisclosureTriangle is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/AppearancePakCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBAppearancePak.xojo_plugin/Appearance Pak/Build Resources/Mac Cocoa/AppearancePakCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJLittleArrows is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/AppearancePakCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBAppearancePak.xojo_plugin/Appearance Pak/Build Resources/Mac Cocoa/AppearancePakCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJSeparator is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/AppearancePakCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBAppearancePak.xojo_plugin/Appearance Pak/Build Resources/Mac Cocoa/AppearancePakCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJSegmentedControl is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/GUIKitCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBGUIKit.xojo_plugin/GUIKit/Build Resources/Mac Cocoa/GUIKitCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJGUIKit_ActionTarget is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/GUIKitCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBGUIKit.xojo_plugin/GUIKit/Build Resources/Mac Cocoa/GUIKitCocoa.dylib. One of the two will be used. Which one is undefined.
objc[15906]: Class XOJWebKitDelegate is implemented in both /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Frameworks/HTMLViewerCocoa.dylib and /Applications/Xojo 2015 Release 3/Xojo.app/Contents/Resources/Internal Plugins/RBHTMLViewer.xojo_plugin/HTMLViewer/Build Resources/Mac Cocoa/HTMLViewerCocoa.dylib. One of the two will be used. Which one is undefined.
2015-10-26 14:46:01.422 Xojo[15906:7171019] *** WARNING: Method convertSizeFromBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications.
(all the above happens when I start Xojo and open my project)
(these lines happen when Xojo crashes)
[PLCrashReport] plframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x0
[PLCrashReport] plframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x0
[PLCrashReport] plframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x0
[PLCrashReport] plframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x0
Oohhhh
the first hundred “defined twice blah blah blah” is normal
But the PLCrashReport part is relevant
This stuff
[quote=224252:@Kimball Larsen]
[PLCrashReport] plframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x0
[PLCrashReport] plframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x0
[PLCrashReport] plframe_cursor_read_compact_unwind:67: Could not find a loaded image for the current frame pc: 0x0
[PLCrashReport] plframe_cursor_read_dwarf_unwind:236: Could not find a loaded image for the current frame pc: 0x0[/quote]
Thats literally the crash reporter failing to figure out what the heck went on
At this point a report + sample attached privately would be awesome
Ok, that seems to have been the problem: I had a Constant of type Text defined that was named “POINT”. Removed that constant, and now I can run my app in the debugger.