Please see following bug.

http://bugzilla.ximian.com/show_bug.cgi?id=76732

If DataGrid control is binded with EmptyDataView and rebinded again it
crashes XSP.

See attached crash message and test page.

- Yogendra Thakur


Attachment: TestGrid.aspx
Description: TestGrid.aspx

[EMAIL PROTECTED] test]# xsp
xsp
Listening on port: 8080 (non-secure)
Listening on address: 0.0.0.0
Root directory: /opt/test
Hit Return to stop the server.

=================================================================
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.
=================================================================

Stacktrace:

in <0xffffffff> System.Web.UI.ControlCollection:Remove (System.Web.UI.Control)
in <0x26> System.Web.UI.ControlCollection:Remove (System.Web.UI.Control)
in <0x34> System.Web.UI.Control:AddedControl (System.Web.UI.Control,int)
in <0x91> System.Web.UI.ControlCollection:Add (System.Web.UI.Control)
in <0x229> System.Web.UI.WebControls.DataGrid:CreateControlHierarchy (bool)
in <0x95> System.Web.UI.WebControls.BaseDataList:DataBind ()
in <0x3f> ASP.TestGrid_aspx:BindZeroRowData ()
in <0xa> ASP.TestGrid_aspx:Button1_Click (object,System.EventArgs)
in <0x3591b6> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x66> System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
in <0x45> System.Web.UI.WebControls.Button:RaisePostBackEvent (string)
in <0xd> 
System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
 (string)
in <0x16> System.Web.UI.Page:RaisePostBackEvent 
(System.Web.UI.IPostBackEventHandler,string)
in <0x31> System.Web.UI.Page:RaisePostBackEvents ()
in <0x1ee> System.Web.UI.Page:InternalProcessRequest ()
in <0xa1> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x1068> <Pipeline>__1:MoveNext ()
in <0x1f> System.Web.HttpApplication:Tick ()
in <0x3e> System.Web.HttpApplication:Start (object)
in <0x68> 
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest 
(System.Web.HttpContext,System.AsyncCallback,object)
in <0x1ab> System.Web.HttpRuntime:RealProcessRequest (object)
in <0x2c> System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest)
in <0xa> Mono.WebServer.MonoWorkerRequest:ProcessRequest ()
in <0x43> Mono.WebServer.BaseApplicationHost:ProcessRequest 
(Mono.WebServer.MonoWorkerRequest)
in <0x37f> Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
in <0xfffffa6c> (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
in <0xfffee783> (wrapper xdomain-dispatch) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,string,byte[],string)
in <0xfffffe85> (wrapper xdomain-invoke) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
in <0x21976b> (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
in <0x563> Mono.WebServer.XSPWorker:InnerRun (object)
in <0x22> Mono.WebServer.XSPWorker:Run (object)
in <0xffffff95> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object (object)
in <0x7ad806f> (wrapper runtime-invoke) 
System.Object:runtime_invoke_void_object (object,intptr,intptr,intptr)

Native stacktrace:

        /opt/mono-1.1.10/bin/mono(mono_handle_native_sigsegv+0xba) [0x81471da]
        /opt/mono-1.1.10/bin/mono [0x81354cf]
        /lib/tls/libpthread.so.0 [0x4068a0]
        /lib/tls/libc.so.6(__libc_realloc+0xfb) [0x17970b]
        /usr/lib/libglib-2.0.so.0(g_realloc+0x2a) [0xdb6c4c]
        /opt/mono-1.1.10/bin/mono(mono_compile_create_var+0xcb) [0x8119d4b]
        /opt/mono-1.1.10/bin/mono [0x8136b3d]
        /opt/mono-1.1.10/bin/mono [0x811b9ed]
        /opt/mono-1.1.10/bin/mono [0x8125517]
        /opt/mono-1.1.10/bin/mono [0x81340ce]
        /opt/mono-1.1.10/bin/mono [0x8134d7b]
        /opt/mono-1.1.10/bin/mono [0x8135087]
        /opt/mono-1.1.10/bin/mono [0x81350ba]
        /opt/mono-1.1.10/bin/mono(mono_compile_method+0x3a) [0x80d2ada]
        /opt/mono-1.1.10/bin/mono(mono_magic_trampoline+0x1a) [0x81484ca]
        [0xf4e032]
        [0x70b0dd]
        [0x70af42]
        [0x7b0dc2]
        [0x7b0906]
        [0x7d1718]
        [0x7d16c3]
        [0x47852a]
        [0x7d169f]
        [0x7d1366]
        [0x7d1306]
        [0x7d12ef]
        [0x7d11da]
        [0x70f657]
        [0x70981a]
        [0x477069]
        [0x475040]
        [0x46d44f]
        [0x46d329]
        [0x467864]
        [0x467395]
        [0x467353]
        [0x4670bc]
        [0x457658]
        [0x456a79]
        [0x45637d]
        [0x444784]
        [0x44448e]
        [0x65dafc]
        [0x65d42b]
        [0x65d3e4]
        [0x65d33e]
        /opt/mono-1.1.10/bin/mono [0x8135380]
        /opt/mono-1.1.10/bin/mono(mono_runtime_invoke+0x27) [0x80d42b7]
        /opt/mono-1.1.10/bin/mono(mono_runtime_invoke_array+0x1b2) [0x80d5432]
        /opt/mono-1.1.10/bin/mono(mono_message_invoke+0xc5) [0x80d6e95]
        /opt/mono-1.1.10/bin/mono [0x80a3abf]
        /opt/mono-1.1.10/bin/mono [0x80a42e9]
        /opt/mono-1.1.10/bin/mono [0x8098d42]
        /opt/mono-1.1.10/bin/mono [0x8102db7]
        /opt/mono-1.1.10/bin/mono [0x810d835]
        /lib/tls/libpthread.so.0 [0x4001d5]
        /lib/tls/libc.so.6(__clone+0x5a) [0x1db2da]
Aborted
[EMAIL PROTECTED] test]#
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to