[mythtv] Mythmusic 0.15 segfault
Ken Bass
kbass at kenbass.com
Fri May 28 23:57:36 EDT 2004
On Fri, 28 May 2004, Isaac Richards wrote:
> On Friday 28 May 2004 11:16 pm, Ken Bass wrote:
> > 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?
>
I must be doing something wrong. I ran under gdb and when it hit the
segfault, I went up a frame and tried to 'p filename.local8bit()'. I'm
getting 'Couldn't find method QString::local8bit' I'm use to C debugging,
not C++ so maybe I'm doing something stupid. Any tips?
More information about the mythtv-dev
mailing list