Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703384 - games-roguelike/dwarf-fortress-0.44.12 OpenAL dependency causes segmentation fault
Summary: games-roguelike/dwarf-fortress-0.44.12 OpenAL dependency causes segmentation ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 00:14 UTC by FSK1153
Modified: 2022-07-06 08:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FSK1153 2019-12-20 00:14:14 UTC
The testing package for dwarf-fortress on 44.12 pulls in Open AL which causes a segementation fault after loading.

More info after I have better internet. Sorry.

Reproducible: Always

Steps to Reproduce:
1. Unmask Dwarf Fortress 44.12
2. run the program with sound=YES in the init files.

Actual Results:  
See this:
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Segmentation fault


Expected Results:  
The game should boot up correctly with the introduction.

Computer is running 17.1 no mutilib gentoo 64bit.
Terminal emulator is RXVT-Unicode
Wm is Ice-wm
Comment 1 FSK1153 2019-12-22 20:36:17 UTC
Okay. From downloading the 64 bit version on bay12games site. Here is the bootup script, no errors:

Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
New window size: 1290x720
Font size: 32x32
Resizing grid to 80x25
Resizing font to 16x16
Comment 2 juneau_ 2021-02-17 09:25:51 UTC
>Okay. From downloading the 64 bit version on bay12games site. Here is the bootup script, no errors:
I have this issue to, did you solve this?
Comment 3 Frank Uhlig 2021-08-01 08:21:40 UTC
This issue still persists. Anything to help debug this?
Notably, game runs fine with

sudo dwarf-fortress

which hints at a permission-related issue.
Comment 4 Larry the Git Cow gentoo-dev 2022-07-06 08:39:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a24df3591ca7bebd0fcd189e1da5f16240715c

commit 97a24df3591ca7bebd0fcd189e1da5f16240715c
Author:     Joshua Goins <josh@redstrate.com>
AuthorDate: 2022-06-28 23:57:28 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-07-06 08:37:53 +0000

    games-roguelike/dwarf-fortress: add 0.47.05
    
    Signed-off-by: Joshua Goins <josh@redstrate.com>
    Co-authored-by: Sven Eusewig <sveneusewig@yahoo.de>
    Co-authored-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
    Closes: https://bugs.gentoo.org/703384
    Closes: https://bugs.gentoo.org/703386
    Closes: https://bugs.gentoo.org/717752
    Closes: https://bugs.gentoo.org/729002
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-roguelike/dwarf-fortress/Manifest            |  2 +
 .../dwarf-fortress/dwarf-fortress-0.47.05.ebuild   | 97 ++++++++++++++++++++++
 .../files/dwarf-fortress-0.47.05-fix-cmath.patch   | 11 +++
 ...warf-fortress-0.47.05-segfault-fix-729002.patch | 49 +++++++++++
 4 files changed, 159 insertions(+)