Cuberite Forum
Cuberite not starting up | Debian Stretch - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Cuberite not starting up | Debian Stretch (/thread-3152.html)



Cuberite not starting up | Debian Stretch - PT400C - 12-12-2017

Hey,

today I tried to set up Cuberite on my debian stretch server. Now I've got the problem that it, instantly after typing ./Cuberite, crashes. The message:

"Speicherzugriffsfehler", I do not know what this is in englishBig Grin I am german.

Does anyone know what this is or how to fix this?

Thanks in advance  :D 

PT400C


RE: Cuberite not starting up | Debian Stretch - xoft - 12-12-2017

Hello, welcome to the forum.

According to Google translate, it's "memory access error", which I think is that OS's equivalent of a "segfault". Does it crash immediately, without any further output, or is there any other output before the crash?

We've seen something similar with RasPi+Clang builds, those failed immediately after start, it was some kind of a compiler error, never really worked out the real cause. We turned to gcc on that platform.

Did you compile yourself, or are you using the binaries from our Downloads page?

Can you try running under GDB to try to catch at least some form of a stacktrace? This might help: https://forum.cuberite.org/thread-631.html


RE: Cuberite not starting up | Debian Stretch - PT400C - 12-12-2017

(12-12-2017, 11:13 PM)xoft Wrote: Hello, welcome to the forum.

According to Google translate, it's "memory access error", which I think is that OS's equivalent of a "segfault". Does it crash immediately, without any further output, or is there any other output before the crash?

We've seen something similar with RasPi+Clang builds, those failed immediately after start, it was some kind of a compiler error, never really worked out the real cause. We turned to gcc on that platform.

Did you compile yourself, or are you using the binaries from our Downloads page?

Can you try running under GDB to try to catch at least some form of a stacktrace? This might help: https://forum.cuberite.org/thread-631.html


1. It crashes immediately after entering the command.

2. I just took the latest build from the homepage.

3. I tried it, here is the log of GDB:

tes is the folder with the Cuberite files.

Code:
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/servers/tes/./Cuberite": not in executable format: File truncated



RE: Cuberite not starting up | Debian Stretch - xoft - 12-18-2017

This looks like your download is corrupted. Try checking its SHA1 checksum against the one published ( https://builds.cuberite.org/ ), and re-download if different.


RE: Cuberite not starting up | Debian Stretch - PT400C - 12-18-2017

Where to get this checksum from? Undecided 

I re-downloaded it(https://builds.cuberite.org/job/Cuberite%20Linux%20x64%20Master/): Still doesn't work.

EDIT: Now it works. I really do not know why it didn't work before! Huh

But anyways, thank you VERY much! Smile


RE: Cuberite not starting up | Debian Stretch - xoft - 12-19-2017

The .sha1 files in that page contain the checksums for the appropriate files.