[Mono-bugs] [Bug 436000] New: winforms program crash randomly while starting

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 16 06:14:28 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=436000

User rawang at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=436000#c80

           Summary: winforms program crash randomly while starting
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rawang at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


I wrote a very simple winforms sample using IronPython,
when I start it. it crashes randomly. 

the output is [1], and it does not return the shell prompt, so i have to use
Ctrl + C to interrupt it. 

[1]
FormListener Initialized
PreRun fired
about to create monitor
just made monitor

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkObject:property-change

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:create

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type create


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:destroy

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type destroy


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:minimize

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type minimize


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:maximize

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type maximize


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:restore

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type restore


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:activate

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type activate


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: window:deactivate

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: Invalid object type
deactivate


** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkDocument:load-complete

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkDocument:reload

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkDocument:load-stopped

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkObject:state-change

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkObject:children-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkObject:visible-data-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkObject:active-descendant-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkComponent:bounds-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkSelection:selection-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkText:text-selection-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkText:text-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkText:text-caret-moved

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:row-inserted

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:row-reordered

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:row-deleted

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:column-inserted

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:column-reordered

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:column-deleted

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkTable:model-changed

** (/usr/lib/IPCE/ipy/ipy.exe:11549): WARNING **: add global event listener,
event_type: Gtk:AtkHypertext:link-selected
Form added!
mono: xcb_io.c:322: insert_pending_request: Assertion `(*cur)->waiters == -1'
failed.
Stacktrace:

  at (wrapper managed-to-native)
System.Windows.Forms.X11Keyboard.XCreateFontSet
(intptr,string,intptr&,int&,intptr) <0x00004>
  at (wrapper managed-to-native)
System.Windows.Forms.X11Keyboard.XCreateFontSet
(intptr,string,intptr&,int&,intptr) <0xffffffff>
  at System.Windows.Forms.X11Keyboard.CreateOverTheSpotXic (intptr,intptr)
<0x0008e>
  at System.Windows.Forms.X11Keyboard.CreateXic (intptr,intptr) <0x000a6>
  at System.Windows.Forms.X11Keyboard.CreateXicForWindow (intptr) <0x00026>
  at System.Windows.Forms.X11Keyboard.FocusIn (intptr) <0x0007b>
  at System.Windows.Forms.XplatUIX11.SetFocus (intptr) <0x000ac>
  at System.Windows.Forms.XplatUI.SetFocus (intptr) <0x00014>
  at System.Windows.Forms.ContainerControl.SendControlFocus
(System.Windows.Forms.Control) <0x0006c>
  at System.Windows.Forms.ContainerControl.set_ActiveControl
(System.Windows.Forms.Control) <0x00882>
  at System.Windows.Forms.Control.Select (bool,bool) <0x0009f>
  at System.Windows.Forms.Control.SelectNextControl
(System.Windows.Forms.Control,bool,bool,bool,bool) <0x00188>
  at System.Windows.Forms.Form.SelectActiveControl () <0x00055>
  at System.Windows.Forms.Form.WmActivate (System.Windows.Forms.Message&)
<0x00047>
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&)
<0x0011d>
  at IronPython.NewTypes.System.Windows.Forms.Form_1.WndProc
(System.Windows.Forms.Message&) <0x00050>
  at System.Windows.Forms.Control/ControlWindowTarget.OnMessage
(System.Windows.Forms.Message&) <0x00014>
  at System.Windows.Forms.Control/ControlNativeWindow.WndProc
(System.Windows.Forms.Message&) <0x0001f>
  at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x001be>
  at System.Windows.Forms.XplatUIX11.DispatchMessage
(System.Windows.Forms.MSG&) <0x00023>
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
<0x00014>
  at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x0091f>
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) <0x0005e>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00028>
  at (wrapper dynamic-method) object.Run##80 (object) <0xffffffff>
  at IronPython.Runtime.Calls.FastCallable1.Call
(IronPython.Runtime.Calls.ICallerContext,object) <0x0000f>
  at IronPython.Runtime.Calls.FastCallable1.Call
(IronPython.Runtime.Calls.ICallerContext,object[]) <0x0002f>
  at IronPython.Compiler.MethodBinder/MethodTarget.Call
(IronPython.Runtime.Calls.ICallerContext,object[]) <0x00041>
  at IronPython.Compiler.MethodBinder/TargetSet.Call
(IronPython.Runtime.Calls.ICallerContext,IronPython.Compiler.CallType,object[])
<0x0013f>
  at IronPython.Compiler.MethodBinder/TargetSet.Call1
(IronPython.Runtime.Calls.ICallerContext,object) <0x0003d>
  at IronPython.Runtime.Calls.FastCallableWithContextAny.Call
(IronPython.Runtime.Calls.ICallerContext,object) <0x0001c>
  at IronPython.Runtime.Calls.BuiltinFunction.Call
(IronPython.Runtime.Calls.ICallerContext,object) <0x00017>
  at IronPython.Runtime.Operations.Ops.CallWithContext
(IronPython.Runtime.Calls.ICallerContext,object,object) <0x0003e>
  at __main__.Initialize () <0x002dd>
  at IronPython.Runtime.PythonModule.Initialize () <0x00016>
  at IronPython.Hosting.OptimizedEngineModule.Execute () <0x00026>
  at IronPythonConsole.PythonCommandLine.RunFile
(IronPython.Hosting.PythonEngine,string) <0x00108>
  at IronPythonConsole.PythonCommandLine.Run
(IronPython.Hosting.PythonEngine,string) <0x00059>
  at IronPythonConsole.PythonCommandLine.Main (string[]) <0x00285>
  at (wrapper runtime-invoke)
IronPythonConsole.PythonCommandLine.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono [0x8070a42]
        [0xffffe410]
        /lib/libc.so.6(abort+0x188) [0xb7d08238]
        /lib/libc.so.6(__assert_fail+0xee) [0xb7cff70e]
        /usr/lib/libX11.so.6 [0xb69ac8f7]
        /usr/lib/libX11.so.6(XListFontsWithInfo+0x17d) [0xb698578d]
        /usr/lib/libX11.so.6 [0xb69e3c1b]
        /usr/lib/libX11.so.6(XCreateOC+0x61) [0xb69928c1]
        /usr/lib/libX11.so.6(XCreateFontSet+0x7f) [0xb698652f]
        [0xb5dbb20e]
        [0xb5dbafb7]
        [0xb5dba36f]
        [0xb5dba177]
        [0xb5dba104]
        [0xb5db63dd]
        [0xb5db6325]
        [0xb5db62fd]
        [0xb5db58b3]
        [0xb5db4db8]
        [0xb5db4479]
        [0xb5db42b6]
        [0xb5db4180]
        [0xb5dbf73e]
        [0xb5dbf441]
        [0xb65a7ac5]
        [0xb65a7aa8]
        [0xb65a6fc7]
        [0xb5db410c]
        [0xb5db40dd]
        [0xb5f38060]
        [0xb5f33c2f]
        [0xb5f339e1]
        [0xb6f9f54d]
        [0xb6f09300]
        [0xb6edb258]
        [0xb6edaf62]
        [0xb6edabe0]
        [0xb6ebfebe]
        [0xb6ed2d65]
        [0xb6f092d0]
        [0xb6f0926f]
        [0xb6ec3d36]
        [0xb6f031cf]
        [0xb6ec3a2f]
        [0xb6fba129]
        [0xb6fb9f52]
        [0xb790361e]
        [0xb79031e5]
        /usr/bin/mono [0x81bedba]
        /usr/bin/mono(mono_runtime_invoke+0x31) [0x80c33e1]
        /usr/bin/mono(mono_runtime_exec_main+0x1dc) [0x80c67ac]
        /usr/bin/mono(mono_runtime_run_main+0x226) [0x80c6be6]
        /usr/bin/mono(mono_main+0x1862) [0x805b1f2]
        /usr/bin/mono [0x80593fe]
        /lib/libc.so.6(__libc_start_main+0xe5) [0xb7cf25f5]
        /usr/bin/mono [0x8059341]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0xb7cb1900 (LWP 11549)]
[New Thread 0xb5b4db90 (LWP 11555)]
[New Thread 0xb5ed6b90 (LWP 11554)]
[New Thread 0xb750db90 (LWP 11552)]
[New Thread 0xb7531b90 (LWP 11551)]
0xffffe430 in __kernel_vsyscall ()
  5 Thread 0xb7531b90 (LWP 11551)  0xffffe430 in __kernel_vsyscall ()
  4 Thread 0xb750db90 (LWP 11552)  0xffffe430 in __kernel_vsyscall ()
  3 Thread 0xb5ed6b90 (LWP 11554)  0xffffe430 in __kernel_vsyscall ()
  2 Thread 0xb5b4db90 (LWP 11555)  0xffffe430 in __kernel_vsyscall ()
  1 Thread 0xb7cb1900 (LWP 11549)  0xffffe430 in __kernel_vsyscall ()

Thread 5 (Thread 0xb7531b90 (LWP 11551)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7e533e6 in nanosleep () from /lib/libpthread.so.0
#2  0x0816269e in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e4c175 in start_thread () from /lib/libpthread.so.0
#4  0xb7da9dce in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb750db90 (LWP 11552)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7e51ee5 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2  0x080d302b in finalizer_thread (unused=0x0) at gc.c:928
#3  0x080b4991 in start_wrapper (data=0x832cec0) at threads.c:621
#4  0x08156c52 in thread_start_routine (args=0x83224f0) at threads.c:279
#5  0x08185e14 in GC_start_routine (arg=0xfffffe00) at pthread_support.c:1382
#6  0xb7e4c175 in start_thread () from /lib/libpthread.so.0
#7  0xb7da9dce in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb5ed6b90 (LWP 11554)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7e527a9 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb7e4dc66 in _L_lock_89 () from /lib/libpthread.so.0
#3  0xb7e4d572 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb69914ea in ?? () from /usr/lib/libX11.so.6
#5  0xb69ab83b in ?? () from /usr/lib/libX11.so.6
#6  0xb69ac5c6 in _XReply () from /usr/lib/libX11.so.6
#7  0xb69a11a1 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#8  0xb5d2bc5f in ?? ()
#9  0xb5d2bbec in ?? ()
#10 0xb5d2bb63 in ?? ()
#11 0xb5d2bb0a in ?? ()
#12 0xb5d2ba3a in ?? ()
#13 0xb5d2b99b in ?? ()
#14 0xb5dc991d in ?? ()
#15 0xb5dc90b5 in ?? ()
#16 0xb5d2c52d in ?? ()
#17 0xb5d25fc3 in ?? ()
#18 0xb5db9457 in ?? ()
#19 0xb5db9433 in ?? ()
#20 0xb5db93b9 in ?? ()
#21 0xb5d25a59 in ?? ()
#22 0xb5dbe28e in ?? ()
#23 0xb60e41b8 in atk_object_ref_state_set () from /usr/lib/libatk-1.0.so.0
#24 0xb5d8be7e in impl_accessibility_accessible_get_state () from
/usr/lib/libspi.so.0
#25 0xb5d88006 in _ORBIT_skel_small_Accessibility_Accessible_getState () from
/usr/lib/libspi.so.0
#26 0xb5b7eb27 in ?? () from /usr/lib/libORBit-2.so.0
#27 0xb5b850b5 in ORBit_OAObject_invoke () from /usr/lib/libORBit-2.so.0
#28 0xb5b714ce in ORBit_small_invoke_adaptor () from /usr/lib/libORBit-2.so.0
#29 0xb5b82ba9 in ?? () from /usr/lib/libORBit-2.so.0
#30 0xb5b83282 in ?? () from /usr/lib/libORBit-2.so.0
#31 0xb5b69d45 in giop_thread_queue_process () from /usr/lib/libORBit-2.so.0
#32 0xb5b69eb2 in ?? () from /usr/lib/libORBit-2.so.0
#33 0xb5b8f396 in ?? () from /usr/lib/libORBit-2.so.0
#34 0xb7ea42d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb7ea785b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#36 0xb7ea7d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#37 0xb5f37389 in ?? ()
#38 0xb5f3734f in ?? ()
#39 0xb5f37294 in ?? ()
#40 0xb790ebaa in ?? ()
#41 0x081bedba in mono_jit_runtime_invoke (method=0x8b54484, obj=0x34bc08,
params=0xfffffe00, exc=0xfffffe00) at mini.c:13518
#42 0x080c33e1 in mono_runtime_invoke (method=0x8b54484, obj=0xfffffe00,
params=0xfffffe00, exc=0xfffffe00) at object.c:2414
#43 0x080c367b in mono_runtime_delegate_invoke (delegate=0x34bc08,
params=0xfffffe00, exc=0xfffffe00) at object.c:2950
#44 0x080b49ed in start_wrapper (data=0x8b67b50) at threads.c:627
#45 0x08156c52 in thread_start_routine (args=0x832267c) at threads.c:279
#46 0x08185e14 in GC_start_routine (arg=0xfffffe00) at pthread_support.c:1382
#47 0xb7e4c175 in start_thread () from /lib/libpthread.so.0
#48 0xb7da9dce in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb5b4db90 (LWP 11555)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7da01c7 in poll () from /lib/libc.so.6
#2  0xb7ea76f2 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb7ea7d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb5b8ae00 in ?? () from /usr/lib/libORBit-2.so.0
#5  0xb7ece39f in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0
#6  0xb7e4c175 in start_thread () from /lib/libpthread.so.0
#7  0xb7da9dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7cb1900 (LWP 11549)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7e52bab in read () from /lib/libpthread.so.0
#2  0x08070bdf in mono_handle_native_sigsegv (signal=6, ctx=0xbfc6817c) at
mini-exceptions.c:1439
#3  <signal handler called>
#4  0xffffe430 in __kernel_vsyscall ()
#5  0xb7d06900 in raise () from /lib/libc.so.6
#6  0xb7d08238 in abort () from /lib/libc.so.6
#7  0xb7cff70e in __assert_fail () from /lib/libc.so.6
#8  0xb69ac8f7 in _XReply () from /usr/lib/libX11.so.6
#9  0xb698578d in XListFontsWithInfo () from /usr/lib/libX11.so.6
#10 0xb69e3c1b in ?? () from /usr/lib/libX11.so.6
#11 0xb69928c1 in XCreateOC () from /usr/lib/libX11.so.6
#12 0xb698652f in XCreateFontSet () from /usr/lib/libX11.so.6
#13 0xb5dbb20e in ?? ()
#14 0xb5dbafb7 in ?? ()
#15 0xb5dba36f in ?? ()
#16 0xb5dba177 in ?? ()
#17 0xb5dba104 in ?? ()
#18 0xb5db63dd in ?? ()
#19 0xb5db6325 in ?? ()
#20 0xb5db62fd in ?? ()
#21 0xb5db58b3 in ?? ()
#22 0xb5db4db8 in ?? ()
#23 0xb5db4479 in ?? ()
#24 0xb5db42b6 in ?? ()
#25 0xb5db4180 in ?? ()
#26 0xb5dbf73e in ?? ()
#27 0xb5dbf441 in ?? ()
#28 0xb65a7ac5 in ?? ()
#29 0xb65a7aa8 in ?? ()
#30 0xb65a6fc7 in ?? ()
#31 0xb5db410c in ?? ()
#32 0xb5db40dd in ?? ()
#33 0xb5f38060 in ?? ()
#34 0xb5f33c2f in ?? ()
#35 0xb5f339e1 in ?? ()
#36 0xb6f9f54d in ?? ()
#37 0xb6f09300 in ?? ()
#38 0xb6edb258 in ?? ()
#39 0xb6edaf62 in ?? ()
#40 0xb6edabe0 in ?? ()
#41 0xb6ebfebe in ?? ()
#42 0xb6ed2d65 in ?? ()
#43 0xb6f092d0 in ?? ()
#44 0xb6f0926f in ?? ()
#45 0xb6ec3d36 in ?? ()
#46 0xb6f031cf in ?? ()
#47 0xb6ec3a2f in ?? ()
#48 0xb6fba129 in ?? ()
#49 0xb6fb9f52 in ?? ()
#50 0xb790361e in ?? ()
#51 0xb79031e5 in ?? ()
#52 0x081bedba in mono_jit_runtime_invoke (method=0x0, obj=0x0, params=0x0,
exc=0x0) at mini.c:13518
#53 0x080c33e1 in mono_runtime_invoke (method=0x8306f04, obj=0x0, params=0x0,
exc=0x0) at object.c:2414
#54 0x080c67ac in mono_runtime_exec_main (method=0x8306f04, args=0x29f48,
exc=0x0) at object.c:3302
#55 0x080c6be6 in mono_runtime_run_main (method=0x8306f04, argc=1,
argv=0xbfc6942c, exc=0x0) at object.c:3096
#56 0x0805b1f2 in mono_main (argc=3, argv=0xbfc69424) at driver.c:970
#57 0x080593fe in main (argc=0, argv=0x0) at main.c:30
#0  0xffffe430 in __kernel_vsyscall ()

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


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list