#15293: MediaPlayer crashes when file has a basename conflict
--------------------------------------+------------------------------
Reporter: Pete | Owner: stippi
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/MediaPlayer | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------------------+------------------------------
I have a script to generate a wav file from a midifile (using Csound)
which specifically gives the wav the same basename as the midi. E.g.
"song.mid" generates "song.wav" in the same directory. However, every
time I click on the result to play it, MediaPlayer crashes! It was
driving me crazy until I realized that if I changed either name at all, it
would then play! This only happens with beta1 (hrev52295-129). Earlier
versions of MediaPlayer (hrev50180) don't have the same problem.
I should also mention that I have a 20-year-old mp3 that crashes the same
MediaPlayer (and also has no trouble in earlier revs, or with any other
player in any OS). 2½ MB, so I'll only upload it if anyone wants to look.
If I create a clean copy with sox, it plays.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15293>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.