Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 15 Jun 2017 16:08:03 +0300
From: Tobias Koch <>
Subject: pthread_getattr_np doing loads of mremaps on ARM, MIPS under QEMU


running under QEMU user mode, Ruby 2.4 (and it seems also Guile) ARM and 
MIPS binaries take a long time to start and eventually crash. The long 
startup seems to come from this loop

   while (mremap(p-l-PAGE_SIZE, PAGE_SIZE, 2*PAGE_SIZE, 0)==MAP_FAILED 
&& errno==ENOMEM)
           l += PAGE_SIZE;

being executed hundreds of times in pthread_getattr_np. Any idea what 
this could be about except from maybe being a QEMU bug?

The subsequent crash then occurs after memory set aside by alloca is 
accessed. I think this may be unrelated.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.