Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upExit code 139 on startup #3424
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Nov 6, 2016
Member
I'm not familiar with Docker at all, but one thing that stands out for me is the filename. You're using the DEBUG build, and that produces the executable Cuberite_debug, which I don't see mentioned anywhere. Could that be the cause?
|
I'm not familiar with Docker at all, but one thing that stands out for me is the filename. You're using the DEBUG build, and that produces the executable |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yangm97
Nov 6, 2016
Consider that a typo. I did not try the debug build yet.
As for the Docker bit, you just need to install docker and docker-compose, create the mentioned files and docker-compose up --build. Results should be the same on your machine.
yangm97
commented
Nov 6, 2016
•
|
Consider that a typo. I did not try the debug build yet. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yangm97
commented
Nov 10, 2016
|
Just ran the DEBUG build. Output. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yangm97
commented
Nov 10, 2016
|
Possible duplicate of #3406 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Nov 10, 2016
Member
The log says "core dumped", could you possibly analyze the core a bit with GDB? The forum thread on reporting Linux crashes should help you: https://forum.cuberite.org/thread-631.html
|
The log says "core dumped", could you possibly analyze the core a bit with GDB? The forum thread on reporting Linux crashes should help you: https://forum.cuberite.org/thread-631.html |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Nov 10, 2016
Member
Note-worthy deviations from a standard install: The server complains about missing Plugins folder, there are no plugins loaded and no prefabs loaded. Questionable whether items.ini or crafting.txt were loaded.
|
Note-worthy deviations from a standard install: The server complains about missing Plugins folder, there are no plugins loaded and no prefabs loaded. Questionable whether items.ini or crafting.txt were loaded. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Cl1608Ho
Nov 11, 2016
Member
@madmaxoft missing files isn't a subject to crash the server, cuberite works with no files at all, although crafting is disabled, then.
|
@madmaxoft missing files isn't a subject to crash the server, cuberite works with no files at all, although crafting is disabled, then. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yangm97
commented
Nov 14, 2016
|
Finally got the core. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Nov 16, 2016
Member
The core dump is useless without the executable that created the dump, and I'm not sure if two different Linux distros can read each other's core dumps. Please try to follow the forum post I linked earlier, and provide an analysis - in the very least the stacktrace of the crash.
|
The core dump is useless without the executable that created the dump, and I'm not sure if two different Linux distros can read each other's core dumps. Please try to follow the forum post I linked earlier, and provide an analysis - in the very least the stacktrace of the crash. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yangm97
Nov 18, 2016
crash.txt
Currently logging to "crash.txt".
Logs will be appended to the log file.
Output is being logged and displayed.
Starting program: /tmp/cuberite/Server/Cuberite_debug
warning: Error disabling address space randomization: Operation not permitted
During startup program terminated with signal SIGSEGV, Segmentation fault.
No threads.
Binary and core dump. Also, should be noted Alpine uses musl libc instead of glibc.
yangm97
commented
Nov 18, 2016
•
|
crash.txt
Binary and core dump. Also, should be noted Alpine uses musl libc instead of glibc. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Seadragon91
Nov 20, 2016
Contributor
Thanks for the binary and the core file.
I checked with gdb under alpine linux and it's the same crash from issue #3406.
|
Thanks for the binary and the core file. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yangm97
commented
Nov 20, 2016
|
Ok, going to close this one as it is a duplicate. |
yangm97 commentedNov 6, 2016
•
edited
Client version: self-compiled
Server OS: Alpine 3.4 inside Docker
Commit id: 32b38fb
Expected behavior
Successful startup
Actual behavior
Container exits with code 139 (seg fault?)
Steps to reproduce the behavior
Dockerfile
docker-compose.yml