[mythtv] mythmusic segfault

Mark Jacob mjacob1 at san.rr.com
Thu Jun 5 21:26:13 EDT 2003


Sorry about the bad gdb output Issac. :( I just repro'ed the segfault 
again and here's the gdb output according to the howto. To answer the 
questions below, there aren't any console messages printing out... just 
the segfault. I have 120GB of mp3's, and I select a single album to play 
(doesn't matter which album) and hit play before it crashes.

GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Core was generated by `mythmusic'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libvorbisenc.so.2...done.
Loaded symbols for /usr/lib/libvorbisenc.so.2
Reading symbols from /usr/local/lib/libcdaudio.so.1...done.
Loaded symbols for /usr/local/lib/libcdaudio.so.1
Reading symbols from /usr/local/lib/libFLAC.so.4...done.
Loaded symbols for /usr/local/lib/libFLAC.so.4
Reading symbols from /usr/local/lib/libmyth-0.9.so.0...done.
Loaded symbols for /usr/local/lib/libmyth-0.9.so.0
Reading symbols from /usr/lib/qt-3.1/lib/libqt-mt.so.3...done.
Loaded symbols for /usr/lib/qt-3.1/lib/libqt-mt.so.3
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/i686/libpthread.so.0...done.
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libmng.so.1...done.
Loaded symbols for /usr/lib/libmng.so.1
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/libXft.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/X11R6/lib/libexpat.so.1...done.
Loaded symbols for /usr/X11R6/lib/libexpat.so.1
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
Reading symbols from /usr/X11R6/lib/modules/dri/radeon_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/radeon_dri.so
Reading symbols from 
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from 
/usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so...done.
Loaded symbols for /usr/lib/qt-3.1/plugins/sqldrivers/libqsqlmysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/lib/qt-3.1/plugins/styles/bluecurve.so...done.
Loaded symbols for /usr/lib/qt-3.1/plugins/styles/bluecurve.so
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...
done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
#0  0x08092552 in QValueList (this=0xbfffe4b0, l=@0x0) at qvaluelist.h:432
432	    QValueList( const QValueList<T>& l ) { sh = l.sh; sh->ref(); }
(gdb) thread apply all bt full

Thread 1 (process 9108):
#0  0x08092552 in QValueList (this=0xbfffe4b0, l=@0x0) at qvaluelist.h:432
No locals.
#1  0x08090c20 in PlaybackBox::editPlaylist() (this=0x81dfdf0)
     at playbackbox.cpp:933
	branches_to_current_node = (QValueList<int> *) 0x0
	dbbox = {<MythDialog> = {<> = {<No data fields>}, wmult = 1.27999997,
     hmult = 1.27999997, screenwidth = 1024, screenheight = 768},
   static metaObj = 0x930d5c8, cditem = 0x931e0b0, listview = 0x930d7c0,
   the_playlists = 0x8195b10, all_music = 0x8195de0, holding_track = false,
   track_held = 0x0, allmusic = 0x931e670, alllists = 0x931d390,
   allcurrent = 0x931cf40, active_playlist = 0x81ba708,
   active_popup = 0x93110b0, active_pl_edit = 0x9311ad0,
   pop_back_button = 0x9318640, playlist_popup = 0x9318d08,
   playlist_mac_b = 0x9319438, playlist_del_b = 0x93196b0,
   playlist_rename = 0x9319988, playlist_rename_button = 0x931c8b8,
   cd_reader_thread = 0x931e800, cd_watcher = 0x931e498,
   cd_checking_flag = true, fill_list_timer = 0xbfffe618,
   wait_counter = 1073832264}
#2  0x080bc3d2 in PlaybackBox::qt_invoke(int, QUObject*) (this=0x81dfdf0,
     _id=73, _o=0xbfffe660) at moc_playbackbox.cpp:160
No locals.
#3  0x405060c9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x40505f6d in QObject::activate_signal(int) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#5  0x4026ee32 in UITextButtonType::pushed() (this=0x8865fa0)
     at moc_uitypes.cpp:570
No locals.
#6  0x4023e8fc in UITextButtonType::push() (this=0x8865fa0) at 
uitypes.cpp:3231
No locals.
#7  0x0808e67b in PlaybackBox::keyPressEvent(QKeyEvent*) (this=0x81dfdf0,
     e=0xbfffe9e0) at playbackbox.cpp:226
	handled = false
#8  0x4053a06c in QWidget::event(QEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x404a7f24 in QApplication::internalNotify(QObject*, QEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#10 0x404a7ab7 in QApplication::notify(QObject*, QEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#11 0x4044fabe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#12 0x4044bd14 in QApplication::x11ProcessEvent(_XEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40460bda in QEventLoop::processEvents(unsigned) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#14 0x404bbcf6 in QEventLoop::enterLoop() ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#15 0x404a81b1 in QApplication::enter_loop() ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40669691 in QDialog::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#17 0x0807b348 in startPlayback(PlaylistsContainer*, AllMusic*) (
     all_playlists=0x8195b10, all_music=0x8195de0) at main.cpp:239
	pbb = (class PlaybackBox *) 0x81dfdf0
#18 0x0807b592 in MusicCallback(void*, QString&) (data=0xbffff690,
     selection=@0x81976e8) at main.cpp:286
	mdata = (MusicData *) 0xbffff690
	sel = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x81ee5c0,
   static shared_null = 0x81629d0}
#19 0x4021e826 in ThemedMenu::handleAction(QString&) (this=0x81975b8,
     action=@0x81f1734) at themedmenu.cpp:1669
No locals.
#20 0x4021dd4e in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x81975b8,
     e=0xbffff290) at themedmenu.cpp:1578
	handled = false
	lastbutton = (ThemedButton *) 0x81f16f8
	oldrow = 0
#21 0x4053a06c in QWidget::event(QEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#22 0x404a7f24 in QApplication::internalNotify(QObject*, QEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#23 0x404a7ab7 in QApplication::notify(QObject*, QEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#24 0x4044fabe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#25 0x4044bd14 in QApplication::x11ProcessEvent(_XEvent*) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#26 0x40460bda in QEventLoop::processEvents(unsigned) ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#27 0x404bbcf6 in QEventLoop::enterLoop() ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#28 0x404a81b1 in QApplication::enter_loop() ()
    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#29 0x40669691 in QDialog::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#30 0x0807b9c0 in runMenu(QString, QSqlDatabase*, QString, QString, 
PlaylistsContainer*, AllMusic*) (themedir=
       {static null = {static null = <same as static member of an 
already seen type>, d = 0x81629d0, static shared_null = 0x81629d0}, d = 
0x8196a50, static shared_null = 0x81629d0}, db=0x818e3b8, paths=
       {static null = {static null = <same as static member of an 
already seen type>, d = 0x81629d0, static shared_null = 0x81629d0}, d = 
0x81959c0, static shared_null = 0x81629d0}, startdir=
       {static null = {static null = <same as static member of an 
already seen type>, d = 0x81629d0, static shared_null = 0x81629d0}, d = 
0x8195b50, static shared_null = 0x81629d0}, all_playlists=0x8195b10, 
all_music=0x8195de0)
     at main.cpp:339
	diag = (class ThemedMenu *) 0x81975b8
	data = {paths = {static null = {
       static null = <same as static member of an already seen type>,
       d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x81959c0,
     static shared_null = 0x81629d0}, db = 0x818e3b8, startdir = {
     static null = {
       static null = <same as static member of an already seen type>,
       d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x8195b50,
     static shared_null = 0x81629d0}, all_playlists = 0x8195b10,
   all_music = 0x8195de0}
#31 0x0807caa7 in main (argc=1, argv=0xbffff8c4) at main.cpp:423
	a = <incomplete type>
	translator = <incomplete type>
	db = (struct QSqlDatabase *) 0x818e3b8
	lcd_host = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x818eb80,
   static shared_null = 0x81629d0}
	lcd_port = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x819af30,
   static shared_null = 0x81629d0}
	lcd_port_number = 0
	count_query = <incomplete type>
	musicdata_exists = true
	startdir = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x8195b50,
   static shared_null = 0x81629d0}
	paths = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x81959c0,
   static shared_null = 0x81629d0}
	all_music = (AllMusic *) 0x8195de0
	themename = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x8196e48,
   static shared_null = 0x81629d0}
	themedir = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x81629d0, static shared_null = 0x81629d0}, d = 0x8196a50,
   static shared_null = 0x81629d0}
	all_playlists = (PlaylistsContainer *) 0x8195b10
#32 0x40b22a07 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
(gdb) quit


thor wrote:
> On Friday 06 June 2003 02:21 am, Mark Jacob wrote:
> 
> 
>>I currently can't play any files with mythmusic. However, I can do just
>>about everything else. The segfault only happens when I hit the play
>>button, but it ALWAYS occurs.
>>
> 
> 
> 	This is impressive! I'm sure Isaac will have it figured out in a sec, but for 
> the time being:
> 
> 	Anything on the console about db out of whack?
> 	Any tracks in your database?
> 	Anything selected on the active playlist?
> 
> - thor
> 
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev
> 



More information about the mythtv-dev mailing list