sholsapp/nlcbsmm — Issue #1: SIGSEGV when remapping the global page_table.
Author: sholsapp
Created: 2012-01-28 05:16:57+00:00
State: open

When using `mremap(2)` to change the virtual address of the page_table, this happens (a lot).

Starting program: /home/sholsapp/workspace/nlcbsmm/experiments/benchmark/benchmark-hoard
[Thread debugging using libthread_db enabled]
allocate 8 element(s) of size 4
allocated at: 0xb7fdb000
allocate 128 element(s) of size 4
allocated at: 0xb7fda000
allocate 8 element(s) of size 4
allocated at: 0xb7fd9000
allocate 128 element(s) of size 4
allocated at: 0xb7fd8000

����������������������������������������

> nlcbsmm init on local ip: 192.168.1.22 <
> main (0x80488a7) | _end (0x8049dcc) | __data_start(0x8049d8c)
> local heap object lives in 0xb7fc6b60 <
> page table lives in 0xb7c98000 - 0xb7ca8000 <

����������������������������������������

allocate 1 element(s) of size 24
allocated at: 0xb7fd3000
allocate 1 element(s) of size 4
allocated at: 0xb7fd2000
allocate 2 element(s) of size 4
allocated at: 0xb7fd1000
deallocate 1 element(s) of size 4 at: 0xb7fd2000
TEST: page_table @ 0xb7c98000
TEST: page_list @ 0xb7fd6000 | TEST: retreived @ 0xb7fd6000
TEST: page1 @ 0xb7fd5000
TEST: page2 @ 0xb7fd4000
> multi-listener
> uni-listener
> multi-speaker
192.168.1.22 is adding superblock entry (0xb7bf0000) to metadata...done.
> received join acknowledgement
my uuid: 13
master pt_s (0xb751e000) | local_s (0xb7c98000)
master pt_e (0xb752e000) | local_e (0xb7ca8000)
Accessing page table...allocate 1 element(s) of size 24
allocated at: 0xb7be1000
[New LWP 4820]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 4820]
0xb7e9866b in std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) () from /usr/lib/libstdc++.so.6