[Mono-winforms-list] Error in my Windows-Forms-Application

Oliver_Vienna oliver.sowa at steinringer.at
Thu Nov 13 16:45:15 EST 2008


My Program is running some hours but suddenly it quits and the follwoing
message appears.
Can anybody help me solving this problem?



linux:/home/linux # mono Desktop/Infoboard/Infoboard.exe
X11 Error encountered: 
  Error: BadMatch (invalid parameter attributes)
  Request:     12 (0)
  Resource ID: 0x200000E
  Serial:      322
  Hwnd:        Hwnd, Mapped:True ClientWindow:0x200000F,
WholeWindow:0x200000E, Zombie=False, Parent:[Hwnd, Mapped:True
ClientWindow:0x2000011, WholeWindow:0x2000010, Zombie=False,
Parent:[<null>]]
  Control:     System.Windows.Forms.WebBrowser   at
System.Environment.get_StackTrace()
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display,
XErrorEvent ByRef error_event)
   at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr ,
IntPtr ByRef )
   at System.Drawing.Graphics.FromXDrawable(IntPtr drawable, IntPtr display)
   at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
   at System.Windows.Forms.XplatUIX11.PaintEventStart(Message ByRef msg,
IntPtr handle, Boolean client)
   at System.Windows.Forms.XplatUI.PaintEventStart(Message ByRef msg, IntPtr
handle, Boolean client)
   at System.Windows.Forms.Control.WmPaint(Message ByRef m)
   at System.Windows.Forms.Control.WndProc(Message ByRef m)
   at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message
ByRef m)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef
m)
   at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam)
   at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message,
IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.XplatUIX11.UpdateWindow(IntPtr handle)
   at System.Windows.Forms.XplatUI.UpdateWindow(IntPtr handle)
   at System.Windows.Forms.Control.Refresh()
   at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
   at System.Windows.Forms.ToolStripProgressBar.set_Value(Int32 value)
   at Infoboard.MainForm.timer1_Tick(System.Object sender, System.EventArgs
e)
   at System.Windows.Forms.Timer.OnTick(System.EventArgs e)
   at System.Windows.Forms.Timer.FireTick()
   at
System.Windows.Forms.XplatUIX11.CheckTimers(System.Collections.ArrayList
timers, DateTime now)
   at
System.Windows.Forms.XplatUIX11.UpdateMessageQueue(System.Windows.Forms.XEventQueue
queue)
   at System.Windows.Forms.XplatUIX11.GetMessage(System.Object queue_id, MSG
ByRef msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax)
   at System.Windows.Forms.XplatUI.GetMessage(System.Object queue_id, MSG
ByRef msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
   at System.Windows.Forms.Application.RunLoop(Boolean Modal,
System.Windows.Forms.ApplicationContext context)
   at
System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext
context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.Form
mainForm)
   at Infoboard.Program.Main()

Stacktrace:


Native stacktrace:

	mono [0x806d9d4]
	mono [0x80861db]
	[0xffffe410]

Debug info from gdb:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e158f0 (LWP 2825)]
[New Thread 0xb142eb90 (LWP 12092)]
[New Thread 0xb1ddfb90 (LWP 4968)]
[New Thread 0xb0c2db90 (LWP 2842)]
[New Thread 0xb27c7b90 (LWP 2836)]
[New Thread 0xb39fab90 (LWP 2831)]
[New Thread 0xb41fbb90 (LWP 2830)]
[New Thread 0xb49fcb90 (LWP 2829)]
[New Thread 0xb6173b90 (LWP 2828)]
[New Thread 0xb7652b90 (LWP 2827)]
[New Thread 0xb7676b90 (LWP 2826)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe430 in __kernel_vsyscall ()
  11 Thread 0xb7676b90 (LWP 2826)  0xffffe430 in __kernel_vsyscall ()
  10 Thread 0xb7652b90 (LWP 2827)  0xffffe430 in __kernel_vsyscall ()
  9 Thread 0xb6173b90 (LWP 2828)  0xffffe430 in __kernel_vsyscall ()
  8 Thread 0xb49fcb90 (LWP 2829)  0xffffe430 in __kernel_vsyscall ()
  7 Thread 0xb41fbb90 (LWP 2830)  0xffffe430 in __kernel_vsyscall ()
  6 Thread 0xb39fab90 (LWP 2831)  0xffffe430 in __kernel_vsyscall ()
  5 Thread 0xb27c7b90 (LWP 2836)  0xffffe430 in __kernel_vsyscall ()
  4 Thread 0xb0c2db90 (LWP 2842)  0xffffe430 in __kernel_vsyscall ()
  3 Thread 0xb1ddfb90 (LWP 4968)  0xffffe430 in __kernel_vsyscall ()
  2 Thread 0xb142eb90 (LWP 12092)  0xffffe430 in __kernel_vsyscall ()
  1 Thread 0xb7e158f0 (LWP 2825)  0xffffe430 in __kernel_vsyscall ()

Thread 11 (Thread 0xb7676b90 (LWP 2826)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f8d3e6 in nanosleep () from /lib/libpthread.so.0
#2  0x0814a058 in ?? ()
#3  0xb7f86175 in start_thread () from /lib/libpthread.so.0
#4  0xb7ee3dce in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb7652b90 (LWP 2827)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f89c15 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0x0814d377 in ?? ()
#3  0x0814ff84 in ?? ()
#4  0x0814ffec in ?? ()
#5  0x0816a882 in ?? ()
#6  0x080d585a in ?? ()
#7  0x080f7869 in ?? ()
#8  0x08166116 in ?? ()
#9  0x08184065 in ?? ()
#10 0xb7f86175 in start_thread () from /lib/libpthread.so.0
#11 0xb7ee3dce in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb6173b90 (LWP 2828)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f8cbab in read () from /lib/libpthread.so.0
#2  0x0806daee in ?? ()
#3  0x080861db in ?? ()
#4  <signal handler called>
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xb49fcb90 (LWP 2829)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f89c15 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb6295789 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#3  0xb540a6be in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#4  0xb5409ff2 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#5  0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#6  0xb7f86175 in start_thread () from /lib/libpthread.so.0
#7  0xb7ee3dce in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb41fbb90 (LWP 2830)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f89c15 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb6295789 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#3  0xb540b756 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#4  0xb5409ff2 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#5  0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#6  0xb7f86175 in start_thread () from /lib/libpthread.so.0
#7  0xb7ee3dce in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb39fab90 (LWP 2831)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eda1c7 in poll () from /lib/libc.so.6
#2  0xb629768c in ?? () from /usr/lib/libnspr4.so
#3  0xb4eaddf9 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#4  0xb4eae2ee in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#5  0xb4eae598 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#6  0xb55c0390 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#7  0xb5591154 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#8  0xb4eae011 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#9  0xb55c03ee in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#10 0xb5591154 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#11 0xb55c0b55 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#12 0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#13 0xb7f86175 in start_thread () from /lib/libpthread.so.0
#14 0xb7ee3dce in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb27c7b90 (LWP 2836)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f89f42 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb62948ee in ?? () from /usr/lib/libnspr4.so
#3  0xb6295710 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#4  0xb55c333a in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#5  0xb55c03ee in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#6  0xb5591154 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#7  0xb55c0b55 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#8  0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#9  0xb7f86175 in start_thread () from /lib/libpthread.so.0
#10 0xb7ee3dce in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb0c2db90 (LWP 2842)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f89c15 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb6295789 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#3  0xb6295807 in PR_Wait () from /usr/lib/libnspr4.so
#4  0xb55bf615 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#5  0xb55c03c2 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#6  0xb5591154 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#7  0xb55c0b55 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#8  0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#9  0xb7f86175 in start_thread () from /lib/libpthread.so.0
#10 0xb7ee3dce in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb1ddfb90 (LWP 4968)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eda1c7 in poll () from /lib/libc.so.6
#2  0xb1436e2b in ?? () from /lib/libresolv.so.2
#3  0xb14374f5 in ?? () from /lib/libresolv.so.2
#4  0xb14356ea in __libc_res_nquery () from /lib/libresolv.so.2
#5  0xb1435a16 in ?? () from /lib/libresolv.so.2
#6  0xb1435cfa in __libc_res_nsearch () from /lib/libresolv.so.2
#7  0xb3091184 in _nss_dns_gethostbyname3_r () from /lib/libnss_dns.so.2
#8  0xb309142b in _nss_dns_gethostbyname2_r () from /lib/libnss_dns.so.2
#9  0xb7ecaf0a in ?? () from /lib/libc.so.6
#10 0xb7ecd04c in getaddrinfo () from /lib/libc.so.6
#11 0xb628e009 in PR_GetAddrInfoByName () from /usr/lib/libnspr4.so
#12 0xb4eb77c4 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#13 0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#14 0xb7f86175 in start_thread () from /lib/libpthread.so.0
#15 0xb7ee3dce in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb142eb90 (LWP 12092)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7f89f42 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb62948ee in ?? () from /usr/lib/libnspr4.so
#3  0xb6295710 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#4  0xb6295807 in PR_Wait () from /usr/lib/libnspr4.so
#5  0xb55c2026 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#6  0xb55c03ee in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#7  0xb5591154 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#8  0xb55c0b55 in ?? () from /usr/lib/xulrunner-1.9.0.3/libxul.so
#9  0xb629bad1 in ?? () from /usr/lib/libnspr4.so
#10 0xb7f86175 in start_thread () from /lib/libpthread.so.0
#11 0xb7ee3dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7e158f0 (LWP 2825)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eda1c7 in poll () from /lib/libc.so.6
#2  0xb156c60c in ?? ()
#3  0xb156bf57 in ?? ()
#4  0xb159b49a in ?? ()
#5  0xb1597290 in ?? ()
#6  0xb1defb22 in ?? ()
#7  0xb1de5ebf in ?? ()
#8  0xb1de53c3 in ?? ()
#9  0xb1de517e in ?? ()
#10 0xb7a1024d in ?? ()
#11 0xb7a101ae in ?? ()
#12 0x080baea5 in mono_runtime_exec_main ()
#13 0x080bb61d in mono_runtime_run_main ()
#14 0x0805c987 in mono_main ()
#15 0x0805acd2 in ?? ()
#16 0xb7e2c5f5 in __libc_start_main () from /lib/libc.so.6
#17 0x0805ac11 in ?? ()
#0  0xffffe430 in __kernel_vsyscall ()

=================================================================
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.
=================================================================
-- 
View this message in context: http://www.nabble.com/Error-in-my-Windows-Forms-Application-tp20490217p20490217.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list