LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-07-2010, 03:12 PM   #16
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,883

Rep: Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918

yes, thanks also for quickness
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-07-2010, 03:13 PM   #17
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,318

Rep: Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709Reputation: 3709
Quote:
Originally Posted by 2handband View Post
Is "no going back" a code phrase for "will never be fixed"?
It means that reverting to a previous version of zlib and libxml2 (which would "work"), is not going to happen because

1) the older zlib is not secure

2) the changes zlib made that exposed the problems in libxml2 were valid changes for them to make

So it will not be fixed by reverting zlib.

Upstream says that things "are working" elsewhere and suggests that higuita's machine is somehow broken. That's possible, and it's also possible that something in Slackware is causing the breakage. I see that a libxul.so in a $HOME directory is part of the trace, so there's some stuff we don't ship at least involved with the code path (whether it matters or not).

Nobody has ever given me a reproducer on the supposed libxml2/zlib breakage...
 
2 members found this post helpful.
Old 12-07-2010, 03:42 PM   #18
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
Ardour now builds against new lxml2 (although it's stll crash-prone). Fast fix, Pat.
 
Old 12-07-2010, 03:55 PM   #19
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
Quote:
Originally Posted by volkerdi View Post
It means that reverting to a previous version of zlib and libxml2 (which would "work"), is not going to happen because

1) the older zlib is not secure

2) the changes zlib made that exposed the problems in libxml2 were valid changes for them to make

So it will not be fixed by reverting zlib.

Upstream says that things "are working" elsewhere and suggests that higuita's machine is somehow broken. That's possible, and it's also possible that something in Slackware is causing the breakage. I see that a libxul.so in a $HOME directory is part of the trace, so there's some stuff we don't ship at least involved with the code path (whether it matters or not).

Nobody has ever given me a reproducer on the supposed libxml2/zlib breakage...
Sooo... we can't revert, and upstream insists it's not broken. That kinda sucks.

As for reproducability, it seems I'm not the only one having a prob with Ardour in Slackware64 -current and 13.1.
 
Old 12-08-2010, 03:17 AM   #20
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,883

Rep: Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918
FYI, I just built fine ardour from SBo on 64-current (pure, on multilib fails).
 
Old 12-08-2010, 04:36 AM   #21
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 111

Original Poster
Rep: Reputation: 33
choqok and fwbuilder now compiles without error
 
Old 12-08-2010, 08:12 AM   #22
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
Quote:
Originally Posted by ponce View Post
FYI, I just built fine ardour from SBo on 64-current (pure, on multilib fails).
Yeah, I can build it after Pat's fix... but it's still crash-prone.
 
Old 12-08-2010, 02:12 PM   #23
eviljames
LQ Newbie
 
Registered: Jul 2009
Distribution: Slackware
Posts: 8

Rep: Reputation: 3
For reproducing the ardour bug (which is 64 exclusive), under libxml2-2.7.7 and zlib-1.2.5 it's as simple as attempting to open any session. Ardour uses libxml to read in their session files (uncompressed), which then fails using the gzdirect() call from zlib on a test to see whether or not the file it is reading is compressed. Segfault, every time. Steps to reproduce:

Run ardour. Start a new Session. Save. Quit. Run ardour again. Open your session. Segfault.

I had put a backtrace in the other thread that specifically references this bug that 2handband had created.

Ardour insists it is not their problem (fairly true), libxml2 says the same as Pat mentions, and zlib folks are the ones who patched libxml2 to use this call. If Gentoo's bug report is accurate, they have some issue with their 64 bit implementation.

I have yet to test whether the new libxml2-2.7.8 package resolves, but I did grok the source, and the offending line is still in place. I think it's up to zlib to fix.
 
Old 12-08-2010, 03:24 PM   #24
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,883

Rep: Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918
FYI, I rebuilt zlib with this two patches (the second should be the one needed, also archlinux applies that)

http://sources.gentoo.org/cgi-bin/vi...-ldflags.patch
http://sources.gentoo.org/cgi-bin/vi...fs-decls.patch

and ardour doesn't segfault anymore \o/

now I look around a little to see if I borked my install

Last edited by ponce; 12-08-2010 at 03:38 PM.
 
Old 12-08-2010, 06:31 PM   #25
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
Quote:
Originally Posted by ponce View Post
FYI, I rebuilt zlib with this two patches (the second should be the one needed, also archlinux applies that)

http://sources.gentoo.org/cgi-bin/vi...-ldflags.patch
http://sources.gentoo.org/cgi-bin/vi...fs-decls.patch

and ardour doesn't segfault anymore \o/

now I look around a little to see if I borked my install
Let us know!
 
Old 12-08-2010, 07:41 PM   #26
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,703

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Try the new update in -Current

Quote:
l/zlib-1.2.5-i486-2.txz: Rebuilt.
Added zlib.pc.
testing/packages/zlib-1.2.5-i486-3.txz: Rebuilt.
This is a first attempt to patch an issue with the way libxml2 uses zlib.
Please test.
 
Old 12-08-2010, 08:11 PM   #27
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
Quote:
Originally Posted by willysr View Post
Try the new update in -Current
Kick ass. Unfortunately I can't test immediately; the wife's going to be using this computer for the next couple of hours and she's a lot less philosophical about breakdowns than I am! I'll run the upgrade as soon as she's done.
 
Old 12-08-2010, 11:37 PM   #28
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
I just got the new update installed, and now it turns out I've gotta run out of town for a few days. Damn. Will report back by Sunday.
 
Old 12-09-2010, 02:02 AM   #29
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,883

Rep: Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918Reputation: 1918
can confirm that with zlib in testing ardour works fine
 
2 members found this post helpful.
Old 12-09-2010, 11:23 AM   #30
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: KaOS
Posts: 831

Rep: Reputation: 96
Turned out I didn't have to leave after all. Got the new zlib installed, Ardour is WORKING!!! So far no breakages, will report anything weird. Pat, you're the man.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linker problem in libxml2 naveenisback Programming 6 01-04-2010 09:00 PM
Problem with libxml2-python-2.5.7 yuri16 Linux - Software 1 05-20-2009 08:59 AM
libxml2 sci3ntist Programming 3 07-23-2007 05:10 AM
libxml2 munna_dude Programming 1 04-26-2007 09:02 AM
installation problems with libxml2-2.2.66.tar.gz and libxml2-devel2-2.6.20-3.tar.gz g-string 3 Linux - Software 6 11-24-2005 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration