Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#9309 closed defect (worksforme)

Static build segmentation fault on CentOS 8.4 when using rtmp

Reported by: Matt Owned by:
Priority: important Component: undetermined
Version: unspecified Keywords: rtmp crash
Cc: Matt Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Segmentation fault is generated immediately when trying to use rtmp features with ffmpeg static build. I've replicated the problem on ffmpeg 4.3, 4.4 and the master static builds.

How to reproduce:

This is really simple to reproduce. Using a new CentOS 8 (8.4) VM from Vultr.

How to reproduce:

wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz;
tar xf ffmpeg-release-amd64-static.tar.xz;
ffmpeg-4.4-amd64-static/ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app

Produces the following output:

ffmpeg version 4.4-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Segmentation fault (core dumped)

Valgrind output:

[root@vultrguest ~]# valgrind ffmpeg-4.4-amd64-static/ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app
==21193== Memcheck, a memory error detector
==21193== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==21193== Using Valgrind-3.16.0 and LibVEX; rerun with -h for copyright info
==21193== Command: ffmpeg-4.4-amd64-static/ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app
==21193==
==21193== Syscall param set_robust_list(head) points to uninitialised byte(s)
==21193==    at 0x133E42D: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94583: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==  Address 0x5784c70 is in the brk data segment 0x5784000-0x57852bf
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1BCE4E4: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C4321A: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C46C3E: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C491C0: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945BD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1BCE589: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C4321A: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C46C3E: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C491C0: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945BD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1BCC89C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1BCD734: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1BCE593: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C4321A: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C46C3E: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C491C0: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945BD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B2600C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B275F9: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B2600C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27054: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B276AF: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B27097: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B276AF: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B2600C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B26945: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27719: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B26977: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27719: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B2600C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B26DA7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27722: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B26BB8: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27722: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B2600C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B26D8F: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27722: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1B26D3C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B27722: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C26EC: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x19C2BCE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94CC3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B945F2: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
ffmpeg version 4.4-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1BFB0C9: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1BB615D: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1BC384F: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1BBC3FE: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x12244F3: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1224971: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4C4B33: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AB7A7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94650: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1C05CE7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x12245F0: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1224971: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4C4B33: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AB7A7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94650: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1BFB0C9: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1BBE094: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1224735: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1224971: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4C4B33: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AB7A7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1B94650: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x4AF509: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1FFF000437: ???
==21193==
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
==21193== Conditional jump or move depends on uninitialised value(s)
==21193==    at 0x1C34D1C: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C2797E: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C28E76: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x84A2AD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x7320BD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x732362: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x81F6F7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x731F50: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x732362: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x735B4F: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x80D349: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x85D262: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==
==21193== Invalid read of size 1
==21193==    at 0x5F92BD0: __nss_readline (in /usr/lib64/libnss_files-2.28.so)
==21193==    by 0x5F8D833: internal_getent (in /usr/lib64/libnss_files-2.28.so)
==21193==    by 0x5F8EC71: _nss_files_gethostbyname4_r (in /usr/lib64/libnss_files-2.28.so)
==21193==    by 0x1C27E49: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C28E76: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x84A2AD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x7320BD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x732362: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x81F6F7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x731F50: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x732362: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x735B4F: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==  Address 0x63 is not stack'd, malloc'd or (recently) free'd
==21193==
==21193==
==21193== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==21193==  Access not within mapped region at address 0x63
==21193==    at 0x5F92BD0: __nss_readline (in /usr/lib64/libnss_files-2.28.so)
==21193==    by 0x5F8D833: internal_getent (in /usr/lib64/libnss_files-2.28.so)
==21193==    by 0x5F8EC71: _nss_files_gethostbyname4_r (in /usr/lib64/libnss_files-2.28.so)
==21193==    by 0x1C27E49: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x1C28E76: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x84A2AD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x7320BD: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x732362: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x81F6F7: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x731F50: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x732362: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==    by 0x735B4F: ??? (in /root/ffmpeg-4.4-amd64-static/ffmpeg)
==21193==  If you believe this happened as a result of a stack
==21193==  overflow in your program's main thread (unlikely but
==21193==  possible), you can try to increase the size of the
==21193==  main thread stack using the --main-stacksize= flag.
==21193==  The main thread stack size used in this run was 8388608.
==21193==
==21193== HEAP SUMMARY:
==21193==     in use at exit: 0 bytes in 0 blocks
==21193==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==21193==
==21193== All heap blocks were freed -- no leaks are possible
==21193==
==21193== Use --track-origins=yes to see where uninitialised values come from
==21193== For lists of detected and suppressed errors, rerun with: -s
==21193== ERROR SUMMARY: 18 errors from 18 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)

Change History (4)

comment:1 by Carl Eugen Hoyos, 12 months ago

Component: ffmpegundetermined
Keywords: crash added; RTMP librtmp rtmpe rtmps removed
Priority: criticalimportant
Resolution: worksforme
Status: newclosed

Please understand that there is no release support on this bug tracker and that a backtrace without debug symbols is useless.

$ ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app
ffmpeg version N-102809-gde8e6e67e7 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  3.100 / 59.  3.100
  libavformat    59.  3.101 / 59.  3.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.103 /  8.  0.103
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100

(no crash)

comment:2 by Matt, 12 months ago

Hi,

I've built ffmpeg on CentOS 8.4 from source and there is no problem. It appears to be an issue with the static build only however as far as i'm aware there are no debug symbols for the static build. I understand this might not be the right place to report an issue with the ffmpeg static builds for centos but could you tell me where then if not here?

comment:3 by Gyan, 12 months ago

Run with only a current master build and reproduce. Don't build with --disable-debug.

comment:4 by Carl Eugen Hoyos, 12 months ago

I can neither reproduce with musl nor with static glibc.

Note: See TracTickets for help on using tickets.