Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault on startup #907

Closed
srs4511351 opened this issue Jul 13, 2021 · 1 comment
Closed

Segmentation fault on startup #907

srs4511351 opened this issue Jul 13, 2021 · 1 comment
Labels

Comments

@srs4511351
Copy link

srs4511351 commented Jul 13, 2021

On a Raspberry Pi 4, the CubicSDR installation went well as it has many times before, but with Debian Bullseye 20210629_raspi_4_bullseye.img, I get a Segmentation fault on startup. The window opens for about a second, then it closes.
I used wxWidgets-3.1.5
I think it may have to do with OpenGL, but I don't know what the problem is.
This is the terminal output on startup. It seems to be like the other installations until the fault.
.-------
Loaded 259 rig models via hamlib.

RtApiAlsa::getDeviceInfo: pcm device (hw:0,0) data format not supported by RtAudio.

Audio Device #0
Default Output? No
Default Input? No
Input channels: 0
Output channels: 2
Duplex channels: 0
Native formats:
Supported sample rates:
32000hz
44100hz
48000hz

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:1,0), No such device.

Audio Device #1
Default Output? No
Default Input? No
Input channels: 0
Output channels: 0
Duplex channels: 0
Native formats:
Supported sample rates:

Audio Device #2 hw:bcm2835 ALSA,0
Default Output? No
Default Input? No
Input channels: 0
Output channels: 2
Duplex channels: 0
Native formats:
16-bit signed integer.
Supported sample rates:
8000hz
9600hz
11025hz
16000hz
22050hz
32000hz
44100hz
48000hz

Audio Device #3 hw:bcm2835 ALSA,1
Default Output? No
Default Input? No
Input channels: 0
Output channels: 2
Duplex channels: 0
Native formats:
16-bit signed integer.
Supported sample rates:
44100hz
48000hz

Audio Device #4 default
Default Output? No
Default Input? No
Input channels: 32
Output channels: 32
Duplex channels: 32
Native formats:
16-bit signed integer.
24-bit signed integer.
32-bit signed integer.
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
4000hz
5512hz
8000hz
9600hz
11025hz
16000hz
22050hz
32000hz
44100hz
48000hz
88200hz
96000hz
176400hz
192000hz

SDR enumerator starting.
SoapySDR init..
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Loading modules...
Available factories...hackrf, null, sdrplay
Available vertical sync SwapInterval functions:
glxSwapIntervalEXT: Yes
DRI2SwapInterval: No
glxSwapIntervalMESA: Yes
glxSwapIntervalSGI: Yes
Segmentation fault
.-------
The next message would be:
Using glxSwapIntervalEXT.

Then it would load fonts, etc.

Any help will be appreciated.

----Steve

@srs4511351
Copy link
Author

Update:
I wanted to try a newer packages on my Debian Bullseye installation, so I added unstable repositories to:
/etc/apt/sources.list
deb http://ftp.debian.org/debian unstable main contrib non-free
deb-src http://ftp.debian.org/debian unstable main contrib non-free

After the updates, which included a new kernel (5.10.0-8) and some drivers, CubicSDR works.
Since there were many packages upgraded, I don't know which one(s) fixed it.

I am still having serious audio problems, but they existed before.

----Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants