News:

Dal team di PeppermintOS ecco Peppermint Classic ... l'esperienza della vecchia Peppermint 10 ma su base debian 12

Menu principale

Problema con grafica credo

Aperto da luciano53, Giovedì 21 Settembre 2017, 17:52:19

Discussione precedente - Discussione successiva

luciano53

salve stò usando Mint 18 e subito difficoltà.
Ho creato un programma con sharp develop su mint ho installato mono develop il programma parte ma dopo un pò, pur continuando a girare, sul terminale mi trovo due errori che riporto:
X11 Error encountered:
  Error: BadWindow (invalid Window parameter)
  Request:     40 (0)
  Resource ID: 0x4400B18
  Serial:      29492
  Hwnd:        Hwnd, Mapped:False ClientWindow:0x4400B18, WholeWindow:0x4400B17, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0x4400B16, WholeWindow:0x4400B15, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0x4400B14, WholeWindow:0x4400B13, Zombie=True, Parent:[<null>]]]
  Control:     <handle 4400B18 non-existant>  at System.Environment.get_StackTrace () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.HandleError (IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.XTranslateCoordinates (IntPtr , IntPtr , IntPtr , Int32 , Int32 , System.Int32& , System.Int32& , System.IntPtr& ) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.ScreenToClient (IntPtr handle, System.Int32& x, System.Int32& y) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0
  at Scala.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

X11 Error encountered:
  Error: BadWindow (invalid Window parameter)
  Request:     40 (0)
  Resource ID: 0x44012AB
  Serial:      39632
  Hwnd:        Hwnd, Mapped:False ClientWindow:0x44012AB, WholeWindow:0x44012AA, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0x44012A9, WholeWindow:0x44012A8, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0x44012A7, WholeWindow:0x44012A6, Zombie=True, Parent:[<null>]]]
  Control:     <handle 44012AB non-existant>  at System.Environment.get_StackTrace () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.HandleError (IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.XTranslateCoordinates (IntPtr , IntPtr , IntPtr , Int32 , Int32 , System.Int32& , System.Int32& , System.IntPtr& ) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.ScreenToClient (IntPtr handle, System.Int32& x, System.Int32& y) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0
  at Scala.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

Non capisco se si tratta di un errore di programma oppure un errore di OS.
Qualcuno sa aiutarmi
Grazie

danialbi

per questa volta l'ho fatto senza problemi io, ma la prossima volta, se devi postare del codice nel forum, usa l'apposita funzione "inserisci codice", quella contrassegnata con il cancelletto #
grazie  :ok:

in merito agli errori, guarda, qualsiasi cosa io dicessi, potrebbe essere una baggianata, meglio lasciare eventualmente la parole a chi ci capisce di piu' :) :)

bobol

#2
Ciao luciano ti chiedo di leggere la guida ai post che trovi sul portale e modificarlo di conseguenza utilizzando il tag code per inserire nella discussione gli out del terminale.
Grazie

PS
Preceduto, aggiungo anche di visitare la sezione "Presentazioni"  :)

Powered by EzPortal