[Bug 212866] [patch] games/7kaa Segmentation fault on exit

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 20 20:29:59 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212866

            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 at FreeBSD.org
          Reporter: kdrakehp at zoho.com
          Keywords: patch
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)
          Assignee: amdmi3 at FreeBSD.org

Created attachment 175017
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175017&action=edit
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.

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


More information about the freebsd-ports-bugs mailing list