Git Product home page Git Product logo

Comments (7)

hassount avatar hassount commented on May 27, 2024

@mypopydev
Thank you for reporting this. the Seg fault was fixed in another branch and has now been ported to the new_api branch:
3559cf8

from svt-hevc.

mypopydev avatar mypopydev commented on May 27, 2024

@hassount After use the commit 3559cf8, stil have the carsh

./SvtHevcEncSimpleApp ~/Videos/1920x1080_400_yuv420p.yuv test.h265 1920 1080 8
-------------------------------------
SVT-HEVC Encoder Simple Sample Application v1.2.0
Platform:   64 bit
Compiler: GCC
APP Build date: Nov 22 2018 14:11:44
LIB Build date: Nov 22 2018 14:10:50
-------------------------------------

[WARNING] For best speed performance, run with sudo privileges !

Number of cores available: 2
Number of PPCS 90
Encoding          Segmentation fault (core dumped)
 git branch -v
  apps        89df62d [ahead 2, behind 30] App/EbAppMain: add fail check for malloc/free.
  ffmpeg_hevc ae69575 work around for deadlock due to lacking reference and lookahead lock, non optimal
  master      16601c5 EbEncDecProcess: coding style refine
** * new_api     3559cf8 Fix Seg fault in linux due to missing compiler flag**
  run_ok      8d51cba Update README.txt

from svt-hevc.

mypopydev avatar mypopydev commented on May 27, 2024

This is my gcc/yasm version in Ubuntu 18.04:

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04) 
yasm --version
yasm 1.3.0
Compiled on Apr  3 2018.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

from svt-hevc.

hassount avatar hassount commented on May 27, 2024

@mypopydev
It seems that this is specific to GCC 7.3.0, as it we could not reproduce this with GCC 5.4.0.
we'll work on this right away.

from svt-hevc.

hassount avatar hassount commented on May 27, 2024

Issue addressed:
e697a16

from svt-hevc.

mypopydev avatar mypopydev commented on May 27, 2024

@hassount Now is working after applying e697a16

from svt-hevc.

mypopydev avatar mypopydev commented on May 27, 2024

@hassount close the issue now

from svt-hevc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.