Modify ↓
Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.
Opened 3 years ago
Closed 3 years ago
#8179 closed defect (fixed)
kDecoderProbeBufferSize increase causes LiveTV crash
| Reported by: | nigel | Owned by: | janne |
|---|---|---|---|
| Priority: | major | Milestone: | 0.23-fixes |
| Component: | MythTV - Video Playback | Version: | 0.23-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
[23528] increased kDecoderProbeBufferSize from 64K to 1M. For some unknown reason, this is causing the MacOS X client to crash (HDHR, Live TV only):
(gdb) run -v playback
Starting program: /Volumes/Backups/MythTV/.osx-packager/src/myth-svn/mythtv/programs/mythfrontend/mythfrontend -v playback
...
2010-03-15 00:43:15.715 Using audio as timebase
2010-03-15 00:43:15.715 Video timing method: USleep with busy wait
2010-03-15 00:43:15.715 Refresh rate: 6666, frame interval: 40000
2010-03-15 00:43:15.716 NVP(0): LoadFilters(''..) -> 0x0
2010-03-15 00:43:15.719 RingBuf(/Volumes/Backups/Movies/1001_20100315004313.mpg): OpenFile(/Volumes/Backups/Movies/1001_20100315004314.mpg, 12)
2010-03-15 00:43:15.756 RingBuf(/Volumes/Backups/Movies/1001_20100315004314.mpg): CalcReadAheadThresh(0 KB)
-> threshhold(64 KB) min read(0 KB) blk size(32 KB)
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xb0441ff0
[Switching to process 32381]
0x8fe11f32 in __dyld_misaligned_stack_error ()
or
Thread 11 Crashed: 0 dyld 0x8fe11f32 misaligned_stack_error + 0 1 ...havformat-0.23.0.23.0.dylib 0x00dad6cd get_buffer + 189 (aviobuf.c:316)
The file recorded by that LiveTV session (all 5 to 10 seconds of it) plays back just file in watch recordings.
Attachments (0)
Change History (9)
comment:1 Changed 3 years ago by stridger@…
comment:2 Changed 3 years ago by robertm
- Component changed from MythTV - General to Ports - OSX
- Owner changed from ijr to nigel
comment:3 Changed 3 years ago by stridger@…
Sorry to nag, but given that this is a showstopper for LiveTV in 0.23 on OSX, and RC3 is out already, is there a chance that the fix will make it into 0.23 final?
Thanks.
comment:5 Changed 3 years ago by janne
comment:6 Changed 3 years ago by janne
- Component changed from Ports - OSX to MythTV - Video Playback
- Milestone changed from unknown to 0.23-fixes
- Owner changed from nigel to janne
- Status changed from new to accepted
- Ticket locked unset
- Version changed from head to 0.23-fixes
comment:7 Changed 3 years ago by Psychosis <psychos@…>
Backported to 0.23-fixes, I can confirm this fixes LiveTV on 10.5/10.6 OS X (Intel).
comment:8 Changed 3 years ago by nigel
comment:9 Changed 3 years ago by robertm
- Resolution set to fixed
- Status changed from accepted to closed
Believe this should have been closed a bit ago.
Note: See
TracTickets for help on using
tickets.

I can confirm this on OSX 10.6.3 when compiling with osx-packager.pl -m32.
The log can be found on
http://svn.mythtv.org/trac/ticket/8342
but is probably not very helpful.