[mythtv-users] recent BE segfaults: how mythtv segmentation fault handler can help ?

Warpme warpme at o2.pl
Tue Dec 11 16:41:31 UTC 2012



Hi *

My very stable BE recently started to segfaulting :-(
I suspect PSU, but I want to be sure this isn't problem of running software.
I assume HW problem will manifest in higher randomness of segfault while
SW issue will show some correlation between running function, process
and code segfaulting.

When BE start I see something like this:

2012-12-11 08:17:41.312411 I Setup Terminated handler
2012-12-11 08:17:41.312418 I Setup Segmentation fault handler
2012-12-11 08:17:41.312425 I Setup Aborted handler
2012-12-11 08:17:41.312430 I Setup Bus error handler

When BE segfaults, I get something like this:

2012-12-11 08:16:15.668631 N Expiring 63 MB for 23205 at
2012-12-11T07:14:04Z => "Złapany na gorącym uczynku: Krokodyle i lwy"
2012-12-11 08:16:15.668691 N Expiring 0 MB for 11105 at
2012-12-11T07:15:14Z => "Narzeczona z katalogu"
2012-12-11 08:16:43.205057 I EITScanner (5): Added 4 EIT Events
2012-12-11 08:16:43.205601 I Reschedule requested for MATCH 0 0 0 -
EITScanner
2012-12-11 08:16:48.241752 I Scheduled 492 items in 5.0 = 2.17 match +
0.52 check + 2.30 place
mythbackend.service: main process exited, code=killed, status=11/SEGV
Unit mythbackend.service entered failed state
mythbackend.service holdoff time over, scheduling restart.
2012-12-11 08:17:41.311739 C mythbackend version: fixes/0.26
[v0.26.0-55-g09ac5b2-dirty-20121206] www.mythtv.org

kernel.log shows this:
Dec 11 08:17:40 [429676.690336] mythlogserver[31227]: segfault at 0 ip
(null) sp 00007f221b5b36c8 error 14 in mythlogserver[400000+3000]

I think mythlogserver is not root cause but rather follows dead BE...

Generally I would say not a lot of info :-(

So I'm wonder what is exactly benefit of:
2012-12-11 08:17:41.312418 I Setup Segmentation fault handler
and how can I benefit from it in my case.

As this is production system, I want to avoid running BE under gdb....

BE is launched via systemd with following command line:
/usr/bin/mythbackend --syslog none --nodblog
OS is Archlinux, kernel is 3.4.19

Any pointers for helping me quickly resolve are very appreciated !

Thx in advance



-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 89 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121211/b216544b/attachment.vcf>


More information about the mythtv-users mailing list