[mythtv-commits] Ticket #13067: Guide/GetProgramGuide service API called without any arguments crashes mythbackend

MythTV noreply at mythtv.org
Tue Jul 11 20:58:32 UTC 2017


#13067: Guide/GetProgramGuide service API called without any arguments crashes
mythbackend
---------------------------------------------+------------------------
 Reporter:  rich@…                           |          Owner:  bmeek
     Type:  Bug Report - Crash               |         Status:  closed
 Priority:  minor                            |      Milestone:  0.28.2
Component:  MythTV - Services API - Backend  |        Version:  0.28.1
 Severity:  medium                           |     Resolution:  Fixed
 Keywords:  GetProgramGuide crash            |  Ticket locked:  0
---------------------------------------------+------------------------
Changes (by bmeek):

 * status:  new => closed
 * resolution:   => Fixed
 * milestone:  unknown => 0.28.2


Old description:

> Calling the Guide service's GetProgramGuide API without supplying any
> arguments causes a segmentation fault and the backend process to crash.
>
> The expected behavior is to return an error indecating that required
> arguments are missing.
>
> The HTTP request:
>
> http://XXXXXXXXXXX:6544/Guide/GetProgramGuide
>
> Seen in the logs:
>
> Jul 11 14:16:32 XXXXXXXXXXX mythbackend[23987]: 2017-07-11
> 14:16:32.438617 I  MethodInfo::Invoke - An Exception Occurred
> Jul 11 14:16:32 XXXXXXXXXXX mythbackend[23987]: 2017-07-11
> 14:16:32.438888 C  Received Segmentation fault: Code 1, PID 0, UID 0,
> Value 0x00000000
>
> Version Info: mythbackend version: fixes/0.28 [v0.28.1-23-gaf98262]
> www.mythtv.org
>
> System:  Linux x86_64 Kernel 4.11.5

New description:

 Calling the Guide service's !GetProgramGuide API without supplying any
 arguments causes a segmentation fault and the backend process to crash.

 The expected behavior is to return an error indicating that required
 arguments are missing.

 The HTTP request:

 http://XXXXXXXXXXX:6544/Guide/GetProgramGuide

 Seen in the logs:
 {{{
 Jul 11 14:16:32 XXXXXXXXXXX mythbackend[23987]: 2017-07-11 14:16:32.438617
 I  MethodInfo::Invoke - An Exception Occurred
 Jul 11 14:16:32 XXXXXXXXXXX mythbackend[23987]: 2017-07-11 14:16:32.438888
 C  Received Segmentation fault: Code 1, PID 0, UID 0, Value 0x00000000
 }}}
 Version Info: mythbackend version: fixes/0.28 [v0.28.1-23-gaf98262]
 www.mythtv.org

 System:  Linux x86_64 Kernel 4.11.5

--

Comment:

 (cherry picked from commit 29e2269424b6b84afeb3d68158ada829429a0610)

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13067#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list