Bug#720385: minetest: game crashes with floating point exception
Руслан Зиганшин
ziganshinruslan at gmail.com
Thu Aug 22 06:03:41 UTC 2013
ldd /usr/games/minetest
linux-vdso.so.1 (0x00007fff9ae85000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe585648000)
libIrrlicht.so.1.8 => /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
(0x00007fe584e16000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fe584c0e000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fe5849f3000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe5846b5000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fe5844a2000)
libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007fe584248000)
libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
(0x00007fe58403f000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fe583e11000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fe583c0b000)
libjthread.so.1.3.1 => /usr/lib/x86_64-linux-gnu/libjthread.so.1.3.1
(0x00007fe583a08000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007fe58375c000)
libluajit-5.1.so.2 => /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
(0x00007fe5834ef000)
libjsoncpp.so.0 => /usr/lib/libjsoncpp.so.0 (0x00007fe5832a8000)
libGLESv2.so.2 => /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 (0x00007fe58309f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe582e83000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe582c7b000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe582a76000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
(0x00007fe582812000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(0x00007fe582573000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe58226b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe581f6d000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe581d57000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe5819aa000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fe58168d000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
(0x00007fe581487000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fe58125f000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007fe581025000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fe580e15000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fe580c0f000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe5809f0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe5858a2000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fe5807e3000)
libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fe5805bd000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007fe580389000)
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x00007fe580160000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
(0x00007fe57ff51000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
(0x00007fe57fd00000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
(0x00007fe57fac0000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
(0x00007fe57f801000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007fe57f582000)
librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007fe57f367000)
libnvidia-tls.so.304.108 => /usr/lib/tls/libnvidia-tls.so.304.108
(0x00007fe57f164000)
libnvidia-glcore.so.304.108 => /usr/lib/libnvidia-glcore.so.304.108
(0x00007fe57cd79000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe57cb75000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fe57c96f000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fe57c758000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007fe57c53d000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fe57c268000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
(0x00007fe57c03f000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fe57be3b000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
(0x00007fe57bc31000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fe57ba2d000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007fe57b81c000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007fe57b609000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007fe57b406000)
ldd ./minetest-0.4.7/bin/minetest
linux-vdso.so.1 (0x00007fffc87ff000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fbfd40d2000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fbfd3e65000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fbfd3b47000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fbfd3940000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fbfd3725000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fbfd33e6000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fbfd31d4000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007fbfd2f9a000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fbfd2d89000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fbfd2b62000)
libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007fbfd2908000)
libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
(0x00007fbfd26fe000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fbfd24d1000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fbfd22cb000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007fbfd201f000)
libluajit-5.1.so.2 => /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
(0x00007fbfd1db2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbfd1b96000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fbfd198d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbfd1789000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
(0x00007fbfd1583000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
(0x00007fbfd131e000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(0x00007fbfd107f000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbfd0d78000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbfd0a79000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbfd0863000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbfd04b7000)
libnvidia-tls.so.304.108 => /usr/lib/tls/libnvidia-tls.so.304.108
(0x00007fbfd02b3000)
libnvidia-glcore.so.304.108 => /usr/lib/libnvidia-glcore.so.304.108
(0x00007fbfcdec9000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fbfcdcc4000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fbfcdaa4000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbfd432c000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007fbfcd870000)
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x00007fbfcd647000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
(0x00007fbfcd438000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
(0x00007fbfcd1e7000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
(0x00007fbfccfa7000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
(0x00007fbfccce8000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007fbfcca69000)
librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007fbfcc84e000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fbfcc64a000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fbfcc444000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fbfcc22d000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007fbfcc012000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fbfcbd3d000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
(0x00007fbfcbb14000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fbfcb910000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
(0x00007fbfcb706000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fbfcb502000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007fbfcb2f1000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007fbfcb0de000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007fbfcaedb000)
2013/8/22, Martin Quinson <martin.quinson at loria.fr>:
> What does ldd have to say? I'd be interested in a "ldd minetest" run
> against both versions, please. The thing is that the string "OpenGL
> driver version is 1.2 or better." and its opposite friend are from
> irrlicht, not from minetest. I suspect that this bug lays somewhere in
> that library.
>
> Thanks for your time,
> Mt.
>
> On Wed, Aug 21, 2013 at 10:21:24PM +0400, Руслан Зиганшин wrote:
>> Hello.
>>
>> > it seems to me that you don't have any OpenGL available, right?
>> I'm successfully run any other games; for example I launch minetest v
>> 0.4.7 downloaded from git (branch stable-0.4) and compiled on my
>> computer:
>>
>> ruslan at debian:~$ /home/ruslan/minetest-0.4.7/bin/minetest
>> Irrlicht Engine version 1.7.3
>> Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64
>> Using renderer: OpenGL 2.1.2
>> GeForce 6800 XT/PCIe/SSE2: NVIDIA Corporation
>> OpenGL driver version is 1.2 or better.
>> GLSL version: 1.2
>> Loaded texture:
>> /home/ruslan/minetest-0.4.7/textures/base/pack/menu_header.png
>> Loaded texture:
>> /home/ruslan/minetest-0.4.7/games/minetest_game/menu/header.png
>> Quit message received.
>>
>> Now I'm launch minetest from Debian Sid:
>> ruslan at debian:~$ gdb minetest
>> GNU gdb (GDB) 7.4.1-debian
>> Copyright (C) 2012 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".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>...
>> Reading symbols from /usr/games/minetest...Reading symbols from
>> /usr/lib/debug/.build-id/27/b59ce04a0f42d74424cb25d544b1dfc1955b15.debug...done.
>> done.
>> (gdb) run
>> Starting program: /usr/games/minetest
>> warning: Could not load shared library symbols for linux-vdso.so.1.
>> Do you need "set solib-search-path" or "set sysroot"?
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library
>> "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> Irrlicht Engine version 1.8.0
>> Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64
>> Using renderer: OpenGL
>> OpenGL driver version is not 1.2 or better.
>> Warning: OpenGL device only has one texture unit. Disabling
>> multitexturing.
>> GLSL not available.
>>
>> Program received signal SIGFPE, Arithmetic exception.
>> irr::gui::SGUITTGlyph::preload (this=this at entry=0xb93260,
>> char_index=<optimized out>, face=<optimized out>,
>> driver=0xb4b4e0, font_size=13, loadFlags=<optimized out>)
>> at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:175
>> 175
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:
>> Нет такого файла или каталога.
>> (gdb) backtrace
>> #0 irr::gui::SGUITTGlyph::preload (this=this at entry=0xb93260,
>> char_index=<optimized out>, face=<optimized out>,
>> driver=0xb4b4e0, font_size=13, loadFlags=<optimized out>)
>> at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:175
>> #1 0x00000000007408cd in irr::gui::CGUITTFont::getGlyphIndexByChar
>> (this=this at entry=0xb5f240, c=c at entry=0)
>> at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:784
>> #2 0x0000000000740a77 in irr::gui::CGUITTFont::getGlyphIndexByChar
>> (this=0xb5f240, c=0)
>> at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:763
>> #3 0x0000000000744c56 in irr::gui::CGUITTFont::load
>> (this=this at entry=0xb5f240, filename=..., size=size at entry=13,
>> antialias=antialias at entry=true,
>> transparency=transparency at entry=true)
>> at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:383
>> #4 0x0000000000748add in irr::gui::CGUITTFont::createTTFont
>> (env=0xb4db90, filename=..., size=13, antialias=true,
>> transparency=true) at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/cguittfont/CGUITTFont.cpp:212
>> #5 0x000000000048dad4 in main (argc=<optimized out>, argv=<optimized
>> out>)
>> at
>> /home/mquinson/Code/debian/build-area/minetest-0.4.7+repack/src/main.cpp:1612
>>
>> 2013/8/21, Martin Quinson <martin.quinson at loria.fr>:
>> > Hello,
>> >
>> > it seems to me that you don't have any OpenGL available, right? If so,
>> > the best we could do in minetest would be to detect this fact and
>> > cleanly quit the program before the exception.
>> >
>> > Could you please give me a backtrace of the problem so that I add this
>> > check in the right location? Please install the minetest-dbg package
>> > and run the program from gdb. Once the problem occures, type
>> > 'backtrace' (without the quotes) from the gdb invite and give me the
>> > resulting output.
>> >
>> > If you do have OpenGL, then we have another problem.
>> >
>> > Thanks for your report, and for the additional information you will
>> > provide to allow me to fix the issue.
>> >
>> > Bye, Mt.
>> >
>> > On Wed, Aug 21, 2013 at 01:17:00PM +0400, Руслан Зиганшин wrote:
>> >> Package: minetest
>> >> Version: 0.4.7+repack-3
>> >> Severity: important
>> >>
>> >> ruslan at debian:~$ minetest
>> >> Irrlicht Engine version 1.8.0
>> >> Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64
>> >> Using renderer: OpenGL
>> >> OpenGL driver version is not 1.2 or better.
>> >> Warning: OpenGL device only has one texture unit. Disabling
>> >> multitexturing.
>> >> GLSL not available.
>> >> Floating point exception
>> >>
>> >>
>> >> -- System Information:
>> >> Debian Release: 7.1
>> >> APT prefers stable
>> >> APT policy: (790, 'stable'), (730, 'stable-updates'), (700,
>> >> 'stable'), (690, 'testing'), (600, 'testing'), (490, 'oldstable'),
>> >> (400, 'oldstable'), (151, 'unstable'), (101, 'experimental')
>> >> Architecture: amd64 (x86_64)
>> >> Foreign Architectures: i386
>> >>
>> >> Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
>> >> Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
>> >> Shell: /bin/sh linked to /bin/dash
>> >>
>> >> Versions of packages minetest depends on:
>> >> ii libc6 2.17-92
>> >> ii libcurl3-gnutls 7.26.0-1+wheezy3
>> >> ii libfreetype6 2.4.9-1.1
>> >> ii libgcc1 1:4.7.2-5
>> >> ii libgles2-mesa [libgles2] 9.1.4-1
>> >> ii libice6 2:1.0.8-2
>> >> ii libirrlicht1.8 1.8+dfsg1-2
>> >> ii libjsoncpp0 0.6.0~rc2-3
>> >> ii libjthread1.3.1 1.3.1-3
>> >> ii libluajit-5.1-2 2.0.2+dfsg-1
>> >> ii libogg0 1.3.0-4
>> >> ii libopenal1 1:1.14-4
>> >> ii libsm6 2:1.2.1-2
>> >> ii libsqlite3-0 3.7.13-1+deb7u1
>> >> ii libstdc++6 4.7.2-5
>> >> ii libvorbis0a 1.3.2-1.3
>> >> ii libvorbisfile3 1.3.2-1.3
>> >> ii libx11-6 2:1.6.0-1
>> >> ii libxext6 2:1.3.1-2+deb7u1
>> >> ii minetest-data 0.4.7+repack-3
>> >> ii zlib1g 1:1.2.7.dfsg-13
>> >>
>> >> minetest recommends no packages.
>> >>
>> >> Versions of packages minetest suggests:
>> >> ii minetest-server 0.4.7+repack-3
>> >>
>> >> -- no debconf information
>> >>
>> >
>> > --
>> > Everything should be made as simple as possible but not simpler.
>> > -- Albert Einstein
>> >
>>
>
> --
> If you do not expect the unexpected, you will not find it. -- Heraclitus
>
>
More information about the Pkg-games-devel
mailing list