lkml.org 
[lkml]   [1999]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectBug#44654: dpkg: seg faults w/2.3.17; problem traced to sysinfo() call
From
Date
Package: dpkg
Version: 1.4.1.6
Severity: normal

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

Furthermore, the use of the sysinfo() call is a nop, because dpkg uses
the "large memory" model by default if you have more than 6144 bytes
(yes, I said bytes) of total system memory, regardless of free memory.
This should probably be changed (filesdb around line 500).

The kernel is built with gcc 2.7.2.3 and the latest binutils. .config
available on request.

[CC'd to linux-kernel.]

-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux quango4 2.3.17 #1 Thu Sep 9 01:07:05 CDT 1999 i686

Versions of packages dpkg depends on:
ii libc6 2.1.2-1 GNU C Library: Shared libraries an
ii libncurses4 4.2-3.2 Shared libraries for terminal hand
ii libstdc++2.9-glibc2.1 2.91.66-2 The GNU stdc++ library (EGCS versi


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.066 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site