public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64]  Anybody else having problems with audio/vidio apps and glibc-2.5?
@ 2006-10-23 17:22 Duncan
  2006-10-23 19:10 ` Hemmann, Volker Armin
  2006-10-23 19:30 ` [gentoo-amd64] " Jan Jitse Venselaar
  0 siblings, 2 replies; 25+ messages in thread
From: Duncan @ 2006-10-23 17:22 UTC (permalink / raw
  To: gentoo-amd64

I've been having all /sorts/ of problems with formerly stable audio and
video apps crashing recently.  The pattern is a crash at launch most (but
not all) of the time, often with some memory error.  However, if it
/does/ start and works more than a few minutes, it's fully stable and
will play for hours without issue.  xmms, kaffeine, amarok, all affected.

I didn't notice it until the upgrade to kde-3.5.5, which was my first big
set of apps built using the experimental CFLAG -ftree-vectorize as
discussed here a month or so ago, so I thought it was KDE. However, after
recompiling a bunch of stuff several different times/ways, nothing seemed
to be working.

Then I chanced across some ongoing discussion about nptl/linux-threads in
glibc-2.5 and forward on the dev list, while I was taking a break from
troubleshooting, and the thought occurred to me that glibc had been
upgraded at about the same time.

VWALLA!  I try to downgrade to glibc-2.4-r4, and get hit with its sanity
downgrade blocker.  It won't let me do it.  So a quick reboot to my backup
image (still on glibc-2.4-r3) and a quick ROOT=<backup> (which is main
working, since I'm no /on/ backup) export later, I'm emerging glibc-2.4-r4
(which I have binpkged, thanks to FEATURES=buildpkg) over top of what I'm
now convinced is a bad glibc-2.5.

Sure enough, reboot back to my main/working image again, now with
glibc-2.4-r4 once again, and **NO MORE CRASHES!!**

So... kde-3.5.5 with -ftree-vectorize is back in the clear.  The problem
is either glibc-2.5 itself, or -ftree-vectorize with it.  I haven't
figured out which yet, but I thought I'd post this both as a heads-up to
others and a question to see if anyone else has run into similar issues. 
I'll probably followup after I figure out which of those is the culprit or
if it's the combination.

Meanwhile a potentially useful trick to keep up your sleeve, just in case
you ever find yourself needing to downgrade glibc but the glibc ebuild
failing to let you do so.  Reboot to your emergency image, be that a
LiveCD or a backup set of partitions on your hard drive, mount your normal
working filesystem image, set ROOT= to point portage at the normal system
(not the backup), and /then/ do your glibc downgrade.  Then boot back to
your regular system and hope the downgrade works, as it did here. =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2006-10-25  8:28 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-23 17:22 [gentoo-amd64] Anybody else having problems with audio/vidio apps and glibc-2.5? Duncan
2006-10-23 19:10 ` Hemmann, Volker Armin
2006-10-23 22:12   ` [gentoo-amd64] " Duncan
2006-10-23 22:19     ` Hemmann, Volker Armin
2006-10-23 23:48     ` Jamie
2006-10-24  0:19       ` Hemmann, Volker Armin
2006-10-24  1:26         ` Jamie
2006-10-24  1:47           ` Joe Menola
2006-10-24  1:58           ` Richard Fish
2006-10-24  9:00             ` Peter Humphrey
2006-10-24 17:25               ` Richard Fish
2006-10-25  8:17                 ` Peter Humphrey
2006-10-24  2:02           ` Nuitari
2006-10-24  2:04           ` Hemmann, Volker Armin
2006-10-24  8:29       ` Simon Stelling
2006-10-24 13:04       ` [gentoo-amd64] Backup techniques Was: " Duncan
2006-10-24 13:28         ` Rob Lesslie
2006-10-24 14:01         ` Peter Humphrey
2006-10-24 14:18           ` Bo Ørsted Andresen
2006-10-25  8:19             ` Peter Humphrey
2006-10-24 15:03       ` [gentoo-amd64] Re: Anybody else having problems with " Bob Sanders
2006-10-24  9:11     ` Andrei Slavoiu
2006-10-23 19:30 ` [gentoo-amd64] " Jan Jitse Venselaar
2006-10-23 22:18   ` [gentoo-amd64] " Duncan
2006-10-24  9:43   ` [gentoo-amd64] " Piotr Pruszczak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox