pombreda / re2

Automatically exported from code.google.com/p/re2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Test failure on ia64 due to page size #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tests fail on Debian/ia64 because ia64 has 16k pages, but we try to munmap an 
8k page.

Attached patch fixes the bug by using multiples of 16k.

Original issue reported on code.google.com by stefano.rivera on 26 Jul 2011 at 3:00

Attachments:

GoogleCodeExporter commented 9 years ago
Actually, let's do this right :)

Also, for the record, the failure:
re2/testing/re2_test.cc:672: Memory at 0x2000000000674000
re2/testing/re2_test.cc:673: Check failed: (munmap(v + 8*1024, 8*1024)) == (0) 
error 22

Original comment by stefano.rivera on 26 Jul 2011 at 4:38

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 67e969a063d4.

Original comment by rsc@swtch.com on 23 Oct 2011 at 9:50