All times are UTC-06:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Debian armhf eglibc bug
PostPosted: Thu May 24, 2012 11:23 pm 
Offline

Joined: Fri Aug 19, 2011 10:58 am
Posts: 17
Location: Denmark
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.


Top
   
PostPosted: Fri May 25, 2012 2:43 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
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.

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.
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.


Top
   
 Post subject:
PostPosted: Sat May 26, 2012 2:45 am 
Offline

Joined: Fri Aug 19, 2011 10:58 am
Posts: 17
Location: Denmark
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group