Giter Site home page Giter Site logo

Comments (5)

falkTX avatar falkTX commented on August 11, 2024

scr309

screenshot of the connections required for the crash

from jack2.

sletz avatar sletz commented on August 11, 2024

Dmitry Baikov wrote this code… back in 2007. Not sure he even read this list anymore.

Any way for you to debug the code yourself with the test case you have?

Stéphane

Le 21 déc. 2013 à 05:41, falkTX [email protected] a écrit :

I'm having a crash (assertion failure) in latest git jack2 code.

it crashes during jack_port_get_buffer function.
Running the app normally prints to terminal:
jack_midi_dump: ../common/JackMidiPort.cpp:130: void Jack::MidiBufferMixdown(void_, void__, int, jack_nframes_t): Assertion `next_event != 0' failed.
and through GDB:
0x00007ffff6af2302 in _GI___assert_fail (assertion=0x7fffe92e8fbb "next_event != 0", file=0x7fffe92e8fa0 "../common/JackMidiPort.cpp", line=130, function=0x7fffe92e8fe0 "void Jack::MidiBufferMixdown(void, void**, int, jack_nframes_t)") at assert.c:101

I was able to get a simple test for the crash (in Linux).

  1. run any kind of jack-midi generator (sequencer, keyboard, etc)
  2. run another client that has jack-midi-out, but this one doesn't need to output any events.
    (I'm using "jack_midiseq EmptySequencer 1 24000 0 60")
  3. run "jack_midi_dump" twice
  4. connect the midi generator out port to both midi-monitor in ports, same thing for midiseq
  5. generate/play some events for a few seconds

a single or both jack_midi_dump tools will abort due to an assertion failure.


Reply to this email directly or view it on GitHub.

from jack2.

falkTX avatar falkTX commented on August 11, 2024

I'll build jack2 in debug mode and see what I can find about this.
I'm not sure what's the best way to debug this though, any tips?

from jack2.

7890 avatar 7890 commented on August 11, 2024

@falkTX the described setup seems to work (now) as expected in jackd 1.9.12, please confirm.

from jack2.

falkTX avatar falkTX commented on August 11, 2024

Ah yes, this was handled in fb87a14
assert in a library used by others is not very nice..

from jack2.

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.