Opened 13 years ago
Closed 13 years ago
#9468 closed Patch - Bug Fix (Fixed)
[PATCH] Windows libmyth: Unhandled page fault
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | Windows libmyth |
Cc: | Ticket locked: | no |
Description
A current Windows build of MythTV when playing any video or livetv results in an "Unhandled page fault on read access to 0xb70c0000 at address 0xb70c0000".
The page fault is traceable to the call to avformat_alloc_context from AvFormatDecoder::OpenFile? in libmythtv.
Commit 83e43f3cee161e996f41ff8413896b8a1080c54c made avformat_alloc_context, and others, weak imports so that libmyth doesn't depend on libavformat.
However, libmythtv directly links to libavformat and the Windows linker (both cross and native) has a problem reconciling the two methods and ends up building the libmythtv DLL without an import for avformat_alloc_context.
The attached patch resolves the problem by removing the weak import and adding libavformat to libmyth.
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | spdifenc.diff added |
---|
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Owner: | set to beirdo |
Status: | new → assigned |
comment:2 Changed 13 years ago by
Resolution: | → Fixed |
---|---|
Status: | assigned → closed |
Committed in 5b15e27b10ff on master. This was also causing similar issues in OS X builds. Thanks.