[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a se
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running |
Date: |
Wed, 14 Feb 2018 19:26:15 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 |
Follow-up Comment #9, bug #52996 (project octave):
I have a work in progress, diff attached.
jwe - would you mind taking a look at this? There are two changes, first
adding a static sentry object to make sure PortAudio is only initialized once,
and uninitialized at unload or exit. That part is simple and works.
The second change is to mlock whichever function calls Pa_Initialize the first
time, to avoid bad things happening with something like
>> p = audioplayer (...);
>> clear functions
>> play (p)
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault
But I have no known point at which I can call munlock. Should we add object
tracking so that we can safely munlock and allow these functions to be
unloaded if all corresponding audio objects have been cleared?
(file #43327)
_______________________________________________________
Additional Item Attachment:
File name: portaudio.diff Size:4 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52996>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, anonymous, 2018/02/01
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/01
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/02
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, anonymous, 2018/02/08
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/08
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, anonymous, 2018/02/11
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/11
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running,
Mike Miller <=
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/14
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, John W. Eaton, 2018/02/15
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/15
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/15
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, John W. Eaton, 2018/02/15
- [Octave-bug-tracker] [bug #52996] calling audiodevinfo() results in a segfault on exit when JACK sound server is running, Mike Miller, 2018/02/15