Bug#44654: dpkg: seg faults w/2.3.17; problem traced to sysinfo() call
> dpkg under my self-compiled Linux 2.3.17 seg faults on startup if a
> non-dpkg-deb option is given. The problem is avoided if the call to
> sysinfo() in main/filesdb.c is bypassed. I can't see what's going
> wrong (it's probably something in kernel space clobbering user space,
> but the code seems fine and probably hasn't changed in a while).
sysinfo() was broken by people adding fields. I thought I had it all put
back right in the last patches I sent Linus. Check the user and kernel
opinion of struct sysinfo on your machine match
Reply to: