[haiku-bugs] Re: [Haiku] #15293: MediaPlayer crashes in StreamBase::FrameRate

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 22 Aug 2019 20:17:50 -0000

#15293: MediaPlayer crashes in StreamBase::FrameRate
----------------------------------------+----------------------------
   Reporter:  Pete                      |      Owner:  stippi
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Applications/MediaPlayer  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by Pete):

 OK, it does look like some variant of the problem goes back a long way!
 Leaving aside the beta1 problems for thr moment, I experimented with the
 versions where I had never seen any errors.

 I create two files, "oops.mid" and "oops.wav".  If I open the wav in
 MediaPlayer, it plays as I expect; if I start MediaPlayer and "Open File"
 on oops.mid, it plays the wav!  If I remove (or rename)  the wav, the midi
 file gives "General System Error".   I never get an actual crash.  The
 same behaviour appears in my earliest partition -- pre-PM, Nov 2012.

 In the beta1 system, with the same two files, trying the wav causes the
 crash.  Opening the midi in MediaPlayer tries to play it as raw audio!  (I
 hear nothing, but the progress bar proceeds, and there's no crash.  I get
 the 'raw audio' format from the 'file info')

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15293#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: