repetierHost crash on startup Ubuntu 16.04
Hello,
Once last repetierHost version had benn installed, having a crash at stratup, on this Ubuntu distribution :
and here is my mono version (i've tried to update it as last one was 4.2):
And finally, the start process lines from the terminal until the crash at the end (I have not copy/paste all the process):
----------------------------------------------
any idea or possibility to solve this problem ? Thanks a lot ! durahsel
Linux version 4.4.0-79-generic (buildd@lcy01-30) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017
and here is my mono version (i've tried to update it as last one was 4.2):
Mono JIT compiler version 5.0.0 (Stable 5.0.0.100/9667aa6 Thu May 11 14:33:04 UTC 2017) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen (concurrent by default)
And finally, the start process lines from the terminal until the crash at the end (I have not copy/paste all the process):
----------------------------------------------
famille@famille-GA-990XA-UD3:~$ repetierHost
famille@famille-GA-990XA-UD3:~$ Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) OpenTK.Platform.Egl.Egl.GetCurrentContext () [0x00002] in <42e0bc733f354a278eb2a33f1b3c196e>:0
at OpenTK.Platform.Egl.Egl.get_IsSupported () [0x00000] in <42e0bc733f354a278eb2a33f1b3c196e>:0
at OpenTK.Platform.Factory..ctor () [0x00088] in <42e0bc733f354a278eb2a33f1b3c196e>:0
at OpenTK.Toolkit.Init (OpenTK.ToolkitOptions) [0x00037] in <42e0bc733f354a278eb2a33f1b3c196e>:0
at OpenTK.GLControl..ctor (OpenTK.Graphics.GraphicsMode,int,int,OpenTK.Graphics.GraphicsContextFlags) [0x00021] in <b867eeb811134f54baefb5368a06bb2f>:0
at OpenTK.GLControl..ctor (OpenTK.Graphics.GraphicsMode) [0x00000] in <b867eeb811134f54baefb5368a06bb2f>:0
at (wrapper remoting-invoke-with-check) OpenTK.GLControl..ctor (OpenTK.Graphics.GraphicsMode) [0x00019] in <b867eeb811134f54baefb5368a06bb2f>:0
at RepetierHostExtender.utils.RHOpenGL..ctor () [0x0004b] in <59cba7c6b02b4cc68c674fdca1bd23b1>:0
at (wrapper remoting-invoke-with-check) RepetierHostExtender.utils.RHOpenGL..ctor () [0x00018] in <59cba7c6b02b4cc68c674fdca1bd23b1>:0
at RepetierHost.view.ThreeDControl.InitializeComponent () [0x000b1] in <7f944aea11b94bbbb82caed051c2fe65>:0
at RepetierHost.view.ThreeDControl..ctor () [0x001fc] in <7f944aea11b94bbbb82caed051c2fe65>:0
at (wrapper remoting-invoke-with-check) RepetierHost.view.ThreeDControl..ctor () [0x00018] in <7f944aea11b94bbbb82caed051c2fe65>:0
at RepetierHost.Main..ctor () [0x00733] in <7f944aea11b94bbbb82caed051c2fe65>:0
at (wrapper remoting-invoke-with-check) RepetierHost.Main..ctor () [0x00018] in <7f944aea11b94bbbb82caed051c2fe65>:0
at RepetierHost.Program.Main (string[]) [0x0000e] in <7f944aea11b94bbbb82caed051c2fe65>:0
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0004e] in <7f944aea11b94bbbb82caed051c2fe65>:0
##### [....... cut as too long !]
Native stacktrace:----------------------------------------------
mono() [0x4ac59f]
mono() [0x50fac6]
Debug info from gdb:
[New LWP 17757]
[New LWP 17758]
[New LWP 17759]
[New LWP 17760]
[New LWP 17761]
[New LWP 17762]
[New LWP 17763]
[New LWP 17764]
[New LWP 17765]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f15db732f7b in __waitpid (pid=17766, stat_loc=0x7ffde1571fec, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29 ../sysdeps/unix/sysv/linux/waitpid.c: Aucun fichier ou dossier de ce type.
Id Target Id Frame
* 1 Thread 0x7f15dc244740 (LWP 17756) "mono" 0x00007f15db732f7b in __waitpid (pid=17766, stat_loc=0x7ffde1571fec, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
2 Thread 0x7f15da7ff700 (LWP 17757) "SGen worker" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7f15d8510700 (LWP 17758) "Finalizer" 0x00007f15db731827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x9d66a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
4 Thread 0x7f15c8af1700 (LWP 17759) "dconf worker" 0x00007f15db23db5d in poll () at ../sysdeps/unix/syscall-template.S:84
5 Thread 0x7f15c3fff700 (LWP 17760) "gmain" 0x00007f15db23db5d in poll () at ../sysdeps/unix/syscall-template.S:84
6 Thread 0x7f15bb7fe700 (LWP 17761) "gdbus" 0x00007f15db23db5d in poll () at ../sysdeps/unix/syscall-template.S:84
7 Thread 0x7f15c8237700 (LWP 17762) "Timer-Scheduler" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
8 Thread 0x7f15c23cb700 (LWP 17763) "Timer-Scheduler" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
9 Thread 0x7f15c21ca700 (LWP 17764) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
10 Thread 0x7f15c1fc9700 (LWP 17765) "Threadpool work" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
Thread 10 (Thread 0x7f15c1fc9700 (LWP 17765)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x00000000005cbd00 in ?? ()
#2 0x00000000005c34ef in ?? ()
#3 0x00000000006804e8 in ?? ()
#4 0x00007f15db7296ba in start_thread (arg=0x7f15c1fc9700) at pthread_create.c:333
#5 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 9 (Thread 0x7f15c21ca700 (LWP 17764)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x00000000005cbd00 in ?? ()
#2 0x00000000005c34ef in ?? ()
#3 0x00000000006804e8 in ?? ()
#4 0x00007f15db7296ba in start_thread (arg=0x7f15c21ca700) at pthread_create.c:333
#5 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 8 (Thread 0x7f15c23cb700 (LWP 17763)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x0000000000680f4b in ?? ()
#2 0x00000000005caeb6 in ?? ()
#3 0x00000000005c34ef in ?? ()
#4 0x00000000006804e8 in ?? ()
#5 0x00007f15db7296ba in start_thread (arg=0x7f15c23cb700) at pthread_create.c:333
#6 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 7 (Thread 0x7f15c8237700 (LWP 17762)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x00000000005e2059 in ?? ()
#2 0x00000000005e23be in ?? ()
#3 0x00000000005e29f0 in ?? ()
#4 0x00000000005c2a36 in ?? ()
#5 0x00000000005c5129 in ?? ()
#6 0x0000000041ba1bd8 in ?? ()
#7 0x0000000002cb5aa0 in ?? ()
#8 0x0000000000000063 in ?? ()
#9 0x0000000000000063 in ?? ()
#10 0x00007f15daa9ff70 in ?? ()
#11 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7f15bb7fe700 (LWP 17761)):
#0 0x00007f15db23db5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f15d2b3d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f15d2b3d712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f15cdb6e9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f15d2b63bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f15db7296ba in start_thread (arg=0x7f15bb7fe700) at pthread_create.c:333
#6 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 5 (Thread 0x7f15c3fff700 (LWP 17760)):
#0 0x00007f15db23db5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f15d2b3d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f15d2b3d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f15d2b3d4d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f15d2b63bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f15db7296ba in start_thread (arg=0x7f15c3fff700) at pthread_create.c:333
#6 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 4 (Thread 0x7f15c8af1700 (LWP 17759)):
#0 0x00007f15db23db5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f15d2b3d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f15d2b3d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f15c8af928d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4 0x00007f15d2b63bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f15db7296ba in start_thread (arg=0x7f15c8af1700) at pthread_create.c:333
#6 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 3 (Thread 0x7f15d8510700 (LWP 17758)):
#0 0x00007f15db731827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x9d66a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 do_futex_wait (sem=sem@entry=0x9d66a0, abstime=0x0) at sem_waitcommon.c:111
#2 0x00007f15db7318d4 in __new_sem_wait_slow (sem=0x9d66a0, abstime=0x0) at sem_waitcommon.c:181
#3 0x00007f15db73197a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:29
#4 0x00000000005ec0ef in ?? ()
#5 0x00000000005c34ef in ?? ()
#6 0x00000000006804e8 in ?? ()
#7 0x00007f15db7296ba in start_thread (arg=0x7f15d8510700) at pthread_create.c:333
#8 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 2 (Thread 0x7f15da7ff700 (LWP 17757)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x000000000066b457 in ?? ()
#2 0x00007f15db7296ba in start_thread (arg=0x7f15da7ff700) at pthread_create.c:333
#3 0x00007f15db24982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1 (Thread 0x7f15dc244740 (LWP 17756)):
#0 0x00007f15db732f7b in __waitpid (pid=17766, stat_loc=0x7ffde1571fec, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00000000004ac659 in ?? ()
#2 0x000000000050fac6 in ?? ()
#3 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.=================================================================
any idea or possibility to solve this problem ? Thanks a lot ! durahsel
Comments
Only thing I could think of is wrong graphic mode. Since it crashes in OpenGL context creation it might not find the right context. It wants a true color context with double buffering. So make sure you have true color active, which is standard nowadays.
.. and now the crash seems to be for a diffrent reason :
problem of font missing ? (I checked Arial font is installed)
thanks for your help!
Repetier-Host 2.0.1
I upgraded to 2.0.1 and was able to start it. I loaded a file and when I sliced it with the included Cura the Repetier-Host crashed. Now when I try to start Repetier-Host I receive the following error. I see the outline of the Repetier logo but just the rectangular outline and then it closes. I have tried to completely uninstall the mono environment, then re-install it. I have also uninstalled and re-installed Repetier-Host
Error:
libpng warning: iCCP: known incorrect sRGB profile
Unhandled Exception:
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException (ExceptionResource resource) <0x40597db0 + 0x0002f> in <filename unknown>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Insert (System.Collections.Generic.TKey key, System.Collections.Generic.TValue value, Boolean add) <0x401c34d0 + 0x0017b> in <filename unknown>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (System.Collections.Generic.TKey key, System.Collections.Generic.TValue value) <0x402557f0 + 0x0001b> in <filename unknown>:0
at RepetierHost.Main..ctor () <0x401faca0 + 0x0442b> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
at RepetierHost.Program.Main (System.String[] args) <0x401b72d0 + 0x00033> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException (ExceptionResource resource) <0x40597db0 + 0x0002f> in <filename unknown>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Insert (System.Collections.Generic.TKey key, System.Collections.Generic.TValue value, Boolean add) <0x401c34d0 + 0x0017b> in <filename unknown>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (System.Collections.Generic.TKey key, System.Collections.Generic.TValue value) <0x402557f0 + 0x0001b> in <filename unknown>:0
at RepetierHost.Main..ctor () <0x401faca0 + 0x0442b> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
at RepetierHost.Program.Main (System.String[] args) <0x401b72d0 + 0x00033> in <filename unknown>:0
System.ArgumentException: An item with the same key has already been added.
To solve it check ~/.mono whcih is the mono registry. and find software/Repetier and delete it, then host starts as setup new.
I guess you have added CuraEngine twice with same name in slicer manager which causes that problem. Will check to if that is still possible and prevent it.