View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000347 | JVT JM H.264/AVC reference software | encoder | public | 2015-03-23 22:55 | 2015-04-13 15:06 |
Reporter | Eymen Kurdoglu | Assigned To | Karsten Suehring | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Product Version | JM 18.6 | ||||
Fixed in Version | JM 19.0 | ||||
Summary | 0000347: "double free" crash in the low-delay mode | ||||
Description | The encoder crashes after encoding the first IDR frame when I'm trying to implement a low-delay hierarchical-P coding structure. The configuration file I'm using is attached. Below is the terminal output: 00000(IDR) 47904 168 0 28 6 39.002 43.168 42.430 52 0 FRM 396 0 0 0 0 3 *** Error in `./lencod.exe': double free or corruption (fasttop): 0x0000000002dc7260 *** Aborted (core dumped) | ||||
Steps To Reproduce | I'm using the CREW_352x288_30_orig_01.yuv test file. | ||||
Additional Information | $ uname -a Linux eymen-iMac 3.13.0-49-generic 0000081-Ubuntu SMP Tue Mar 24 19:29:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $ gcc -version gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||||
Tags | No tags attached. | ||||
|
|
|
The free_pointer() function tries to set the pointer to NULL, but since the pointer is no reference, only the local copy is set to NULL. I have modified the code on my branch to use free() and set the pointer to NULL after the free() call. Another workaround is to set MVC_EXTENSION_ENABLE to zero (unless you need stereo). C++ with references would be nice here... I'm a bit concerned about other uses of free_pointer(). |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-23 22:55 | Eymen Kurdoglu | New Issue | |
2015-03-23 22:55 | Eymen Kurdoglu | File Added: encoder_hPP.cfg | |
2015-04-12 21:23 | Eymen Kurdoglu | Platform | iMac => x86_64 GNU/Linux |
2015-04-12 21:23 | Eymen Kurdoglu | Additional Information Updated | |
2015-04-13 15:06 | Karsten Suehring | Note Added: 0000620 | |
2015-04-13 15:06 | Karsten Suehring | Status | new => resolved |
2015-04-13 15:06 | Karsten Suehring | Fixed in Version | => JM 19.0 |
2015-04-13 15:06 | Karsten Suehring | Resolution | open => fixed |
2015-04-13 15:06 | Karsten Suehring | Assigned To | => Karsten Suehring |