Code Monkey home page Code Monkey logo

Comments (4)

seb128 avatar seb128 commented on May 23, 2024

Trying under valgrind it gives

[  OK  ] MDCT
[  OK  ] Energy Band
[  OK  ] Bandwidth Detector
[  OK  ] Attack Detector
[  OK  ] Long Term Postfilter
*** stack smashing detected ***: terminated
==15678== 
==15678== Process terminating with default action of signal 6 (SIGABRT)
==15678==    at 0x49C35B6: __pthread_kill_implementation (pthread_kill.c:44)
==15678==    by 0x497221F: raise (raise.c:26)
==15678==    by 0x49537EF: abort (abort.c:79)
==15678==    by 0x49B629B: __libc_message (libc_fatal.c:155)
==15678==    by 0x4A50443: __fortify_fail (fortify_fail.c:26)
==15678==    by 0x4A50417: __stack_chk_fail (stack_chk_fail.c:24)
==15678==    by 0xA35C6FB: synthesize_py (sns_py.c:184)
==15678==    by 0x21FAFD: cfunction_call.lto_priv.0 (methodobject.c:552)
==15678==    by 0x215DE1: _PyObject_MakeTpCall (call.c:215)
==15678==    by 0x20D653: UnknownInlinedFun (abstract.h:112)
==15678==    by 0x20D653: UnknownInlinedFun (abstract.h:99)
==15678==    by 0x20D653: UnknownInlinedFun (abstract.h:123)
==15678==    by 0x20D653: UnknownInlinedFun (ceval.c:5891)
==15678==    by 0x20D653: _PyEval_EvalFrameDefault (ceval.c:4181)
==15678==    by 0x2206F5: UnknownInlinedFun (pycore_ceval.h:46)
==15678==    by 0x2206F5: UnknownInlinedFun (ceval.c:5065)
==15678==    by 0x2206F5: _PyFunction_Vectorcall (call.c:342)
==15678==    by 0x2062D9: UnknownInlinedFun (abstract.h:114)
==15678==    by 0x2062D9: UnknownInlinedFun (abstract.h:123)
==15678==    by 0x2062D9: UnknownInlinedFun (ceval.c:5891)
==15678==    by 0x2062D9: _PyEval_EvalFrameDefault (ceval.c:4213)

from liblc3.

seb128 avatar seb128 commented on May 23, 2024

and in gdb

#7  0x000003fff8d926fc in synthesize_py (m=<optimized out>, args=<optimized out>) at sns_py.c:184
        data_obj = {'lfcb': <numpy.int64 at remote 0x3fffd77e870>, 'hfcb': <numpy.int64 at remote 0x3fff62cafd0>, 'shape': <numpy.int64 at remote 0x3fff5cf92f0>, 'gain': <numpy.int64 at remote 0x3fff5cf9730>, 'idx_a': <numpy.int64 at remote 0x3fff5cfb7d0>, 'ls_a': True, 'idx_b': <numpy.int64 at remote 0x3fff5cf9530>, 'ls_b': True}
        x_obj = <numpy.ndarray at remote 0x3fff57fa190>
        data = {lfcb = 19, hfcb = 28, shape = 0, gain = 1, idx_a = 197475, idx_b = 0, ls_a = false, ls_b = false}
        dt = 0
        sr = 0
        x = 0x2aa0155d570

from liblc3.

asoulier avatar asoulier commented on May 23, 2024

Thanks for reporting this!
Unfortunately, I couldn't reproduce it.
I checked the stack's data and found a typo while converting Python object to C struct.
Are you able to check if the branch 14-spectral-noise-shaping-test-error-on-s390x fix it?
Thanks.

from liblc3.

seb128 avatar seb128 commented on May 23, 2024

Indeed it fixes the issue, thanks!

[ OK ] Spectral Noise Shaping

from liblc3.

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.