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

Martin Quinson martin.quinson at loria.fr
Wed Aug 21 22:51:01 UTC 2013


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