[Bug 267446] games/xmoto: Crashes at startup

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Oct 2022 00:01:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267446

            Bug ID: 267446
           Summary: games/xmoto: Crashes at startup
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)
          Assignee: amdmi3@FreeBSD.org

xmoto-0.6.1_3 crashes on 13.1 STABLE with ode-0.13_4,1:


---gdb log---
New UI allocated
(gdb) r
Starting program: /usr/local/bin/xmoto
[New LWP 108967 of process 52881]
[New LWP 108968 of process 52881]

Thread 1 received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
0x00000008010da934 in strtod_l (s00=0x0, se=0x0, loc=<optimized out>) at
gdtoa_strtod.c:147
147             for(s = s00;;s++) switch(*s) {
(gdb) bt
#0  0x00000008010da934 in strtod_l (s00=0x0, se=0x0, loc=<optimized out>) at
gdtoa_strtod.c:147
#1  0x0000000800ad5e6f in ?? () from /usr/local/lib/libGLU.so.1
#2  0x0000000800adaa33 in gluBuild2DMipmaps () from /usr/local/lib/libGLU.so.1
#3  0x00000000003208bb in TextureManager::createTexture (this=0x8024acdc8,
Name="roundButtonPressed", pcData=0x80546d500 "", nWidth=128, nHeight=128,
bAlpha=true, bClamp=false,
    eFilterMode=FM_MIPMAP) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/common/VTexture.cpp:179
#4  0x00000000003210f0 in TextureManager::loadTexture (this=0x8024acdc8,
Path="Textures/UI/roundButtonPressed.png", bSmall=false, bClamp=false,
eFilterMode=FM_MIPMAP, persistent=true,
    associatedSprite=0x802486d00) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/common/VTexture.cpp:340
#5  0x00000000002fdb51 in Theme::loadTexture (this=0x8024acdc0,
p_fileName="Textures/UI/roundButtonPressed.png", bSmall=false, bClamp=false,
eFilterMode=FM_MIPMAP, persistent=true,
    associateSprite=0x802486d00) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/common/Theme.cpp:114
#6  0x0000000000302f49 in Sprite::getTexture (this=0x802486d00, bSmall=false,
bClamp=false, eFilterMode=FM_MIPMAP)
    at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/common/Theme.cpp:707
#7  0x000000000038a61f in UIButtonDrawn::UIButtonDrawn (this=0x8024ada40,
pParent=0x802447320, i_spriteUnpressed="RoundButtonUnpressed",
i_spritePressed="RoundButtonPressed",
    i_spriteHover="RoundButtonHover", x=560, y=390, Caption=..., nWidth=180,
nHeight=180) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/gui/basic/GUIButtonDrawn.cpp:42
#8  0x000000000039c5ab in UIQuickStartButton::UIQuickStartButton
(this=0x8024ada40, pParent=0x802447320, x=560, y=390, Caption="Quick start",
nWidth=180, nHeight=180, i_qualityMIN=1,
    i_difficultyMIN=1, i_qualityMAX=5, i_difficultyMAX=5) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/gui/specific/GUIXMoto.cpp:285
#9  0x0000000000407654 in StateMainMenu::createGUIIfNeeded
(i_screen=0x8024ad7e4) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/states/StateMainMenu.cpp:896
#10 0x00000000004064a4 in StateMainMenu::enter (this=0x8024ad7c0) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/states/StateMainMenu.cpp:166
#11 0x000000000041d6c4 in StateManager::pushState (this=0x8024467c0,
pNewState=0x8024ad7c0) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/states/StateManager.cpp:185
#12 0x00000000004acbdf in GameApp::run_load (this=0x802424000, nNumArgs=1,
ppcArgs=0x7fffffffe798) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/xmoto/GameInit.cpp:705
#13 0x00000000004a8347 in GameApp::run (this=0x802424000, nNumArgs=1,
ppcArgs=0x7fffffffe798) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/xmoto/GameInit.cpp:158
#14 0x00000000004a8192 in main (nNumArgs=1, ppcArgs=0x7fffffffe798) at
/disk-samsung/freebsd-ports/games/xmoto/work/xmoto-0.6.1/src/xmoto/GameInit.cpp:117
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.