Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE

This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Malloc Check Failed core dump on Qnx/armv7le

Discussions about problems encountered using ffmpeg.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Malloc Check Failed core dump on Qnx/armv7le

Postby Melody » Tue Sep 05, 2017 6:35 am

I am suffering from a core dump when I run ffmpeg on qnx6.5/armv7le. I just want to modify a resolutiion of the input vedio.
It occurs occasionally.

Here is the command:

#ffmpeg -i input.mp4 -y -sn -an -c:v mpeg4 -r 25 -b:v 1000k -vf scale=-1:338 output.mp4

console output:

Malloc Check Failed: :/builds/workspace/PSP_kernel-libc-nvidia_brCustom_be650SP1/svn/lib/c/alloc/dlist.c:1171
Abort (core dumped)

report log:

[h264 @ eac4d0] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ eac4d0] Frame num gap 5 3
[mov,mp4,m4a,3gp,3g2,mj2 @ e7a490] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ e7a490] After avformat_find_stream_info() pos: 8964 bytes read:133126 seeks:2 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
creation_time : 2017-08-24T16:15:37.000000Z
Duration: 00:03:00.47, start: 0.000000, bitrate: 3280 kb/s
Stream #0:0(eng), 1, 1/600: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 3277 kb/s, 30 fps, 30 tbr, 600 tbn, 60 tbc (default)
creation_time : 2017-08-24T16:15:37.000000Z
handler_name : ^XApple Alias Data Handler
encoder : H.264
Successfully opened the file.
Parsing a group of options: output url output.mp4.
Applying option an (disable audio) with argument 1.
Applying option sn (disable subtitle) with argument 1.
Applying option c:v (codec name) with argument mpeg4.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25.
Applying option b:v (video bitrate (please use -b:v)) with argument 1000k.
Applying option vf (set video filters) with argument scale=-1:338.
Successfully parsed a group of options.
Opening an output file: output.mp4.

gdb bt:
[New pid 56848506 tid 1]
#0 0x01c9c3c8 in T.363 () from /opt/qnx650/target/qnx6/armle-v7/lib/libc.so.3
(gdb) bt
#0 0x01c9c3c8 in T.363 () from /opt/qnx650/target/qnx6/armle-v7/lib/libc.so.3
#1 0x000009f0 in ?? ()
Backtrace stopped: frame did not save the PC

(gdb) info all-registers
r0 0x0 0
r1 0x363707a 56848506
r2 0x1 1
r3 0x6 6
r4 0x0 0
r5 0x0 0
r6 0xff194 1044884
r7 0x1cde130 30269744
r8 0x1cddbe4 30268388
r9 0xfffff614 4294964756
r10 0x493 1171
r11 0xf04 3844
r12 0x1a 26
sp 0xff16c 0xff16c
lr 0x1c8ccbc 29936828
pc 0x1c9c3c8 0x1c9c3c8 <T.363+552>
f0 void void
f1 void void
f2 void void
f3 void void
f4 void void
f5 void void
f6 void void
f7 void void
fps 0x3f333333 1060320051
cpsr 0x20000010 536870928

Any information is appreciated. Thanks in advance.
Posts: 1
Joined: Mon Aug 07, 2017 12:03 am

Re: Malloc Check Failed core dump on Qnx/armv7le

Postby llogan » Tue Sep 05, 2017 5:48 pm

Please show the complete console output from your command. Use the code button to format it so it's easier to read due to my laziness threshold.
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
Posts: 2363
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska

Return to ffmpeg

Who is online

Users browsing this forum: Bing [Bot] and 7 guests