Description of problem: setBfree coredumps on start Version-Release number of selected component (if applicable): [baggypants@swordfish2 ~]$ rpm -qi setBfree Name : setBfree Version : 0.8.4 Release : 1.fc25 Architecture: x86_64 Install Date: Tue 28 Mar 2017 22:57:46 BST Group : Unspecified Size : 6642186 License : GPLv2+ and GPLv3+ and ISC Signature : RSA/SHA256, Sat 07 Jan 2017 23:51:19 GMT, Key ID 4089d8f2fdb19c98 Source RPM : setBfree-0.8.4-1.fc25.src.rpm Build Date : Sat 07 Jan 2017 23:38:34 GMT Build Host : buildvm-32.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://setbfree.org Summary : A DSP Tonewheel Organ emulator How reproducible: always Steps to Reproduce: 1. start jack (I use qjackctl) 2. run setBfreeUI or setBfree 3. Actual results: [baggypants@swordfish2 ~]$ setBfree Illegal instruction (core dumped) Expected results: It to run Additional info:
Created attachment 1267174 [details] Output of running gdb with the debuginfo version of setbfree seems to be an issue with robtk
Can you please add the output of lscpu or cat /proc/cpuinfo? It seems the CPU tried to execute an illegal instruction. The x86_64 version is compiled with some advanced flags that could generate instruction your CPU cannot execute. Thanks
[baggypants@swordfish2 ~]$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 20 Model: 1 Model name: AMD E-350 Processor Stepping: 0 CPU MHz: 1600.000 CPU max MHz: 1600.0000 CPU min MHz: 800.0000 BogoMIPS: 3193.16 Virtualization: AMD-V L1d cache: 32K L1i cache: 32K L2 cache: 512K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt hw_pstate vmmcall arat npt lbrv svm_lock nrip_save pausefilter
I don't get the coredump on my own packaged verson https://copr.fedorainfracloud.org/coprs/baggypants/setBfree-stable/build/533643/
Can you please try this scratch build from koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=18659213 I think you only installed setBfree, so the new build is: https://kojipkgs.fedoraproject.org//work/tasks/9213/18659213/setBfree-0.8.4-3.fc25.x86_64.rpm Thank you very much
Created attachment 1267473 [details] backtrace of scratch build setBfree-0.8.4-3.fc25 Still coredumps, backtrace attached.
I made another build in copr: https://copr-be.cloud.fedoraproject.org/results/tartina/Audio/fedora-25-x86_64/00534256-setBfree/setBfree-0.8.4-4.fc25.x86_64.rpm This should work, I didn't notice your cpu is not compatible with sse4 instruction set (it's an AMD), I switched to ssse3 instruction set, which should be compatible with most Intel and AMD CPUs. Sorry for the problem, I don't have any AMD CPUs to make tests.
The copr build works for me now. I'd also like you to review this part of the packaging guidelines https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags specifically "Overriding these flags for performance optimizations (for instance, -O3 instead of -O2) is generally discouraged" Many thanks
Some flags were overridden because the package didn't build with upstream flags for other arches (like arm). If you see the original spec file the -mavx was really a mistake, it was only a build test, but I forgot it in the spec later. Being setBfree a real time audio software I tried to optimize it as much as possible, but I couldn't try it on an AMD cpu. I will now update the package in the official repos. Thanks for reporting and supporting
setBfree-0.8.4-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ab07298536
setBfree-0.8.4-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0a96e4d458
Sure, thanks for you're prompt resolution, please remember to document flag overrides rational in the spec file if you haven't already.
setBfree-0.8.4-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ab07298536
setBfree-0.8.4-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0a96e4d458
setBfree-0.8.4-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
setBfree-0.8.4-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.