ffmpeg Malloc check failed(core dump) on armv7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ffmpeg Malloc check failed(core dump) on armv7

Melody
Hi
I am running ffmpeg(the latest source code from github) on armv7 qnx. It
occasionally core dump with the debug log:
#ffmpeg -i imput.mp4 -y -an -sn -vf scale=-1:338 output.mp4

console:
  Malloc check faild
  Abort (core dumped)

debug log:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    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), 1 reference frame (avc1
/ 0x31637661), yuv420p(left), 1280x720, 0/1, 3277 kb/s, 30 fps, 30 tbr, 600
tbn, 60 tbc (default)
    Metadata:
      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_malloc1_g.mp4.
Applying option sn (disable subtitle) with argument 1.
Applying option an (disable audio) with argument 1.
Applying option c:v (codec name) with argument mpeg4.
Applying option vf (set video filters) with argument scale=720:338.
Successfully parsed a group of options.

[.....][
Parsed_scale_0 @ 13c9ca0] w:720 h:338 flags:'bicubic' interl:0
[graph 0 input from stream 0:0 @ 12093f0] Setting 'video_size' to value
'1280x720'
[graph 0 input from stream 0:0 @ 12093f0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 12093f0] Setting 'time_base' to value
'1/600'
[graph 0 input from stream 0:0 @ 12093f0] Setting 'pixel_aspect' to value
'0/1'
[graph 0 input from stream 0:0 @ 12093f0] Setting 'sws_param' to value
'flags=2'
[graph 0 input from stream 0:0 @ 12093f0] Setting 'frame_rate' to value
'30/1'
[graph 0 input from stream 0:0 @ 12093f0] w:1280 h:720 pixfmt:yuv420p
tb:1/600 fr:30/1 sar:0/1 sws_param:flags=2
[format @ 1209160] compat: called with args=[yuv420p]
[format @ 1209160] Setting 'pix_fmts' to value 'yuv420p'

There is no useful info on gdb:

#0  0x0103e3c8 in T.363 () from
/opt/qnx650/target/qnx6/armle-v7/lib/libc.so.3
(gdb) bt
#0  0x0103e3c8 in T.363 () from
/opt/qnx650/target/qnx6/armle-v7/lib/libc.so.3
#1  0x0108908c in ?? ()
Backtrace stopped: frame did not save the PC
(gdb)

Could you have a look at it? Thank you very much!




--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg Malloc check failed(core dump) on armv7

Carl Eugen Hoyos-2
2017-09-06 12:52 GMT+02:00 Melody <[hidden email]>:
> Hi
> I am running ffmpeg(the latest source code from github) on armv7 qnx.

> It occasionally core dump with the debug log:

You mean it does not always fail for the given file?

> #ffmpeg -i imput.mp4 -y -an -sn -vf scale=-1:338 output.mp4

Does it also fail for an internal encoder?
What about --disable-asm?

> console:
>   Malloc check faild
>   Abort (core dumped)

Does valgrind or an alternative exist for this target?
Or an emulator?
(What would be an example device? Is there a shell or how
do you test?)

> debug log:

Please provide the complete, uncut console output, not an excerpt.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".