niptucker / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
0 stars 0 forks source link

Surface.cs: GetPointAddressUnchecked returns invalid pointers #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Several exceptions are thrown on load when pdn is generating thumbnails 
for the canvas and other areas, and then blows up when it to access 
surface data.

I've tracked it down to calls to GetPointAddressUnchecked (on Surface.cs) 
which seem to be returning invalid pointers. Bypassing this method by 
calling GetPointAddress directly in it seems to fix the issue (I'm sure 
performance suffers), so the data is there, just something on the 
*Unchecked method is causing problems.

It's probably overflowing, need to dig further.

Original issue reported on code.google.com by shana.u...@gmail.com on 18 Sep 2008 at 4:27

GoogleCodeExporter commented 9 years ago
This is caused by compiler bug #431827 
(https://bugzilla.novell.com/show_bug.cgi?
id=431827), which is fixed on Mono svn. A fix has been temporarily applied, to 
be 
removed pending the fix getting widespread.

Original comment by shana.u...@gmail.com on 11 Oct 2008 at 10:41