Power Developer https://powerdeveloper.org/forums/ |
|
Debian armhf eglibc bug https://powerdeveloper.org/forums/viewtopic.php?f=7&t=2261 |
Page 1 of 1 |
Author: | elmerfudd [ Thu May 24, 2012 11:23 pm ] |
Post subject: | Debian armhf eglibc bug |
I'm not sure where to bug-report this, but I've found a rather obvious bug with a patch applied to eglibc in debian. When loading an elf the patch checks for an ARM attribute, and exits the process if it didn't get a satisfactory result. This is VERY wrong, it should make dlopen etc. return an error instead. I have a tv card driver that preloads a .so, which means every single process will exit upon load after I've installed it. Where is the best place to report this bug? It renders the system totally unusable as you can't start an editor and disable the preloading, or uninstall the driver. |
Author: | markos [ Fri May 25, 2012 2:43 am ] |
Post subject: | Re: Debian armhf eglibc bug |
Quote: I'm not sure where to bug-report this, but I've found a rather obvious bug with a patch applied to eglibc in debian.
The Debian Bug Tracking system is the best place for this, check http://bugs.debian.org/cgi-bin/pkgrepor ... t=unstable and http://www.debian.org/Bugs/Reporting on how to report the bug, try to include as much info as possible and ways to reproduce the bug exactly.
When loading an elf the patch checks for an ARM attribute, and exits the process if it didn't get a satisfactory result. This is VERY wrong, it should make dlopen etc. return an error instead. I have a tv card driver that preloads a .so, which means every single process will exit upon load after I've installed it. Where is the best place to report this bug? It renders the system totally unusable as you can't start an editor and disable the preloading, or uninstall the driver. |
Author: | elmerfudd [ Sat May 26, 2012 2:45 am ] |
Post subject: | |
Thanx, that was easier than expected. I didn't know there was a bugreport tool built into debian :) I hope it will be fixed soon, I think it a rather serious bug. I rendered my system totally unusable simply by installing a driver for my tv card, since it adds a .so to preload. The bug makes any process that attempts to load a softfloat lib exit immediately: http://http://bugs.debian.org/cgi-bin/b ... bug=674602 So if there is a softfloat lib in /etc/ld.so.preload you cannot start any processes anymore. I've attached some code that would make the problem go away, and still have dlopen etc. fail to load the lib. |
Page 1 of 1 | All times are UTC-06:00 |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |