Please use solely this thread for Linux-specific technical problems.
EDIT: This thread was used in the early days when it was important to have Linux/Mac-specific problems in separate topics. Nowadays, you can post anywhere you like.
guillaume@linux-desktop:~$ cd /home/guillaume/openbve0801linux
guillaume@linux-desktop:~/openbve0801linux$ mono OpenBve.exe
** (OpenBve.exe:14339): WARNING **: wrong maximal instruction length of instruction storer8_membase_reg (expected 6, got 7)
**
** ERROR:(mini-x86.c:3531):mono_arch_output_basic_block: code should not be reached
Stacktrace:
at OpenBve.TrainManager.UpdateTrainPhysicsAndControls (OpenBve.TrainManager/Train&,double) <0xffffffff>
at OpenBve.TrainManager.UpdateTrainPhysicsAndControls (OpenBve.TrainManager/Train&,double) <0x00150>
at OpenBve.TrainManager.UpdateTrain (OpenBve.TrainManager/Train&,double) <0x00025>
at OpenBve.TrainManager.UpdateTrains (double) <0x0003b>
at OpenBve.MainLoop.StartLoop () <0x00481>
at OpenBve.Program.Start (string[]) <0x009c8>
at OpenBve.Program.Main (string[]) <0x00014>
at (wrapper runtime-invoke) OpenBve.Program.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono [0x816b1fa]
[0xb7f9b440]
/lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7d68a01]
/usr/lib/libglib-2.0.so.0(g_assertion_message+0x121) [0xb7f28751]
mono [0x80725ae]
mono [0x81371e1]
mono [0x8157981]
mono [0x81583b1]
mono [0x807f936]
[0xb7bc6066]
[0xb2a89af6]
[0xb2a7de7c]
[0xb2a78b42]
[0xb7864409]
[0xb786324d]
[0xb78631c3]
mono(mono_runtime_exec_main+0xbb) [0x809c63b]
mono(mono_runtime_run_main+0x173) [0x809c933]
mono(mono_main+0x6a9) [0x805acd9]
mono [0x805a122]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d52450]
mono [0x805a091]
Debug info from gdb:
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7cfa940 (LWP 14339)]
[New Thread 0xb32d1b90 (LWP 14345)]
[New Thread 0xb3ad2b90 (LWP 14344)]
[New Thread 0xb7317b90 (LWP 14341)]
[New Thread 0xb78b5b90 (LWP 14340)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7f9b410 in __kernel_vsyscall ()
5 Thread 0xb78b5b90 (LWP 14340) 0xb7f9b410 in __kernel_vsyscall ()
4 Thread 0xb7317b90 (LWP 14341) 0xb7f9b410 in __kernel_vsyscall ()
3 Thread 0xb3ad2b90 (LWP 14344) 0xb7f9b410 in __kernel_vsyscall ()
2 Thread 0xb32d1b90 (LWP 14345) 0xb7f9b410 in __kernel_vsyscall ()
1 Thread 0xb7cfa940 (LWP 14339) 0xb7f9b410 in __kernel_vsyscall ()
Thread 5 (Thread 0xb78b5b90 (LWP 14340)):
#0 0xb7f9b410 in __kernel_vsyscall ()
#1 0xb7ebd196 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08105c91 in ?? ()
#3 0xb7eb54fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7e12e5e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 4 (Thread 0xb7317b90 (LWP 14341)):
#0 0xb7f9b410 in __kernel_vsyscall ()
#1 0xb7eb9aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081088ff in ?? ()
#3 0x0810b3cd in ?? ()
#4 0x0810b43c in ?? ()
#5 0x0811ba1a in ?? ()
#6 0x080b1c0a in ?? ()
#7 0x080cef04 in ?? ()
#8 0x0811a7c2 in ?? ()
#9 0x081317a5 in ?? ()
#10 0xb7eb54fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7e12e5e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 3 (Thread 0xb3ad2b90 (LWP 14344)):
#0 0xb7f9b410 in __kernel_vsyscall ()
#1 0xb7e0ae99 in ioctl () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6ca1520 in ?? () from /usr/lib/libasound.so.2
#3 0xb6c91605 in snd_pcm_writei () from /usr/lib/libasound.so.2
#4 0xb545a7af in ?? () from /usr/lib/libopenal.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 2 (Thread 0xb32d1b90 (LWP 14345)):
#0 0xb7f9b410 in __kernel_vsyscall ()
#1 0xb7ebd196 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6d6c788 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
#3 0xb6d462f5 in ?? () from /usr/lib/libSDL-1.2.so.0
#4 0xb6d1562e in ?? () from /usr/lib/libSDL-1.2.so.0
#5 0xb6d1d1ab in ?? () from /usr/lib/libSDL-1.2.so.0
#6 0xb6d69bbd in ?? () from /usr/lib/libSDL-1.2.so.0
#7 0xb7eb54fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb7e12e5e in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0xb7cfa940 (LWP 14339)):
#0 0xb7f9b410 in __kernel_vsyscall ()
#1 0xb7e0b881 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7f3a2a4 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3 0xb7f3a66c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
#4 0x0816b295 in ?? ()
#5 <signal handler called>
#6 0xb7f9b410 in __kernel_vsyscall ()
#7 0xb7d67085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb7d68a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb7f28751 in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#10 0x080725ae in ?? ()
#11 0x081371e1 in ?? ()
#12 0x08157981 in ?? ()
#13 0x081583b1 in ?? ()
#14 0x0807f936 in ?? ()
#15 0xb7bc6066 in ?? ()
#16 0xb2a89af6 in ?? ()
#17 0xb2a7de7c in ?? ()
#18 0xb2a78b42 in ?? ()
#19 0xb7864409 in ?? ()
#20 0xb786324d in ?? ()
#21 0xb78631c3 in ?? ()
#22 0x0809c63b in mono_runtime_exec_main ()
#23 0x0809c933 in mono_runtime_run_main ()
#24 0x0805acd9 in mono_main ()
#25 0x0805a122 in ?? ()
#26 0xb7d52450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#27 0x0805a091 in ?? ()
#0 0xb7f9b410 in __kernel_vsyscall ()
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
AbandonTo get things straight; OpenBVE does start, you're able to select a track, but as soon as the OpenGL window comes up you get the abort?
Which track are you using with which train, and have you tried more than one of them?

michelle wrote:My original answer to your post:
Thank you for testing with the alpha. As it seems, it is a Mono issue then, because it is Mono which is asked to load the PNG files. When passing the data to OpenGL, it is already converted to 32-bit ARGB, so the loading stage is to be blamed, done by Mono. Theoretically, I could save the PNG files as color, not grayscale, but I always use pngout to optimize the PNGs, which might introduce grayscale.
As for sound, I am not sure if you mean the doppler effect, because that natually occurs with OpenAL and is a core feature. However, if you cannot compare the effect to a Windows system, then of course I cannot assure whether it sounds right or wrong on your computer. If you know what a doppler effect should sound like, then you should be able to tell me if that is what you hear.
michelle wrote:No, that thing at the end is definitely not normal. To be fair, OpenAL has predefined ranges in which pitch changes are allowed to occur, and openBVE frequently exceeds this range. While this seems to work on Windows, the Linux implementation of OpenAL might be more strict. Thus, the thing at the end could be the flange, motor or track sounds, because they use pitch changes. If you are eager, you could try removing some of those the sounds from the train folder in order to isolate which one causes the problem. Of course, the effect could also be due to a faulty implementation of OpenAL for Linux. Probably it would be best if I had Linux myself in order to test this, but this is not going to happen.
diff -au Tao.OpenAl.dll.config.old Tao.OpenAl.dll.config
--- Tao.OpenAl.dll.config.old
+++ Tao.OpenAl.dll.config
@@ -1,4 +1,4 @@
<configuration>
- <dllmap dll="OpenAL32.dll" target="libopenal.so.0" />
+ <dllmap dll="OpenAL32.dll" target="libopenal.so.1" />
<dllmap dll="alut.dll" target="libalut.so.0" />
</configuration>
formMain.Designer.cs wrote:this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
Return to Technical Support and Bugs
Users browsing this forum: No registered users and 0 guests