Bug#44654: dpkg: seg faults w/2.3.17; problem traced to sysinfo() call
> unsigned long bufferram; /* Memory used by buffers */
> - unsigned long totalbig; /* Total big memory size */
> - unsigned long freebig; /* Available big memory size */
> unsigned long totalswap; /* Total swap space size */
> unsigned long freeswap; /* swap space still available */
> unsigned short procs; /* Number of current processes */
> + unsigned long totalbig; /* Total big memory size */
> + unsigned long freebig; /* Available big memory size */
> + char _f[22-2*sizeof(long)]; /* Padding: libc5 uses this.. */
> };
>
> #endif
>
> ...Not sure what the original point of this patch is, but reversing it
> makes things work agian.
It puts everyhing back as it was in 2.2.x. However due to alignment it should
be 20- on x86.
Reply to: