Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132479 - mplayer-bin core dumps because of NX/X11 libs clash
Summary: mplayer-bin core dumps because of NX/X11 libs clash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 10:58 UTC by devsk
Modified: 2006-11-04 16:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2006-05-06 10:58:30 UTC
mplayer-bin dumps core because libXext.so.6 => /usr/NX/lib/libXext.so.6 and libX11.so.6 => /usr/NX/lib/libX11.so.6, when they should be coming from /emul/linux/x86/usr/lib/. This happens because /etc/env.d/50nxclient gets picked up before /etc/env.d/75emul-linux-x86* by env-update. Easy fix would be to mv /etc/env.d/50nxclient to /etc/env.d/80nxclient. With that nxclient doesn't seem to be affected, but mplayer-bin works flawlessly.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-06 11:07:52 UTC
Well, this is not a real fix. Upstream should rename the libs to something not stupid to avoid apparent clash and breakage. Happens all the time, not only w/ mplayer.
Comment 2 devsk 2006-05-06 11:52:20 UTC
nxclient is linked with rpath=/usr/NX/lib, so the fix will work for sure. yes, you are right about it being a temp fix, ideally speaking.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-05-14 13:48:07 UTC
not an mplayer-bin problem, it's all NX's fault :P
Comment 4 Bernard Cafarelli gentoo-dev 2006-06-17 07:16:24 UTC
I had the problem too with a sancho 32-bit binary (well all 32bit binaries will encounter problems if they load these libs :/ ). 

I did not find a better solution other than moving env.d file in the 80s range though
Comment 5 devsk 2006-10-14 22:44:31 UTC
refer comment #2 and please implement the env.d fix in the portage. It is safe to do so. I recently hit the crash again and took me a while (about two hours) to debug with strace and gdb, and then I remembered about this bug.
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2006-11-04 16:38:24 UTC
Hi,

This should be fixed by the new packages in the NX overlay.  I'll add the packages to the Portage tree as soon as possible.

Best regards,
Stu