{"action":"created","issue":{"url":"https://api.github.com/repos/ayyi/samplecat/issues/14","labels_url":"https://api.github.com/repos/ayyi/samplecat/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ayyi/samplecat/issues/14/comments","events_url":"https://api.github.com/repos/ayyi/samplecat/issues/14/events","html_url":"https://github.com/ayyi/samplecat/issues/14","id":91572798,"number":14,"title":"crashing a lot","user":{"login":"mrVanDalo","id":839693,"avatar_url":"https://avatars.githubusercontent.com/u/839693?v=3","gravatar_id":"","url":"https://api.github.com/users/mrVanDalo","html_url":"https://github.com/mrVanDalo","followers_url":"https://api.github.com/users/mrVanDalo/followers","following_url":"https://api.github.com/users/mrVanDalo/following{/other_user}","gists_url":"https://api.github.com/users/mrVanDalo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrVanDalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrVanDalo/subscriptions","organizations_url":"https://api.github.com/users/mrVanDalo/orgs","repos_url":"https://api.github.com/users/mrVanDalo/repos","events_url":"https://api.github.com/users/mrVanDalo/events{/privacy}","received_events_url":"https://api.github.com/users/mrVanDalo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-28T08:44:07Z","updated_at":"2015-07-05T13:39:14Z","closed_at":null,"body":"I'm using samplecat for the first time now in a serious way. And it is crashing a lot. My Distro is Funtoo, and I'm using an ebuild which is similar to your 2.4 build script [link](https://github.com/myDistro/audio-overlay/blob/master/media-sound/samplecat/samplecat-0.2.4.ebuild)\r\n\r\nI'm getting a lot of crashes lately, and it looks like the player runs out of jack ports. Also when I'm opening patchage, I can't see the player in there, so I guess it's creating a new one every time I play a sample, which might not be the best idea.\r\n\r\nHere are some stacktraces : \r\n\r\nRun 01 (without -v1)\r\n\r\n> Samplecat. Version 0.2.4\r\n> database is sqlite.\r\nwarning: default icon theme appears not to contain audio mime-type icons\r\nauditioner: JACK playback.\r\nCannot lock down 82274202 byte memory area (Cannot allocate memory)\r\nRubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\nRubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20 (repeats a lot) \r\nRubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\nunregistering a port 32 that is not own by the client\r\njack_port_unregister called with an incorrect port 0\r\nSegmentation fault\r\n\r\nRun 02 (with -v1)\r\n\r\n> Samplecat. Version 0.2.4\r\nusing debug level: 1\r\nconfig loaded.\r\napplication_search()...\r\nicon_theme_set_theme(): setting theme: .\r\nsqlite__connect()...\r\ndatabase is sqlite.\r\nworker_thread(): new worker thread.\r\ngdl_dock_item_new(): Library\r\ngdl_dock_object_dock()...\r\ngdl_dock_object_dock(): done\r\ngdl_dock_item_new(): Search\r\ngdl_dock_object_dock()...\r\ngdl_dock_item_dock()...\r\nwarning: gdl_dock_item_dock(): using allocation of unrealized widget\r\ngdl_dock_item_dock(): req.width _not_ set. using width from object_req: 1\r\ngdl_dock_item_dock(): available_space set from parent_req.width: 1\r\ngdl_dock_item_dock(): GDL_DOCK_LEFT/RIGHT: pref_size set from req.width\r\ngdl_dock_object_dock()...\r\ngdl_dock_object_dock(): done\r\n(bla bla bla bla ..... )\r\nRubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\njack_player_thread(): end of file.\r\napplication_play_next()...\r\napplication_play_next(): play_all finished.\r\napplication_stop()...\r\nPLAY STOP\r\nwindow_on_selection_change()...\r\ninspector_update()...\r\napplication_play(): Kick SessionX 1 V6.wav\r\n> JACKaudiooutputinit(): JACK connect to 'system:playback_'\r\n> \r\n> RubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\nRubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\nwindow_on_selection_change()...\r\ninspector_update()...\r\napplication_play(): Kick Exile 13.wav\r\n> JACKaudiooutputinit(): JACK connect to 'system:playback_'\r\n> \r\n> RubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\nRubberBandPitchShifter::runImpl: buffer underrun: required = 1024, available = 20\r\njack_player_thread(): end of file.\r\nwindow_on_selection_change()...\r\ninspector_update()...\r\napplication_play(): Kick Apparat 12.wav\r\nunregistering a port 32 that is not own by the client\r\nJACKaudiooutputinit(): no more jack ports availabe.\r\njack_port_unregister called with an incorrect port 0\r\n> jack_port_unregister called with an incorrect port 0\r\n> \r\n> Segmentation fault\r\n"},"comment":{"url":"https://api.github.com/repos/ayyi/samplecat/issues/comments/118621394","html_url":"https://github.com/ayyi/samplecat/issues/14#issuecomment-118621394","issue_url":"https://api.github.com/repos/ayyi/samplecat/issues/14","id":118621394,"user":{"login":"x42","id":30246,"avatar_url":"https://avatars.githubusercontent.com/u/30246?v=3","gravatar_id":"","url":"https://api.github.com/users/x42","html_url":"https://github.com/x42","followers_url":"https://api.github.com/users/x42/followers","following_url":"https://api.github.com/users/x42/following{/other_user}","gists_url":"https://api.github.com/users/x42/gists{/gist_id}","starred_url":"https://api.github.com/users/x42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x42/subscriptions","organizations_url":"https://api.github.com/users/x42/orgs","repos_url":"https://api.github.com/users/x42/repos","events_url":"https://api.github.com/users/x42/events{/privacy}","received_events_url":"https://api.github.com/users/x42/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T13:39:14Z","updated_at":"2015-07-05T13:39:14Z","body":"FWIW http://gareus.org/gitweb/?p=jplay2.git"}}