Git Product home page Git Product logo

Comments (6)

1480c1 avatar 1480c1 commented on May 26, 2024

Here's the travis build if needed: https://travis-ci.org/1480c1/SVT-HEVC/jobs/500999806

from svt-hevc.

1480c1 avatar 1480c1 commented on May 26, 2024

I understand that it related to the program trying to access a part of the memory that it isn't allocated to. However I'm not exactly sure why. I'm guessing it's due to the differences in Mac and Linux, however, I'm not exactly sure where to start.

from svt-hevc.

hassount avatar hassount commented on May 26, 2024

@1480c1
All memory is allocated at init time and all pointers are kept track of in a memory table. It seems that in your case one/ many of the pointer addresses has been moved during the encode and therefore it's not being found at the de-init time.
Now as you see this in mac and not linux, I suggest you start by checking out the semaphores / thread handles. those would be the main difference. I suggest you look as the way they are allocated in SVT-AV1, which has been debugged properly.

from svt-hevc.

1480c1 avatar 1480c1 commented on May 26, 2024

Thank you, I'll see if they are the same or at least similar and start from there.

from svt-hevc.

1480c1 avatar 1480c1 commented on May 26, 2024

Found out that I had not added || __APPLE__ to some of the lines in EbThreads so that fixed the that part, now I'm on

Process 31051 stopped
* thread #2, stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x000000010013a7e5 libSvtHevcEnc.1.dylib`EbFifoPopFront(fifoPtr=0x000000015d746850, wrapperPtr=0x000070000e3f3ea0) at EbSystemResourceManager.c:78
   75  	    fifoPtr->lastPtr = (fifoPtr->firstPtr == fifoPtr->lastPtr) ? (EbObjectWrapper_t*) EB_NULL: fifoPtr->lastPtr;
   76  	
   77  	    // Update head of BufferPool
-> 78  	    fifoPtr->firstPtr = fifoPtr->firstPtr->nextPtr;
   79  	
   80  	    return return_error;
   81  	}
Target 0: (SvtHevcEncApp) stopped.

I'm going to try to see I forgot any other __APPLE__s

from svt-hevc.

tianjunwork avatar tianjunwork commented on May 26, 2024

#38

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.