Closed Bug 1269532 Opened 8 years ago Closed 8 years ago

Assertion 'read_block == (pkt != ((void*)0))' failed [@nestegg_read_packet]

Categories

(Core :: Audio/Video: Playback, defect, P2)

49 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox49 --- affected

People

(Reporter: tsmith, Assigned: kinetik)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached video test_case.webm
Running the attached test case in a debug build will trigger the following assertion:

firefox: /builds/slave/m-cen-l64-asan-d-ntly-00000000/build/src/media/libnestegg/src/nestegg.c:2419: int nestegg_read_packet(nestegg *, nestegg_packet **): Assertion `read_block == (pkt != ((void*)0))' failed.
Attached file call_stack.txt
Flags: needinfo?(kinetik)
Assignee: nobody → kinetik
Flags: needinfo?(kinetik)
Blocks: 1267513
The assert triggered here, which I added in bug 1267513, is incorrect.  It should be:

        assert(read_block == (*pkt != NULL));
Attached file fix assert
Attachment #8748029 - Flags: review?(giles)
Thanks Matthew!

Verified fixed with nestegg commit 046e10f
Comment on attachment 8748029 [details]
fix assert

oops!
Attachment #8748029 - Flags: review?(giles) → review+
Status: NEW → ASSIGNED
This landed with the libnestegg update in bug 1261900.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: