[mythtv] Mythmusic 0.15 segfault

Isaac Richards ijr at po.cwru.edu
Fri May 28 23:30:05 EDT 2004


On Friday 28 May 2004 11:16 pm, Ken Bass wrote:
> I upgraded from 0.13 to 0.15. However, I wiped the mythconverg database
> first and reran the mc.sql. My old database had problems being converted. I
> think it may have been corrupted. I couldnt even back it up - something
> about cannot find the recordedmarkup.myd file or something during a dump.
>
> Anyhow, mythmusic crashes when it is updating the database. I've recompiled
> with debug and the backtrace is below. For whatever reason, the FILE *input
> pointer is NULL. The ptr is not range checked and the call to 'fstat()'
> appears to be causing the segfault. At this point in the code, id3file is
> NULL.

Hmm.  Ok, well, I can certainly make it bail if it can't open the file, there, 
but, why can't it open the file?  It shouldn't be getting that far with a 
un-openable filename..  Can you take a look at the value of 
filename.local8bit()?  See if it exists or whatnot?

Isaac


More information about the mythtv-dev mailing list