Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2017 13:13:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222822] devel/sdl20: Fix bugs in SDL_FreeSurface function after 2.0.6 update
Message-ID:  <bug-222822-13-mBfiWMpu8R@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222822-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222822-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Oct  6 13:12:41 UTC 2017
New revision: 451383
URL: https://svnweb.freebsd.org/changeset/ports/451383

Log:
  MFH: r451381

  devel/sdl20: crashfix for some consumers after r450461

    $ pkg install pioneer
    $ pioneer
    [...]
    ShipType::Init()
    Lua::Init()
    Server agent disabled

    Thread 1 received signal SIGSEGV, Segmentation fault.
    0x0000000800cd5d20 in SDL_ConvertSurface_REAL (surface=3D0x80b374fc0,
        format=3D0xb4c7e8 <Graphics::pixelFormatRGBA>, flags=3D0)
        at /usr/ports/devel/sdl20/work/SDL2-2.0.6/src/video/SDL_surface.c:9=
36
    936         copy_flags =3D surface->map->info.flags;
    (gdb) p surface->map
    $1 =3D (struct SDL_BlitMap *) 0x0
    (gdb) bt
    #0  0x0000000800cd5d20 in SDL_ConvertSurface_REAL (surface=3D0x80b374fc=
0,
        format=3D0xb4c7e8 <Graphics::pixelFormatRGBA>, flags=3D0)
        at /usr/ports/devel/sdl20/work/SDL2-2.0.6/src/video/SDL_surface.c:9=
36
    #1  0x0000000800c099d2 in SDL_ConvertSurface (a=3D0x80b374fc0,
        b=3D0xb4c7e8 <Graphics::pixelFormatRGBA>, c=3D0)
        at
/usr/ports/devel/sdl20/work/SDL2-2.0.6/src/dynapi/SDL_dynapi_procs.h:492
    #2  0x000000000081cfbb in Graphics::TextureBuilder::PrepareSurface
(this=3D0x7fffffffac50)
        at TextureBuilder.cpp:117
    #3  0x00000000003a0699 in Graphics::TextureBuilder::GetDescriptor
(this=3D0x7fffffffac50)
        at ./graphics/TextureBuilder.h:48
    [...]

  PR:           222822
  Obtained from:        upstream
  Submitted by: lightside@gmx.com
  Approved by:  ports-secteam blanket

Changes:
_U  branches/2017Q4/
  branches/2017Q4/devel/sdl20/Makefile
  branches/2017Q4/devel/sdl20/files/patch-src_video_SDL__surface.c

--=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-222822-13-mBfiWMpu8R>