[mythtv-users] Backend segfault - BT

Bill Sheehan sheehan at sheehan.tzo.com
Mon Dec 29 13:56:13 EST 2003


Hi all,

I've compiled the latest ivtv from CVS and MythTV 0.13 on a SuSE 9.0 system 
with a Hauppauge PVR 250 and a Matrox G450.  Everything looks OK until I try 
to view TV - then the screen goes black and I get a segfault at QSocket.  
Any ideas?

Here's the backtrace:

(gdb) run
Starting program: /usr/local/bin/mythbackend
[New Thread 16384 (LWP 6652)]
Starting up as the master server.
[New Thread 32769 (LWP 6661)]
[New Thread 16386 (LWP 6662)]
[New Thread 32771 (LWP 6663)]
[New Thread 49156 (LWP 6664)]
[New Thread 65541 (LWP 6665)]
2003-12-29 12:25:12 Found changes in the todo list.
2003-12-29 12:25:12 Enabled verbose msgs : important general
[New Thread 81926 (LWP 6666)]
[New Thread 98311 (LWP 6667)]
[New Thread 114696 (LWP 6668)]
[New Thread 131081 (LWP 6669)]
[New Thread 147466 (LWP 6670)]
2003-12-29 12:27:08 MainServer::HandleAnnounce Playback
2003-12-29 12:27:08 adding: isn as a player 0
2003-12-29 12:27:08 MainServer::HandleAnnounce Playback
2003-12-29 12:27:08 adding: isn as a player 1
2003-12-29 12:27:08 MainServer::HandleAnnounce Playback
2003-12-29 12:27:08 adding: isn as a player 0
[New Thread 163851 (LWP 6689)]
2003-12-29 12:27:08 MainServer::HandleAnnounce Playback
2003-12-29 12:27:08 adding: isn as a player 0
2003-12-29 12:27:08 adding: isn as a remote ringbuffer
2003-12-29 12:27:09 Changing from None to WatchingLiveTV
[New Thread 180236 (LWP 6690)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 131081 (LWP 6669)]
0x400d9a20 in WriteStringList(QSocket*, QStringList&) (socket=0x84940a0,
    list=@0x84944c0) at qmemarray.h:64
64          type *data()    const       { return (type *)QGArray::data(); }
(gdb) thread apply all bt full

Thread 13 (Thread 180236 (LWP 6690)):
#0  0x40acbb94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40acb9d8 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40acceb3 in __pthread_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40ac90e8 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 12 (Thread 163851 (LWP 6689)):
#0  0x40cabfa6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 11 (Thread 147466 (LWP 6670)):
#0  0x40cabfa6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 10 (Thread 131081 (LWP 6669)):
#0  0x400d9a20 in WriteStringList(QSocket*, QStringList&) (socket=0x84940a0,
---Type <return> to continue, or q <return> to quit---
    list=@0x84944c0) at qmemarray.h:64
        temp = 139019456
        str = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x8494110,
  static shared_null = 0x846d9e0}
        utf8 = <incomplete type>
        size = 10
        written = 0
        payload = <incomplete type>
        errorcount = 0
        retval = true
#1  0x0807cdfb in MainServer::HandleAnnounce(QStringList&, QStringList, 
QSocket*
) (this=0x849cef0, slist=@0x84944c0, commands=
        {<QValueList<QString>> = {sh = 0x8494ff8}, <No data fields>},
    socket=0x84940a0) at mainserver.cpp:563
        pbs = (PlaybackSock *) 0x4383fbbc
        iter = {node = 0x84704c0}
        retlist = {<QValueList<QString>> = {sh = 0x8494a68}, <No data fields>}
#2  0x0807ae02 in MainServer::ProcessRequest(QSocket*) (this=0x849cef0,
    sock=0x84940a0) at qshared.h:49
        message = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x4383fe2c,
---Type <return> to continue, or q <return> to quit---
  static shared_null = 0x846d9e0}
        extra = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x4383fe1c,
  static shared_null = 0x846d9e0}
        me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x40acd2ae},
  message = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x4383fe1c,
    static shared_null = 0x846d9e0}, extradata = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0xffffffff,
    static shared_null = 0x846d9e0}}
        listline = {<QValueList<QString>> = {sh = 0x8494808}, <No data 
fields>}
        line = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x84947e0,
  static shared_null = 0x846d9e0}
        tokens = {<QValueList<QString>> = {sh = 0x8493ee8}, <No data fields>}
        command = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x84935d0,
  static shared_null = 0x846d9e0}
        pbs = (PlaybackSock *) 0x4383fe1c
---Type <return> to continue, or q <return> to quit---
#3  0x08092781 in ProcessRequestThread::run() (this=0x8498838)
    at mainserver.cpp:61
No locals.
#4  0x404de4a5 in QThreadInstance::start(void*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0x40ac8f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#6  0x40ac90fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 9 (Thread 114696 (LWP 6668)):
#0  0x40acbb94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40acb9d8 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40ac7e90 in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/
libpthread.so.0
No symbol table info available.
#3  0x407e5232 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08092769 in ProcessRequestThread::run() (this=0xffffffff)
---Type <return> to continue, or q <return> to quit---
    at mainserver.cpp:57
No locals.
#5  0x404de4a5 in QThreadInstance::start(void*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40ac8f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x40ac90fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 8 (Thread 98311 (LWP 6667)):
#0  0x40acbb94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40acb9d8 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40ac7e90 in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/
libpthread.so.0
No symbol table info available.
#3  0x407e5232 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08092769 in ProcessRequestThread::run() (this=0xffffffff)
    at mainserver.cpp:57
---Type <return> to continue, or q <return> to quit---
No locals.
#5  0x404de4a5 in QThreadInstance::start(void*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40ac8f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x40ac90fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 7 (Thread 81926 (LWP 6666)):
#0  0x40acbb94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40acb9d8 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40ac7e90 in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/
libpthread.so.0
No symbol table info available.
#3  0x407e5232 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x08092769 in ProcessRequestThread::run() (this=0xffffffff)
    at mainserver.cpp:57
No locals.
---Type <return> to continue, or q <return> to quit---
#5  0x404de4a5 in QThreadInstance::start(void*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40ac8f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x40ac90fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 6 (Thread 65541 (LWP 6665)):
#0  0x40aceb6b in read () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40f6f1c4 in __JCR_LIST__ () from /usr/lib/libmysqlclient.so.12
No symbol table info available.

Thread 5 (Thread 49156 (LWP 6664)):
#0  0x40aceb6b in read () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40f6f1c4 in __JCR_LIST__ () from /usr/lib/libmysqlclient.so.12
No symbol table info available.

Thread 4 (Thread 32771 (LWP 6663)):
#0  0x40cabfa6 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---

Thread 3 (Thread 16386 (LWP 6662)):
#0  0x40acbb94 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40acb9d8 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40acb151 in pthread_create@@GLIBC_2.1 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x080eb3c9 in TVRec::HandleStateChange() (this=0x8492db0) at 
tv_rec.cpp:489
        foundProf = 64
        profile = {<ConfigurationWizard> = {<ConfigurationDialog> = 
{<Configurab
le> = {<> = {<No data fields>}, _vptr.Configurable = 0x839a87c,
        static metaObj = 0x8494e88, configName = {static null = {
            static null = <same as static member of an already seen type>,
            d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x846d9e0,
          static shared_null = 0x846d9e0}, label = {static null = {
            static null = <same as static member of an already seen type>,
            d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x846d9e0,
          static shared_null = 0x846d9e0}, helptext = {static null = {
            static null = <same as static member of an already seen type>,
            d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x846d9e0,
          static shared_null = 0x846d9e0}, visible = true},
      _vptr.ConfigurationDialog = 0x839a7f0}, <ConfigurationGroup> = {
---Type <return> to continue, or q <return> to quit---
      _vptr.ConfigurationGroup = 0x839a818, static metaObj = 0x8496148,
      children = {<_Vector_base<Configurable*,std::allocator<Configurable*> >> 
{<_Vector_alloc_base<Configurable*,std::allocator<Configurable*>,true>> = {
            _M_start = 0x8476de8, _M_finish = 0x8476dfc,
            _M_end_of_storage = 0x8476e08}, <No data fields>}, <No data 
fields, uselabel = true}, <No data fields>}, id = 0x84946f0, name = 
0x84956c8,
  imageSize = 0x0, vc = 0x8495ee8, ac = 0x84a0360}
        msg = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x84a6ac0,
  static shared_null = 0x846d9e0}
        tmpInternalState = kState_WatchingLiveTV
        startRecorder = true
        closeRecorder = false
        killRecordingFile = false
        statename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x8494ec0,
  static shared_null = 0x846d9e0}
        origname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x846d9e0, static shared_null = 0x846d9e0}, d = 0x8494ae0,
  static shared_null = 0x846d9e0}
#4  0x080ef379 in TVRec::RunTV() (this=0x8492db0) at tv_rec.cpp:848
---Type <return> to continue, or q <return> to quit---
No locals.
#5  0x080ef2ad in TVRec::EventThread(void*) (param=0xfffffffc)
    at tv_rec.cpp:832
No locals.
#6  0x40ac8f60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#7  0x40ac90fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 6661)):
#0  0x40cd3b66 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40ac8a8e in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40ac8d63 in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40cdc327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 6652)):
#0  0x40cd5851 in select () from /lib/i686/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x409a6fc0 in __JCR_LIST__ () from /usr/lib/libqt-mt.so.3
No symbol table info available.
0x400d9a20      64          type *data()    const       { return (type 
*)QGArr::data(); }
(gdb)



More information about the mythtv-users mailing list