Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 779757

Summary: games-strategy/0ad-0.0.24b_alpha: hang when quitting the game
Product: Gentoo Linux Reporter: Quentin Retornaz <gentoo>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: ezzieyguywuf, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://trac.wildfiregames.com/ticket/6107
See Also: https://github.com/gentoo/gentoo/pull/21292
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0ad-output.log
0ad-logs.tar.gz
emerge-info.txt

Description Quentin Retornaz 2021-04-01 22:15:16 UTC
When quitting the game, 0ad process hang and process stops only with SIGKILL.
This does not happen when 0ad is built on my homedir, so it is not an upstream bug.


Reproducible: Always

Steps to Reproduce:
1. Start 0ad
2. Quit 0ad
3. Look at the hang
Actual Results:  
Games hang.

Expected Results:  
Games quit correcly.
Comment 1 Quentin Retornaz 2021-04-01 22:15:51 UTC
Created attachment 696888 [details]
0ad-output.log
Comment 2 Quentin Retornaz 2021-04-01 22:19:16 UTC
Created attachment 696891 [details]
0ad-logs.tar.gz
Comment 3 Quentin Retornaz 2021-04-01 22:22:14 UTC
Created attachment 696894 [details]
emerge-info.txt
Comment 4 Harri Nieminen (Moiman) 2021-04-02 06:51:13 UTC
Happens when nvtt USE flag is turned off.
Comment 5 Harri Nieminen (Moiman) 2021-06-14 04:30:34 UTC
This will be fixed in 0.0.25.
Patch landed in version control: https://trac.wildfiregames.com/changeset/25766
Comment 6 Larry the Git Cow gentoo-dev 2021-06-17 23:24:36 UTC
The bug has been closed via the following commit(s):

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

commit dbb3bdf4645d0f83d7112620f07500af44e86962
Author:     Nils Freydank <holgersson@posteo.de>
AuthorDate: 2021-06-17 20:11:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-17 23:23:36 +0000

    games-strategy/0ad: Fix stopping the binary with USE="-nvtt"
    
    Closes: https://bugs.gentoo.org/779757
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Nils Freydank <holgersson@posteo.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/0ad/0ad-0.0.24b_alpha-r1.ebuild     | 229 +++++++++++++++++++++
 ...0.24b_alpha-fix-hang-on-quit-without-nvtt.patch |  98 +++++++++
 2 files changed, 327 insertions(+)