This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __getpagesize: Assertion Failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]