Project

General

Profile

Actions

Task / Tâche #1856

closed

Fehler beim builden/starten von pivote-circle

Added by danilo over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
18 October 2011
Due date:
% Done:

100%

Estimated time:

Description

Ich hab wiedermal versucht, PiVote selber zu builden.

Ich habe die Solution geöffnet und Pirate.PiVote sowie Pirate.PiVote.Circle kompiliert, was problemlos funktionierte.

Beim Ausführen von Pirate.PiVote.Circle gibts die folgende Fehlermeldung:

System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0009d] in /build/src/mono-2.10.5/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:220 
  at System.Drawing.Image.CreateFromHandle (IntPtr handle) [0x00000] in /build/src/mono-2.10.5/mcs/class/System.Drawing/System.Drawing/Image.cs:177 
  at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00011] in /build/src/mono-2.10.5/mcs/class/System.Drawing/System.Drawing/Image.cs:164 
  at System.Drawing.Icon.GetInternalBitmap () [0x00036] in /build/src/mono-2.10.5/mcs/class/System.Drawing/System.Drawing/Icon.cs:559 
  at System.Drawing.Icon.ToBitmap () [0x0001b] in /build/src/mono-2.10.5/mcs/class/System.Drawing/System.Drawing/Icon.cs:581 
  at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap ()
  at System.Windows.Forms.XplatUIX11.SetIcon (System.Windows.Forms.Hwnd hwnd, System.Drawing.Icon icon) [0x00021] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1212 
  at System.Windows.Forms.XplatUIX11.SetIcon (IntPtr handle, System.Drawing.Icon icon) [0x0000d] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:5673 
  at System.Windows.Forms.XplatUI.SetIcon (IntPtr handle, System.Drawing.Icon icon) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:983 
  at System.Windows.Forms.Form.CreateHandle () [0x0008a] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2025 
  at System.Windows.Forms.Control.CreateControl () [0x0004b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3528 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00043] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4769 
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x0007b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2478 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x0000c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3199 
  at System.Windows.Forms.Control.Show () [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4152 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:Show ()
  at Pirate.PiVote.Circle.Status.InitScreen.ShowInfo (Pirate.PiVote.Circle.CircleController controller, System.Windows.Forms.Form parentForm) [0x00044] in /home/danilo/Projects/pi-vote/trunk/Circle/Status/InitScreen.cs:42 
  at Pirate.PiVote.Circle.Master.Master_Load (System.Object sender, System.EventArgs e) [0x00060] in /home/danilo/Projects/pi-vote/trunk/Circle/Master.cs:53 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00022] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2179 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00029] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:3010 
System.NullReferenceException: Object reference not set to an instance of an object
  at Pirate.PiVote.Circle.CircleController.Disconnect () [0x00000] in /home/danilo/Projects/pi-vote/trunk/Circle/CircleController.cs:517 
  at Pirate.PiVote.Circle.Master.Master_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in /home/danilo/Projects/pi-vote/trunk/Circle/Master.cs:98 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x0001c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:3281 
  at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x0001b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:160 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002f] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:633 
  at System.Windows.Forms.Application.Exit () [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:620 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00063] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:685 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00036] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:3013 
  at System.Windows.Forms.Form.OnCreateControl () [0x00027] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2122 
  at System.Windows.Forms.Control.CreateControl () [0x000a3] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3542 
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00039] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5495 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001db] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5079 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:813 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0003c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:689 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00165] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2630 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:228 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:209 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00085] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Pirate.PiVote.Circle.CircleController.Disconnect () [0x00000] in /home/danilo/Projects/pi-vote/trunk/Circle/CircleController.cs:517 
  at Pirate.PiVote.Circle.Master.Master_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in /home/danilo/Projects/pi-vote/trunk/Circle/Master.cs:98 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x0001c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:3281 
  at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x0001b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:160 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002f] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:633 
  at System.Windows.Forms.Application.Exit () [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:620 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00063] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:685 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:208 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00141] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:264 
  at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x000d6] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:5414 
  at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00034] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1584 
  at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00597] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2972 
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:508 
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x0000c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:167 
  at System.Windows.Forms.Control.CreateHandle () [0x0003a] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4214 
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2008 
  at System.Windows.Forms.Control.CreateControl () [0x0004b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3528 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00043] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4769 
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x0007b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2478 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x0000c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3199 
  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) [0x00059] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:823 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00014] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:724 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:707 
  at Pirate.PiVote.Circle.Program.Main () [0x0000b] in /home/danilo/Projects/pi-vote/trunk/Circle/Program.cs:25 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Pirate.PiVote.Circle.CircleController.Disconnect () [0x00000] in /home/danilo/Projects/pi-vote/trunk/Circle/CircleController.cs:517 
  at Pirate.PiVote.Circle.Master.Master_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in /home/danilo/Projects/pi-vote/trunk/Circle/Master.cs:98 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x0001c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:3281 
  at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x0001b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:160 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002f] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:633 
  at System.Windows.Forms.Application.Exit () [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:620 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00063] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:685 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:208 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00141] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:264 
  at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x000d6] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:5414 
  at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00034] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1584 
  at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00597] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2972 
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:508 
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x0000c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:167 
  at System.Windows.Forms.Control.CreateHandle () [0x0003a] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4214 
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2008 
  at System.Windows.Forms.Control.CreateControl () [0x0004b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3528 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00043] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4769 
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x0007b] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2478 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x0000c] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3199 
  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) [0x00059] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:823 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00014] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:724 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in /build/src/mono-2.10.5/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:707 
  at Pirate.PiVote.Circle.Program.Main () [0x0000b] in /home/danilo/Projects/pi-vote/trunk/Circle/Program.cs:25 
Die Anwendung wurde durch ein Signal beendet: SIGHUP

libgdiplus ist installiert. Ich nutze Monodevelop.

Infos zu Mono:

[danilo@t410 ~]$ mono --version
Mono JIT compiler version 2.10.5 (tarball Fri Sep  9 06:34:36 UTC 2011
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. ww
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark

Any idea?

Actions #1

Updated by Exception over 12 years ago

  • Category set to 90
  • Status changed from New to 2
  • Assignee set to Exception

This is a bug in the mono c# compiler. I've got a workaround and will integrate this now.

Actions #2

Updated by Exception over 12 years ago

  • Status changed from 2 to 3
  • % Done changed from 0 to 100

Applied in changeset r317.

Actions #3

Updated by Exception over 12 years ago

Applied in changeset commit:324dfe489092bec7986d8a4c6b6654f14618969d.

Actions #4

Updated by Apophis over 11 years ago

  • Status changed from 3 to Closed

closed

Actions

Also available in: Atom PDF