Bug 58502 - UrhoSharp Crash on Re-Setting Model
Summary: UrhoSharp Crash on Re-Setting Model
Status: ASSIGNED
Alias: None
Product: Workbooks & Inspector
Classification: Xamarin
Component: Client: Cross Platform (Shared Code) ()
Version: 1.2.2
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Larry Ewing [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-07-31 16:12 UTC by Charles Petzold
Modified: 2017-09-11 17:29 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 for Bug 58502 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:
Status:
ASSIGNED

Description Charles Petzold 2017-07-31 16:12:14 UTC
This crash can be reproduced as follows:

1) On either the PC or Mac, load the "Working with Urho Custom Geometries" workbook:

https://developer.xamarin.com/workbooks/graphics/urhosharp/custom-geometries/CustomGeometries.workbook

or:

https://github.com/xamarin/Workbooks/tree/master/graphics/urhosharp/custom-geometries/CustomGeometries.workbook

2) Find the heading "Variations on the Triangle." It's about 2/5th into the workbook.

3) Execute the preceding code block -- the one containing the statement "triangle.SetMaterial..." A blue triangle should appear in the UrhoSharp window.

4) Re-execute the code block two blocks earlier -- the one beginning with the comment "// Remove possible previous node..."

The code block in between those two ("triangle.Model = model") never finishes executing. On the PC, the message box appears "Xamarin.Interactive.Console.exe has stopped working." On the Mac a window appears "mono64 quit unexpectedly."