[Mono-bugs] [Bug 342505] [Regression] NPlot crashes while trying to start PlotSurface2D Demo

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 17 07:56:39 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342505#c1


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be




--- Comment #1 from Gert Driesen <gert.driesen at pandora.be>  2007-11-17 05:56:37 MST ---
Using SVN HEAD, I actually get a SIGABRT:


** (NPlotDemo.exe:6172): WARNING **: mono_class_from_mono_type: implement me
0x22


** ERROR **: file class.c: line 3948 (mono_class_from_mono_type): should not be
reached
aborting...
Stacktrace:

  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_delegate_ctor (object,object,intptr)
<0x00004>
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_delegate_ctor (object,object,intptr)
<0xffffffff>
  at PlotMenuItem..ctor (string,int,System.EventHandler) <0x0008f>
  at PlotZoomBackMenuItem..ctor (string,int,System.EventHandler) <0x00013>
  at PlotContextMenu..ctor () <0x00089>
  at NPlot.Windows.PlotSurface2D.get_DefaultContextMenu () <0x00016>
  at NPlotDemo.PlotSurface2DDemo..ctor () <0x005a4>
  at (wrapper remoting-invoke-with-check) NPlotDemo.PlotSurface2DDemo..ctor ()
<0xffffffff>
  at NPlotDemo.MenuForm.plotSurface2DDemoButton_Click (object,System.EventArgs)
<0x00020>
  at System.Windows.Forms.Control.OnClick (System.EventArgs) <0x00050>
  at System.Windows.Forms.Button.OnClick (System.EventArgs) <0x00037>
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs) <0x00132>
  at System.Windows.Forms.Button.OnMouseUp
(System.Windows.Forms.MouseEventArgs) <0x0000d>
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&)
<0x0016f>
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
<0x00200>
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&)
<0x00067>
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&)
<0x0000d>
  at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
  at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
  at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
  at System.Windows.Forms.XplatUIX11.DispatchMessage
(System.Windows.Forms.MSG&) <0x00016>
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
<0x00015>
  at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x00340>
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) <0x0000c>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00022>
  at NPlotDemo.MenuForm.Main () <0x0001f>
  at (wrapper runtime-invoke) NPlotDemo.MenuForm.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x8160b9e]
        [0xffffe440]
        /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7d2f201]
        /usr/lib/libglib-2.0.so.0(g_logv+0x4ca) [0xb7ec5f4a]
        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7ec5f89]
        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7ec6006]
        mono(mono_class_from_mono_type+0x71) [0x80ac561]
        mono(mono_type_get_object+0x1d) [0x80d49dd]
        mono(mono_method_get_object+0x13e) [0x80d69be]
        mono [0x80eb980]
        [0xb7962354]
        [0xb64e9fb8]
        [0xb64e9f1c]
        [0xb64e9c8a]
        [0xb64e9be7]
        [0xb64dfbd5]
        [0xb64df60a]
        [0xb64df581]
        [0xb64df549]
        [0xb64df4d0]
        [0xb64df253]
        [0xb64df10e]
        [0xb64df030]
        [0xb650ede9]
        [0xb6513578]
        [0xb65134fe]
        [0xb650e7cd]
        [0xb650e7ab]
        [0xb650e325]
        [0xb65003d7]
        [0xb6503396]
        [0xb6525ff1]
        [0xb6525c9d]
        [0xb6525993]
        [0xb795c250]
        [0xb795c1be]
        mono(mono_runtime_exec_main+0xbb) [0x80f09cb]
        mono(mono_runtime_run_main+0x1ba) [0x80f1dda]
        mono(mono_main+0xfaf) [0x805b56f]
        mono [0x805a0b2]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d19050]
        mono [0x805a021]

Debug info from gdb:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211099440 (LWP 6172)]
[New Thread -1220490352 (LWP 6174)]
[New Thread -1220342896 (LWP 6173)]
0xffffe410 in __kernel_vsyscall ()
  3 Thread -1220342896 (LWP 6173)  0xffffe410 in __kernel_vsyscall ()
  2 Thread -1220490352 (LWP 6174)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1211099440 (LWP 6172)  0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread -1220342896 (LWP 6173)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e7e9f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0810c771 in collection_thread (unused=0x0) at collection.c:34
#3  0xb7e7746b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7dd66de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1220490352 (LWP 6174)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e7b676 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080feaff in timedwait_signal_poll_cond (cond=0xb790a1dc, 
    mutex=0xb790a1c4, timeout=0x0, alertable=0) at handles.c:1443
#3  0x0810159f in _wapi_handle_timedwait_signal_handle (handle=0x404, 
    timeout=0x0, alertable=0) at handles.c:1523
#4  0x0810161c in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
    at handles.c:1483
#5  0x080fdd3f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
    alertable=0) at wait.c:200
#6  0x080cbd5a in finalizer_thread (unused=0x0) at gc.c:888
#7  0x080e9434 in start_wrapper (data=0x8242cc8) at threads.c:550
#8  0x0810dd12 in thread_start_routine (args=0xb77b6768) at threads.c:264
#9  0x08121ef5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1369
#10 0xb7e7746b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7dd66de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1211099440 (LWP 6172)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d95f69 in fork () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e80874 in fork () from /lib/tls/i686/cmov/libpthread.so.0
#3  0xb7eedab9 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00000010 in ?? ()
#5  0x00000010 in ?? ()
#6  0x08160b9d in mono_handle_native_sigsegv (signal=0, ctx=0x1)
    at mini-exceptions.c:1047
#7  0xb7eee6ab in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#8  0xb7eeeb4c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#9  0x08160c39 in mono_handle_native_sigsegv (signal=6, ctx=0xbf847e1c)
    at mini-exceptions.c:1061
#10 <signal handler called>
#11 0xffffe410 in __kernel_vsyscall ()
#12 0xb7d2d875 in raise () from /lib/tls/i686/cmov/libc.so.6
#13 0xb7d2f201 in abort () from /lib/tls/i686/cmov/libc.so.6
#14 0xb7ec5f4a in g_logv () from /usr/lib/libglib-2.0.so.0
#15 0xb7ec5f89 in g_log () from /usr/lib/libglib-2.0.so.0
#16 0xb7ec6006 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#17 0x080ac561 in mono_class_from_mono_type (type=0x21fa4) at class.c:3948
#18 0x080d49dd in mono_type_get_object (domain=0x21f00, type=0x21fa4)
    at reflection.c:5522
#19 0x080d69be in mono_method_get_object (domain=0x21f00, method=0x857d350, 
    refclass=0x21f00) at reflection.c:5623
#20 0x080eb980 in mono_delegate_ctor (this=0x6c1e0, target=0xaad68, 
    addr=0xb64f9e88) at object.c:4679
#21 0xb7962354 in ?? ()
#22 0x0006c1e0 in ?? ()
#23 0x000aad68 in ?? ()
#24 0xb64f9e88 in ?? ()
#25 0x0821f118 in ?? ()
#26 0x0006c1e0 in ?? ()
#27 0x082bfdf0 in ?? ()
#28 0x0006c1e0 in ?? ()
#29 0x0006c1e0 in ?? ()
#30 0x000aadc8 in ?? ()
#31 0xb64f9e88 in ?? ()
#32 0xbf848834 in ?? ()
#33 0xb796232c in ?? ()
#34 0xbf848858 in ?? ()
#35 0xb64e9fb8 in ?? ()
#36 0x0006c1e0 in ?? ()
#37 0x000aad68 in ?? ()
#38 0xb64f9e88 in ?? ()
#39 0x000aad68 in ?? ()
#40 0x000b8428 in ?? ()
#41 0x000aad98 in ?? ()
#42 0x000aad98 in ?? ()
#43 0xbf848870 in ?? ()
#44 0xb64e9f1c in ?? ()
#45 0x000aad68 in ?? ()
#46 0x0004c700 in ?? ()
#47 0x00000000 in ?? ()
#0  0xffffe410 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.


More information about the mono-bugs mailing list