[Mono-dev] [Fwd: Got SIGSEGV on Response.Redirect]

Cristian Vanti cristian.vanti at tiscali.it
Wed Jun 7 09:37:28 EDT 2006


I always get a SIGSEGV in a simple aspx method doing a Response.Redirect

this is the code (VB compiled with VisualStudio2003)

Private Sub cmdCancel_Click(ByVal sender As Object, ByVal e As 
EventArgs) Handles cmdCancel.Click
 Try
   Response.Redirect(NavigateURL(), True)
 Catch exc As Exception             'Module failed to load
   ProcessModuleLoadException(Me, exc)
 End Try
End Sub

(I tried Redirect(url,False) with same results)

and this is what I get:
=================================================================
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 DotNetNuke.Modules.Links.EditLinks:cmdCancel_Click 
(object,System.EventArgs) <0xffffffff>
in DotNetNuke.Modules.Links.EditLinks:cmdCancel_Click 
(object,System.EventArgs) <0x5a>
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs) <0x154e2d8>
in System.Web.UI.WebControls.LinkButton:OnClick (System.EventArgs) <0x50>
in 
System.Web.UI.WebControls.LinkButton:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent 
(string) <0x45>
in System.Web.UI.Page:RaisePostBackEvent 
(System.Web.UI.IPostBackEventHandler,string) <0x13>
in System.Web.UI.Page:RaisePostBackEvents () <0x11d>
in System.Web.UI.Page:InternalProcessRequest () <0x1ee>
in System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) <0xa1>
in <Pipeline>__1:MoveNext () <0xfe3>
in System.Web.HttpApplication:Tick () <0x1c>
in System.Web.HttpApplication:Start (object) <0xcf>
in 
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest 
(System.Web.HttpContext,System.AsyncCallback,object) <0x68>
in System.Web.HttpRuntime:RealProcessRequest (object) <0x1a8>
in System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest) 
<0x2c>
in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
in Mono.WebServer.BaseApplicationHost:ProcessRequest 
(Mono.WebServer.MonoWorkerRequest) <0x43>
in Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations) 
<0x37f>
in (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations) 
<0xfffffab2>
in (wrapper xdomain-dispatch) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,string,byte[],string) 
<0xfffee3be>
in (wrapper xdomain-invoke) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations) 
<0xffffff3d>
in (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations) 
<0xffcdfc7b>
in Mono.WebServer.XSPWorker:InnerRun (object) <0x563>
in Mono.WebServer.XSPWorker:Run (object) <0x22>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object 
(object) <0xffffff95>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object 
(object,intptr,intptr,intptr) <0x7e89867>

Native stacktrace:

       /usr/bin/mono(mono_handle_native_sigsegv+0xbb) [0x8153d0b]
       /usr/bin/mono [0x813e66f]
       /lib/tls/libpthread.so.0 [0xae3880]
       /usr/bin/mono(mono_branch_optimize_exception_target+0xdf) 
[0x815473f]
       /usr/bin/mono(mono_arch_output_basic_block+0x22af) [0x80690ff]
       /usr/bin/mono(mono_codegen+0xa5) [0x813c475]
       /usr/bin/mono [0x813d217]
       /usr/bin/mono [0x813dc5e]
       /usr/bin/mono [0x813e0c2]
       /usr/bin/mono [0x813e25a]
       /usr/bin/mono(mono_compile_method+0x3a) [0x80d636a]
       /usr/bin/mono(mono_magic_trampoline+0x1a) [0x815519a]
       [0x60e032]
       [0x1e90592]
       [0x33de829]
       [0x33de766]
       [0x1a15ad4]
       [0x1a15aae]
       [0x5a3fe57]
       [0x5a3cd82]
       [0x1e8f124]
       [0x1e8e085]
       [0x1e890d8]
       [0x1e88f21]
       [0x75c719]
       [0x75c24d]
       [0x75c20b]
       [0x75bd2c]
       [0x5e8d48]
       [0x5e8169]
       [0x5e7ab3]
       [0x5d5b67]
       [0x5d597e]
       [0x2b54fc]
       [0x2b4dd3]
       [0x2b4d8c]
       [0x2b4ce6]
       /usr/bin/mono [0x813e520]
       /usr/bin/mono(mono_runtime_invoke+0x27) [0x80d7b67]
       /usr/bin/mono(mono_runtime_invoke_array+0x270) [0x80d9050]
       /usr/bin/mono(mono_message_invoke+0xc5) [0x80dac15]
       /usr/bin/mono [0x80a611f]
       /usr/bin/mono [0x80a6949]
       /usr/bin/mono [0x809a922]
       /usr/bin/mono [0x80f6ef7]
       /usr/bin/mono [0x8115ba5]
       /lib/tls/libpthread.so.0 [0xadd371]
       /lib/tls/libc.so.6(__clone+0x5e) [0x1d99be]

I use Centos 4.1 and Mono 1.1.15.0

Please, help me.

bye
cristian





More information about the Mono-devel-list mailing list