From f7cacd16a01832ab3a75e889cc4eda8a9d2e6a2f Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Wed, 14 Mar 2018 16:57:09 +0100 Subject: [PATCH] vbox5: avoid assertion in DevHDA seen with beginning of Virtualbox 5.1.34 update Issue #2658 --- repos/ports/ports/virtualbox5.hash | 2 +- repos/ports/src/virtualbox5/patches/audio.patch | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/repos/ports/ports/virtualbox5.hash b/repos/ports/ports/virtualbox5.hash index 3a6e3fe9d4..34bf331f48 100644 --- a/repos/ports/ports/virtualbox5.hash +++ b/repos/ports/ports/virtualbox5.hash @@ -1 +1 @@ -7e64e875e0a981dfdebd35561d02ff0f648ecd59 +efe52d5fdff221362570a7aba614f20424c1a4ac diff --git a/repos/ports/src/virtualbox5/patches/audio.patch b/repos/ports/src/virtualbox5/patches/audio.patch index 1c1fd43bd0..d6ad815364 100644 --- a/repos/ports/src/virtualbox5/patches/audio.patch +++ b/repos/ports/src/virtualbox5/patches/audio.patch @@ -54,6 +54,15 @@ hdaBDLEDumpAll(pThis, pStream->u64BDLBase, pStream->u16LVI + 1); #endif /* +@@ -2658,7 +2662,7 @@ + PHDASTREAM pStream = hdaStreamFromID(pThis, HDA_SD_NUM_FROM_REG(pThis, STS, iReg)); + if (!pStream) + { +- AssertMsgFailed(("[SD%RU8] Warning: Writing SDSTS on non-attached stream (0x%x)\n", ++ Log3Func(("[SD%RU8] Warning: Writing SDSTS on non-attached stream (0x%x)\n", + HDA_SD_NUM_FROM_REG(pThis, STS, iReg), u32Value)); + + DEVHDA_UNLOCK_BOTH(pThis); @@ -3388,7 +3392,7 @@ } # endif /* HDA_USE_DMA_ACCESS_HANDLER */