Menu

#1075 Crash - static ffmpeg using ffmpeg and .mp4, matroska formats

v3.2
closed-out-of-date
nobody
None
Linux
FFMPEG
2025-02-28
2018-11-17
pottendo
No

hi,

building with static ffmpeg on Ubuntu 18.10 leads to crash when trying to use ffmpeg with formats .mp4 or .matroska - others (.avi, etc.) seem to work.

here's the bt:

Thread 49 "x64" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffae709700 (LWP 21651)]
0x0000555556142342 in x264_slicetype_slice_cost ()
(gdb) bt
#0  0x0000555556142342 in x264_slicetype_slice_cost ()
#1  0x00005555560fcde6 in x264_stack_align ()
#2  0x00005555560f61f7 in x264_threadpool_thread ()
#3  0x00007ffff69b4164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007ffff5509def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Discussion

  • compyx

    compyx - 2018-12-08

    I've tested this on Ubuntu 18.10 in a VBox VM, recording of avi and mp4 work both using static and external ffmpeg. No segfaults, and playing the videos on my host with VLC works. (Trying to play them inside my VM causes immediate crashes, seems to be VBox issue).

    My test cases were ~10 seconds of the blinking cursor on the x64sc boot screen.

     
  • nurpax

    nurpax - 2019-03-26

    I have the same problem. Fresh build with

    ./configure --enable-native-gtk3ui --enable-static-ffmpeg --prefix $HOME/vice-3.3

    and the same h264 slicetype_slice_cost segfault.

     
  • gpz

    gpz - 2021-10-26

    Does this still happen?

     
  • gpz

    gpz - 2021-10-26
    • status: open --> open-need-info
     
  • compyx

    compyx - 2025-02-28
    • status: open-need-info --> closed-out-of-date
     
  • compyx

    compyx - 2025-02-28

    No activity in years and statically linking against ffmpeg was removed from VICE years ago. Closing.

     

Log in to post a comment.