Help! Xojo is always crashing on compile. Need clues about why...

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?

Here is the screencast.

Make a blank project (one button, no code).

Compile.

Does that crash ?

If so, then Xojo/Xcode needs a re-install.

If not, then its in your project.

Regards,
Tony Barry

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…

i.e., is Xojo actually creating a crash report somewhere that Feedback is somehow not picking up? If so, where?

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?

quit feedback and restart feedback
still watching the video so …

Unfortunately, no, there is nothing illuminating in Console when Xojo crashes.

[quote=224242:@Norman Palardy]quit feedback and restart feedback
still watching the video so …[/quote]
Tried that before recording the video.

  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

obviously you posted while I was typing

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]

  1. 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 …

  2. 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

I’ll work up a report now.

A bit more information: I tried to compile rather than run, and I get this error in the compilation window:

Can't import "Core" because its member "Point" would conflict with the "POINT" that is already defined in this block.

The location for the compile error is “App.name”.

I think I have a constant named “POINT” in my Strings module… I’ll try messing with that to see if I can get it to compile…

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.

Ah interesting
Should be able to manufacture a sample real quick that does that (unless you already submitted one?)

Well I can get the same error but a build doesn’t crash the IDE for me

I submitted my project with the feedback report.

Thanks

feedback 41372, if you can’t find it.

havent looked yet
bouncing in between this conversation & actually getting work done :slight_smile: