[mythtv] Fwd: Ticket #2817: Unknown problem with socket communications causes segfault of backends

Martin Møller martin at martinm-76.dk
Thu Jan 11 03:38:33 UTC 2007


This didn't go to the list by mistake. I have quite a few segfaults in a day some times...

Since I made the list below the following have been added to the list:

/usr/local/bin/mythallways: line 6: 10428 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log

... so it seems to have slowed down presently.

I'm wondering if it's because I haven't watched that much MythTV in the period in between....?
The amount of recordings daily are about the same, give or take 4-10.

/Martin.

----- Forwarded Message -----
From: Martin Møller <martin at martinm-76.dk>
To: Mark Buechler <mark.buechler at gmail.com>
Sent: 9. januar 2007 23:50:07 GMT+0100 Europe/Berlin
Subject: Re: [mythtv] Ticket #2817: Unknown problem with socket communications causes segfault of backends

Since last night my master backend has crashed quite a few times. Since this happened on a few revisions I tried before 12434 I had already made a script that restarts the backend after 2 seconds when it exits. These segfaults are all *after* the one I posted to this ticket...

/usr/local/bin/mythallways: line 6:  9572 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 10183 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 10215 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 23035 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 23058 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 23085 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 23108 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 23242 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log
/usr/local/bin/mythallways: line 6: 23271 Lagersegmentfejl        /usr/local/bin/mythbackend -l /var/log/mythbackend.log

Let me know if more backtraces will be helpful. I sure hope to get back to the good old stable SVN releases soon :)

/Martin.

----- Mark Buechler <mark.buechler at gmail.com> wrote:
> I added some code around line 804 of mainserver.cpp to spit out the
> QStringList entries as well as "broadcast" and the backend runs fine
> to a point then send RECORDING_LIST_CHANGE hundreds of times a second
> for several seconds and eventually starts sending SCHEDULE_CHANGE as
> well. Eventually DONE_RECORDING starts getting sent as well as
> LIVETV_CHAIN. So, looks like to me there's a queue which isn't getting
> cleared.
> 
> - Mark.
> 
> 
> On 1/8/07 , Martin Møller < martin at martinm-76.dk > wrote: I have made
> a backtrace of mythbackend today as well. It seems to be the
> ProcessRequestWork bug that got me...
> 
> I'll upload it to this ticket in the hope that it will enlighten
> someone :)
> 
> I'm running revision 12434 at the moment...
> 
> /Martin.



More information about the mythtv-dev mailing list