Menu

#2 PRS crashes with bad paths in path events

open
nobody
None
5
2007-11-29
2007-11-29
Geoff Shang
No

PRS has kittens and eventually crashes if it attempts to play a path event
with a non-existant path component.

Note that this is not a simple "file not found" situation which PRS at
least used to deal with just fine. This is a situation where one of the
directories in a path does not exist.

The following log extracts show what is happening:

Mon Nov 26 08:18:46.827
Scheduling path event /home/acbradio/cotent/cafe/plustek.mp3
Mon Nov 26 08:18:46.827
file_info_new (/home/acbradio/cotent/cafe/plustek.mp3, 1000, 2000)
Mon Nov 26 08:18:46.827
mp3_file_info_new ("/home/acbradio/cotent/cafe/plustek.mp3", 1000, 2000)

In this example, "cotent" should have been "content".

Here's what happens when it tries to play the non-existant path:

Mon Nov 26 08:25:50.319
mp3_decoder_get_data: read error: Bad file descriptor
Mon Nov 26 08:25:50.331
mp3_decoder_get_data: read error: Bad file descriptor
Mon Nov 26 08:25:50.343
mp3_decoder_get_data: read error: Bad file descriptor
Mon Nov 26 08:25:50.355
mp3_decoder_get_data: read error: Bad file descriptor

There's another few screens ful of this.

Geoff.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB