[mythtv] MythMusic crashes scanning for music BT included

Steve Brown steve-mythtvdev at deltabbs.org
Tue Jul 8 11:05:19 EDT 2003


thor wrote:
> 	The bt is not terribly useful without mythmusic having been built for 
> debugging. 

I rebuilt MythMusic with debugging enabled, BT below with symbols.


> Also, do you have ignore ID3 tags set and do you know if the 
> mp3 it's dying on has any tags inside it (artist, album, etc.)?

Actually, 'Ignore ID3 Tags' WAS set. When I unchecked that option all my 
music imports successfully. Is it me, or does that option work the 
opposite way to how it should? As in, does checking that option ENABLE ID3s?

I couldn't identify which MP3 was causing the problem - there are 
several thousand there ;-) If it would help, I can move blocks of them 
around and try and find a culprit.

Many of them do have ID3s, and many don't. I know for a fact that there 
are a few there with odd 'glitches' that you can hear during playback, 
which I guess could cause problems.

Steve


GNU gdb 2002-04-01-cvs
[...]
Starting program: /usr/local/bin/mythfrontend
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New 
Thread 1024 (LWP 27076)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New 
Thread 2049 (LWP 27079)]
[New Thread 1026 (LWP 27080)]
[New Thread 2051 (LWP 27081)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 27076)]
0x40d90b92 in fileno_unlocked () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 2 (Thread 2049 (LWP 27079)):
#0  0x40df2bb0 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x40cb1d96 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40cb1fc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 1024 (LWP 27076)):
#0  0x40d90b92 in fileno_unlocked () from /lib/libc.so.6
No symbol table info available.
#1  0x4106382c in MadDecoder::getMetadata ()
    from /usr/local/lib/mythtv/plugins/libmythmusic.so
	FALSE = false
	QCOORD_MAX = 2147483647
	QCOORD_MIN = -2147483648
	Q_MUTEX_NORMAL = 0
	Q_MUTEX_RECURSIVE = 1
	RGB_MASK = 16777215
	TRUE = true
	_S_rb_tree_black = true
	_S_rb_tree_red = false
	__WORD_BIT = 32
	globalBlockSize = 2048
	globalBufferSize = 65536
	groupOpenTimeout = 750
	historySize = 100
	numbBands = 10
	rand_pos = 0
	Goom type_info node = '\0' <repeats 11 times>
	Goom virtual table = {7 vtable entries,
   0x410b8070 <Goom type_info function>, 0x410b7990 <Goom::~Goom(void)>,
   0x410b7ae8 <Goom::process(VisualNode *)>,
   0x410b7cb8 <Goom::draw(QPainter *, QColor const &)>,
   0x410b79e8 <Goom::resize(QSize const &)>,
   0x41070018 <VisualBase::getDesiredFPS(void)>, 0}
	GoomFactory type_info node = '\0' <repeats 11 times>
	GoomFactory virtual table = {4 vtable entries,
   0x410b80d0 <GoomFactory type_info function>,
   0x410b7f38 <GoomFactory::name(void) const>,
   0x410b7fa4 <GoomFactory::create(MainVisual *, long)>, 0}
	VisFactory type_info node = "\0\0\0\0\0\0\0"
	__default_alloc_template<true, 0>::_S_end_free = 0x84f7248 ""
	__default_alloc_template<true, 0>::_S_free_list = {0x84bfc00,
   0x8583b38, 0x85835f8, 0x84b85e8, 0x8583828, 0x84bf830, 0x0, 
0x8583af8, 0x0,
   0x84c8ec8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x84f6be8}
	__default_alloc_template<true, 0>::_S_heap_size = 10728
	__default_alloc_template<true, 0>::_S_node_allocator_lock = {
   __m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, 
__m_lock = {
     __status = 0, __spinlock = 0}}
	__default_alloc_template<true, 0>::_S_start_free = 0x84f71e8 
"\bbO\b\030֋@"
	__malloc_alloc_template<0>::__malloc_alloc_oom_handler = (void (*)()) 0
	basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> >::nilRep = {len = 0, res = 0, ref = 
1, selfish = false}
	basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> >::npos = 4294967295
#2  0x41064d1f in CheckFile ()
    from /usr/local/lib/mythtv/plugins/libmythmusic.so
	FALSE = false
	QCOORD_MAX = 2147483647
	QCOORD_MIN = -2147483648
	Q_MUTEX_NORMAL = 0
	Q_MUTEX_RECURSIVE = 1
	RGB_MASK = 16777215
	TRUE = true
	_S_rb_tree_black = true
	_S_rb_tree_red = false
	__WORD_BIT = 32
	globalBlockSize = 2048
	globalBufferSize = 65536
	groupOpenTimeout = 750
	historySize = 100
	numbBands = 10
	rand_pos = 0
	Goom type_info node = '\0' <repeats 11 times>
	Goom virtual table = {7 vtable entries,
   0x410b8070 <Goom type_info function>, 0x410b7990 <Goom::~Goom(void)>,
   0x410b7ae8 <Goom::process(VisualNode *)>,
   0x410b7cb8 <Goom::draw(QPainter *, QColor const &)>,
   0x410b79e8 <Goom::resize(QSize const &)>,
   0x41070018 <VisualBase::getDesiredFPS(void)>, 0}
	GoomFactory type_info node = '\0' <repeats 11 times>
	GoomFactory virtual table = {4 vtable entries,
   0x410b80d0 <GoomFactory type_info function>,
   0x410b7f38 <GoomFactory::name(void) const>,
   0x410b7fa4 <GoomFactory::create(MainVisual *, long)>, 0}
	VisFactory type_info node = "\0\0\0\0\0\0\0"
	__default_alloc_template<true, 0>::_S_end_free = 0x84f7248 ""
	__default_alloc_template<true, 0>::_S_free_list = {0x84bfc00,
   0x8583b38, 0x85835f8, 0x84b85e8, 0x8583828, 0x84bf830, 0x0, 
0x8583af8, 0x0,
   0x84c8ec8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x84f6be8}
	__default_alloc_template<true, 0>::_S_heap_size = 10728
	__default_alloc_template<true, 0>::_S_node_allocator_lock = {
   __m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, 
__m_lock = {
     __status = 0, __spinlock = 0}}
	__default_alloc_template<true, 0>::_S_start_free = 0x84f71e8 
"\bbO\b\030֋@"
	__malloc_alloc_template<0>::__malloc_alloc_oom_handler = (void (*)()) 0
	basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> >::nilRep = {len = 0, res = 0, ref = 
1, selfish = false}
	basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> >::npos = 4294967295
#3  0x41066902 in MusicCallback ()
    from /usr/local/lib/mythtv/plugins/libmythmusic.so
	FALSE = false
	QCOORD_MAX = 2147483647
	QCOORD_MIN = -2147483648
	Q_MUTEX_NORMAL = 0
	Q_MUTEX_RECURSIVE = 1
	RGB_MASK = 16777215
	TRUE = true
	_S_rb_tree_black = true
	_S_rb_tree_red = false
	__WORD_BIT = 32
	globalBlockSize = 2048
	globalBufferSize = 65536
	groupOpenTimeout = 750
	historySize = 100
	numbBands = 10
	rand_pos = 0
	Goom type_info node = '\0' <repeats 11 times>
	Goom virtual table = {7 vtable entries,
   0x410b8070 <Goom type_info function>, 0x410b7990 <Goom::~Goom(void)>,
   0x410b7ae8 <Goom::process(VisualNode *)>,
   0x410b7cb8 <Goom::draw(QPainter *, QColor const &)>,
   0x410b79e8 <Goom::resize(QSize const &)>,
   0x41070018 <VisualBase::getDesiredFPS(void)>, 0}
	GoomFactory type_info node = '\0' <repeats 11 times>
	GoomFactory virtual table = {4 vtable entries,
   0x410b80d0 <GoomFactory type_info function>,
   0x410b7f38 <GoomFactory::name(void) const>,
   0x410b7fa4 <GoomFactory::create(MainVisual *, long)>, 0}
	VisFactory type_info node = "\0\0\0\0\0\0\0"
	__default_alloc_template<true, 0>::_S_end_free = 0x84f7248 ""
	__default_alloc_template<true, 0>::_S_free_list = {0x84bfc00,
   0x8583b38, 0x85835f8, 0x84b85e8, 0x8583828, 0x84bf830, 0x0, 
0x8583af8, 0x0,
   0x84c8ec8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x84f6be8}
	__default_alloc_template<true, 0>::_S_heap_size = 10728
	__default_alloc_template<true, 0>::_S_node_allocator_lock = {
   __m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, 
__m_lock = {
     __status = 0, __spinlock = 0}}
	__default_alloc_template<true, 0>::_S_start_free = 0x84f71e8 
"\bbO\b\030֋@"
	__malloc_alloc_template<0>::__malloc_alloc_oom_handler = (void (*)()) 0
	basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> >::nilRep = {len = 0, res = 0, ref = 
1, selfish = false}
	basic_string<char, string_char_traits<char>, 
__default_alloc_template<true, 0> >::npos = 4294967295
#4  0x00000002 in ?? ()
No symbol table info available.
#5  0x0858cac8 in ?? ()
No symbol table info available.




More information about the mythtv-dev mailing list