[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Potentially serious problem with kernel-headers...



Maybe I'm being alarmist here, but I think that I (and a few others) have
bumped into a real problem with the kernel-headers package and the links in
/usr/include.

I'm the Debian maintainer of cdparanoia, a cd sampling program similar to
cdda2wav.  I built the package on my machine when I was running 2.0.31.  I
had kernel-headers-2.0.32 installed.  Recently I upgraded my kernel to
2.0.34 (manually), and suddenly my cdparanoia binary started segfaulting in
a call to malloc.  (I traced through the memory allocation/usage very
closely, and used electric fence and checker and saw NO problems.  The
upstream author looked at the problem as well and suggested several
things that didn't pan out.)

Today, as an experiment, I manually pointed the links in /usr/include/
(linux and asm) to point at the header files in /user/src/linux-2.0.34.
Recompilation with the links changed fixed the problem.  Apparently, some
kernel interface changed and because I didn't previously move the links
(which I'm not supposed to, right?), the old binary was incompatible with
the new kernel!

Any ideas how to deal with this?

Thanks,
	Dale

-- 
+--------------------  finger for pgp public key  ---------------------+
| Dale E. Martin |  Clifton Labs, Inc.  |  Senior Computer Engineer    |
| dmartin@clifton-labs.com    |    http://www.clifton-labs.com         |
+----------------------------------------------------------------------+


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: