Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2017 03:21:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220618] audio/sdl2_mixer: crashes with security.bsd.stack_guard_page=16
Message-ID:  <bug-220618-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 220618
           Summary: audio/sdl2_mixer: crashes with
                    security.bsd.stack_guard_page=3D16
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 220493

$ pkg install abbayedesmor
$ sysctl security.bsd.stack_guard_page=3D16
$ gdb abbayev2
(gdb) run
Starting program: /usr/local/bin/abbayev2
[New LWP 100725 of process 32551]

Thread 2 "SDLAudioDev1" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100725 of process 32551]
0x0000000800dfe0f2 in OGG_getsome (
    music=3D<error reading variable: Cannot access memory at address
0x7fffdfffcd88>)
    at music_ogg.c:120
120     {
(gdb) bt f
#0  0x0000000800dfe0f2 in OGG_getsome (
    music=3D<error reading variable: Cannot access memory at address
0x7fffdfffcd88>)
    at music_ogg.c:120
        section =3D <error reading variable section (Cannot access memory at
address 0x7fffdfffcd84)>
        len =3D <error reading variable len (Cannot access memory at address
0x7fffdfffcd80)>
        data =3D <error reading variable data (Cannot access memory at addr=
ess
0x7fffdfffcd90)>
        cvt =3D <error reading variable cvt (Cannot access memory at address
0x7fffdfffcd78)>
#1  0x0000000800dfdfdc in OGG_playAudio (music=3D0x80a045800, snd=3D0x805cd=
7000 "",
len=3D16384)
    at music_ogg.c:173
        mixable =3D 14652957
#2  0x0000000800df944e in music_mixer (udata=3D0x0, stream=3D0x805cd7000 "",
len=3D16384) at music.c:317
        left =3D 0
#3  0x0000000800df63d2 in mix_channels (udata=3D0x0, stream=3D0x805cd7000 "=
",
len=3D16384) at mixer.c:319
        mix_input =3D 0x7fffdfffdec0 "@\337\377\337\377\177"
        i =3D 8
        mixable =3D 97270736
        volume =3D 128
        sdl_ticks =3D 0
#4  0x0000000800854dca in SDL_RunAudio (devicep=3D0x805cc3b00)
    at /usr/ports/devel/sdl20/work/SDL2-2.0.5/src/audio/SDL_audio.c:759
        sdl_assert_data =3D {always_ignore =3D 0, trigger_count =3D 0,
          condition =3D 0x800986816 "!device->iscapture", filename =3D 0x0,=
 linenum
=3D 0,
          function =3D 0x0, next =3D 0x0}
        device =3D 0x805cc3b00
        silence =3D 0
        delay =3D 92
        stream_len =3D 16384
        stream =3D 0x805cd7000 ""
        udata =3D 0x0
        callback =3D 0x800df6360 <mix_channels>
#5  0x00000008008fcaf4 in SDL_RunThread (data=3D0x800704aa0)
    at /usr/ports/devel/sdl20/work/SDL2-2.0.5/src/thread/SDL_thread.c:283
        args =3D 0x800704aa0
        userfunc =3D 0x800854ba0 <SDL_RunAudio>
        userdata =3D 0x805cc3b00
        thread =3D 0x800678a80
        statusloc =3D 0x800678a90
#6  0x0000000800984835 in RunThread (data=3D0x800704aa0)
    at
/usr/ports/devel/sdl20/work/SDL2-2.0.5/src/thread/pthread/SDL_systhread.c:74
No locals.
#7  0x0000000801c49c05 in thread_start (curthread=3D0x80066f900)
    at /a/freebsd/lib/libthr/thread/thr_create.c:289
        set =3D {__bits =3D {0, 0, 0, 0}}
#8  0x0000000000000000 in ?? ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x7fffdfffe000


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220493
[Bug 220493] [exp-run] with security.bsd.stack_guard_page=3D16
--=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-220618-13>