popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.01k stars 334 forks source link

Enforce_error #381

Open ha5di opened 8 years ago

ha5di commented 8 years ago

Build looks OK, but when I try to play a video it aborts with 'Enforce_error'. No other info displayed. I know it is not much input, but what can be wrong?

Thanks... Béla

popcornmix commented 8 years ago

Did you build yourself? What distribution and version of gcc did you use?

ha5di commented 8 years ago

Hi,

it is built myself successfuly on piCore-7.0 running on RPi2. Build looks OK including ffmpeg. However running

omxplayer -p -o hdmi video_file

in a ternimal I get the following error message:

terminate called after throwing an instance of 'Enforce_error' Video codec omx-h264 width 1280 height 692 profile 100 fps 24.000000 /usr/bin/omxplayer: line 67: 27660 Aborted LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@"

popcornmix commented 8 years ago

See: https://github.com/huceke/omxplayer/issues/71 Probably too old a version of gcc.

ha5di commented 8 years ago

It is GCC 5.2.0, the latest. Will try in piCore-6 with GCC 4.9.2

ha5di commented 8 years ago

Rebuilt with GCC 4.9.2 and a different glibc, result is exactly the same. What 'Enforce_error' means? I have never seen it before. I think something is not configured propery itself. Does omxplayer require a setting in config.txt or a kernel module?

torarin commented 8 years ago

This means there is an uncaught Enforce_error exception. Can you try wrapping the whole main function in a try-catch block and print the output of the exception what() function to see where in the code it was thrown?

jehutting commented 7 years ago

@ha5di Are you already able to run omxplayer without the Enforce_error?