[mythtv] glibc double free error when viewing program guide

Marc Fielding mf-mtv at hotpop.com
Sun Dec 5 23:02:07 UTC 2004


Greetings,

I'm getting a mythtv crash  with the message "*** glibc detected *** 
double free or corruption: 0x09db4150 ***" every time I access the 
program guide while watching TV (ie Menu > Program Guide).  Accessing 
the program guide via Manage Recordings > Schedule Recordings > Guide 
works however.  I see this error in both 0.16 and latest CVS versions.  
gdb backtrace from latest CVS version follows; any ideas about what 
might be happening would be very much appreciated.

Cheers,

Marc

*** glibc detected *** double free or corruption: 0x09db4150 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -175383632 (LWP 4615)]
0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) thread apply all bt full

Thread 10 (Thread -188904528 (LWP 4616)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x06597136 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x065cc5fa in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x00a9012b in RunProgramGuide (startchannel={static null = {static 
null = <same as static member of an already seen type>, d = 0x9c1e0c0, 
static shared_null = 0x9c1e0c0}, d = 0x9cd77f0, static shared_null = 
0x9c1e0c0}, thread=true, player=0x9c6d208, allowsecondaryepg=true) at 
guidegrid.cpp:53
        chanstr = {static null = {static null = <same as static member 
of an already seen type>, d = 0x9c1e0c0, static shared_null = 
0x9c1e0c0}, d = 0x9c1e0c0, static shared_null = 0x9c1e0c0}
        gg = (class GuideGrid *) 0x9d0e058
#4  0x00b63116 in TV::doLoadMenu (this=0x9c6d208) at tv_play.cpp:3111
        mwnd = (MythMainWindow *) 0x9c5b190
        chanstr = {static null = {static null = <same as static member 
of an already seen type>, d = 0x9c1e0c0, static shared_null = 
0x9c1e0c0}, d = 0x9c1e0c0, static shared_null = 0x9c1e0c0}
        dummy = {static null = {static null = <same as static member of 
an already seen type>, d = 0x9c1e0c0, static shared_null = 0x9c1e0c0}, d 
= 0x9c1e0c0, static shared_null = 0x9c1e0c0}
        channame = {static null = {static null = <same as static member 
of an already seen type>, d = 0x9c1e0c0, static shared_null = 
0x9c1e0c0}, d = 0x9cd77f0, static shared_null = 0x9c1e0c0}
        fullscreen = false
        allowsecondary = true
#5  0x00b633ac in TV::MenuHandler (param=0x9c6d208) at tv_play.cpp:3136
        obj = (class TV *) 0x9c6d208
#6  0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#7  0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 9 (Thread -175383632 (LWP 4615)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x06535955 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x06537319 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x0656ea1b in malloc_printerr () from /lib/tls/libc.so.6
No symbol table info available.
#4  0x0656f4ba in free () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x007df445 in operator delete () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x007df491 in operator delete[] () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x00c8a584 in VideoOutputXv::PrepareFrame (this=0x9c74770, 
buffer=0x9c80a90, t=kScan_Ignore) at videoout_xv.cpp:976
        sbuf = (unsigned char *) 0x9db4150 "\001\003"
        image = (XImage *) 0x9c81218
        scontext = (ImgReSampleContext *) 0x9dd5c60
        av_format = 6
        image_in = {data = {0xf64af000 "", 0x0, 0x0, 0xac9fd6 
"[\201Ã\206}'"}, linesize = {1228, 240, 240, 11309063}}
        image_out = {data = {0x9db4150 "\001\003", 0x9dc5522 
"~\177\200\201\202\201\201\201\201\201\177\177\201\203\205\203~~~~\177\201", 
'\202' <repeats 14 times>, 
"\204\203\202\177\177~~~~~\200\202\202\202\202\202\202\202\202\202\200\200\201\202\203\202}\177\200\202\202\201\202\202\202\201\200\200\200\200\200\201", 
'\202' <repeats 14 times>, 
"\201\200~~}}~\201\201}}\201\201\201\201\200\200\201\177{y~\177\200\202\202\177\177\201\202\202{~\202\201\177{}}}{~\204\211\204{|\200\200\200\177\201\202\202\202\202\202\200\177\177\203ÿ\203\204\205\206\207\210\210\210\210\210\210\211\213\215\217\220\220\220\220\220\217\213\214\214\214\214\214\214\214\214\214\212\212\212\212\212\213\214\214\215\216\220\220\220\220\220"..., 
0x9dc9a50 "~\177\201\202\203\201\201\201\201\201\200\177~|{}", '\201' 
<repeats 34 times>, 
"\200\202\203\203\203\203\201\200\202\201}||zz\177\201\177\200\200\200\177~~~~~~~~~~{{{{{\200\201\201\201\201{z}\177\202\201}|zyz}~\177\200\177|~\177\200\200\177\201\202~{|}~\200\200{{{{{~\177\177\200\201~~~~}\200\201\201\201\201\177~~~~\177\201\201\201\201\004\205\206\210\211\212\211\211\211\211\211\207\204\203\202\201\201", 
'\202' <repeats 30 times>..., 0xac9d57 
"\203Ä\020\215eø[^ÉÃ\220U\211åS\203ì\004è"}, linesize = {307, 154, 154, 
11312381}}
        width = 480
        height = 480
#8  0x00aa9637 in NuppelVideoPlayer::AVSync (this=0x9c73d18) at 
NuppelVideoPlayer.cpp:1339
        diverge = 0
        buffer = (VideoFrame *) 0x9c80a90
#9  0x00aaa835 in NuppelVideoPlayer::OutputVideoLoop (this=0x9c73d18) at 
NuppelVideoPlayer.cpp:1589
        frame = (VideoFrame *) 0x9c80a90
        fr_int = 33366
#10 0x00aaa8ec in NuppelVideoPlayer::kickoffOutputVideoLoop 
(player=0x9c73d18) at NuppelVideoPlayer.cpp:1658
        nvp = (NuppelVideoPlayer *) 0x9c73d18
#11 0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 8 (Thread 156584880 (LWP 4614)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x06597136 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x065cc5fa in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x0059f7a5 in AudioOutputBase::OutputAudioLoop (this=0xf67af008) at 
audiooutputbase.cpp:666
        fragment = "ö"
        space_on_soundcard = 1323
        last_space_on_soundcard = 1323
        zeros = "\000"
#4  0x0059fd4e in AudioOutputBase::kickoffOutputAudioLoop 
(player=0xf67af008) at audiooutputbase.cpp:745
No locals.
#5  0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 7 (Thread 51170224 (LWP 4613)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x06597136 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x065cc5fa in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x00b2dc3a in RingBuffer::ReadAheadThread (this=0x9c73500) at 
RingBuffer.cpp:905
        totfree = 27723
        ret = 128000
        used = 2532277
#4  0x00b2d30e in RingBuffer::startReader (type=0x9c73500) at 
RingBuffer.cpp:763
        rbuffer = (RingBuffer *) 0x9c73500
#5  0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 6 (Thread 83385264 (LWP 4612)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00737331 in __lll_mutex_unlock_wake () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x007340ff in _L_mutex_unlock_128 () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x04f85238 in ?? ()
No symbol table info available.
#4  0x01392dee in QRealMutexPrivate::unlock () from 
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#5  0x01392dee in QRealMutexPrivate::unlock () from 
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x01392b7a in QMutex::unlock () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#7  0x00aa47bc in NuppelVideoPlayer::setPrebuffering (this=0x9c73d18, 
prebuffer=false) at NuppelVideoPlayer.cpp:414
No locals.
#8  0x00aa6daf in NuppelVideoPlayer::GetFrame (this=0x9c73d18, 
onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:832
No locals.
#9  0x00aabc6e in NuppelVideoPlayer::StartPlaying (this=0x9c73d18) at 
NuppelVideoPlayer.cpp:1984
        decoder_locker = {mtx = 0x9c7402c}
        output_video = 4119583664
        decoder_thread = 83385264
        pausecheck = 0
#10 0x00b4ed2a in SpawnDecode (param=0x9c73d18) at tv_play.cpp:194
        nvp = (NuppelVideoPlayer *) 0x9c73d18
#11 0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#12 0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 5 (Thread 146095024 (LWP 4605)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x06597136 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x065cc5fa in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x00b56b04 in TV::RunTV (this=0x9c6d208) at tv_play.cpp:1103
        keypressed = (QKeyEvent *) 0x9d0c540
        updatecheck = 16
#4  0x00b5645a in TV::EventThread (param=0x9c6d208) at tv_play.cpp:1043
        thetv = (class TV *) 0x9c6d208
#5  0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread 98749360 (LWP 4599)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00734ac6 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/tls/libpthread.so.0
No symbol table info available.
#2  0x01393ef1 in QWaitCondition::wait () from 
/usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x004caa33 in MythContext::waitPrivRequest (this=0x9c4ce98) at 
mythcontext.cpp:1667
No locals.
#4  0x08049c7c in run_priv_thread (data=0x0) at main.cpp:21
No locals.
#5  0x007321d5 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x065d32da in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 1 (Thread -151107904 (LWP 4596)):
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x06597136 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x065cc5fa in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x0804a901 in main (argc=1, argv=0xfee644b4) at main.cpp:143
        a = <incomplete type>
        status = 0
        themedir = {static null = {static null = <same as static member 
of an already seen type>, d = 0x9c1e0c0, static shared_null = 
0x9c1e0c0}, d = 0x9c543c0, static shared_null = 0x9c1e0c0}
        db = (struct QSqlDatabase *) 0x9c544c0
        tv = (TV *) 0x9c6d208
        priv_thread = 98749360
        themename = {static null = {static null = <same as static member 
of an already seen type>, d = 0x9c1e0c0, static shared_null = 
0x9c1e0c0}, d = 0x9c53cc0, static shared_null = 0x9c1e0c0}
        auddevice = {static null = {static null = <same as static member 
of an already seen type>, d = 0x9c1e0c0, static shared_null = 
0x9c1e0c0}, d = 0x9c5b5d0, static shared_null = 0x9c1e0c0}
        mainWindow = (MythMainWindow *) 0x9c5b190
#0  0x003ea7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2


More information about the mythtv-dev mailing list