Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2016 20:29:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212866] [patch] games/7kaa Segmentation fault on exit
Message-ID:  <bug-212866-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212866

            Bug ID: 212866
           Summary: [patch] games/7kaa Segmentation fault on exit
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: kdrakehp@zoho.com
          Keywords: patch
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)
          Assignee: amdmi3@FreeBSD.org

Created attachment 175017
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175017&action=
=3Dedit
Fixes the issue by calling audio.deinit before exiting.

A C++ deconstructor attempts to clean-up OpenAL resources at exit after
the library's deconstructor destroys the internal state.  The called
functions attempt to access the destroyed state causing the program to
exit abnormally.

To reproduce run the port then exit it.

The added patches moves the "deinit" calls out of the deconstructor and
into "SYS::deinit", which is called before exit.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212866-13>