FS#36248 - [guitarix2] crashes during startup

Attached to Project: Community Packages
Opened by Jeff (galactic_cowboy) - Monday, 22 July 2013, 21:40 GMT
Last edited by speps (archspeps) - Wednesday, 31 July 2013, 18:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To speps (archspeps)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
guitarix2 crashes during startup.
The terminal output is: Illegal instruction (core dumped)


Additional info:
* package version: 0.28.1-1


Steps to reproduce: launch guitarix2
This task depends upon

Closed by  speps (archspeps)
Wednesday, 31 July 2013, 18:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.28.1-2
Comment by Ashley Whetter (AWhetter) - Wednesday, 24 July 2013, 18:50 GMT
I can't reproduce this on 64 bit. Is that what you are using as well?
Comment by Jeff (galactic_cowboy) - Wednesday, 24 July 2013, 18:54 GMT
I'm on i686.
Comment by speps (archspeps) - Sunday, 28 July 2013, 03:16 GMT
Compiler optimization flags are probably breaking things here.
@ Jeff please try this build http://pkgbuild.com/~speps/pkgs/guitarix2-0.28.1-2-i686.pkg.tar.xz and let me know if it works fine.
Comment by Jeff (galactic_cowboy) - Sunday, 28 July 2013, 07:50 GMT
0.28.1-2 works fine speps! Thanks!
Comment by Alessandro Doro (adoroo) - Sunday, 28 July 2013, 10:44 GMT
Not for me; tested -2 on a Pentium-M. I tried without success to change build options.
Comment by speps (archspeps) - Sunday, 28 July 2013, 14:49 GMT
@adoroo Could you please build it by yourself using the attacched PKGBUILD? Build it with "makepkg -L" and attach the resulting log file here.
Once done, try to run it with gdb (gdb guitarix2, type "run" and if it crashes type "bt", then attach the result here).
Also please be sure you're not using a custom /etc/makepkg.conf
Comment by Alessandro Doro (adoroo) - Sunday, 28 July 2013, 17:39 GMT
[...]
Program received signal SIGILL, Illegal instruction.
0xb67cd568 in Resampler::setup(unsigned int, unsigned int, unsigned int, unsigned int, double) ()
from /usr/lib/libzita-resampler.so.1
[...]

A simple rebuild of zita-resampler fixes the issue with the following packages:
http://pkgbuild.com/~speps/pkgs/guitarix2-0.28.1-2-i686.pkg.tar.xz
guitarix2-0.28.1-2-i686.pkg.tar.xz built by me with yor PKGBUILD
guitarix2-0.28.1-1-i686.pkg.tar.xz built by me with the PKGBUILD in trunk (optimizations enabled)

· The package in the repo still crashes.
· Tests and compilations done with the same pentium-m machine and the default makepkg.com
Comment by Alessandro Doro (adoroo) - Sunday, 28 July 2013, 18:02 GMT
Rebuilt zita-resample with a core2 and the problem remains.

In zita-resampler-1.3.0/libs/Makefile, line 35:
CXXFLAGS += -march=native

Patch attached.
   patch (0.8 KiB)
Comment by speps (archspeps) - Monday, 29 July 2013, 01:07 GMT
@adoroo Thanks for your digging into it. Release 2 of each package (zita-{resampler,convolver} and guitarix2) are pushed into [community].
Please update your system and give me a confirmation that all is working fine before closing this bug.
Comment by Alessandro Doro (adoroo) - Monday, 29 July 2013, 23:06 GMT
Confirmed ok.
Just a note (OT): on a freshly installed machine with a minimal desktop (lxde) guitarix starts with the attached error message box (liveplay *** Unrecognized image file format).
It seems it's failing to load some SVG. After installing librsvg (with the dependency libcroco) the message disappears. If needed I'll open a new bug report.
   error.png (13.8 KiB)
Comment by speps (archspeps) - Wednesday, 31 July 2013, 18:37 GMT
@adoroo Thanks for confirmation and for discovering this other missing dependency. No need of a new bug report for that, though. I'll fix this in hours with the new dependency.

Loading...