Thanks,

This got me past the issue I reported.  See below for the problem that I am now having...

Thanks for any pointers...

Jeff Haynes

$ mono XJS-Desktop.exe
Mono System.Windows.Forms Assembly [Revision: 58122; built: 2006/03/17 19:58:24]
Keyboard: United States keyboard layout (phantom key version)
Gtk colorscheme read
X11 Error encountered:
  Error: BadDrawable (invalid Pixmap or Window parameter)
  Request:     14 (X_GetGeometry)
  Resource ID: 0x3E00009
  Serial:      521
  Hwnd:        Hwnd, ClientWindow:0x3E00009, WholeWindow:0x3E00008, Parent:[Hwnd, ClientWindow:0x3E00007, WholeWindow:0x3E00006, Parent:[Hwnd, ClientWindow:0x3E00005, WholeWindow:0x3E00004, Parent:[Hwnd, ClientWindow:0x3E00003, WholeWindow:0x3E00002, Parent:[<null>]]]]
  Control:     System.Windows.Forms.PictureBox
         at System.Windows.Forms.XplatUIX11.WhereString ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.Graphics.FromXDrawable ()
         at System.Drawing.Graphics.FromHwnd ()
         at System.Windows.Forms.XplatUIX11.PaintEventStart ()
         at System.Windows.Forms.XplatUI.PaintEventStart ()
         at System.Windows.Forms.Control.WndProc ()
         at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
         at System.Windows.Forms.NativeWindow.WndProc ()
         at System.Windows.Forms.XplatUIX11.DispatchMessage ()
         at System.Windows.Forms.XplatUI.DispatchMessage ()
         at System.Windows.Forms.Application.RunLoop ()
         at System.Windows.Forms.Form.ShowDialog ()
         at System.Windows.Forms.Form.ShowDialog ()
         at XjsDesktop.StartXjs.Main ()

X11 Error encountered:
  Error: BadDrawable (invalid Pixmap or Window parameter)
  Request:     14 (X_GetGeometry)
  Resource ID: 0x3E0000B
  Serial:      522
  Hwnd:        Hwnd, ClientWindow:0x3E0000B, WholeWindow:0x3E0000A, Parent:[Hwnd, ClientWindow:0x3E00007, WholeWindow:0x3E00006, Parent:[Hwnd, ClientWindow:0x3E00005, WholeWindow:0x3E00004, Parent:[Hwnd, ClientWindow:0x3E00003, WholeWindow:0x3E00002, Parent:[<null>]]]]
  Control:     System.Windows.Forms.PictureBox
         at System.Windows.Forms.XplatUIX11.WhereString ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.Graphics.FromXDrawable ()
         at System.Drawing.Graphics.FromHwnd ()
         at System.Windows.Forms.XplatUIX11.PaintEventStart ()
         at System.Windows.Forms.XplatUI.PaintEventStart ()
         at System.Windows.Forms.Control.WndProc ()
         at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
         at System.Windows.Forms.NativeWindow.WndProc ()
         at System.Windows.Forms.XplatUIX11.DispatchMessage ()
         at System.Windows.Forms.XplatUI.DispatchMessage ()
         at System.Windows.Forms.Application.RunLoop ()
         at System.Windows.Forms.Form.ShowDialog ()
         at System.Windows.Forms.Form.ShowDialog ()
         at XjsDesktop.StartXjs.Main ()

X11 Error encountered:
  Error: BadDrawable (invalid Pixmap or Window parameter)
  Request:     14 (X_GetGeometry)
  Resource ID: 0x3E0000D
  Serial:      523
  Hwnd:        Hwnd, ClientWindow:0x3E0000D, WholeWindow:0x3E0000C, Parent:[Hwnd, ClientWindow:0x3E00007, WholeWindow:0x3E00006, Parent:[Hwnd, ClientWindow:0x3E00005, WholeWindow:0x3E00004, Parent:[Hwnd, ClientWindow:0x3E00003, WholeWindow:0x3E00002, Parent:[<null>]]]]
  Control:     System.Windows.Forms.PictureBox
         at System.Windows.Forms.XplatUIX11.WhereString ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.Graphics.FromXDrawable ()
         at System.Drawing.Graphics.FromHwnd ()
         at System.Windows.Forms.XplatUIX11.PaintEventStart ()
         at System.Windows.Forms.XplatUI.PaintEventStart ()
         at System.Windows.Forms.Control.WndProc ()
         at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
         at System.Windows.Forms.NativeWindow.WndProc ()
         at System.Windows.Forms.XplatUIX11.DispatchMessage ()
         at System.Windows.Forms.XplatUI.DispatchMessage ()
         at System.Windows.Forms.Application.RunLoop ()
         at System.Windows.Forms.Form.ShowDialog ()
         at System.Windows.Forms.Form.ShowDialog ()
         at XjsDesktop.StartXjs.Main ()

.....

X11 Error encountered:
  Error: BadDrawable (invalid Pixmap or Window parameter)
  Request:     14 (X_GetGeometry)
  Resource ID: 0x3E00005
  Serial:      532
  Hwnd:        Hwnd, ClientWindow:0x3E00005, WholeWindow:0x3E00004, Parent:[Hwnd, ClientWindow:0x3E00003, WholeWindow:0x3E00002, Parent:[<null>]]
  Control:     Xjs.Tools.Controls.GradientPanel, BorderStyle: None
         at System.Windows.Forms.XplatUIX11.WhereString ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Windows.Forms.XplatUIX11.HandleError ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
         at System.Drawing.Graphics.FromXDrawable ()
         at System.Drawing.Graphics.FromHwnd ()
         at System.Windows.Forms.XplatUIX11.PaintEventStart ()
         at System.Windows.Forms.XplatUI.PaintEventStart ()
         at System.Windows.Forms.Control.WndProc ()
         at System.Windows.Forms.ScrollableControl.WndProc ()
         at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
         at System.Windows.Forms.NativeWindow.WndProc ()
         at System.Windows.Forms.XplatUIX11.DispatchMessage ()
         at System.Windows.Forms.XplatUI.DispatchMessage ()
         at System.Windows.Forms.Application.RunLoop ()
         at System.Windows.Forms.Form.ShowDialog ()
         at System.Windows.Forms.Form.ShowDialog ()
         at XjsDesktop.StartXjs.Main ()


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipFillRectangleI (intptr,intptr,int,int,int,int) <0x4>
in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipFillRectangleI (intptr,intptr,int,int,int,int) <0xffffffa5>
in System.Drawing.Graphics:FillRectangle (System.Drawing.Brush,int,int,int,int) <0x3d>
in System.Drawing.Graphics:FillRectangle (System.Drawing.Brush,System.Drawing.Rectangle) <0x5e>
in (wrapper remoting-invoke-with-check) System.Drawing.Graphics:FillRectangle (System.Drawing.Brush,System.Drawing.Rectangle) <0x1440>
in Xjs.Tools.Controls.GradientPanel:PaintBackground (System.Drawing.Graphics) <0x138>
in Xjs.Tools.Controls.GradientPanel:OnPaint (System.Windows.Forms.PaintEventArgs) <0x1c>
in System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message&) <0x4fd>
in System.Windows.Forms.ScrollableControl:WndProc (System.Windows.Forms.Message&) <0xd>
in ControlNativeWindow:WndProc (System.Windows.Forms.Message&) <0x14>
in System.Windows.Forms.NativeWindow:WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x11e>in System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG&) <0x16>
in System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG&) <0x15>
in System.Windows.Forms.Application:RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x61d>
in System.Windows.Forms.Form:ShowDialog (System.Windows.Forms.IWin32Window) <0x175>
in System.Windows.Forms.Form:ShowDialog () <0xc>
in (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:ShowDialog () <0xfe10b656>
in XjsDesktop.StartXjs:Main (string[]) <0x346>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x7cf4987>

Native stacktrace:

        mono(mono_handle_native_sigsegv+0xbb) [0x814ee2b]
        mono [0x813b2cf]
        [0xab8440]
        /usr/lib/libgdiplus.so [0xa88ef9]
        /usr/lib/libgdiplus.so [0xa8ae27]
        /usr/lib/libgdiplus.so [0xa8b6eb]
        /usr/lib/libgdiplus.so(_cairo_pixman_composite+0xdb6) [0xa92480]
        /usr/lib/libgdiplus.so [0xa5b578]
        /usr/lib/libgdiplus.so [0xa62086]
        /usr/lib/libgdiplus.so [0xa5869f]
        /usr/lib/libgdiplus.so [0xa58af4]
        /usr/lib/libgdiplus.so [0xa58bf1]
        /usr/lib/libgdiplus.so [0xa58d25]
        /usr/lib/libgdiplus.so(cairo_fill_preserve+0x26) [0xa51108]
        /usr/lib/libgdiplus.so(cairo_fill+0x11) [0xa510cf]
        /usr/lib/libgdiplus.so(GdipFillRectangle+0x103) [0xa2009f]
        /usr/lib/libgdiplus.so(GdipFillRectangleI+0x4d) [0xa2012f]
        [0x72ed2ca]
        [0x72ed236]
        [0x72ed1a7]
        [0x72ed107]
        [0x72ee479]
        [0x72ee315]
        [0x1412376]
        [0x1411e6e]
        [0x140fa85]
        [0x140f90f]
        [0x72ea1a7]
        [0x72ea186]
        [0x72e761e]
        [0x233cc2e]
        [0x233ca5d]
        [0x233ca11]
        [0x44802f]
        [0x446823]
        mono [0x813b180]
        mono(mono_runtime_invoke+0x27) [0x80d63f7]
        mono(mono_runtime_exec_main+0x5c) [0x80d750c]
        mono(mono_runtime_run_main+0x171) [0x80d7131]
        mono(strftime+0x1b6a) [0x805d002]
        mono(mono_main+0x841) [0x805d9d1]
        mono(__fxstat64+0x133) [0x805c3cb]
        /lib/libc.so.6(__libc_start_main+0xdf) [0x6e1d5f]
        mono(sinh+0x49) [0x805c321]
Aborted



Peter Dennis Bartok wrote:
http://svn.myrealbox.com/~peter/mwf/System.Windows.Forms.dll (This is the 
.Net 1.1 version)

Install with "gacutil -i System.Windows.Forms.dll" executed in the directory 
where you downloaded it to.

Cheers,
 Peter

-----Original Message-----
From: "Jeffrey Haynes" <[EMAIL PROTECTED]>
To: "Peter Dennis Bartok" <[EMAIL PROTECTED]>
Date: 17 March, 2006 11:04
Subject: Re: [Mono-winforms-list] Error starting an Application


  
Peter,

Which dll do I need?

Thanks

Peter Dennis Bartok wrote:
    
To build the whole thing you need to download both mono and mcs and fully 
go
through mono/autogen.sh once. After that, you can just update
mcs/class/Managed.Windows.Forms and say 'make && make install' in there.

Here's the link for docs on how to build mono from source:
http://www.mono-project.com/Compiling_Mono (be sure to use the
mono.myrealbox.com anonymous repository)

If that's too big a deal (which I could understand), I can upload a new
pre-compiled dll later tonight or tomorrow and you can just 'gacutil -i'
that.
Right now i've got so much debug in the code, you wouldn't want to run 
that
:-)

Cheers,
  Peter

-----Original Message-----
From: "Jeffrey Haynes" <[EMAIL PROTECTED]>
To: "Peter Dennis Bartok" <[EMAIL PROTECTED]>
Cc: <mono-winforms-list@lists.ximian.com>
Date: Thursday, 16 March, 2006 23:11
Subject: Re: [Mono-winforms-list] Error starting an Application



      
OK Thanks.

I have retrieved the winforms source and built it. But how do I install 
it?
Can
I build an rpm or some othe kind of install package?
I apologize if this is a FAQ... I did't see an answer on the web site.

Thanks,

Jeff

Peter Dennis Bartok wrote:

        
Jeffrey,

For Winforms you should use svn head. It's still under heavy 
development
and
I actually fixed this particular crash a few days ago. (I didn't run 
into
it
with XJS, so I don't know if XJS runs or what is even is, but you 
should
get
further with MWF from svn head)

Cheers,
 Peter

-----Original Message-----
From: "Jeffrey Haynes" <[EMAIL PROTECTED]>
To: <mono-winforms-list@lists.ximian.com>
Date: 16 March, 2006 20:46
Subject: [Mono-winforms-list] Error starting an Application



          
I am attempting to run XJS Journal System in Fedora Core 4
(2.6.15-1.1833_FC4) with latest mono:
$ rpm -qa | grep mono
mono-core-1.1.13.4-0.novell
mono-basic-1.1.13.4-0.novell
mono-locale-extras-1.1.13.4-0.novell
mod_mono-1.1.13-0.fedora4.novell
mono-jscript-1.1.13.4-0.novell
mono-data-oracle-1.1.13.4-0.novell
mono-web-1.1.13.4-0.novell
mono-devel-1.1.13.4-0.novell
mono-data-sybase-1.1.13.4-0.novell
mono-data-sqlite-1.1.13.4-0.novell
monodevelop-0.9-2.novell
mono-winforms-1.1.13.4-0.novell
mono-data-firebird-1.1.13.4-0.novell
mono-nunit-1.1.13.4-0.novell
mono-tools-1.1.11-0.novell
mono-extras-1.1.13.4-0.novell
mono-data-postgresql-1.1.13.4-0.novell
monodoc-core-1.1.13-0.novell
mono-data-1.1.13.4-0.novell
mono-complete-1.1.13.4-0.novell


I must not have something installed correctly because I always get the
following error when I try to start XJS-Desktop:
$ mono XJS-Desktop.exe
Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
14:35:24]
Keyboard: United States keyboard layout (phantom key version)
Gtk colorscheme read

Unhandled Exception: System.NullReferenceException: Object reference 
not
set to an instance of an object
in <0x00129> System.Windows.Forms.XplatUIX11:SetZOrder (IntPtr handle,
IntPtr after_handle, Boolean top, Boolean bottom)
in <0x00022> System.Windows.Forms.XplatUI:SetZOrder (IntPtr handle,
IntPtr AfterhWnd, Boolean Top, Boolean Bottom)
in <0x00113> System.Windows.Forms.Control:SendToBack ()
in (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:SendToBack ()
in <0x00031> Xjs.Core.Forms.FormSplash:SetExtra (SplashDetails 
newExtra)
in (wrapper remoting-invoke-with-check)
Xjs.Core.Forms.FormSplash:SetExtra (Xjs.Core.Forms.SplashDetails)
in <0x00084> Xjs.Core.Static:LoadPlugins (System.IO.DirectoryInfo
PluginLocation)
in <0x00290> XjsDesktop.StartXjs:Main (System.String[] args)


Any hints?

Seems to be something missing, but I don't know what.

Thanks for any feedback.

Jeff Haynes



            
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

          
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

      
    

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
  

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to