Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#9412 closed Bug Report - Crash (Works for me)

[CRASH] Channel History and FE Control Socket - segfault on scripted "h"/back

Reported by: daver@… Owned by: cpinkham
Priority: trivial Milestone: 0.25
Component: MythTV - Video Playback Version: 0.24-fixes
Severity: medium Keywords: segfault livetv controlsocket
Cc: Ticket locked: no

Description (last modified by Raymond Wagner)

Was playing with "h" Channel History command and the Frontend Control Socket http://www.mythtv.org/wiki/Frontend_control_socket

For testing purposes, I start the FE this way: DISPLAY=:0 /usr/bin/mythfrontend --service &


This case operates reliably:

Enter LiveTV Tune 3-4 channels Use wired keyboard letter "h" to go back in channel history (I can repeat this several times, no crash)


This case segfaults...:

Enter liveTV tune 3-4 channels Use command line "nc localhost 6546 < mythcmd" -- where 'mythcmd' contains only text "key h" (no quotes in file)

After 1-2 calls from the command line (call script, wait for channel to tune, call script), the FE crashes. No errors produced in FE logs, even with -v channel,socket

[1]+ Segmentation fault DISPLAY=:0 /usr/bin/mythfrontend -v channel,socket


I'm sure I need to tell you more, do I need to take this to the bug reporting tool or am I trying to make something work in the wrong way?

Attachments (3)

version_info (771 bytes) - added by Raymond Wagner 13 years ago.
attaching as a file, as the text says to
gdb.txt (25.0 KB) - added by daver@… 13 years ago.
gdb debug output
myth.log (19.6 KB) - added by daver@… 13 years ago.
associated myth FE log from crash debug session

Download all attachments as: .zip

Change History (12)

comment:1 Changed 13 years ago by Raymond Wagner

Component: MythTV - GeneralMythTV - Video Playback
Description: modified (diff)
Keywords: controlsocket added; previous channel telnet removed
Owner: set to Janne Grunau

Changed 13 years ago by Raymond Wagner

Attachment: version_info added

attaching as a file, as the text says to

comment:2 Changed 13 years ago by Raymond Wagner

Owner: changed from Janne Grunau to cpinkham
Status: newassigned

comment:3 Changed 13 years ago by Raymond Wagner

Status: assignedinfoneeded

If you segfaulted, you should have a core dump laying around (mythfrontend.core) in whatever was the current directory mythfrontend was already in. Please see the documentation on obtaining a traceback from it.

Changed 13 years ago by daver@…

Attachment: gdb.txt added

gdb debug output

Changed 13 years ago by daver@…

Attachment: myth.log added

associated myth FE log from crash debug session

comment:4 Changed 13 years ago by daver@…

I've done as you asked for gdb capture during the crash. Pls let me know if I've done incorrectly, is my first such debug.

comment:5 Changed 13 years ago by stuartm

Milestone: unknown0.25
Status: infoneededassigned

comment:6 Changed 13 years ago by beirdo

Summary: Channel History and FE Control Socket - segfault on scripted "h"/back[CRASH] Channel History and FE Control Socket - segfault on scripted "h"/back

comment:7 Changed 12 years ago by stuartm

Priority: minorcritical
Type: Bug ReportBug Report - Crash

comment:8 Changed 12 years ago by beirdo

Resolution: Works for me
Status: assignedclosed

I can't get this to crash. Please reopen if this is still a problem in your test case in post-release 0.25.

comment:9 Changed 12 years ago by beirdo

Priority: criticaltrivial
Note: See TracTickets for help on using tickets.