[Mono-list] Gecko LoadUrl fail when timer elapsed

Vojko Voga delfy.linux at vojko.net
Wed May 10 12:57:13 EDT 2006


Huy, guys!

I have one problem.

I write code that have a timer and it elapsed every 10 seconds. When it 
elapsed, app crash. If I call LoadUrl from button signal - onClick, it 
works everything ok.

Any suggestion?

Application output:

=================================================================
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 (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_load_url 
(intptr,intptr) <0x4>
in (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_load_url 
(intptr,intptr) <0xffffffd6>
in Gecko.WebControl:LoadUrl (string) <0x26>
in dotSI:Timer_Tick (object,System.Timers.ElapsedEventArgs) (at 
/home/root/projects/dotsilin/dotSI.cs:169)
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_ElapsedEventArgs 
(object,System.Timers.ElapsedEventArgs) <0xfffffef7>
in System.Timers.Timer:Callback (object) (at 
/tmp/scratch/BUILD/mono-1.1.14/mcs/class/System/System.Timers/Timer.cs:174)
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) <0x511a8a6f>

Native stacktrace:

    mono(mono_handle_native_sigsegv+0xbb) [0x815385b]
    mono [0x813e1bf]
    [0xb7f89440]
    /usr/lib/mozilla-1.7.12/components/libnecko.so [0xb6c15a6a]
    /usr/lib/mozilla-1.7.12/components/libnecko.so [0xb6c158dc]
    /usr/lib/mozilla-1.7.12/libxpcom.so(_ZN13nsCOMPtr_baseD2Ev+0x17) 
[0x704da67]
    /usr/lib/mozilla-1.7.12/components/libnecko.so [0xb6ca5d42]
    /usr/lib/mozilla-1.7.12/components/libnecko.so [0xb6ca9bd0]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb59b3316]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb59b3a41]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb598d302]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb5998439]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb59a2729]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb599960c]
    /usr/lib/mozilla-1.7.12/components/libdocshell.so [0xb5994d22]
    /usr/lib/mozilla-1.7.12/components/libwebbrwsr.so [0xb59f6b43]
    
/usr/lib/mozilla-1.7.12/libgtkembedmoz.so(_ZN12EmbedPrivate14LoadCurrentURIEv+0xb8) 
[0xb6e2a388]
    
/usr/lib/mozilla-1.7.12/libgtkembedmoz.so(gtk_moz_embed_load_url+0xa4) 
[0xb6e26034]
    [0xb56eefc5]
    [0xb56eef6f]
    [0xb6f95e1f]
    [0xb6f95a12]
    [0xb6f958c8]
    [0xb6f956e1]
    [0xb6f9562e]
    mono [0x813e070]
    mono(mono_runtime_invoke+0x27) [0x80d7847]
    mono(mono_runtime_invoke_array+0x270) [0x80d8d30]
    mono(mono_message_invoke+0xc5) [0x80da8f5]
    mono [0x80a5e6f]
    mono [0x80a6699]
    mono [0x809a7d2]
    mono [0x80f6a57]
    mono [0x81156b5]
    /lib/libpthread.so.0 [0xcaf3b6]
    /lib/libc.so.6(__clone+0x5e) [0x8fb33e]




More information about the Mono-list mailing list