SegmentationFault - Raspberry Pi - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: SegmentationFault - Raspberry Pi (/thread-1368.html) |
SegmentationFault - Raspberry Pi - loric- - 02-13-2014 Hi, I am trying to launch the Pi pre-compiled version of MCServer on my Raspberry Pi 512mo B and I have a SegFault when I launch the MCServer. Rasberry Pi pre_compiled version Is it normal? Do I miss something? Here is the log Code: [22:43:09] Loaded 269 crafting recipes Thanks in advance RE: SegmentationFault - Raspberry Pi - xoft - 02-13-2014 The precompiled version is known not to work on some RasPis. Can you try compiling it yourself? RE: SegmentationFault - Raspberry Pi - loric- - 02-13-2014 (02-13-2014, 08:19 AM)xoft Wrote: The precompiled version is known not to work on some RasPis. Can you try compiling it yourself? Yes I could give it a try. How am I supposed to do that for the raspberry pi? Do I need to follow the Linux method of this the file below? (with cmake) https://github.com/mc-server/MCServer/blob/master/COMPILING.md Or is there a makefile somewhere in order to launch a make? RE: SegmentationFault - Raspberry Pi - xoft - 02-13-2014 Follow those Linux instructions, you most likely want the Release mode. In the first step (apt-get), you might need to add "g++" to the list of programs. (EDIT: I added g++ to the page) Note that it takes between half an hour to a full hour to compile the server on a physical RasPi. RE: SegmentationFault - Raspberry Pi - loric- - 02-15-2014 (02-13-2014, 03:51 PM)xoft Wrote: Follow those Linux instructions, you most likely want the Release mode. In the first step (apt-get), you might need to add "g++" to the list of programs. (EDIT: I added g++ to the page) Thanks, it's working great with the manual compilation! RE: SegmentationFault - Raspberry Pi - LogicParrot - 04-06-2014 I am also experiencing a segmentation fault on a Model B Raspberry Pi with Raspbpian (MC server hardfloat). However, it occurs immediately when someone logs in. If no one logs in, the server runs fine. I tried compiling by following the Linux instructions exactly, however that failed at the cmake step at 23%. I will post my exact compilation issue in a new thread. RE: SegmentationFault - Raspberry Pi - bearbin - 04-07-2014 The new issue is unrelated to the earlier one, as the earlier one was caused by Soft-Float compilation (now I added a hard-float build) but I don't know what this one is about. I see that you uploaded an issue to GitHub, so more conversation will probably go on there. RE: SegmentationFault - Raspberry Pi - xoft - 04-07-2014 If the current failure was caused by 1.6.4 clients, you should get an updated version of MCS, it has been fixed. RE: SegmentationFault - Raspberry Pi - Minepi - 10-02-2014 Hi, I am having some troubles with the MCServer build for raspberrypi. I can launch the server with ipv4 and 6 and https certificate. But when I join the server on the Minecraft client it says : D: | MCServer has encountered an error and needs to close Details: | SIGSEGV: Segmentation fault What do I need to do ? RE: SegmentationFault - Raspberry Pi - xoft - 10-02-2014 Hi, welcome to the forum. Generally, there's a guide for reporting crashes on Linux (which is true for RasPi as well): https://forum.cuberite.org/showthread.php?tid=631 Are you using a prebuilt binary, or are you compiling your own? If using pre-built, just give us the build number of the download ("latest" is no good, because that changes at least twice a day), if you're building your own, we'd need you to post the entire executable. Then of course the crashdump file itself. *Or* if you can do the autopsy yourself, as described in the thread, that would be immensely helpful. |