Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Crashed sometimes at av_packet_unref #2

Closed
peilinok opened this issue Nov 18, 2019 · 6 comments
Closed

Crashed sometimes at av_packet_unref #2

peilinok opened this issue Nov 18, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@peilinok
Copy link
Owner

the app will crash at av_packet_unref sometimes

@peilinok peilinok added the bug Something isn't working label Nov 18, 2019
peilinok pushed a commit that referenced this issue Nov 21, 2019
@peilinok
Copy link
Owner Author

still have heap corruption issue

@peilinok
Copy link
Owner Author

run c:\Program Files (x86)\Windows Kits\10\Debuggers\x64\gflags.exe /p /enable Test.exe /full to enable heap check

@peilinok
Copy link
Owner Author

GFlags
GFlags and PageHeap

@peilinok
Copy link
Owner Author

===========================================================
VERIFIER STOP 00000007: pid 0x56958: block already freed

09E51000 : Heap handle
34E406B4 : Heap block
00000093 : Block size
00000000 : 

===========================================================
This verifier stop is not continuable. Process will be terminated
when you use the `go' debugger command.

@peilinok
Copy link
Owner Author

peilinok commented Dec 4, 2019

still crash.......................................
any one can help?

@peilinok
Copy link
Owner Author

fixed by add lock in write_video&wite_audio,coz av_interleaved_write_frame will push packet into a packet queue,and lt is not thread safe

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant