openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Crash in 4412(armv7)

Open terrycheops opened this issue 9 years ago • 4 comments

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

terrycheops avatar Sep 26 '16 13:09 terrycheops

@terrycheops could you give more detail about your issue.

shihuade avatar Nov 08 '16 05:11 shihuade

@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 avatar Nov 08 '16 05:11 ruil2

  1. the platform is arm-linux.
  2. I am not use hte release binary. i complate myself.
  3. how can i get the openh264 interfal trace.

At 2016-11-08 13:47:45, "ruil2" [email protected] wrote:

@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!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

terrycheops avatar Dec 18 '16 05:12 terrycheops

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

huili2 avatar Dec 16 '22 06:12 huili2