[mythtv-users] Segmentation fault when playing music

Gerhard Gappmeier gerhard.gappmeier at ascolab.com
Mon Dec 6 12:28:52 UTC 2004


Hello,

I've installed mythTV and the most important modules.
Everything works, but playing music doesn't work.
I get a segmenation fault when choosing "Listen to music"

A little debug session has shown the following:
The slot PlaybackBox::pageDown is called, which calls cursorDown.
The this pointer is not valid and when accessing the member "inTitle" the app 
crashes. (mythfrontend)

Callstack:
--- snip ---
QObject::connect:  (sender name:   'vis_button') (Here are a lot of this 
connetion failures - is this normal?)
QObject::connect:  (receiver name: 'music_playback')
QObject::connect: No such slot PlaybackBox::hideVolume()
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'music_playback')
[Switching to Thread 1096221536 (LWP 14133)]

Breakpoint 1, PlaybackBox::cursorDown (this=0x43900908, page=false, 
newview=false) at playbackbox.cpp:1002
(gdb) where
#0  PlaybackBox::cursorDown (this=0x43900908, page=false, newview=false) at 
playbackbox.cpp:1002
#1  0x0812e48e in PlaybackBox::qt_invoke (this=0x43900908, _id=52, 
_o=0xbfffe420) at playbackbox.h:42
#2  0x40d074ce in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#3  0x40906a4b in UIType::requestUpdate () 
from /usr/local/lib/libmyth-0.16.so.0
#4  0x4086d562 in UIType::refresh () from /usr/local/lib/libmyth-0.16.so.0
#5  0x4086a8d8 in UITextButtonType::setText () 
from /usr/local/lib/libmyth-0.16.so.0
#6  0x4229a7f2 in PlaybackBox::setShuffleMode () 
from /usr/local/lib/mythtv/plugins/libmythmusic.so
#7  0x422a13bf in PlaybackBox::PlaybackBox () 
from /usr/local/lib/mythtv/plugins/libmythmusic.so
#8  0x4227bceb in startPlayback () 
from /usr/local/lib/mythtv/plugins/libmythmusic.so
#9  0x4227e8a2 in runMusicPlayback () 
from /usr/local/lib/mythtv/plugins/libmythmusic.so
#10 0x408ba839 in MythMainWindow::ExitToMainMenu () 
from /usr/local/lib/libmyth-0.16.so.0
#11 0x408babe9 in MythMainWindow::customEvent () 
from /usr/local/lib/libmyth-0.16.so.0
#12 0x40d07e8e in QObject::event () from /usr/lib/libqt-mt.so.3
#13 0x40d3c94f in QWidget::event () from /usr/lib/libqt-mt.so.3
#14 0x40ca5fef in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#15 0x40ca7a09 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0x40ca6d80 in QApplication::sendPostedEvents () 
from /usr/lib/libqt-mt.so.3
#17 0x40ca6e04 in QApplication::sendPostedEvents () 
from /usr/lib/libqt-mt.so.3
#18 0x40c54aa5 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#19 0x40cbda31 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0x40ca784f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#21 0x408b0cbd in MythDialog::exec () from /usr/local/lib/libmyth-0.16.so.0
#22 0x08070fda in RunMenu (themedir={static null = {static null = <same as 
static member of an already seen type>, d = 0x82080a0, static shared_null = 
0x82080a0}, d = 0x8392b80, static shared_null = 0x82080a0}) at main.cpp:475
#23 0x080773ad in main (argc=1, argv=0x0) at main.cpp:1003
(gdb) list 'UIType::requestUpdate'
Can't find member of namespace, class, struct, or union named 
"UIType::requestUpdate"
Hint: try 'UIType::requestUpdate'<TAB> or 'UIType::requestUpdate'<ESC-?>
(Note leading single quote.)
(gdb) 

I'm new in this stuff and have no idea about the program's architecture.
Has anybody a patch or idea to solve this bug?


-- 
mit freundlichen Grüßen / best regards

*Gerhard Gappmeier*
ascolab GmbH - automation systems communication laboratory
Tel.: +49 9131 691 123
Fax: +49 9131 691 128
Web: http://www.ascolab.com
GPG-Key: http://www.ascolab.com/pgp/gerhard.asc


More information about the mythtv-users mailing list