__getpagesize: Assertion Failure

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Mon Jun 12 18:10:00 GMT 2017


On 12 June 2017 at 23:23, David Chappelle <chappedm@gmail.com> wrote:
> Sadly I am stuck working on an embedded device with no gdb. So I don't
> even have a stacktrace to share. Also, I do not have source code for
> the binary that I am executing ... this is my hail mary.

Both ways in which this could happen points to the kernel.  One way is
via auxv, where the kernel passes up the page size using the AT_PAGESZ
auxval and the other is EXEC_PAGESIZE macro in param.h, which glibc
builds with to get the initial value of page size.

Siddhesh
-- 
http://siddhesh.in



More information about the Libc-help mailing list