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

Mark Buechler mark.buechler at gmail.com
Fri Jan 12 04:03:51 UTC 2007


Tonight I saw another infinite loop in customEvent() causing it to send
messages at a rate of hundreds of times/sec. There seems to be a bit more
broken here than at first glance.

- Mark.

On 1/11/07, MythTV <mythtv at cvs.mythtv.org> wrote:
>
> #2817: Unknown problem with socket communications causes segfault of
> backends
>
> -------------------------------------+--------------------------------------
> Reporter:  Mark.Buechler at gmail.com  |        Owner:  ijr
>      Type:  defect                   |       Status:  new
> Priority:  minor                    |    Milestone:  unknown
> Component:  mythtv                   |      Version:  0.20
> Severity:  medium                   |   Resolution:
>
> -------------------------------------+--------------------------------------
> Comment (by Mark.Buechler at gmail.com):
>
> With some debugging, below shows the last messages passing through
> customEvent() before the last segfault I captured in
> Mainserver::customEvent():
>
> 2007-01-11 11:44:30.368 Finished recording Munich: channel 1502
> 2007-01-11 11:44:30.374 ---------> MythEvent(): empty
> 2007-01-11 11:44:30.387 ---------> MythEvent(): Message:
> RECORDING_LIST_CHANGE
> 2007-01-11 11:44:30.392 ---------> MythEvent(): empty
> 2007-01-11 11:44:30.535 ---------> MythEvent(): Message:
> RECORDING_LIST_CHANGE
> 2007-01-11 11:44:30.541 ---------> MythEvent(): empty
> 2007-01-11 11:44:31.959 ---------> MythEvent(): Message:
> QUERY_NEXT_LIVETV_DIR 5
> 2007-01-11 11:44:31.964 ---------> MythEvent(): empty
> 2007-01-11 11:44:32.042 ---------> MythEvent(): Message:
> RECORDING_LIST_CHANGE
> 2007-01-11 11:44:32.049 ---------> MythEvent(): empty
> 2007-01-11 11:44:32.073 ---------> MythEvent(): Message: LIVETV_CHAIN
> UPDATE live-pc4-2007-01-11T09:08:54
> 2007-01-11 11:44:32.079 ---------> MythEvent(): empty
> 2007-01-11 11:44:33.232 ---------> MythEvent(): Message: SIGNAL 5
>
> The very next line would have shown each entry in extradata or "empty",
> but this is where the segfault occured instead in the area where I
> attempted to spit out the entries:
>
>          for ( QStringList::Iterator it = _list.begin(); it !=
> _list.end();
> ++it )
>              VERBOSE(VB_IMPORTANT, QString("---------> MythEvent():
> %1").arg(*it));
>
> --
> Ticket URL: <http://cvs.mythtv.org/trac/ticket/2817#comment:6>
> MythTV <http://www.mythtv.org/>
> MythTV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20070111/7e19135e/attachment.htm 


More information about the mythtv-dev mailing list