[mythtv] backend SEGV in memcpy (cvs from about 2 weeks ago)

Derek Atkins warlord at MIT.EDU
Sun Dec 7 19:11:15 EST 2003


Let me know if I can supply any other information.  I dont think
we were doing anything special at the time.  I hope this isn't
a qt bug.

-derek

Core was generated by `/usr/local/bin/mythbackend -d -l /var/log/mythbackend.log'.
Program terminated with signal 11, Segmentation fault.
[snip]
#0  0x40ba10fc in memcpy () from /lib/i686/libc.so.6
(gdb) thread apply all bt full

Thread 16 (process 2902):
#0  0x40bff301 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x409e827c in ?? () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.

Thread 15 (process 3053):
#0  0x40bfd917 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x409fd9ce in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40c059a7 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 14 (process 3054):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 13 (process 3056):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 12 (process 3058):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 11 (process 3060):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 10 (process 3061):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 9 (process 3062):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 8 (process 3063):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 7 (process 3064):
#0  0x40b4d658 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40a00318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409fccbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40834762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808e2f2 in ProcessRequestThread::run() (this=0x8474768)
    at mainserver.cpp:56
No locals.
#5  0x4057dc78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409fe9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 6 (process 3065):
#0  0x40b4d658 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40a00318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409fccbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40834762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808e2f2 in ProcessRequestThread::run() (this=0x8478648)
    at mainserver.cpp:56
No locals.
#5  0x4057dc78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409fe9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 5 (process 3066):
#0  0x40b4d658 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40a00318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409fccbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40834762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808e2f2 in ProcessRequestThread::run() (this=0x8475a08)
    at mainserver.cpp:56
No locals.
#5  0x4057dc78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409fe9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 4 (process 3067):
#0  0x40b4d658 in sigsuspend () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40a00318 in __pthread_wait_for_restart_signal ()
   from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x409fccbb in pthread_cond_wait at GLIBC_2.0 () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40834762 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808e2f2 in ProcessRequestThread::run() (this=0x8474e28)
    at mainserver.cpp:56
No locals.
#5  0x4057dc78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#6  0x409fe9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 3 (process 20907):
#0  0x40bd2c36 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 2 (process 20909):
#0  0x40a0366b in read () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x084e7480 in ?? ()
No symbol table info available.

Thread 1 (process 3068):
#0  0x40ba10fc in memcpy () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x407b6069 in QSocket::writeBlock(char const*, unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#2  0x400ef14b in WriteBlock(QSocket*, void*, int) (socket=0x46d1bc00, 
    data=0x4589f39c, len=206602240) at util.cpp:162
        temp = 206602240
        size = 206602240
        written = 0
        errorcount = 0
#3  0x080dec34 in TVRec::RequestRingBufferBlock(int) (this=0x845ff30, 
    size=256000) at tv_rec.cpp:2075
        ret = 206602240
        buffer = "\2031\a\211\f_}\221\230\217(t;\201\e\200a\036\217\003zY\207\217P\032\230V=d\evP0F\021|^\r\030\214\025pVB8}@H\t\n\031\206\000\0324\214\2144\v\024b\016\203N\fJ\eH4X-/\217A\027\001\200\030\0201\001\v`2\001f\206!ay_\001rCH at Wd\206\20078\016\000nM%\210%\021 '&\2230\002\022\0311\034\v(@~\r @:\000вa0\206\236\220\rRC\e"...
#4  0x08070fd6 in EncoderLink::RequestRingBufferBlock(int) (this=0x8464c70, 
    size=256000) at encoderlink.cpp:606
No locals.
#5  0x0808509e in MainServer::HandleRecorderQuery(QStringList&, QStringList&, PlaybackSock*) (this=0x8478770, slist=@0x458dde7c, commands=@0x458dde5c, 
    pbs=0x46d0e788) at mainserver.cpp:1756
        size = 256000
        pbssock = (struct QSocket *) 0x46d13710
        recnum = 1
        iter = {node = 0x846b228}
        enc = (EncoderLink *) 0x8464c70
        command = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x843f118, static shared_null = 0x843f118}, d = 0x46d6dcb8, 
  static shared_null = 0x843f118}
        retlist = {<QValueList<QString>> = {sh = 0x46d5e7d8}, <No data fields>}
#6  0x0807836f in MainServer::ProcessRequest(QSocket*) (this=0x8478770, 
    sock=0x46d13710) at mainserver.cpp:271
        listline = {<QValueList<QString>> = {
    sh = 0x46d0dc40}, <No data fields>}
        line = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x843f118, static shared_null = 0x843f118}, d = 0x46d28708, 
  static shared_null = 0x843f118}
        tokens = {<QValueList<QString>> = {sh = 0x46d8c838}, <No data fields>}
        command = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x843f118, static shared_null = 0x843f118}, d = 0x46d8a228, 
  static shared_null = 0x843f118}
        pbs = (PlaybackSock *) 0x46d0e788
#7  0x0808e312 in ProcessRequestThread::run() (this=0x8471e58)
    at mainserver.cpp:60
No locals.
#8  0x4057dc78 in QProc::~QProc() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x409fe9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.


-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the mythtv-dev mailing list