Audio4Linux / JDSP4Linux

An audio effect processor for PipeWire and PulseAudio clients
GNU General Public License v3.0
915 stars 35 forks source link

Application crash (SIGSEGV) #109

Closed telometto closed 1 year ago

telometto commented 1 year ago

I've been away for the last week or so. After coming back, I updated my system and the application now seems to crash.

This is the output of cat /tmp/jamesdsp/crash.dmp:

Caught SIGSEGV (11) in ???
Fault at memory location 0x0 due to address not mapped to object (1).
Thread 47885: jamesdsp
=== Context:
R8:0 R9:0 R10:e643ad20 R11:e64b2d40 R12:a3b48040 R13:0 R14:9c01bb60 R15:9c027e00
RDI:a2bfed50 RSI:0 RBP:a2a07010 RBX:400 RDX:90001b70 RAX:0 RCX:90000b70
RSP:a33fe8a0 RIP:6f02a0 EFL:10246 CSGSFS:33 ERR:6 TRAPNO:e OLDMASK:0 CR2:0
=== Binary:
Compile date: Dec 31 2021 00:00:00
GNU version: 110201
=== Backtrace:
jamesdsp[400000](+1e5767)[5e5767]
/lib64/libc.so.6[e6423000](+3cb20)[e645fb20]
jamesdsp[400000](+2f02a0)[6f02a0]
jamesdsp[400000](+147a16)[547a16]
/lib64/libpipewire-0.3.so.0[e8150000](+55a99)[e81a5a99]
/lib64/libpipewire-0.3.so.0[e8150000](+680e9)[e81b80e9]
/lib64/libpipewire-0.3.so.0[e8150000](+68497)[e81b8497]
/usr/lib64/spa-0.2/support/libspa-support.so[b004d000](+8827)[b0055827]
/lib64/libpipewire-0.3.so.0[e8150000](+47a87)[e8197a87]
/lib64/libc.so.6[e6423000](+8b12d)[e64ae12d]
/lib64/libc.so.6[e6423000](+10cbc0)[e652fbc0]
=== Code:
6f0260:  48 89 ef 89 c6 49 89 f6 e8 43 f1 ff ff 48 89 da 44 89 f6 48 89 ef e8 95
6f0278:  f9 ff ff 48 85 db 74 30 48 8b 8d 48 7c 1f 00 48 8b 95 50 7c 1f 00 31 c0
6f0290:  f3 0f 10 04 81 f3 41 0f 11 04 84 f3 0f 10 04 82>f3 41 0f 11 44 85 00 48
6f02a8:  83 c0 01 48 39 c3 75 e0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 90
6f02c0:  e8 eb f0 ff ff eb b4 66 0f 1f 84 00 00 00 00 00 4c 89 ce e8 98 ee ff ff
6f02d8:  e9 20 ff ff ff 0f 1f 00
=== Local backtrace:
Offset cannot be resolved: No offset present?
Offset cannot be resolved: No offset present?
Offset cannot be resolved: No offset present?
0x0000000000055a99: ?? ??:0
0x00000000000680e9: ?? ??:0
0x0000000000068497: ?? ??:0
0x0000000000008827: ?? ??:0
0x0000000000047a87: ?? ??:0
0x000000000008b12d: ?? ??:0
0x000000000010cbc0: ?? ??:0
=== System:
Linux version 6.2.9-200.fc37.x86_64 (mockbuild@bkernel02.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4), GNU ld version 2.38-25.fc37) #1 SMP PREEMPT_DYNAMIC Thu Mar 30 22:31:57 UTC 2023
3399b710155c4a5498455fa5e939be59

System: Distro: Fedora 37 Kernel version: 6.2.9

Also, JamesDSP is installed through Copr.

code-irisnk commented 1 year ago

Had the same problem after updating Pipewire but building from source does not seem to crash!

This is an issue that should be brought up to the COPR maintainer because the last successful build is more than one year old and one major update behind.

image

theAeon commented 1 year ago

Should be fixed for fc36/37.

ZtereoHYPE commented 1 year ago

I have updated all of my packages (using sudo dnf up --refresh) and the problem presists to this day, with the exact same crash logs. The only difference is the OS part:

Linux version 6.2.10-200.fc37.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4), GNU ld version 2.38-25.fc37) #1 SMP PREEMPT_DYNAMIC Thu Apr  6 23:30:41 UTC 2023
a8e960a1d9984518a276b504be3d7a15

JamesDSP is also installed via the copr here, and is currently version jamesdsp-2.3-1.fc36.x86_64

EDIT: it seems that the copr isn't refreshing properly on my installation, manually installing the package works

theAeon commented 1 year ago

For whatever its worth I changed the package name from jamesdsp to JamesDSP. That probably has something to do with it.

ZtereoHYPE commented 1 year ago

Yup that was it! Thanks for the warning, it might me worth to add a disclaimer somewhere in the readme or installation procedures as it measn that dnf will not automatically upgrade it for people.

code-irisnk commented 1 year ago

Works on F38 too! I think we're ready to close this one ^^