shana / paint-mono

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

crashes on startup on osx #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Mono 2
2. SVN -> configure -> make -> sudo make install
3. paintdotnet

What is the expected output? What do you see instead?

It crashes :( Tty follows:

-----HERE------
Got System.Drawing.Rectangle[] get_ClipRectangles() and
System.Windows.Forms.Hwnd ObjectFromHandle(IntPtr)
-------Finished--------
SingleInstanceManager.SingleInstaceManager: Not implemented
UI.SetControlRedrawImpl: Not implemented
PORT: HideHorizontalScrollBar missing
SingleInstanceManager.SetWindow: Not implemented
SingleInstanceManager.FilterMessage: Not implemented

Unhandled Exception: System.DllNotFoundException: dwmapi.dll
  at (wrapper managed-to-native)
PaintDotNet.SystemLayer.SafeNativeMethods:DwmGetWindowAttribute
(intptr,uint,void*,uint)
  at PaintDotNet.SystemLayer.UI.GetExtendedFrameBounds
(System.Windows.Forms.Form window) [0x00000] 
  at PaintDotNet.FloatingToolForm.get_SnapObstacle () [0x00000] 
  at PaintDotNet.SnapManager.ParkObstacle (ISnapObstacleHost obstacle,
ISnapObstacleHost snappedTo, HorizontalSnapEdge hEdge, VerticalSnapEdge
vEdge) [0x00000] 
  at PaintDotNet.AppWorkspace.ResetFloatingForms () [0x00000] 
  at (wrapper remoting-invoke-with-check)
PaintDotNet.AppWorkspace:ResetFloatingForms ()
  at PaintDotNet.MainForm.PositionFloatingForms () [0x00000] 
  at PaintDotNet.MainForm.OnLoad (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Form.OnCreateControl () [0x00000] 
  at System.Windows.Forms.Control.CreateControl () [0x00000] 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] 
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] 
  at PaintDotNet.Startup.StartPart2 () [0x00000] 
  at PaintDotNet.Startup.Start () [0x00000] 
  at PaintDotNet.Startup.Main (System.String[] args) [0x00000] 

What version of the product are you using? On what operating system?

OSX 10.4.11 on a 800 Mhz G4 iBook with 640MB RAM.

Please provide any additional information below.

Original issue reported on code.google.com by joo...@gmail.com on 28 Oct 2008 at 10:01

GoogleCodeExporter commented 9 years ago
It crashes for me too on OSX 10.5.5 on a 2.53 GHz Intel MBP with 4GB RAM:

-----HERE------
Got System.Drawing.Rectangle[] get_ClipRectangles() and 
System.Windows.Forms.Hwnd 
ObjectFromHandle(IntPtr)
-------Finished--------
SingleInstanceManager.SingleInstaceManager: Not implemented
UI.SetControlRedrawImpl: Not implemented
PORT: HideHorizontalScrollBar missing
Stacktrace:

  at (wrapper managed-to-native) System.Threading.Thread.SetCachedCurrentCulture 
(System.Globalization.CultureInfo) <0x00004>
  at (wrapper managed-to-native) System.Threading.Thread.SetCachedCurrentCulture 
(System.Globalization.CultureInfo) <0xffffffff>
  at System.Threading.Thread.get_CurrentCulture () <0x00096>
  at System.NumberFormatter..ctor (System.Threading.Thread) <0x0003c>
  at System.Threading.Thread.AcquireNumberFormatter () <0x00040>
  at System.NumberFormatter.GetInstance () <0x0001b>
  at System.NumberFormatter.NumberToString (string,int,System.IFormatProvider) <0x00011>
  at System.Int32.ToString (string,System.IFormatProvider) <0x00018>
  at System.String.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) 
<0x00323>
  at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x00016>
  at System.Text.StringBuilder.AppendFormat (string,object) <0x00042>
  at System.Exception.get_StackTrace () <0x002a8>
  at System.Exception.ToString () <0x0012b>
  at PaintDotNet.ThumbnailManager.RenderThreadImpl () <0x00720>
  at PaintDotNet.ThumbnailManager.RenderThread () <0x00010>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) 
<0xffffffff>
Abort trap

Original comment by dbisc...@gmail.com on 11 Nov 2008 at 3:08

GoogleCodeExporter commented 9 years ago
Issue was fixed in r63.

Original comment by i.bizau@gmail.com on 30 Nov 2008 at 10:51

GoogleCodeExporter commented 9 years ago
Ionut, it works for me now.  Thanks!

Original comment by dbisc...@gmail.com on 21 Dec 2008 at 9:31