Gtk is not a thread-safe toolkit. Once you start accessing it in a multi-threaded way you run the risk of corrupting state so badly that the entire application blows up. A regular gtk error is converted to a regular .NET exception, but memory corruption such as this will always lead to your app terminating in a random way at a random time.
Alan On 17 July 2012 12:26, Matthias D. <matth...@googlemail.com> wrote: > Hi, > > it was a Gtk# threading issue, which is now resolved. Everything works > surprisingly good now on the mono side. > I'm wondering, gtk is a native api, but it would make sense to encapsulate > errors in exceptions. > Is this just missing or by design? > > Thanks, > Matthias > > On Sat, Jul 14, 2012 at 2:33 PM, Matthias D. <matth...@googlemail.com> > wrote: >> >> Hey, >> >> like I said I'm trying to port a Application to mono, now I'm experiencing >> a mono SIGSEGV: >> >> To reproduce the issue type (mono installed and in PATH): >> >> git clone git://github.com/matthid/synclib.git >> >> cd synclib >> git checkout -b devel remotes/origin/devel >> export FSC="mono `pwd`/lib/FSharp-4.0/fsc.exe" >> export FSI="mono `pwd`/lib/FSharp-4.0/fsi.exe" >> ./build_mono.sh >> >> cd build/bin >> $FSI --exec --nologo RunApplication.fsx >> >> >> On my system I get: >> >> reddragon@reddragon-PC ~/projects/synclib/build/bin $ $FSI --exec --nologo >> RunApplication.fsx >> >> >> /home/reddragon/projects/synclib/build/bin/RunApplication.fsx(7,1): >> warning FS0211: The search directory >> '/home/reddragon/projects/synclib/build/bin/bin\Debug\lib' could not be >> found >> >> (fsi:25023): Gtk-WARNING **: Failed to set text from markup due to error >> parsing markup: Fehler in Zeile 2, Zeichen 33: »StartupCode$Yaaf-SyncLib« >> ist kein gültiger Name: »$« >> >> (fsi:25023): Gtk-WARNING **: Failed to set text from markup due to error >> parsing markup: Fehler in Zeile 2, Zeichen 33: »StartupCode$Yaaf-SyncLib« >> ist kein gültiger Name: »$« >> >> (fsi:25023): Pango-CRITICAL **: No modules found: >> No builtin or dynamically loaded modules were found. >> PangoFc will not work correctly. >> This probably means there was an error in the creation of: >> '/etc/pango/pango.modules' >> You should create this file by running: >> pango-querymodules > '/etc/pango/pango.modules' >> Stacktrace: >> >> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff> >> at Gtk.Application.Run () <0x0000b> >> at Yaaf.SyncLib.Ui.Scripting.RunGui >> (Microsoft.FSharp.Collections.FSharpList`1<System.Tuple`2<Yaaf.SyncLib.ManagedFolderInfo, >> Yaaf.SyncLib.IManagedFolder>>) <0x006bb> >> at <StartupCode$FSI_0001>.$FSI_0001.main@ () <0x0024b> >> at (wrapper runtime-invoke) object.runtime_invoke_void >> (object,intptr,intptr,intptr) <0xffffffff> >> at (wrapper managed-to-native) >> System.Reflection.MonoMethod.InternalInvoke >> (System.Reflection.MonoMethod,object,object[],System.Exception&) >> <0xffffffff> >> at System.Reflection.MonoMethod.Invoke >> (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) >> <0x00193> >> at System.MonoType.InvokeMember >> (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[]) >> <0x005a5> >> at System.Reflection.Emit.TypeBuilder.InvokeMember >> (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[]) >> <0x00069> >> at System.Type.InvokeMember >> (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Globalization.CultureInfo) >> <0x0005a> >> at >> Microsoft.FSharp.Compiler.AbstractIL.ILRuntimeWriter/execEntryPtFun@2113-1.Invoke >> (Microsoft.FSharp.Core.Unit) <0x00097> >> at Microsoft.FSharp.Compiler.Interactive.Shell/clo@982-32.Invoke >> (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, >> Microsoft.FSharp.Core.FSharpOption`1<System.Exception>>) <0x00022> >> at Microsoft.FSharp.Primitives.Basics.List.iter<T> >> (Microsoft.FSharp.Core.FSharpFunc`2<T, >> Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Collections.FSharpList`1<T>) >> <0x00049> >> at Microsoft.FSharp.Collections.ListModule.Iterate<T> >> (Microsoft.FSharp.Core.FSharpFunc`2<T, >> Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Collections.FSharpList`1<T>) >> <0x0002f> >> at Microsoft.FSharp.Compiler.Interactive.Shell.arg10@981 >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompiler,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, >> Microsoft.FSharp.Core.FSharpOption`1<System.Exception>>>,Microsoft.FSharp.Core.Unit) >> <0x00033> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompiler.ProcessInputs<int> >> (int,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Ast/Input>,bool,bool,bool,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Ast/Ident>) >> <0x0091f> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompiler.EvalDefns >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,bool,bool,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Ast/SynModuleDecl>) >> <0x001cf> >> at Microsoft.FSharp.Compiler.Interactive.Shell/clo@1676-38.Invoke >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x01363> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.InteractiveCatch<a> >> (Microsoft.FSharp.Core.FSharpFunc`2<a, System.Tuple`2<a, >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>,a) >> <0x00047> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.ExecInteraction >> (bool,Microsoft.FSharp.Compiler.Build/TcConfig,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Compiler.Ast/ParsedFsiInteraction) >> <0x00063> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.ExecInteractions >> (bool,Microsoft.FSharp.Compiler.Build/TcConfig,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Compiler.Ast/ParsedFsiInteraction>) >> <0x00467> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.MainThreadProcessParsedInteraction >> (bool,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Compiler.Ast/ParsedFsiInteraction>,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x000e7> >> at Microsoft.FSharp.Compiler.Interactive.Shell/res@1854-2.Invoke >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x00027> >> at Microsoft.FSharp.Compiler.Interactive.Shell/run@1868-1.Invoke >> (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState, >> System.Tuple`2<Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState, >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x0001d> >> at Microsoft.FSharp.Core.FSharpFunc`2.InvokeFast<V> >> (Microsoft.FSharp.Core.FSharpFunc`2<T, >> Microsoft.FSharp.Core.FSharpFunc`2<TResult, V>>,T,TResult) <0x0005c> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/ProcessAndRunOneInteractionFromLexbuf@1844.Invoke >> (a) <0x0018b> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.InteractiveCatch<a> >> (Microsoft.FSharp.Core.FSharpFunc`2<a, System.Tuple`2<a, >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>,a) >> <0x00047> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.ProcessAndRunOneInteractionFromLexbuf<a> >> (bool,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState, >> System.Tuple`2<Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState, >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>, >> Microsoft.FSharp.Core.FSharpFunc`2<a, System.Tuple`2<a, >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>>,a,Microsoft.FSharp.Compiler.Lexfilter/LexFilter) >> <0x00147> >> at Microsoft.FSharp.Compiler.Interactive.Shell.run@1867 >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor,bool,Microsoft.FSharp.Compiler.Lexfilter/LexFilter,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x00063> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/MainThreadProcessInteractiveFile@1864.Invoke >> (Microsoft.FSharp.Core.Unit) <0x00043> >> at Microsoft.FSharp.Compiler.Interactive.Shell.WithImplicitHome<a> >> (Microsoft.FSharp.Compiler.Build/TcConfigBuilder,string,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, >> a>) <0x0004a> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.MainThreadProcessInteractiveFile >> (bool,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,string,Microsoft.FSharp.Compiler.Range/range) >> <0x000a3> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/EvalInteractiveFiles@1884.Invoke >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x0003b> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.InteractiveCatch<a> >> (Microsoft.FSharp.Core.FSharpFunc`2<a, System.Tuple`2<a, >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionStepStatus>>,a) >> <0x00047> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.EvalInteractiveFiles >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,bool,Microsoft.FSharp.Collections.FSharpList`1<string>) >> <0x00093> >> at Microsoft.FSharp.Compiler.Interactive.Shell.consume@1894 >> (Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor,bool,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState,Microsoft.FSharp.Collections.FSharpList`1<System.Tuple`2<string, >> bool>>) <0x000db> >> at >> Microsoft.FSharp.Compiler.Interactive.Shell/FsiInteractionProcessor.LoadInitialFiles >> (bool,Microsoft.FSharp.Compiler.Interactive.Shell/FsiDynamicCompilerState) >> <0x0002f> >> at Microsoft.FSharp.Compiler.Interactive.Shell/FsiEvaluationSession.Run >> () <0x00813> >> at Microsoft.FSharp.Compiler.Interactive.Shell.MainMain (string[]) >> <0x0003b> >> at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object >> (object,intptr,intptr,intptr) <0xffffffff> >> >> Native stacktrace: >> >> mono() [0x4927c7] >> mono() [0x4e3abf] >> mono() [0x41bd39] >> /lib64/libpthread.so.0(+0x107d0) [0x7fdbf51787d0] >> /usr/lib64/libgdk-x11-2.0.so.0(gdk_window_set_geometry_hints+0x4) >> [0x7fdbedb53004] >> /usr/lib64/libgtk-x11-2.0.so.0(+0x25d1f3) [0x7fdbedff81f3] >> /usr/lib64/libgobject-2.0.so.0(+0x115d3) [0x7fdbe7dbf5d3] >> /usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x3ec) >> [0x7fdbe7dd7aec] >> /usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x83) >> [0x7fdbe7dd8603] >> /usr/lib64/libgtk-x11-2.0.so.0(+0xbe7e0) [0x7fdbede597e0] >> /usr/lib64/libgdk-x11-2.0.so.0(+0x207ce) [0x7fdbedb037ce] >> /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x13a) >> [0x7fdbe7ad16da] >> /usr/lib64/libglib-2.0.so.0(+0x4aa38) [0x7fdbe7ad1a38] >> /usr/lib64/libglib-2.0.so.0(g_main_loop_run+0x72) [0x7fdbe7ad1e32] >> /usr/lib64/libgtk-x11-2.0.so.0(gtk_main+0xaf) [0x7fdbeded2daf] >> [0x4118bf65] >> >> Debug info from gdb: >> >> >> (fsi:25023): Gtk-WARNING **: Failed to set text from markup due to error >> parsing markup: Fehler in Zeile 3, Zeichen 55: Seltsames Zeichen »>«, »=« >> wird nach dem Attributnamen »unknown« des Elements »filename« erwartet >> >> (fsi:25023): Gtk-WARNING **: Failed to set text from markup due to error >> parsing markup: Fehler in Zeile 3, Zeichen 55: Seltsames Zeichen »>«, »=« >> wird nach dem Attributnamen »unknown« des Elements »filename« erwartet >> Mono support loaded. >> [Thread debugging using libthread_db enabled] >> [New Thread 0x7fdbe3158700 (LWP 25569)] >> [New Thread 0x7fdbe3359700 (LWP 25567)] >> [New Thread 0x7fdbe3903700 (LWP 25452)] >> [New Thread 0x7fdbe3944700 (LWP 25449)] >> [New Thread 0x7fdbeec2c700 (LWP 25414)] >> [New Thread 0x7fdbeee31700 (LWP 25413)] >> [New Thread 0x7fdbef03a700 (LWP 25412)] >> [New Thread 0x7fdbef07b700 (LWP 25411)] >> [New Thread 0x7fdbf2664700 (LWP 25097)] >> [New Thread 0x7fdbf3a27700 (LWP 25091)] >> [New Thread 0x7fdbf4228700 (LWP 25090)] >> [New Thread 0x7fdbf4a29700 (LWP 25089)] >> 0x00007fdbf517786d in read () from /lib64/libpthread.so.0 >> Id Target Id Frame >> 13 Thread 0x7fdbf4a29700 (LWP 25089) "mono" 0x00007fdbf517478c in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 12 Thread 0x7fdbf4228700 (LWP 25090) "mono" 0x00007fdbf517478c in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 11 Thread 0x7fdbf3a27700 (LWP 25091) "mono" 0x00007fdbf517478c in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 10 Thread 0x7fdbf2664700 (LWP 25097) "mono" 0x00007fdbf5176a40 in >> sem_wait () from /lib64/libpthread.so.0 >> 9 Thread 0x7fdbef07b700 (LWP 25411) "mono" 0x00007fdbf5177fad in >> nanosleep () from /lib64/libpthread.so.0 >> 8 Thread 0x7fdbef03a700 (LWP 25412) "mono" 0x00007fdbf5177374 in >> __lll_lock_wait () from /lib64/libpthread.so.0 >> 7 Thread 0x7fdbeee31700 (LWP 25413) "mono" 0x00007fdbf4ea4bad in read >> () from /lib64/libc.so.6 >> 6 Thread 0x7fdbeec2c700 (LWP 25414) "mono" 0x00007fdbf5177374 in >> __lll_lock_wait () from /lib64/libpthread.so.0 >> 5 Thread 0x7fdbe3944700 (LWP 25449) "mono" 0x00007fdbf4eb2c93 in >> epoll_wait () from /lib64/libc.so.6 >> 4 Thread 0x7fdbe3903700 (LWP 25452) "mono" 0x00007fdbf5176b31 in >> sem_timedwait () from /lib64/libpthread.so.0 >> 3 Thread 0x7fdbe3359700 (LWP 25567) "mono" 0x00007fdbf5176b31 in >> sem_timedwait () from /lib64/libpthread.so.0 >> 2 Thread 0x7fdbe3158700 (LWP 25569) "mono" 0x00007fdbf5177374 in >> __lll_lock_wait () from /lib64/libpthread.so.0 >> * 1 Thread 0x7fdbf5c03740 (LWP 25023) "mono" 0x00007fdbf517786d in read >> () from /lib64/libpthread.so.0 >> >> Thread 13 (Thread 0x7fdbf4a29700 (LWP 25089)): >> #0 0x00007fdbf517478c in pthread_cond_wait@@GLIBC_2.3.2 () from >> /lib64/libpthread.so.0 >> #1 0x00000000005d5883 in ?? () >> #2 0x00000000005dda45 in ?? () >> #3 0x00000000005d40a7 in ?? () >> #4 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #5 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 12 (Thread 0x7fdbf4228700 (LWP 25090)): >> #0 0x00007fdbf517478c in pthread_cond_wait@@GLIBC_2.3.2 () from >> /lib64/libpthread.so.0 >> #1 0x00000000005d5883 in ?? () >> #2 0x00000000005dda45 in ?? () >> #3 0x00000000005d40a7 in ?? () >> #4 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #5 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 11 (Thread 0x7fdbf3a27700 (LWP 25091)): >> #0 0x00007fdbf517478c in pthread_cond_wait@@GLIBC_2.3.2 () from >> /lib64/libpthread.so.0 >> #1 0x00000000005d5883 in ?? () >> #2 0x00000000005dda45 in ?? () >> #3 0x00000000005d40a7 in ?? () >> #4 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #5 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 10 (Thread 0x7fdbf2664700 (LWP 25097)): >> #0 0x00007fdbf5176a40 in sem_wait () from /lib64/libpthread.so.0 >> #1 0x00000000005c3588 in mono_sem_wait () >> #2 0x000000000055912b in ?? () >> #3 0x0000000000594d85 in ?? () >> #4 0x00000000005b6fd4 in ?? () >> #5 0x00000000005d4f61 in ?? () >> #6 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #7 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 9 (Thread 0x7fdbef07b700 (LWP 25411)): >> #0 0x00007fdbf5177fad in nanosleep () from /lib64/libpthread.so.0 >> #1 0x00000000005b6304 in ?? () >> #2 0x00000000005e59c8 in ?? () >> #3 0x0000000000594d85 in ?? () >> #4 0x00000000005b6fd4 in ?? () >> #5 0x00000000005d4f61 in ?? () >> #6 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #7 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 8 (Thread 0x7fdbef03a700 (LWP 25412)): >> #0 0x00007fdbf5177374 in __lll_lock_wait () from /lib64/libpthread.so.0 >> #1 0x00007fdbf5172770 in _L_lock_631 () from /lib64/libpthread.so.0 >> #2 0x00007fdbf51726bb in pthread_mutex_lock () from >> /lib64/libpthread.so.0 >> #3 0x00007fdbe7b0f8b1 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0 >> #4 0x00007fdbe7dd69e1 in g_signal_handler_is_connected () from >> /usr/lib64/libgobject-2.0.so.0 >> #5 0x0000000041f50231 in ?? () >> #6 0x0000000002c78340 in ?? () >> #7 0x0000000040158161 in ?? () >> #8 0x00007fdbef6a4c98 in ?? () >> #9 0x00007fdbef6a4c98 in ?? () >> #10 0x00007fdbef6a4c98 in ?? () >> #11 0x00007fdbef6a4c98 in ?? () >> #12 0x00007fdbef035ec0 in ?? () >> #13 0x00007fdbef683348 in ?? () >> #14 0x00007fdbef71ac30 in ?? () >> #15 0x00007fdbef5abaf0 in ?? () >> #16 0x00007fdbef5abaa0 in ?? () >> #17 0x0000000041f50188 in ?? () >> #18 0x00007fdbef5abaa0 in ?? () >> #19 0x0000000041f50090 in ?? () >> #20 0x00007fdbef6a4c98 in ?? () >> #21 0x00007fdbef6a4c98 in ?? () >> #22 0x0000000000000000 in ?? () >> >> Thread 7 (Thread 0x7fdbeee31700 (LWP 25413)): >> #0 0x00007fdbf4ea4bad in read () from /lib64/libc.so.6 >> #1 0x0000000040101791 in ?? () >> #2 0x0000000002cc4b50 in ?? () >> #3 0xffffffffffffffff in ?? () >> #4 0x00007fdbeee30aef in ?? () >> #5 0x00000000401577c0 in ?? () >> #6 0x0000000002cc4570 in ?? () >> #7 0x00007fdbeee30b40 in ?? () >> #8 0x00007fdbeee30a60 in ?? () >> #9 0x00007fdbf31fbcc0 in ?? () >> #10 0x00007fdbf028d000 in ?? () >> #11 0x0000000000000010 in ?? () >> #12 0x00007fdbf008f480 in ?? () >> #13 0x0000000040101564 in ?? () >> #14 0x00007fdbf028d020 in ?? () >> #15 0x0000000040101508 in ?? () >> #16 0x00007fdbef58e270 in ?? () >> #17 0x0000000002cc4bd0 in ?? () >> #18 0x0000000000000000 in ?? () >> >> Thread 6 (Thread 0x7fdbeec2c700 (LWP 25414)): >> #0 0x00007fdbf5177374 in __lll_lock_wait () from /lib64/libpthread.so.0 >> #1 0x00007fdbf5172770 in _L_lock_631 () from /lib64/libpthread.so.0 >> #2 0x00007fdbf51726bb in pthread_mutex_lock () from >> /lib64/libpthread.so.0 >> #3 0x00007fdbe7b0f8b1 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0 >> #4 0x00007fdbe7dd615b in g_signal_connect_data () from >> /usr/lib64/libgobject-2.0.so.0 >> #5 0x00007fdbe7de00a8 in g_type_create_instance () from >> /usr/lib64/libgobject-2.0.so.0 >> #6 0x00007fdbe7dc4359 in ?? () from /usr/lib64/libgobject-2.0.so.0 >> #7 0x00007fdbe7dc58b7 in g_object_newv () from >> /usr/lib64/libgobject-2.0.so.0 >> #8 0x00007fdbe3d6b16c in gtksharp_object_newv () from >> /usr/lib64/libglibsharpglue-2.so >> #9 0x0000000041f4faed in ?? () >> #10 0x0000000002d9a790 in ?? () >> #11 0x00007fdbef6623c0 in ?? () >> #12 0x00007fdbef662b40 in ?? () >> #13 0x00007fdbef729480 in ?? () >> #14 0x00007fdbeffa3a80 in ?? () >> #15 0x00007fdbeec2adb0 in ?? () >> #16 0x00007fdbeec2ac10 in ?? () >> #17 0x0000000000000000 in ?? () >> >> Thread 5 (Thread 0x7fdbe3944700 (LWP 25449)): >> #0 0x00007fdbf4eb2c93 in epoll_wait () from /lib64/libc.so.6 >> #1 0x00000000005e6118 in ?? () >> #2 0x0000000000594d85 in ?? () >> #3 0x00000000005b6fd4 in ?? () >> #4 0x00000000005d4f61 in ?? () >> #5 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #6 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 4 (Thread 0x7fdbe3903700 (LWP 25452)): >> #0 0x00007fdbf5176b31 in sem_timedwait () from /lib64/libpthread.so.0 >> #1 0x00000000005c3693 in mono_sem_timedwait () >> #2 0x00000000005e7d8f in ?? () >> #3 0x0000000000594d85 in ?? () >> #4 0x00000000005b6fd4 in ?? () >> #5 0x00000000005d4f61 in ?? () >> #6 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #7 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 3 (Thread 0x7fdbe3359700 (LWP 25567)): >> #0 0x00007fdbf5176b31 in sem_timedwait () from /lib64/libpthread.so.0 >> #1 0x00000000005c3693 in mono_sem_timedwait () >> #2 0x00000000005e7d8f in ?? () >> #3 0x0000000000594d85 in ?? () >> #4 0x00000000005b6fd4 in ?? () >> #5 0x00000000005d4f61 in ?? () >> #6 0x00007fdbf516fe7c in start_thread () from /lib64/libpthread.so.0 >> #7 0x00007fdbf4eb25cd in clone () from /lib64/libc.so.6 >> >> Thread 2 (Thread 0x7fdbe3158700 (LWP 25569)): >> #0 0x00007fdbf5177374 in __lll_lock_wait () from /lib64/libpthread.so.0 >> #1 0x00007fdbf5172770 in _L_lock_631 () from /lib64/libpthread.so.0 >> #2 0x00007fdbf51726bb in pthread_mutex_lock () from >> /lib64/libpthread.so.0 >> #3 0x00007fdbe7b0f8b1 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0 >> #4 0x00007fdbe7dd615b in g_signal_connect_data () from >> /usr/lib64/libgobject-2.0.so.0 >> #5 0x00007fdbe7de00a8 in g_type_create_instance () from >> /usr/lib64/libgobject-2.0.so.0 >> #6 0x00007fdbe7dc4359 in ?? () from /usr/lib64/libgobject-2.0.so.0 >> #7 0x00007fdbe7dc58b7 in g_object_newv () from >> /usr/lib64/libgobject-2.0.so.0 >> #8 0x00007fdbe3d6b16c in gtksharp_object_newv () from >> /usr/lib64/libglibsharpglue-2.so >> #9 0x0000000041f4faed in ?? () >> #10 0x0000000002f748c0 in ?? () >> #11 0x00007fdbef662420 in ?? () >> #12 0x00007fdbef662b40 in ?? () >> #13 0x00007fdbef729480 in ?? () >> #14 0x00007fdbeffa4af0 in ?? () >> #15 0x00007fdbe3156db0 in ?? () >> #16 0x00007fdbe3156c10 in ?? () >> #17 0x0000000000000000 in ?? () >> >> Thread 1 (Thread 0x7fdbf5c03740 (LWP 25023)): >> #0 0x00007fdbf517786d in read () from /lib64/libpthread.so.0 >> #1 0x0000000000492967 in ?? () >> #2 0x00000000004e3abf in ?? () >> #3 0x000000000041bd39 in ?? () >> #4 <signal handler called> >> #5 0x00007fdbedb53004 in gdk_window_set_geometry_hints () from >> /usr/lib64/libgdk-x11-2.0.so.0 >> #6 0x00007fdbedff81f3 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 >> #7 0x00007fdbe7dbf5d3 in ?? () from /usr/lib64/libgobject-2.0.so.0 >> #8 0x00007fdbe7dd7aec in g_signal_emit_valist () from >> /usr/lib64/libgobject-2.0.so.0 >> #9 0x00007fdbe7dd8603 in g_signal_emit () from >> /usr/lib64/libgobject-2.0.so.0 >> #10 0x00007fdbede597e0 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 >> #11 0x00007fdbedb037ce in ?? () from /usr/lib64/libgdk-x11-2.0.so.0 >> #12 0x00007fdbe7ad16da in g_main_context_dispatch () from >> /usr/lib64/libglib-2.0.so.0 >> #13 0x00007fdbe7ad1a38 in ?? () from /usr/lib64/libglib-2.0.so.0 >> #14 0x00007fdbe7ad1e32 in g_main_loop_run () from >> /usr/lib64/libglib-2.0.so.0 >> #15 0x00007fdbeded2daf in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0 >> #16 0x000000004118bf65 in ?? () >> #17 0x00007fff216f9530 in ?? () >> #18 0x00007fdbef67d888 in ?? () >> #19 0x00007fdbef67f6a0 in ?? () >> #20 0x0000000002ad6d90 in ?? () >> #21 0x00007fdbefeff7e0 in ?? () >> #22 0x00007fff216f91b0 in ?? () >> #23 0x00007fff216f8f90 in ?? () >> #24 0x00007fdbef67d888 in ?? () >> #25 0x00007fdbef67f6a0 in ?? () >> #26 0x0000000002ad6d90 in ?? () >> #27 0x00007fdbef699b00 in ?? () >> #28 0x000000004118befc in ?? () >> #29 0x00007fff216f91b0 in ?? () >> #30 0x0000000041bdfd0c in ?? () >> #31 0x00007fdbef67d888 in ?? () >> #32 0x00007fdbef699e70 in ?? () >> #33 0x00007fdbef699e18 in ?? () >> #34 0x00007fdbef683938 in ?? () >> #35 0x00007fdbef699dc0 in ?? () >> #36 0x00007fdbef699dc0 in ?? () >> #37 0x00007fdbef492988 in ?? () >> #38 0x00007fdbef699b00 in ?? () >> #39 0x00007fdbef699b00 in ?? () >> #40 0x00007fdbef699aa8 in ?? () >> #41 0x00007fdbefca00c0 in ?? () >> #42 0x00007fdbefca00a8 in ?? () >> #43 0x00007fdbefca00d8 in ?? () >> #44 0x00007fdbefca0030 in ?? () >> #45 0x00007fdbefca0018 in ?? () >> #46 0x00007fdbf00a5b30 in ?? () >> #47 0x00007fdbef67f600 in ?? () >> #48 0x0000000041ef1dec in ?? () >> #49 0x0000000002afa740 in ?? () >> #50 0x00007fff216f9260 in ?? () >> #51 0x00007fff216f91c0 in ?? () >> #52 0x00007fdbf31fbcc0 in ?? () >> #53 0x0000000000000000 in ?? () >> >> ================================================================= >> 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. >> ================================================================= >> >> >> As I do not know linux very well, can anybody help me investigating this? >> Don't know where to start. >> On Windows this is working fine. I'd like to have it running on 2.10.8 if >> possible because i don't want to distribute mono. >> NOTE: expected behaviour would be an exception indicating the paths in >> RunApplication.fsx are invalid (In windows a >> System.UnauthorizedAccessException or some kind of IOException). >> >> Matthias > > > > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list