FS#50552 - [allegro] tracker files cause a segmentation fault

Attached to Project: Community Packages
Opened by Elliott Kona (rodaz143) - Sunday, 28 August 2016, 21:21 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 02 December 2016, 08:47 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When compiling a prject with -lallegro -lallegro_main -lallegro_audio -lallegro_acodec, while normal audio files play as they should, tracker files cause the program crash with a segmentation fault


Additional info:
* package version: 5.2.1.0-1

Steps to reproduce: Attempt to load a tracker file with al_load_audio_stream and compile with the command "gcc audioTest.c -o audioTest -L/usr/local/lib -lallegro -lallegro_main -lallegro_audio -lallegro_acodec" and optionally -ldumb
(included two tracker files and an ogg file for comparison)

Is this an issue with the Allegro package?
   audio.zip (1.19 MiB)
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Friday, 02 December 2016, 08:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  Please re-open if this is still an issue.
Comment by Alexander F. Rødseth (xyproto) - Monday, 29 August 2016, 07:15 GMT
Thanks for reporting, will try to reproduce the issue.
Comment by Elliott Kona (rodaz143) - Monday, 29 August 2016, 07:18 GMT
I submitted a bug report to the official GitHub repo and they figured it could be an issue with the Arch package, not Allegro itself. And IIRC, I heard from someone else who uses a different distro (I don't know which, it might be Mint)that they haven't experienced this issue.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 31 August 2016, 13:45 GMT
Arch almost exclusively use "vanilla" packages, though, so if it's a problem on Arch, it's usually an upstream problem somewhere (or a version of a library that is too new for allegro). Will investigate.
Comment by Elliott Kona (rodaz143) - Friday, 16 September 2016, 22:37 GMT
Have you found anything?
Comment by Alexander F. Rødseth (xyproto) - Friday, 23 September 2016, 11:25 GMT
Haven't had time to look further into this, but I there is nothing in the PKGBUILD that indicates that this *isn't* an upstream problem.

Next step would be to make a debug build and post the gdb backtrace to the upstream bugreport.
Comment by Elliott Kona (rodaz143) - Sunday, 25 September 2016, 20:40 GMT
I just noticed that the AUR package "allegro5-git" works, and the Ubuntu liballegro-<acodec,audio,etc> packages work as well, so an update might have broken tracker support.
Comment by Alexander F. Rødseth (xyproto) - Monday, 28 November 2016, 22:41 GMT
Version 5.2.1.1 is in [community]. Does it work now?

Loading...