[mythtv-users] ANYONE? IDEAS? Re: Mythweb segfault only on recorded programs tab? .23 from JYA

Tom Dexter digitalaudiorock at gmail.com
Thu Apr 22 23:05:11 UTC 2010


On Thu, Apr 22, 2010 at 1:52 PM, Mark <markhsa at gmail.com> wrote:
> On Thu, 2010-04-22 at 13:43 -0400, Michael T. Dean wrote:
>> On 04/22/2010 01:24 PM, Mark wrote:
>> > On Tue, 2010-04-20 at 10:23 -0600, Mark wrote:
>> >
>> >> Any ideas on this segfault?  I have checked the database, php, etc...
>> >> No avail.  I could think others would be seeing this on the .23-fixes if
>> >> it were a bug?  It is just on the recorded programs section of Mythweb.
>> >>
>> >> Ideas anyone?
>> >> On Mon, 2010-04-19 at 08:33 -0600, Mark Hutchinson wrote:
>> >>
>> >>> Ubuntu 10.04 and .23-fixes from JYA
>> >>>
>> >>> Mythweb is fine, except for when you click on the recorded programs
>> >>> link.  There is a 3 or 4 second wait, then a blank page.  The logs
>> >>> show a segfault ( below )
>> >>> I have increased the php memory, and the mem limits in mysql.  Any
>> >>> ideas on what could be causing this?
>> >>>
>> >>> -----
>> >>>
>> >>> ==>  /var/log/apache2/error.log<==
>> >>> [Sun Apr 18 14:34:36 2010] [notice] caught SIGTERM, shutting down
>> >>> [Sun Apr 18 14:37:17 2010] [notice] Apache/2.2.14 (Ubuntu)
>> >>> PHP/5.3.2-1ubuntu4 with Suhosin-Patch configured -- resuming normal
>> >>> operations
>> >>> [Sun Apr 18 14:51:37 2010] [notice] caught SIGTERM, shutting down
>> >>> [Sun Apr 18 14:52:34 2010] [notice] Apache/2.2.14 (Ubuntu)
>> >>> PHP/5.3.2-1ubuntu4 with Suhosin-Patch configured -- resuming normal
>> >>> operations
>> >>> [Mon Apr 19 08:29:03 2010] [notice] child pid 6565 exit signal
>> >>> Segmentation fault (11)
>> >>> [Mon Apr 19 08:29:04 2010] [notice] child pid 1632 exit signal
>> >>> Segmentation fault (11)
>> >>> [Mon Apr 19 08:29:05 2010] [notice] child pid 1634 exit signal
>> >>> Segmentation fault (11)
>> >>> [Mon Apr 19 08:29:06 2010] [error] [client 192.168.0.250] File does
>> >>> not exist: /var/www/favicon.ico
>> >>> [Mon Apr 19 08:29:07 2010] [notice] child pid 6569 exit signal
>> >>> Segmentation fault (11)
>> >>> [Mon Apr 19 08:29:09 2010] [error] [client 192.168.0.250] File does
>> >>> not exist: /var/www/favicon.ico
>> >>>
>> >>> ==>  /var/log/apache2/other_vhosts_access.log<==
>> >>>
>> >>> ==>  /var/log/apache2/error.log<==
>> >>> [Mon Apr 19 08:29:36 2010] [notice] child pid 6571 exit signal
>> >>> Segmentation fault (11)
>> >>>
>>
>> MythTV code can't make Apache httpd segfault.  I'm pretty sure, too,
>> that even MythWeb PHP code can't make Apache httpd segfault.
>>
>> Looks a lot like a broken install of Apache/PHP/... with broken
>> libraries or something.  Time for a (fresh) new install, perhaps?
>>
>> Mike
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> Perhaps.
> Just strange that it ONLY happens on the "recorded programs" link in
> mythweb.
> Thats why I thought there may be an issue or something I could
> configure.  That link is certainly the most resource intensive.
>
Here's a possibility: Looking at the code in the recorded.php page,
the file size calculations use the php gmp math functions if they're
available, and that's one of the few places where that's the case.
Maybe those are failing.

The page will use other methods for that if those functions aren't
available.  You could always try uninstalling the php5-gmp package and
restarting apache.

If that doesn't help you can always reinstall the package and restart
apache again.  In any case, that's the only thing I see going on there
that's pretty specific to that page only.

Tom


More information about the mythtv-users mailing list