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

Crashes every time I hit preset or settings #212

Closed
iconoclasthero opened this issue Aug 29, 2024 · 7 comments
Closed

Crashes every time I hit preset or settings #212

iconoclasthero opened this issue Aug 29, 2024 · 7 comments

Comments

@iconoclasthero
Copy link

iconoclasthero commented Aug 29, 2024

Built from source (on a different machine than my other issue).

$ jamesdsp --spinlock-on-crash
[18:51:07.184] [INF] main::main: Last session crashed unexpectedly. A crash report has been saved here: /tmp/jamesdsp/crash-prev.dmp
QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: Windows, Fusion
[18:51:07.206] [INF] SingleInstanceMonitor::isServiceReady: Service registration successful
[18:51:07.207] [INF] main::main: Application version: 2.7.0-26-geb23976 (Pipewire flavor) 
[18:51:07.207] [INF] main::main: Qt library version: 6.6.2
[18:51:07.207] [INF] main::initAudioService: ============ Initializing audio service ============
[18:51:07.207] [INF] main::initAudioService: Compiled with PipeWire support.
[18:51:07.207] [INF] main::initAudioService: This application flavor does not support PulseAudio.
[18:51:07.207] [INF] main::initAudioService: If you want to use this application with PulseAudio, you need to recompile this app with proper support enabled.
[18:51:07.207] [INF] main::initAudioService: Refer to the README for more detailed information.
[18:51:07.207] [INF] main::initAudioService: 
[18:51:07.207] [DBG] main::initAudioService: Blocklisted apps: 
[18:51:07.207] [DBG] main::initAudioService: Blocklist mode: block
[18:51:07.207] [DBG] PwPipelineManager::PwPipelineManager$ctor: compiled with PipeWire: 1.2.2
[18:51:07.207] [DBG] PwPipelineManager::PwPipelineManager$ctor: linked to PipeWire: 1.2.3
[18:51:07.211] [DBG] PwPipelineManager::on_core_info: core version: 1.2.3
[18:51:07.211] [DBG] PwPipelineManager::on_core_info: core name: pipewire-0
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: settings
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: schema-sm-settings
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: persistent-sm-settings
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: sm-settings
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: sm-objects
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: default
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: filters
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: found metadata: route-settings
[18:51:07.211] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 56 alsa_output.pci-0000_00_1b.0.iec958-stereo with serial 56 has been added
[18:51:07.212] [DBG] PwPipelineManager::on_registry_global: Audio/Source 57 alsa_input.pci-0000_00_1b.0.analog-stereo with serial 57 has been added
[18:51:07.212] [DBG] PwPipelineManager::on_registry_global: Audio/Source 75 alsa_input.usb-Huawei_HiCamera_12345678-02.2.analog-stereo with serial 204 has been added
[18:51:07.212] [DBG] PwPipelineManager::on_registry_global: Stream/Output/Audio 77 Music Player Daemon with serial 1337 has been added
[18:51:07.212] [DBG] PwPipelineManager::on_registry_global: Music Player Daemon port 78 is connected to alsa_output.pci-0000_00_1b.0.iec958-stereo port 55
[18:51:07.212] [DBG] PwPipelineManager::on_registry_global: Music Player Daemon port 87 is connected to alsa_output.pci-0000_00_1b.0.iec958-stereo port 53
[18:51:07.212] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 71 jamesdsp_sink with serial 1723 has been added
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_00_1b.0.iec958-stereo"}
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, {"name":"bluez_input.E8_07_B7_21_07_45.headset-head-unit"}
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_00_1b.0.iec958-stereo"}
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-Huawei_HiCamera_12345678-02.2.analog-stereo"}
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_00_1d.0-usb-0_1.6_1.0"}
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 77, target.node, Spa:Id, 72
[18:51:07.213] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 77, target.object, Spa:Id, 1665
[18:51:07.213] [DBG] PwPipelineManager::PwPipelineManager$ctor: jamesdsp_sink node successfully retrieved with id 71 and serial 1723
[18:51:07.324] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[18:51:07.336] [KNL] Log::kernel: EffectDSPMain: Buffer size changed, update convolution object to maximize performance
[18:51:07.343] [KNL] Log::kernel: EffectDSPMain: Benchmark flag == 1, refreshing convolutions
[18:51:07.343] [KNL] Log::kernel: EffectDSPMain: Buffer size changed, update convolution object to maximize performance
[18:51:07.368] [DBG] AssetManager::extractGroup: 5 assets extracted (type 0)
[18:51:07.368] [DBG] AssetManager::extractGroup: 3 assets extracted (type 1)
[18:51:07.369] [DBG] DspHost::update: Config update started
[18:51:07.369] [DBG] DspHost::update: Property changed: bass_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: bass_maxgain -> QVariant(QString, "5") 
[18:51:07.369] [DBG] DspHost::update: Property changed: compander_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: compander_response -> QVariant(QString, "95.0;200.0;400.0;800.0;1600.0;3400.0;7500.0;0;0;0;0;0;0;0") 
[18:51:07.369] [DBG] DspHost::update: Property changed: compander_granularity -> QVariant(QString, "2") 
[18:51:07.369] [DBG] DspHost::update: Property changed: compander_timeconstant -> QVariant(QString, "0.22000") 
[18:51:07.369] [DBG] DspHost::update: Property changed: compander_time_freq_transforms -> QVariant(QString, "0") 
[18:51:07.369] [DBG] DspHost::update: Property changed: convolver_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: convolver_file -> QVariant(QString, "") 
[18:51:07.369] [DBG] DspHost::update: Property changed: convolver_optimization_mode -> QVariant(QString, "0") 
[18:51:07.369] [DBG] DspHost::update: Property changed: convolver_waveform_edit -> QVariant(QString, "-80;-100;0;0;0;0") 
[18:51:07.369] [DBG] DspHost::update: Property changed: crossfeed_bs2b_fcut -> QVariant(QString, "700") 
[18:51:07.369] [DBG] DspHost::update: Property changed: crossfeed_bs2b_feed -> QVariant(QString, "60") 
[18:51:07.369] [DBG] DspHost::update: Property changed: crossfeed_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: crossfeed_mode -> QVariant(QString, "0") 
[18:51:07.369] [DBG] DspHost::update: Property changed: ddc_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: ddc_file -> QVariant(QString, "") 
[18:51:07.369] [DBG] DspHost::update: Property changed: graphiceq_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: graphiceq_param -> QVariant(QString, "GraphicEQ: 25 0; 40 0; 63 0; 100 0; 160 0; 250 0; 400 0; 630 0; 1000 0; 1600 0; 2500 0; 4000 0; 6300 0; 10000 0; 16000 0") 
[18:51:07.369] [DBG] DspHost::update: Property changed: reverb_bassboost -> QVariant(QString, "0.25000") 
[18:51:07.369] [DBG] DspHost::update: Property changed: reverb_decay -> QVariant(QString, "2.08000") 
[18:51:07.369] [DBG] DspHost::update: Property changed: reverb_delay -> QVariant(QString, "0.00000") 
[18:51:07.369] [DBG] DspHost::update: Property changed: reverb_enable -> QVariant(bool, false) 
[18:51:07.369] [DBG] DspHost::update: Property changed: reverb_finaldry -> QVariant(QString, "-7.00000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_finalwet -> QVariant(QString, "-9.00000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_lfo_spin -> QVariant(QString, "0.70000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_lfo_wander -> QVariant(QString, "0.30000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_lpf_bass -> QVariant(QString, "600") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_lpf_damp -> QVariant(QString, "9000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_lpf_input -> QVariant(QString, "18000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_lpf_output -> QVariant(QString, "17000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_osf -> QVariant(QString, "1") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_reflection_amount -> QVariant(QString, "0.30000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_reflection_factor -> QVariant(QString, "1.00000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_reflection_width -> QVariant(QString, "0.70000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_wet -> QVariant(QString, "-8.00000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: reverb_width -> QVariant(QString, "1.00000") 
[18:51:07.370] [DBG] DspHost::update: Property changed: liveprog_enable -> QVariant(bool, false) 
[18:51:07.370] [DBG] DspHost::update: Property changed: liveprog_file -> QVariant(QString, "") 
[18:51:07.370] [DBG] DspHost::update: Property changed: master_enable -> QVariant(bool, true) 
[18:51:07.370] [DBG] DspHost::update: Property changed: master_limrelease -> QVariant(QString, "60") 
[18:51:07.370] [DBG] DspHost::update: Property changed: master_limthreshold -> QVariant(QString, "0") 
[18:51:07.370] [DBG] DspHost::update: Property changed: master_postgain -> QVariant(QString, "0") 
[18:51:07.370] [DBG] DspHost::update: Property changed: stereowide_enable -> QVariant(bool, false) 
[18:51:07.370] [DBG] DspHost::update: Property changed: stereowide_level -> QVariant(QString, "60") 
[18:51:07.370] [DBG] DspHost::update: Property changed: tone_enable -> QVariant(bool, true) 
[18:51:07.370] [DBG] DspHost::update: Property changed: tone_eq -> QVariant(QString, "25.0;40.0;63.0;100.0;160.0;250.0;400.0;630.0;1000.0;1600.0;2500.0;4000.0;6300.0;10000.0;16000.0;0;0;0;3;3;-10;-4;-1;0.8;3;3;3;3;3;3") 
[18:51:07.372] [DBG] DspHost::update: Property changed: tone_filtertype -> QVariant(QString, "0") 
[18:51:07.373] [DBG] DspHost::update: Property changed: tone_interpolation -> QVariant(QString, "0") 
[18:51:07.374] [DBG] DspHost::update: Property changed: tube_enable -> QVariant(bool, false) 
[18:51:07.374] [DBG] DspHost::update: Property changed: tube_pregain -> QVariant(QString, "200") 
[18:51:07.374] [ERR] DspHost::updateConvolver: Impulse response is empty. Disabling convolver.
[18:51:07.374] [WRN] DspHost::updateConvolver: Unable to read impulse response. No file selected or abnormal channel count?
[18:51:07.374] [WRN] DspHost::reloadLiveprog: Referenced file does not exist anymore. Disabling liveprog.
QFSFileEngine::open: No file name specified
[18:51:07.374] [ERR] DspHost::reloadLiveprog: Cannot open file path. Disabling liveprog.
QIODevice::read (QFile, ""): device not open
[18:51:07.374] [WRN] DspHost::reloadLiveprog: @init section not found
[18:51:07.375] [INF] main::main: Using language: en_US
[18:51:07.375] [DBG] main::main: Launched by system session manager: no
[18:51:07.446] [INF] MainWindow::MainWindow$ctor: ============ Initializing user interface ============
[18:51:07.461] [DBG] DspHost::update: Config update started
qt.core.qobject.connect: QObject::connect(QAction, Unknown): invalid nullptr parameter
qt.core.qobject.connect: QObject::connect(QAction, Unknown): invalid nullptr parameter
[18:51:07.918] [INF] MainWindow::MainWindow$ctor: UI initialized
[18:51:07.963] [DBG] FilterContainer::FilterContainer$ctor::<lambda>: Target output device added: alsa_output.pci-0000_00_1b.0.iec958-stereo
[18:51:07.963] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[18:51:07.969] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[18:51:07.973] [DBG] AppConfig::isAppBlocked: Music Player Daemon is not blocked
[18:51:07.974] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: new default output sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
[18:51:07.974] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 77, target.node, Spa:Id, 71
[18:51:07.974] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 77, target.object, Spa:Id, 1723
[18:51:07.974] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[18:51:07.981] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[18:51:07.985] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: output device has changed to: alsa_card.pci-0000_00_1b.0 via route iec958-stereo-output
[18:51:07.985] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: device alsa_card.pci-0000_00_1b.0 has changed its output route to: iec958-stereo-output
[18:51:07.992] [DBG] PwPipelineManager::on_registry_global: Music Player Daemon port 78 is connected to jamesdsp_sink port 133
[18:51:07.992] [DBG] PwPipelineManager::on_registry_global: Music Player Daemon port 87 is connected to jamesdsp_sink port 100
Caught SIGSEGV (11)
Collecting infomation about the crash...
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
addr2line: /usr/local/bin/jamesdsp: file format not recognized
Done! Crash report saved to /tmp/jamesdsp/crash.dmp.

Spinning. Please run 'gdb jamesdsp 527934' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core
^Z
[1]+  Stopped                 jamesdsp --spinlock-on-crash

$ bg
[1]+ jamesdsp --spinlock-on-crash &

$ gdb jamesdsp 527934
GNU gdb (Ubuntu 15.1-1ubuntu1) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/usr/local/bin/jamesdsp": not in executable format: file format not recognized
Attaching to process 527934
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
/var/log/527934: No such file or directory.
(gdb) quit

$ sudo gdb jamesdsp 527934

GNU gdb (Ubuntu 15.1-1ubuntu1) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/usr/local/bin/jamesdsp": not in executable format: file format not recognized
Attaching to process 527934
[New LWP 527943]
[New LWP 527940]
[New LWP 527939]
[New LWP 527938]
[New LWP 527936]
[New LWP 527935]

warning: "/usr/local/bin/jamesdsp": not in executable format: file format not recognized

warning: `/usr/local/bin/jamesdsp': can't read symbols: file format not recognized.

warning: Could not load vsyscall page because no executable was specified
0x0000750d804f38a3 in ?? ()
(gdb) ??
Undefined command: "".  Try "help".
(gdb) help
List of classes of commands:

aliases -- User-defined aliases of other commands.
breakpoints -- Making program stop at certain points.
data -- Examining data.
files -- Specifying and examining files.
internals -- Maintenance commands.
obscure -- Obscure features.
running -- Running the program.
stack -- Examining the stack.
status -- Status inquiries.
support -- Support facilities.
text-user-interface -- TUI is the GDB text based interface.
tracepoints -- Tracing of program execution without stopping the program.
user-defined -- User-defined commands.

Type "help" followed by a class name for a list of commands in that class.
Type "help all" for the list of all commands.
Type "help" followed by command name for full documentation.
Type "apropos word" to search for commands related to "word".
Type "apropos -v word" for full documentation of commands related to "word".
Command name abbreviations are allowed if unambiguous.
(gdb) apropos word
if -- Execute nested commands once IF the conditional expression is non zero.
maintenance info sections -- List the BFD sections of the exec and core files.
set style disassembler mnemonic -- Disassembler mnemonic display styling.
show style disassembler mnemonic -- Disassembler mnemonic display styling.
while -- Execute nested commands WHILE the conditional expression is non zero.
x -- Examine memory: x/FMT ADDRESS.
(gdb) stack
Undefined command: "stack".  Try "help".
(gdb) status
Undefined command: "status".  Try "help".
(gdb) quit
A debugging session is active.

	Inferior 1 [process 527934] will be detached.

Quit anyway? (y or n) y

Detaching from pid process 527934
[Inferior 1 (process 527934) detached]

some version infos:

/jamesdsp --version
jamesdsp 2.7.0-26-geb23976 (Pipewire flavor) 

Rhino Linux rolling release based on 
OS: Rhino Linux 2024.2~RC (server) x86_64 
Kernel: Linux 6.10.4-061004-generic 

$ rustc --version; cargo --version; meson --version; ninja --version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
cargo 1.80.1 (376290515 2024-07-16)
1.4.1
1.12.1
@Npa972
Copy link

Npa972 commented Aug 29, 2024

Hi same problem for me with git version (arch Aur).
Stable version works perfectly.

@iconoclasthero
Copy link
Author

I'll note that so far the flatpak has not produced any errors.

Npa972
Hi same problem for me with git version (arch Aur).

I'm assuming that your git/AUR version is compiled as well, so that's a commonality.

@Npa972
Copy link

Npa972 commented Aug 30, 2024

@iconoclasthero
Copy link
Author

Yes compiled version but same bug with pre-compiled version from https://archlinux.pkgs.org/ https://builds.garudalinux.org/repos/chaotic-aur/x86_64/jamesdsp-git-2.7.0.r26.geb23976-1-x86_64.pkg.tar.zst

Outta my hands now. Thanks f/the confirmation.

@aquilapl
Copy link

I also have this error. Compilation with qt6. :

src/jamesdsp --version
jamesdsp 2.7.0-24-g31325b3 (Pipewire flavor)

But compiled by qt5 it is the same. Do you know anything that could be done?

@reztekado
Copy link

Last commit to work ok for me is 5619e28

@timschneeb
Copy link
Member

The crash is fixed with the latest commit.

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

No branches or pull requests

5 participants