Bug#720385: minetest: game crashes with floating point exception

Martin Quinson martin.quinson at loria.fr
Sun Aug 25 21:19:10 UTC 2013


Thanks for this test; I'm still puzzled about this problem. Could you
please check whether adding -DENABLE_FREETYPE=1 to the cmake command
line produces the same error for you? I don't quite see any other
reason, right now.

For the record, the full parameters we pass to cmake are:
            cmake -DRUN_IN_PLACE=0 \
	          -DENABLE_GETTEXT=1 \
		  -DENABLE_FREETYPE=1 \
		  -DCMAKE_INCLUDE_PATH=/usr/include/jthread \
                  -DCUSTOM_LOCALEDIR=/usr/share/locale \
		  -DCUSTOM_SHAREDIR=/usr/share/games/minetest \
                  -DCMAKE_INSTALL_PREFIX=/usr .

Our patches are here:
http://patch-tracker.debian.org/package/minetest/0.4.7+repack-3

If FREETYPE is not the reason for this to fail on your machine, we
will have to test the patches one after the other. You can try with
http://patch-tracker.debian.org/patch/series/view/minetest/0.4.7+repack-3/useless-depends.patch
which sound doubtful to me wrt your problem.


Many many thanks for your support,
Mt.

On Sun, Aug 25, 2013 at 06:49:46PM +0400, Руслан Зиганшин wrote:
> Building latest minetest:
> 
> ruslan at debian:~/minetest-master_25.08.2013$ cmake . -DRUN_IN_PLACE=1
> -- The C compiler identification is GNU 4.7.2
> -- The CXX compiler identification is GNU 4.7.2
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- *** Will build version 0.4.7 ***
> -- IRRLICHT_SOURCE_DIR =
> -- IRRLICHT_INCLUDE_DIR = /usr/include/irrlicht
> -- IRRLICHT_LIBRARY = /usr/lib/x86_64-linux-gnu/libIrrlicht.a
> -- Found IRRLICHT: /usr/lib/x86_64-linux-gnu/libIrrlicht.a
> -- CURL_INCLUDE_DIR = /usr/include/curl
> -- CURL_LIBRARY = /usr/lib/x86_64-linux-gnu/libcurl.so
> -- cURL support enabled
> -- GetText disabled
> -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
> -- Found VORBIS: /usr/include
> -- Sound enabled
> -- Looking for XOpenDisplay in
> /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
> -- Looking for XOpenDisplay in
> /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
> - found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> -- Found OpenGL: /usr/lib/libGL.so
> -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
> -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
> -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
> -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
> -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
> -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49")
> -- Using project jthread library
> -- Found system sqlite3 header file in /usr/include
> -- Found system sqlite3 library /usr/lib/x86_64-linux-gnu/libsqlite3.so
> -- Using project jsoncpp library
> -- LuaJIT library: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so
> -- LuaJIT headers: /usr/include/luajit-2.0
> -- LuaJIT found.
> -- Performing Test HAS_UNUSED_BUT_SET_VARIABLE_WARNING
> -- Performing Test HAS_UNUSED_BUT_SET_VARIABLE_WARNING - Success
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/ruslan/minetest-master_25.08.2013
> 
> After make this game successfully worked
> 
> ruslan at debian:~/minetest-master_25.08.2013/bin$ ldd ./minetest
>         linux-vdso.so.1 (0x00007fffdab64000)
>         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f37429f8000)
>         libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1
> (0x00007f374278b000)
>         libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f374246d000)
>         libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f3742266000)
>         libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6
> (0x00007f374204b000)
>         libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
> (0x00007f3741d0f000)
>         libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
> (0x00007f3741afd000)
>         libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8
> (0x00007f37418c3000)
>         libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0
> (0x00007f37416b2000)
>         libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0
> (0x00007f374148b000)
>         libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1
> (0x00007f3741231000)
>         libvorbisfile.so.3 =>
> /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f3741027000)
>         libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0
> (0x00007f3740dfa000)
>         libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0
> (0x00007f3740bf4000)
>         libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
> (0x00007f3740948000)
>         libluajit-5.1.so.2 =>
> /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 (0x00007f37406db000)
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f37404bf000)
>         librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f37402b6000)
>         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f37400b2000)
>         libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
> (0x00007f373feac000)
>         libcurl-gnutls.so.4 =>
> /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f373fc47000)
>         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f373f940000)
>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f373f642000)
>         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007f373f42b000)
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f373f07f000)
>         libnvidia-tls.so.304.108 =>
> /usr/lib/tls/libnvidia-tls.so.304.108 (0x00007f373ee7c000)
>         libnvidia-glcore.so.304.108 =>
> /usr/lib/libnvidia-glcore.so.304.108 (0x00007f373ca91000)
>         libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f373c88c000)
>         libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
> (0x00007f373c66d000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f3742c53000)
>         libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11
> (0x00007f373c438000)
>         libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1
> (0x00007f373c210000)
>         liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
> (0x00007f373c000000)
>         libldap_r-2.4.so.2 =>
> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f373bdaf000)
>         libgssapi_krb5.so.2 =>
> /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f373bb70000)
>         libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
> (0x00007f373b8b0000)
>         libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
> (0x00007f373b631000)
>         librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0
> (0x00007f373b417000)
>         libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
> (0x00007f373b212000)
>         libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
> (0x00007f373b00d000)
>         libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
> (0x00007f373adf5000)
>         libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2
> (0x00007f373abda000)
>         libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3
> (0x00007f373a906000)
>         libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
> (0x00007f373a6dc000)
>         libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
> (0x00007f373a4d8000)
>         libkrb5support.so.0 =>
> /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f373a2cf000)
>         libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
> (0x00007f373a0ca000)
>         libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3
> (0x00007f3739eb9000)
>         libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
> (0x00007f3739ca7000)
>         libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
> (0x00007f3739aa3000)



More information about the Pkg-games-devel mailing list