Modify

Opened 7 years ago

Closed 6 years ago

Last modified 6 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 wagnerrp)

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 wagnerrp 7 years ago.
attaching as a file, as the text says to
gdb.txt (25.0 KB) - added by daver@… 7 years ago.
gdb debug output
myth.log (19.6 KB) - added by daver@… 7 years ago.
associated myth FE log from crash debug session

Download all attachments as: .zip

Change History (12)

comment:1 Changed 7 years ago by wagnerrp

  • Component changed from MythTV - General to MythTV - Video Playback
  • Description modified (diff)
  • Keywords controlsocket added; previous channel telnet removed
  • Owner set to janne

Changed 7 years ago by wagnerrp

attaching as a file, as the text says to

comment:2 Changed 7 years ago by wagnerrp

  • Owner changed from janne to cpinkham
  • Status changed from new to assigned

comment:3 Changed 7 years ago by wagnerrp

  • Status changed from assigned to infoneeded

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 7 years ago by daver@…

gdb debug output

Changed 7 years ago by daver@…

associated myth FE log from crash debug session

comment:4 Changed 7 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 7 years ago by stuartm

  • Milestone changed from unknown to 0.25
  • Status changed from infoneeded to assigned

comment:6 Changed 7 years ago by beirdo

  • Summary changed from Channel History and FE Control Socket - segfault on scripted "h"/back to [CRASH] Channel History and FE Control Socket - segfault on scripted "h"/back

comment:7 Changed 6 years ago by stuartm

  • Priority changed from minor to critical
  • Type changed from Bug Report to Bug Report - Crash

comment:8 Changed 6 years ago by beirdo

  • Resolution set to Works for me
  • Status changed from assigned to closed

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 6 years ago by beirdo

  • Priority changed from critical to trivial

Add Comment

Modify Ticket

Action
as closed The owner will remain cpinkham.
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.