I use monogame 3.4. I need create texture some color. I have found some example and it really works on Intel graphic card. But on nvidia it crashes my application:
Stacktrace:
Native stacktrace:
/usr/bin/mono() [0x80eebb3]
/usr/bin/mono() [0x813a564]
/usr/bin/mono() [0x8069d07]
[0xb76ea40c]
/usr/lib/nvidia-304/libGL.so.1(+0xbef8c) [0xb1fe2f8c]
[0xada17956]
[0xada17628]
[0xada175a8]
[0xada174a0]
[0xada16c10]
[0xada4d064]
[0xada4bdab]
[0xaf61a1a5]
[0xada43e38]
[0xb2749110]
[0xb2748c98]
[0xb274899c]
[0xb27488c0]
[0xb2748748]
[0xb533741e]
/usr/bin/mono() [0x80697e1]
Debug info from gdb:
[New LWP 8793]
[New LWP 8792]
[New LWP 8781]
[New LWP 8778]
[New LWP 8762]
[New LWP 8759]
[New LWP 8743]
[New LWP 8723]
[New LWP 8722]
[New LWP 8721]
[New LWP 8705]
[New LWP 8670]
[New LWP 8669]
[New LWP 8667]
[New LWP 8661]
[New LWP 8660]
[New LWP 8658]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
0xb76ea424 in __kernel_vsyscall ()
Id Target Id Frame
18 Thread 0xb6bffb40 (LWP 8658) "mono" 0xb76ea424 in __kernel_vsyscall ()
17 Thread 0xb57f7b40 (LWP 8660) "Finalizer" 0xb76ea424 in __kernel_vsyscall ()
16 Thread 0xb54ffb40 (LWP 8661) "mono" 0xb76ea424 in __kernel_vsyscall ()
15 Thread 0xb31b5b40 (LWP 8667) "gmain" 0xb76ea424 in __kernel_vsyscall ()
14 Thread 0xaf506b40 (LWP 8669) "Timer-Scheduler" 0xb76ea424 in __kernel_vsyscall ()
13 Thread 0xaf2efb40 (LWP 8670) "mono" 0xb76ea424 in __kernel_vsyscall ()
12 Thread 0xac8ffb40 (LWP 8705) "mono" 0xb76ea424 in __kernel_vsyscall ()
11 Thread 0xab4ffb40 (LWP 8721) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
10 Thread 0xaa5ffb40 (LWP 8722) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
9 Thread 0xab6feb40 (LWP 8723) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
8 Thread 0xaeeffb40 (LWP 8743) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
7 Thread 0xaadfdb40 (LWP 8759) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
6 Thread 0xaa9fcb40 (LWP 8762) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
5 Thread 0xad67bb40 (LWP 8778) "mono" 0xb76ea424 in __kernel_vsyscall ()
4 Thread 0xac1feb40 (LWP 8781) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
3 Thread 0xabffcb40 (LWP 8792) "Threadpool work" 0xb76ea424 in __kernel_vsyscall ()
2 Thread 0xaf2cab40 (LWP 8793) "Timer-Scheduler" 0xb76ea424 in __kernel_vsyscall ()
* 1 Thread 0xb74a6700 (LWP 8657) "mono" 0xb76ea424 in __kernel_vsyscall ()
Thread 18 (Thread 0xb6bffb40 (LWP 8658)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7660d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x082479c0 in ?? ()
#3 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 17 (Thread 0xb57f7b40 (LWP 8660)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7663135 in sem_wait@@GLIBC_2.1 () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x0826f268 in mono_sem_wait ()
#3 0x081eea44 in ?? ()
#4 0x081cfab1 in ?? ()
#5 0x08275eb1 in ?? ()
#6 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 16 (Thread 0xb54ffb40 (LWP 8661)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7664128 in recv () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x08114cc8 in ?? ()
#3 0x0811a0c2 in ?? ()
#4 0x08275eb1 in ?? ()
#5 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 15 (Thread 0xb31b5b40 (LWP 8667)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7584c8b in poll () from /lib/i386-linux-gnu/libc.so.6
#2 0xb46be20b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0xb46af3e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb46af528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0xb46af57e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6 0xb46d59aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 14 (Thread 0xaf506b40 (LWP 8669)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb765f275 in _L_lock_928 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb765f0f8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0x0818962f in ?? ()
#5 0x08160d8c in ?? ()
#6 0x08160cbb in ?? ()
#7 0x08161c8d in ?? ()
#8 0x08161ecd in ?? ()
#9 0x081624b4 in mono_class_from_name ()
#10 0x081e8b01 in mono_check_corlib_version ()
#11 0x081d1505 in ?? ()
#12 0x081d55cf in ?? ()
#13 0xaf2f3d2c in ?? ()
#14 0xaf2f3c6c in ?? ()
#15 0xaf2f38ac in ?? ()
#16 0xae1545c0 in ?? ()
#17 0xae154470 in ?? ()
#18 0xaf50b1a8 in ?? ()
#19 0xb2749110 in ?? ()
#20 0xb2748c98 in ?? ()
#21 0xb274899c in ?? ()
#22 0xb27488c0 in ?? ()
#23 0xb2748748 in ?? ()
#24 0xb533741e in ?? ()
#25 0x080697e1 in ?? ()
#26 0x081f5f0f in mono_runtime_invoke ()
#27 0x081f6ad5 in mono_runtime_delegate_invoke ()
#28 0x081cfb30 in ?? ()
#29 0x08275eb1 in ?? ()
#30 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#31 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 13 (Thread 0xaf2efb40 (LWP 8670)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7584c8b in poll () from /lib/i386-linux-gnu/libc.so.6
#2 0x0826ee4b in mono_poll ()
#3 0x081d5b72 in ?? ()
#4 0x081d68c4 in ?? ()
#5 0x081cfab1 in ?? ()
#6 0x08275eb1 in ?? ()
#7 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 12 (Thread 0xac8ffb40 (LWP 8705)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb765f267 in _L_lock_847 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb765f0a0 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0x081113b3 in ?? ()
#5 0x081160a0 in ?? ()
#6 0x08109347 in ?? ()
#7 0x0810941d in ?? ()
#8 0xaf04b5ec in ?? ()
#9 0xaf04b574 in ?? ()
#10 0xae190434 in ?? ()
#11 0xb2749110 in ?? ()
#12 0xb2748c98 in ?? ()
#13 0xb274899c in ?? ()
#14 0xb27488c0 in ?? ()
#15 0xb2748748 in ?? ()
#16 0xb533741e in ?? ()
#17 0x080697e1 in ?? ()
#18 0x081f5f0f in mono_runtime_invoke ()
#19 0x081f6ad5 in mono_runtime_delegate_invoke ()
#20 0x081cfb30 in ?? ()
#21 0x08275eb1 in ?? ()
#22 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#23 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 11 (Thread 0xab4ffb40 (LWP 8721)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb76671d0 in _L_cond_lock_803 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb7666f20 in __pthread_mutex_cond_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7660df4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#5 0x081113f4 in ?? ()
#6 0x081160a0 in ?? ()
#7 0x08109347 in ?? ()
#8 0x0810941d in ?? ()
#9 0xaf04b5ec in ?? ()
#10 0xaf04b574 in ?? ()
#11 0xafe552cc in ?? ()
#12 0xb2749110 in ?? ()
#13 0xb2748c98 in ?? ()
#14 0xb274899c in ?? ()
#15 0xb27488c0 in ?? ()
#16 0xb2748748 in ?? ()
#17 0xb533741e in ?? ()
#18 0x080697e1 in ?? ()
#19 0x081f5f0f in mono_runtime_invoke ()
#20 0x081f6ad5 in mono_runtime_delegate_invoke ()
#21 0x081cfb30 in ?? ()
#22 0x08275eb1 in ?? ()
#23 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#24 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 10 (Thread 0xaa5ffb40 (LWP 8722)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb76671d0 in _L_cond_lock_803 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb7666f20 in __pthread_mutex_cond_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0xb7660df4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#5 0x081113f4 in ?? ()
#6 0x081160a0 in ?? ()
#7 0x08109347 in ?? ()
#8 0x0810941d in ?? ()
#9 0xaf04b5ec in ?? ()
#10 0xaf04b574 in ?? ()
#11 0xafe553d0 in ?? ()
#12 0xb2749110 in ?? ()
#13 0xb2748c98 in ?? ()
#14 0xb274899c in ?? ()
#15 0xb27488c0 in ?? ()
#16 0xb2748748 in ?? ()
#17 0xb533741e in ?? ()
#18 0x080697e1 in ?? ()
#19 0x081f5f0f in mono_runtime_invoke ()
#20 0x081f6ad5 in mono_runtime_delegate_invoke ()
#21 0x081cfb30 in ?? ()
#22 0x08275eb1 in ?? ()
#23 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#24 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 9 (Thread 0xab6feb40 (LWP 8723)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb75a1988 in clock_nanosleep () from /lib/i386-linux-gnu/libc.so.6
#2 0x08262514 in ?? ()
#3 0x081d0d90 in ?? ()
#4 0xaf04b5ec in ?? ()
#5 0xaf04b574 in ?? ()
#6 0xafe5865c in ?? ()
#7 0xb2749110 in ?? ()
#8 0xb2748c98 in ?? ()
#9 0xb274899c in ?? ()
#10 0xb27488c0 in ?? ()
#11 0xb2748748 in ?? ()
#12 0xb533741e in ?? ()
#13 0x080697e1 in ?? ()
#14 0x081f5f0f in mono_runtime_invoke ()
#15 0x081f6ad5 in mono_runtime_delegate_invoke ()
#16 0x081cfb30 in ?? ()
#17 0x08275eb1 in ?? ()
#18 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#19 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 8 (Thread 0xaeeffb40 (LWP 8743)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb765f267 in _L_lock_847 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb765f0a0 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0x081113b3 in ?? ()
#5 0x081160a0 in ?? ()
#6 0x08109347 in ?? ()
#7 0x0810941d in ?? ()
#8 0xaf04b5ec in ?? ()
#9 0xaf04b574 in ?? ()
#10 0xada66180 in ?? ()
#11 0xada64534 in ?? ()
#12 0xada6b2d8 in ?? ()
#13 0xada6b124 in ?? ()
#14 0xada6cb98 in ?? ()
#15 0xada6ca9d in ?? ()
#16 0xada6c800 in ?? ()
#17 0xb2749110 in ?? ()
#18 0xb2748c98 in ?? ()
#19 0xb274899c in ?? ()
#20 0xb27488c0 in ?? ()
#21 0xb2748748 in ?? ()
#22 0xb533741e in ?? ()
#23 0x080697e1 in ?? ()
#24 0x081f5f0f in mono_runtime_invoke ()
#25 0x081f6ad5 in mono_runtime_delegate_invoke ()
#26 0x081cfb30 in ?? ()
#27 0x08275eb1 in ?? ()
#28 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#29 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 7 (Thread 0xaadfdb40 (LWP 8759)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7664cdb in waitpid () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x080eec5a in ?? ()
#3 0x0813a564 in ?? ()
#4 0x08069d07 in ?? ()
#5 <signal handler called>
#6 0xb1fe2f8c in glGenTextures () from /usr/lib/nvidia-304/libGL.so.1
#7 0xaf66af14 in ?? ()
#8 0xada17956 in ?? ()
#9 0xada17628 in ?? ()
#10 0xada175a8 in ?? ()
#11 0xada174a0 in ?? ()
#12 0xada16c10 in ?? ()
#13 0xada4d064 in ?? ()
#14 0xada4bdab in ?? ()
#15 0xaf61a1a5 in ?? ()
#16 0xada43e38 in ?? ()
#17 0xb2749110 in ?? ()
#18 0xb2748c98 in ?? ()
#19 0xb274899c in ?? ()
#20 0xb27488c0 in ?? ()
#21 0xb2748748 in ?? ()
#22 0xb533741e in ?? ()
#23 0x080697e1 in ?? ()
#24 0x081f5f0f in mono_runtime_invoke ()
#25 0x081f6ad5 in mono_runtime_delegate_invoke ()
#26 0x081cfb30 in ?? ()
#27 0x08275eb1 in ?? ()
#28 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#29 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 6 (Thread 0xaa9fcb40 (LWP 8762)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb75a1988 in clock_nanosleep () from /lib/i386-linux-gnu/libc.so.6
#2 0x08262514 in ?? ()
#3 0x081d0d90 in ?? ()
#4 0xaf04b5ec in ?? ()
#5 0xaf04b574 in ?? ()
#6 0xada449a8 in ?? ()
#7 0xb2749110 in ?? ()
#8 0xb2748c98 in ?? ()
#9 0xb274899c in ?? ()
#10 0xb27488c0 in ?? ()
#11 0xb2748748 in ?? ()
#12 0xb533741e in ?? ()
#13 0x080697e1 in ?? ()
#14 0x081f5f0f in mono_runtime_invoke ()
#15 0x081f6ad5 in mono_runtime_delegate_invoke ()
#16 0x081cfb30 in ?? ()
#17 0x08275eb1 in ?? ()
#18 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#19 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 5 (Thread 0xad67bb40 (LWP 8778)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb7660d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x081113f4 in ?? ()
#3 0x081148fb in ?? ()
#4 0x08114a42 in ?? ()
#5 0x081c4644 in ?? ()
#6 0x081cf330 in ?? ()
#7 0x081cfab8 in ?? ()
#8 0x08275eb1 in ?? ()
#9 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 4 (Thread 0xac1feb40 (LWP 8781)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb766112d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x0824d0c2 in ?? ()
#3 0x08260f83 in ?? ()
#4 0x081d0cf2 in ?? ()
#5 0xae1522e8 in ?? ()
#6 0xae151d7c in ?? ()
#7 0xada66d08 in ?? ()
#8 0xada7cdb0 in ?? ()
#9 0xb2749110 in ?? ()
#10 0xb2748c98 in ?? ()
#11 0xb274899c in ?? ()
#12 0xb27488c0 in ?? ()
#13 0xb2748748 in ?? ()
#14 0xb533741e in ?? ()
#15 0x080697e1 in ?? ()
#16 0x081f5f0f in mono_runtime_invoke ()
#17 0x081f6ad5 in mono_runtime_delegate_invoke ()
#18 0x081cfb30 in ?? ()
#19 0x08275eb1 in ?? ()
#20 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#21 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 3 (Thread 0xabffcb40 (LWP 8792)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76645f6 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0
#2 0x0828554e in ?? ()
#3 0x08273b53 in ?? ()
#4 0x08274123 in ?? ()
#5 0x08108362 in ?? ()
#6 0x081f2383 in mono_g_hash_table_foreach ()
#7 0x0810ae52 in ?? ()
#8 0x081145fc in ?? ()
#9 0x08114a42 in ?? ()
#10 0x08115577 in ?? ()
#11 0x081c4604 in ?? ()
#12 0x081cfa88 in ?? ()
#13 0x08275eb1 in ?? ()
#14 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 2 (Thread 0xaf2cab40 (LWP 8793)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb765f275 in _L_lock_928 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb765f0f8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0x0818962f in ?? ()
#5 0x08115440 in ?? ()
#6 0x081c4604 in ?? ()
#7 0x081cfa88 in ?? ()
#8 0x08275eb1 in ?? ()
#9 0xb765cf70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb7593bee in clone () from /lib/i386-linux-gnu/libc.so.6
Thread 1 (Thread 0xb74a6700 (LWP 8657)):
#0 0xb76ea424 in __kernel_vsyscall ()
#1 0xb76639e2 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb765f267 in _L_lock_847 () from /lib/i386-linux-gnu/libpthread.so.0
#3 0xb765f0a0 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4 0x081113b3 in ?? ()
#5 0x081160a0 in ?? ()
#6 0x08109347 in ?? ()
#7 0x0810941d in ?? ()
#8 0x00000000 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.
=================================================================