[MPlayer-dev-eng] mplayer & propolice

Björn Sandell biorn at dce.chalmers.se
Sun Dec 8 19:03:21 CET 2002


Hi,

The OpenBSD folks have just added propolice
(http://www.trl.ibm.com/projects/security/ssp) to gcc, and now mplayer
SIGSEGVs:


Program received signal SIGSEGV, Segmentation fault.
0x4060ee28 in bzero ()
(gdb) bt
#0  0x4060ee28 in bzero ()
#1  0xcfbfc026 in ?? ()
#2  0x84c6a in .L_bye () at dct64_MMX.c:989
#3  0x8408f in .L02 () at decode_MMX.c:54
#4  0x820b4 in synth_1to1_MMX (bandPtr=0x270934, channel=0,
#samples=0x413000)
    at decod386.c:157
#5  0x820f7 in synth_1to1 (bandPtr=0x270934, channel=0, out=0x413000 "", 
    pnt=0xcfbfc258) at decod386.c:176
#6  0x82a4b in do_layer3 (fr=0x272944, single=-1) at layer3.c:1700
#7  0x8301e in MP3_DecodeFrame (hova=0x413000 "", single=-1) at sr1.c:551
#8  0x46430 in init (sh=0x309200) at ad_mp3lib.c:49
#9  0x44c54 in init_audio_codec (sh_audio=0x309200) at dec_audio.c:105
#10 0x44efb in init_audio (sh_audio=0x309200, codecname=0x0, afm=0x0,
#status=1)
    at dec_audio.c:195
#11 0x451d5 in init_best_audio_codec (sh_audio=0x309200, 
    audio_codec_list=0xcfbfc678, audio_fm_list=0x0) at dec_audio.c:240
#12 0x5bb6 in main (argc=2, argv=0xcfbfd8e0) at mplayer.c:1213

Can someone who understands asm (I don't :) explain the last two lines of
dct64_MMX.c to me?


".L_bye:"
        :
        :"m"(a),"m"(b),"m"(c),"m"(tmp[0])
        :"memory","%ebx","%esi","%edi");

-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se



More information about the MPlayer-dev-eng mailing list