Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 10-01-2018, 05:34 PM   #1
reddiesel41264
Human being with feelings
 
reddiesel41264's Avatar
 
Join Date: Jan 2012
Location: North East UK
Posts: 493
Default Plugin causes segmentation fault

Hi,

I'm developing a VSTi plugin in HISE (which is built on JUCE). When I add the plugin to a path that Reaper scans and I open Reaper, I get the usual splash screen and then Reaper closes. If I opened Reaper in the console I get the following message
Code:
Segmentation fault (core dumped)
And dmesg gives
Code:
[48775.872778] thumb cache[3252]: segfault at 7f9c56bd18c4 ip 00007f9c56bd18c4 sp 00007f9c47ffedc0 error 14 in reaper_explorer.so[7f9c56a91000+200000]
[48780.655018] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:c0:05:c2:5d:b3:80:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=47926 PROTO=2
Now if after this instant close thing has happened I relaunch Reaper the problem has gone, Reaper opens just fine, and I can use and access my plugin as if nothing has happened.

I'm on Linux Mint 19 64bit, Running the latest 64bit stable native Linux Reaper. You can download the plugin from here for testing - https://github.com/davidhealey/libre...winds/releases.
__________________
http://librewave.com - Freedom respecting instruments and effects
http://xtant-audio.com/ - Purveyor of fine sample libraries (and Kontakt scripting tutorials)
reddiesel41264 is offline   Reply With Quote
Old 11-11-2018, 03:37 PM   #2
s wave
Human being with feelings
 
Join Date: Sep 2018
Location: Colorado
Posts: 429
Default could it be routing or xruns or buffer?

I am no expert but maybe it has to re-route... hence the second time works...? I had a problem with program that did not like how pulse and alsa were interacting... I got rid of pulse and it worked... so then I found where pulse was ove-riding ALSA in message log - Because I still wanted pulse for other things... I changed pulse routing to take second fiddle and it was solved.

(maybe it is defaulting back to setting?) so if you start your pc up and use the plug in it fails... second time works... how about the third time? all info can help)

Another time I had a midi controller that would not connect... in message log I found out it was xlogging and cutting off at that point... so I changed the amount of allowable xruns... (higher amount allowable of xruns) and that solved the problem.

and one time I could not get DAW going with JACK - increasing the buffer size solved that...gl hope it helps.
s wave is offline   Reply With Quote
Old 11-11-2018, 04:00 PM   #3
reddiesel41264
Human being with feelings
 
reddiesel41264's Avatar
 
Join Date: Jan 2012
Location: North East UK
Posts: 493
Default

Quote:
Originally Posted by s wave View Post
I am no expert but maybe it has to re-route... hence the second time works...? I had a problem with program that did not like how pulse and alsa were interacting... I got rid of pulse and it worked... so then I found where pulse was ove-riding ALSA in message log - Because I still wanted pulse for other things... I changed pulse routing to take second fiddle and it was solved.

(maybe it is defaulting back to setting?) so if you start your pc up and use the plug in it fails... second time works... how about the third time? all info can help)

Another time I had a midi controller that would not connect... in message log I found out it was xlogging and cutting off at that point... so I changed the amount of allowable xruns... (higher amount allowable of xruns) and that solved the problem.

and one time I could not get DAW going with JACK - increasing the buffer size solved that...gl hope it helps.
Hi, thanks for the tips. I actually solved the issue (I forgot to update this post). It turned out to be the plugin that was at fault and nothing to do with Reaper.
__________________
http://librewave.com - Freedom respecting instruments and effects
http://xtant-audio.com/ - Purveyor of fine sample libraries (and Kontakt scripting tutorials)
reddiesel41264 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.