[haiku-bugs] Re: [Haiku] #6802: MediaPlayer crashes in ffmpeg plugin

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Mon, 22 Nov 2010 10:49:08 -0000

#6802: MediaPlayer crashes in ffmpeg plugin
-----------------------------------+-------------------------
  Reporter:  korli                 |        Owner:  nobody
      Type:  bug                   |       Status:  new
  Priority:  normal                |    Milestone:  R1
 Component:  Audio & Video/Codecs  |      Version:  R1/alpha2
Resolution:                        |     Keywords:
Blocked By:                        |  Has a Patch:  0
  Platform:  All                   |     Blocking:
-----------------------------------+-------------------------

Comment (by korli):

 Having looked deeper, it seems the crash happens in sbr_make_f_master()
 for some unknown reason. For instance, the value of the sbr pointer
 parameter changed to null (nothing in the code indicates such a change).
 This is as if the stack was being corrupted after the line
 {{{
 num_bands_0 = lrintf(half_bands * log2f(sbr->k[1] / (float)sbr->k[0])) *
 2;
 }}}

 It looks like calls to libroot functions. Maybe these don't behave
 correctly because of current ffmpeg build options on GCC2 (-fomit-frame-
 pointer -fPIC).

 It would be interesting to check the behavior on GCC4.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6802#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: