Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] seg fault using aispy + SoapySDR
@ 2022-02-16  9:37 neoklis
  2022-02-17  5:18 ` neoklis
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: neoklis @ 2022-02-16  9:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1819 bytes --]

New issue by neoklis on void-packages repository

https://github.com/void-linux/void-packages/issues/35650

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
AMD64 (Compulab FitPC4 computer)
* package:  airspy-1.0.10_1

### Expected behavior
Should work with Airspy SDR
### Actual behavior
Segmentation fault
### Steps to reproduce the behavior
Problem started recently, possibly after and update of Void. When running any application
that uses an Airspy SDR in conjunction with SoapySDR, SoapyAirspy  and libairspy then a seg fault occurs:

Thread 1 "sdrx" received signal SIGSEGV, Segmentation fault.
0x0000000000d2f520 in ?? ()
(gdb) bt
#0  0x0000000000d2f520 in ?? ()
#1  0x00007ffff5e32c88 in ?? () from /usr/lib/libusb-1.0.so.0
#2  0x00007ffff5e334ba in ?? () from /usr/lib/libusb-1.0.so.0
#3  0x00007ffff5e37bb1 in libusb_free_transfer () from /usr/lib/libusb-1.0.so.0
#4  0x00007ffff7349d89 in ?? () from /usr/lib/libairspy.so.0
#5  0x00007ffff734a599 in airspy_close () from /usr/lib/libairspy.so.0
#6  0x000000000041bf28 in Airspy_Get_Samplerates ()
#7  0x000000000040e5f9 in Append_Sample_Rates ()
#8  0x000000000040adef in Device_Combobox_Changed ()

"sdrx" is an SDR receiver client I wrote myself. Its been working well for a long time. The fault occurs with another app I wrote, "glrpt", which was also working well for some years.

The fault doesn't occur when using the same apps with RTL-SDR devices so it seems to be an issue with airspy libs. I have no clear indications that my apps are to blame but I see that both SoapySDR and airspy libs are outdated versions. 

My thanks in advance

Neoklis

www.5b4az.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
@ 2022-02-17  5:18 ` neoklis
  2022-02-17 12:28 ` tibequadorian
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: neoklis @ 2022-02-17  5:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

New comment by neoklis on void-packages repository

https://github.com/void-linux/void-packages/issues/35650#issuecomment-1042585346

Comment:
Hi

I manually installed the latest libairspy from airspy.com and the fault has cleared. Presumably the issue can be closed when the repository packages of libaispy are upgraded accordingly.

Neoklis

www.5b4az.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
  2022-02-17  5:18 ` neoklis
@ 2022-02-17 12:28 ` tibequadorian
  2022-02-17 13:14 ` neoklis
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tibequadorian @ 2022-02-17 12:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/issues/35650#issuecomment-1042899128

Comment:
libairspy is on the latest version. what exactly did you download from airspy.com?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
  2022-02-17  5:18 ` neoklis
  2022-02-17 12:28 ` tibequadorian
@ 2022-02-17 13:14 ` neoklis
  2022-02-19 19:48 ` paper42
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: neoklis @ 2022-02-17 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

New comment by neoklis on void-packages repository

https://github.com/void-linux/void-packages/issues/35650#issuecomment-1042937196

Comment:
Installed this:

https://github.com/airspy/airspyone_host

Neoklis

www.5b4az.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
                   ` (2 preceding siblings ...)
  2022-02-17 13:14 ` neoklis
@ 2022-02-19 19:48 ` paper42
  2022-02-19 19:48 ` paper42
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-02-19 19:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/35650#issuecomment-1046091289

Comment:
@neoklis did you install from master or from a release?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
                   ` (3 preceding siblings ...)
  2022-02-19 19:48 ` paper42
@ 2022-02-19 19:48 ` paper42
  2022-02-20  5:07 ` neoklis
  2022-03-22 18:29 ` [ISSUE] [CLOSED] " paper42
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-02-19 19:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/35650#issuecomment-1046091289

Comment:
@neoklis did you install from master or from a release? There are some libusb fixes in master that are not yet in a release and we recently updated libusb.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
                   ` (4 preceding siblings ...)
  2022-02-19 19:48 ` paper42
@ 2022-02-20  5:07 ` neoklis
  2022-03-22 18:29 ` [ISSUE] [CLOSED] " paper42
  6 siblings, 0 replies; 8+ messages in thread
From: neoklis @ 2022-02-20  5:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

New comment by neoklis on void-packages repository

https://github.com/void-linux/void-packages/issues/35650#issuecomment-1046164335

Comment:
> 
Well, I used the "Code" button in https://github.com/airspy/airspyone_host to download a zip file of the source code and the installed version is 1.0.11. I believe the Master branch is the default in the link above. I did not manually select a specific branch so it must be the Master version I used. There is also this comment:
"Fixed the usb tear-down sequence" so its likely to do with our upgrade of libusb.

Neoklis

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ISSUE] [CLOSED] seg fault using aispy + SoapySDR
  2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
                   ` (5 preceding siblings ...)
  2022-02-20  5:07 ` neoklis
@ 2022-03-22 18:29 ` paper42
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-03-22 18:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

Closed issue by neoklis on void-packages repository

https://github.com/void-linux/void-packages/issues/35650

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
AMD64 (Compulab FitPC4 computer)
* package:  airspy-1.0.10_1

### Expected behavior
Should work with Airspy SDR
### Actual behavior
Segmentation fault
### Steps to reproduce the behavior
Problem started recently, possibly after and update of Void. When running any application
that uses an Airspy SDR in conjunction with SoapySDR, SoapyAirspy  and libairspy then a seg fault occurs:

Thread 1 "sdrx" received signal SIGSEGV, Segmentation fault.
0x0000000000d2f520 in ?? ()
(gdb) bt
#0  0x0000000000d2f520 in ?? ()
#1  0x00007ffff5e32c88 in ?? () from /usr/lib/libusb-1.0.so.0
#2  0x00007ffff5e334ba in ?? () from /usr/lib/libusb-1.0.so.0
#3  0x00007ffff5e37bb1 in libusb_free_transfer () from /usr/lib/libusb-1.0.so.0
#4  0x00007ffff7349d89 in ?? () from /usr/lib/libairspy.so.0
#5  0x00007ffff734a599 in airspy_close () from /usr/lib/libairspy.so.0
#6  0x000000000041bf28 in Airspy_Get_Samplerates ()
#7  0x000000000040e5f9 in Append_Sample_Rates ()
#8  0x000000000040adef in Device_Combobox_Changed ()

"sdrx" is an SDR receiver client I wrote myself. Its been working well for a long time. The fault occurs with another app I wrote, "glrpt", which was also working well for some years.

The fault doesn't occur when using the same apps with RTL-SDR devices so it seems to be an issue with airspy libs. I have no clear indications that my apps are to blame but I see that both SoapySDR and airspy libs are outdated versions. 

My thanks in advance

Neoklis

www.5b4az.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-22 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16  9:37 [ISSUE] seg fault using aispy + SoapySDR neoklis
2022-02-17  5:18 ` neoklis
2022-02-17 12:28 ` tibequadorian
2022-02-17 13:14 ` neoklis
2022-02-19 19:48 ` paper42
2022-02-19 19:48 ` paper42
2022-02-20  5:07 ` neoklis
2022-03-22 18:29 ` [ISSUE] [CLOSED] " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).