bugAdvanced Gtk+ Sequencer - Bugs: bug #58117, segfault on pressing play button

 
 

bug #58117: segfault on pressing play button

Submitter:  Milk <milk>
Submitted:  Sun 05 Apr 2020 12:07:40 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jkraehemann
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 26 Aug 2022 04:13:35 PM UTC, comment #11: 

in the hope you test it next time :-/

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 05:25:41 PM UTC, comment #10: 

Just released v3.2.5, please test if it works for you.

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 10:29:19 AM UTC, comment #9: 

Hi,

This works for me:

(file #48760)

I just tested the plugin ;)

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 09:34:55 AM UTC, comment #8: 

Hi,

One more attempt ...

(file #48759)

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 09:20:48 AM UTC, comment #7: 

sorry, forget the previous patch :/

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 09:18:55 AM UTC, comment #6: 

I just try a different URI, it is still compiling ...

(file #48758)

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 08:26:54 AM UTC, comment #5: 

By the way LV2 Options are supported by GSequencer, but looking at:

https://github.com/DISTRHO/DPF-Plugins/blob/master/dpf/distrho/src/DistrhoPluginLV2.cpp#L1137

I am not sure what drive him, as writing this code.

We use the LV2_OPTIONS_URI as URI.

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 08:08:02 AM UTC, comment #4: 
Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 07:58:19 AM UTC, comment #3: 

Thanks, I'll try that later today.

Plugin is from https://github.com/ryukau/LV2Plugins and available in the AUR as uhhyou.lv2-git

Though the problem still happens if I don't use that plugin.

Milk <milk>
Sun 05 Apr 2020 07:53:03 AM UTC, comment #2: 

Hi,

do you have any instructions to install:

/usr/lib/lv2/FDNCymbal.lv2/FDNCymbal_dsp.so

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 07:10:11 AM UTC, comment #1: 

Hi,

This should be fixed:


Unable to set buffer size 1024 for playback: Invalid argument


Here is a sample jack configuration, make sure buffer-size matches to your Jack configuration.

$HOME/.gsequencer/ags.conf


[generic]
disable-feature=experimental
autosave-thread=false
segmentation=4/4
engine-mode=performance
rt-safe=true
gui-scale=1.0

[soundcard-0]
backend=jack
capability=playback
buffer-size=512
pcm-channels=2
format=16
samplerate=44100
device=ags-jack-devout-0

[recall]
auto-sense=true

[thread]
model=super-threaded
super-threaded-scope=audio
lock-global=ags-thread
lock-parent=ags-recycling-thread
thread-pool-max-unused-threads=4
max-precision=250


This is probably to source of the crash:


Options feature missing, cannot continue!


Could you send me the .ttl file of the plugin and its UI, please?

Joël Krähemann <jkraehemann>
Group administrator
Sun 05 Apr 2020 12:07:40 AM UTC, original submission:  

I basically added a matrix, had that running, added a synth then a mixer, then I pressed the play button lower down.


* (gsequencer:983393): WARNING *: 00:59:28.964: ags_jack_devout_realloc_buffer() - card uri not set

* (gsequencer:983393): WARNING *: 00:59:28.965: ags_jack_devout_realloc_buffer() - card uri not set
** Message: 00:59:28.982: Can't get the next card number: Success
** Message: 00:59:28.983: Advanced Gtk+ Sequencer JACK client already open

* (gsequencer:983393): WARNING *: 00:59:54.534: Unable to set buffer size 1024 for playback: Invalid argument

* (gsequencer:983393): WARNING *: 00:59:54.956: Unable to set buffer size 1024 for playback: Invalid argument

* (gsequencer:983393): WARNING *: 00:59:55.160: Unable to set buffer size 1024 for playback: Invalid argument

* (gsequencer:983393): WARNING *: 00:59:55.361: Unable to set buffer size 1024 for playback: Invalid argument

* (gsequencer:983393): WARNING *: 00:59:55.557: Unable to set buffer size 1024 for playback: Invalid argument

* (gsequencer:983393): WARNING *: 00:59:55.729: Unable to set buffer size 1024 for playback: Invalid argument
** Message: 00:59:56.533: machine: on

* (gsequencer:983393): WARNING *: 00:59:56.588: Unable to set buffer size 1024 for playback: Invalid argument
** Message: 01:00:13.904: open /usr/lib/lv2/FDNCymbal.lv2/FDNCymbal_dsp.so
Options feature missing, cannot continue!
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/parameters#sampleRate
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/atom#Float
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/buf-size#minBlockLength
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/atom#Int
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/buf-size#maxBlockLength
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/buf-size#boundedBlockLength
** Message: 01:00:14.002: new uri http://lv2plug.in/ns/ext/buf-size#fixedBlockLength

* (gsequencer:983393): WARNING *: 01:02:44.717: Unable to set buffer size 1024 for playback: Invalid argument
Options feature missing, cannot continue!
zsh: segmentation fault (core dumped)  gsequencer
gsequencer  979.03s user 104.07s system 141% cpu 12:47.67 total


https://gist.github.com/mxmilkb/0cc3543535bc0326590539de292466bd

Milk <milk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #48760:  gsequencer-lv2-options.patch added by jkraehemann (2KiB - text/x-patch - GSequencer LV2_OPTIONS patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jkraehemann (Updated the item)
  • -email is unavailable- added by milk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-08-26 jkraehemann StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-04-05 jkraehemann StatusNone Ready For Test
    2020-04-05 jkraehemann Attached File- Added gsequencer-lv2-options.patch, #48760
    2020-04-05 jkraehemann Attached File#48759 Removed
    2020-04-05 jkraehemann Attached File- Added gsequencer-lv2-options.patch, #48759
    2020-04-05 jkraehemann Attached File#48758 Removed
    2020-04-05 jkraehemann Attached File- Added gsequencer-lv2-options.patch, #48758
    2020-04-05 jkraehemann Assigned toNone jkraehemann

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code