Opened 18 years ago
Closed 18 years ago
Last modified 18 years ago
#4420 closed defect (fixed)
this==0 in ringbuffer
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | unknown |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
http://www.pastebin.ca/840957
#0 0xb77f892f in RingBuffer::InDVDMenuOrStillFrame (this=0x0) at RingBuffer.cpp:1343 #1 0xb7a4de82 in TV::ProcessKeypress (this=0xa7469000, e=0xaad2ab18) at tv_play.cpp:3004
was changing the volume level while the bandwidth to the mysql server was maxed out
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.

(In [15319]) Fixes #4420. The actual segfault reported in the ticket no longer exists in svn trunk, but this changeset makes sure we always check for a null ringbuffer shortly before checking the InDVDMenuOrStillFrame state.
PS The backtrace was only partial and matched neither svn trunk nor 0.20-fixes so I couldn't trace down where exactly the null pointer was used in tv_play, but the partial stacktrace did tell me the functions involved and this fixes all the InDVDMenuOrStill() calls in the TV class...