[mythtv-users] mythtv 0.21 crashes

Stefan G. Weichinger lists at xunil.at
Thu Nov 27 12:27:29 UTC 2008


Greets, mythtv-users,

I recently migrated my backend to another hardware, works so far.

On the old BE I used WOL and shutdown to only start up the BE for
watching or recording so mythbackend wasn't running 24/7.

Now on the other box it is always up (a server doing other things as
well) or at least it *should* be always up.

The OS is gentoo linux, nearly only stable packages.
mythtv 0.21_p19046, kernel 2.6.26-gentoo-r3 (same problems with older
kernel ...)

--

I see mythbackend crashing repeatedly and I am unsure what the problem is.

For example tonight:

> 2008-11-27 00:14:08.763 AutoExpire: CalcParams(): Max required Free 
> Space: 3.0 GB w/freq: 8 min 2008-11-27 00:14:08.873 Started 
> recording: Zimmer frei! "Zu Gast: Campino": channel 29225 on cardid 
> 1, sourceid 1 2008-11-27 00:14:39.540 DB Error (change_program): 
> Query was: UPDATE program SET starttime = '2008-11-27T09:00:00', 
> endtime   = '2008-11-28T00:00:00' WHERE chanid    = 29408 AND 
> starttime = '2008-11-27T06:00:00' Driver error was [2/1062]: QMYSQL3:
>  Unable to execute query Database error was: Duplicate entry 
> '29408-2008-11-27 09:00:00-0' for key 1
> 
> 2008-11-27 00:15:55.593 Reschedule requested for id -1. 2008-11-27 
> 00:15:57.552 Scheduled 86 items in 1.9 = 1.11 match + 0.84 place 
> 2008-11-27 10:11:24.863 Using runtime prefix = /usr 2008-11-27 
> 10:11:24.928 Empty LocalHostName. 2008-11-27 10:11:24.957 Using 
> localhost value of dell 2008-11-27 10:11:25.099 New DB connection, 
> total: 1 2008-11-27 10:11:25.179 Connected to database 'mythconverg'
>  at host: dell

Seems as it crashed because of that DB-issue?

--

I also see stuff like:

> 2008-11-26 09:25:25.180 Program #8606 not found in PAT! Program 
> Association Table PSIP tableID(0x0) length(189) extension(0x448) 
> version(27) current(1) section(0) last_section(0) tsid: 1096 
> programCount: 45 program number     0 has PID 0x  10   data  0x 0 0x
>  0 0xe0 0x10 program number  8603 has PID 0x 502   data  0x21 0x9b 
> 0xe5 0x 2

So I wanted to rerun channel detection via mythtv-setup.

The BE doesn't have X11 so I started mythtv-setup over "ssh -X", piping
the gui to my workstation.

It crashes like this:

> *** glibc detected *** mythtv-setup: free(): invalid pointer: 
> 0xb4eff261 *** ======= Backtrace: ========= 
> /lib/libc.so.6[0xb5e06a00] /lib/libc.so.6(cfree+0x89)[0xb5e086f9] 
> /usr/qt/3/lib/libqt-mt.so.3(_ZN7QGArrayD2Ev+0x45)[0xb66ec861] 
> /usr/qt/3/lib/libqt-mt.so.3(_ZNK11QTranslator11findMessageEPKcS1_S1_+0x293)[0xb644c153]
> 
> 
> 
> /usr/qt/3/lib/libqt-mt.so.3(_ZNK12QApplication9translateEPKcS1_S1_NS_8EncodingE+0xa5)[0xb64050e3]
>  /usr/lib/libmythtv-0.21.so.0(_ZN6SIScan2trEPKcS1_+0x4e)[0xb7d8f998] 
> ======= Memory map: ======== 08048000-0806c000 r-xp 00000000 09:03 
> 761431     /usr/bin/mythtv-setup 0806c000-0806d000 r--p 00023000 
> 09:03 761431     /usr/bin/mythtv-setup 0806d000-0806e000 rw-p 
> 00024000 09:03 761431     /usr/bin/mythtv-setup 0806e000-08268000 
> rw-p 0806e000 00:00 0          [heap] b0a4c000-b0cfd000 rw-p b0a4c000
>  00:00 0

[ ... tons of other stuff following ... ]

Where should I start?

A decent list of channels would be crucial, I assume.
Could the crashed mythtv-setup relate to "ssh -X" ?

I would really like to stay with 0.21 as I use storage groups (at least
one ;) ).

--

dmesg shows:

> mythbackend[6945]: segfault at 0 ip 08070240 sp bff697c0 error 4 in 
> mythbackend[8048000+13c000] mythfilldatabas[23354] general protection
>  ip:8179ada sp:b58a1c9c error:0 mythbackend[12662]: segfault at b8 ip
>  b670b4ff sp b48d5fd0 error 4 in libqt-mt.so.3.3.8[b6219000+676000] 
> mythbackend[23519]: segfault at 4 ip 08070240 sp bf81f740 error 4 in 
> mythbackend[8048000+13c000] cx8802_start_dma() Failed. Unsupported 
> value in .mpeg (0x00000001) mythfilldatabas[28018]: segfault at 
> 601efb7a ip b5e9d1ab sp b5871c9c error 6 mythbackend[27941]: segfault
> at 4 ip 08070240 sp bfc993b0 error 4 in mythbackend[8048000+13c000] 
> cx8802_start_dma() Failed. Unsupported value in .mpeg (0x00000001) 
> cx8802_start_dma() Failed. Unsupported value in .mpeg (0x00000001) 
> cx8802_start_dma() Failed. Unsupported value in .mpeg (0x00000001) 
> mythtv-setup[7064]: segfault at 0 ip b63c995c sp bf947f80 error 4 in
> libqt-mt.so.3.3.8[b6195000+676000]

-

For hardware:

The stick of RAM is the same as in the old box, I moved it also.
Doesn't prove that it is still OK, yes, but I assume that defective RAM
would not only crash myth, but also other stuff.

But I only see mythtv-related problems so far.

-

I could write much more, yes ... just want to ask for initial hints on
this, I am happy to provide any more info if needed.

Maybe I should file a bug at gentoo.org but I want to check back her
first ...

Thanks so far, Stefan



More information about the mythtv-users mailing list