Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in 4412(armv7) #2567

Open
terrycheops opened this issue Sep 26, 2016 · 4 comments
Open

Crash in 4412(armv7) #2567

terrycheops opened this issue Sep 26, 2016 · 4 comments
Labels

Comments

@terrycheops
Copy link

I build a libopen264.a for 4412 and run it on the target. But it will crash.
And my code is like below:
if( iEncFrames == cmResultSuccess )
{
int iLayer = 0;
while( iLayer < sFbi.iLayerNum )
{
printf( "openh264-encode 55555555555555\n" );
SLayerBSInfo* pLayerBsInfo = &sFbi.sLayerInfo[iLayer];
printf( "openh264-encode 66666666666666\n" );
if( pLayerBsInfo != NULL )
{
printf( "openh264-encode 88888888888\n" );
int iLayerSize = 0;
int iNalIdx = pLayerBsInfo->iNalCount - 1;
do
{
printf( "openh264-encode pLayerBsInfo->pNalLengthInByte:%p\n",pLayerBsInfo->pNalLengthInByte );
iLayerSize += pLayerBsInfo->pNalLengthInByte[iNalIdx];

printf( "openh264-encode 0000000000000000\n" );

The console log is like below:
openh264-encode 1111111111111
openh264-encode 2222222222222
openh264-encode 55555555555555
openh264-encode 66666666666666
openh264-encode 88888888888
openh264-encode pLayerBsInfo->pNalLengthInByte:0x2

@shihuade
Copy link
Contributor

shihuade commented Nov 8, 2016

@terrycheops could you give more detail about your issue.

@ruil2
Copy link
Contributor

ruil2 commented Nov 8, 2016

@terrycheops

  1. which platform are you running on? please provide more platform info.
  2. if you use the release binary from cisco, Is there still this issue?
  3. if possible, you can attached openh264 internal trace here. thanks!

@ruil2 ruil2 added the needinfo label Nov 8, 2016
@terrycheops
Copy link
Author

terrycheops commented Dec 18, 2016 via email

@huili2
Copy link
Collaborator

huili2 commented Dec 16, 2022

could you please try the downloaded one and see if it's reproducible? It is strongly suggested that provided lib be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants