[vdr] Crash in cDvbSubtitleConverter::Action()

Ville Skyttä ville.skytta at iki.fi
Wed Aug 14 22:14:50 CEST 2013


Hello,

I'm occasionally seeing crashes in cDvbSubtitleConverter::Action(),
example backtrace below. Unfortunately I don't have a reliable
reproducer nor am I even sure if this happens on VDR startup or
shutdown, but I think it's one of those, maybe the latter :)

Perhaps something like this would avoid it (guessing, haven't tried
anything yet):

-           if (cDvbSubtitleBitmaps *sb = bitmaps->First()) {
+           if (cDevice::PrimaryDevice() && cDvbSubtitleBitmaps *sb =
bitmaps->First()) {

#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00007fcebbe30636 in cDvbSubtitleConverter::Action
(this=0x7fcea0381cd0) at dvbsubtitle.c:935
        STC = <optimized out>
        Delta = <optimized out>
        sb = 0x7fcea0333bd0
        ThreadLock = {thread = 0x7fcea0381cd0, locked = true}
        WaitMs = 100
        LastSetupLevel = 0
        Timeout = {begin = 15644639}
#2  0x00007fcebbea234f in cThread::StartThread (Thread=0x7fcea0381cd0)
at thread.c:262
No locals.
#3  0x00007fcebb6f0c53 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4  0x00007fceba11213d in clone () from /lib64/libc.so.6
No symbol table info available.



More information about the vdr mailing list