Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18132 - [zynaddsubfx] freezes, probably due to libxml2

Attached to Project: Community Packages
Opened by Dominik Meister (neptoon) - Tuesday, 02 February 2010, 18:45 GMT
Last edited by Ionut Biru (wonder) - Thursday, 11 February 2010, 02:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Pierre Schmitz (Pierre)
Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Zynaddsubfx seems to be broken since the last libxml2 update. If there is already a config file it won't even start. Otherwise it hangs when trying to select an instrument bank.

Additional info:
* 2.4.0-2
* Thread in the forum: http://bbs.archlinux.org/viewtopic.php?id=89726
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 11 February 2010, 02:10 GMT
Reason for closing:  Implemented
Additional comments about closing:  2.4.0-3
Comment by Ionut Biru (wonder) - Tuesday, 02 February 2010, 20:35 GMT
did anyone tried to recompile this package against this new libxml2?
Comment by Thomas Dziedzic (tomd123) - Wednesday, 03 February 2010, 02:55 GMT
I can also confirm this.
Rebuilding it with newest libxml2 did not fix the problem.
Comment by Ionut Biru (wonder) - Thursday, 04 February 2010, 19:27 GMT
libxml2 was recompiled to fix a zlib issue. i think is still related to that.
Comment by Javier (javuchi) - Friday, 05 February 2010, 10:39 GMT
I confirm this bug, and still having the same problems.
Comment by Javier (javuchi) - Friday, 05 February 2010, 11:12 GMT
It is a zlib issue, there is a workaround downgrading zlib:

pacman -U ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/core/os/i686/zlib-1.2.3.4-4-i686.pkg.tar.gz

or just downgrade zlib to version 1.2.3.4-4.

Comment by Pierre Schmitz (Pierre) - Friday, 05 February 2010, 11:33 GMT
Could you prove that this is an zlib bug? The mentioned patch clearly fixes a bug within libxml2 which had missued the zlib api. Maybe it's a similar issue here.
Comment by Ionut Biru (wonder) - Friday, 05 February 2010, 11:42 GMT
i reported upstream: https://sourceforge.net/tracker/?func=detail&aid=2946492&group_id=62934&atid=502312

please submit comments there, behavior etc.
Comment by Javier (javuchi) - Friday, 05 February 2010, 11:45 GMT
I can't prove it, all I can say is that downgrading zlib makes zynaddsubfx to work again. But it seems that there are other packages broken, all of them related to zlib.
Here is a paste of a conversation in the IRC about this, and will probably help you: http://dpaste.com/154916/
Comment by Javier (javuchi) - Wednesday, 10 February 2010, 08:44 GMT
This is what they say upstream. Seems to be an archlinux problem, yet:


"i believe they changed some api"
According to zlib.net : Current release: zlib 1.2.3 (July 18, 2005)
The same version seems to be on my machine (Slackware)
Unless arch has changed the zlib api or I am misinformed, zlib should not
be causing this issue.

If you want to verify if it is zlib, then you should be able to save and
load the .xmz/.xiz/etc files without any compression.
(there should be some setting in the main window)

Have you verified if the problem exist in the vanilla zyn packages?
(2.4.0 from this site and git master from this site)

If the loading is the trouble, then there is a good chance that mxml might
be the source.
What version is arch on for that library?
Comment by Eric Dubois (Deric) - Thursday, 11 February 2010, 01:19 GMT
I was able to fix the issue. The problem lies within the gzseek function which doesn't seems to set the new position on the file when using SEEK_CUR (still operate like SEEK_SET). I replaced the gzseek call by a gzread since it was used only to establish the file size. I have attached the *tiny* patch I used to successfully compile the package.
Comment by Ionut Biru (wonder) - Thursday, 11 February 2010, 02:04 GMT
thanks a lot Deric for debugging and doing this patch. i'll commit it right now

Loading...