MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
312 stars 46 forks source link

seg fault #67

Closed guppy42 closed 7 years ago

guppy42 commented 8 years ago

Program segfaults with no visible cause;

loading MCPE
oslib: /usr/lib32/libGLESv2.so: 137609984
oslib: /home/guppy/MinecraftPE/mcpelauncher-linux/libs/native/libfmod.so.8.2: 137611016
loaded MCPE (at 4109062144)
apply patches
original: 85 137 229 83 87
post patch: 233 186 2 19 18
original: 85 137 229 83 87
post patch: 233 112 95 19 18
original: 85 137 229 83 87
post patch: 233 170 92 19 18
original: 85 137 229 83 87
post patch: 233 104 93 19 18
original: 85 137 229 83 131
post patch: 233 124 186 214 17
original: 85 137 229 83 87
post patch: 233 202 193 214 17
original: 85 137 229 83 87
post patch: 233 20 79 244 17
original: 85 137 229 83 131
post patch: 233 102 68 244 17
patches applied!
init app platform vtable
init app platform
app platform initialized
init window
EGL_VERSION = 1.4
create minecraft client
userdata path for levels = data/user/
userdata path = data/user/
init minecraft client
userdata path = data/user/
get assert full path: loc/languages.json
readAssetFile: assets/loc/languages.json
get assert full path: loc/en_US-pocket.lang
readAssetFile: assets/loc/en_US-pocket.lang
get assert full path: loc/es_ES-pocket.lang
readAssetFile: assets/loc/es_ES-pocket.lang
get assert full path: loc/en_GB-pocket.lang
readAssetFile: assets/loc/en_GB-pocket.lang
get assert full path: loc/de_DE-pocket.lang
readAssetFile: assets/loc/de_DE-pocket.lang
get system region: 0xdeadbeef
userdata path = data/user/
get data url: assets/
get data url: assets/
get data url: assets/
Signal 6 received
Getting stacktrace...
Signal 6 received
Getting stacktrace...
Backtrace elements: 12

The complete stack trace is a wooping 293.947 lines;

http://paste.ubuntu.com/23095365/

Not entirely sure why the trace needs to be repeated quite that much...

guppy42 commented 8 years ago

Properly not related, but given how little sense the above makes to me...

cmake complains about EGL being missing,

-- Checking for module 'egl' -- No package 'egl' found -- Could NOT find EGL (missing: EGL_LIBRARIES)

( they are not, and are linked successfully to the binary )

guppy42 commented 8 years ago

Updated to Ubuntu 16 ( gcc 5.4 ) and I still get the same error with a fresh compile

Not sure if this is related or even helpful; https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5166

Same thing that happens here tho - segfault when assigning a value to a string