mmap() returned memory outside 2Gb - GHC on ubuntu hardy amd64

Rahul Kapoor rk at trie.org
Thu Nov 20 10:24:41 EST 2008


Attached is the memory map of ghc process running under gdb on a xen instance.
-------------- next part --------------
00400000-01460000 r-xp 00000000 08:01 4177923                            /home/deploy/ghc-6.11.20081117/ghc/stage2-inplace/libexec/ghc
01660000-017e6000 rw-p 01060000 08:01 4177923                            /home/deploy/ghc-6.11.20081117/ghc/stage2-inplace/libexec/ghc
017e6000-0182b000 rw-p 017e6000 00:00 0                                  [heap]
40000000-40099000 rwxp 00000000 08:01 3966016                            /home/deploy/ghc-6.11.20081117/libraries/ghc-prim/dist/build/HSghc-prim-0.1.0.0.o
40099000-400a0000 rwxp 40099000 00:00 0 
7fede7900000-7fede7b00000 rw-p 7fede7900000 00:00 0 
7fede7bfe000-7fede7bff000 ---p 7fede7bfe000 00:00 0 
7fede7bff000-7fede83ff000 rwxp 7fede7bff000 00:00 0 
7fede83ff000-7fede8400000 ---p 7fede83ff000 00:00 0 
7fede8400000-7fede8c00000 rwxp 7fede8400000 00:00 0 
7fede8c00000-7fede8d00000 rw-p 7fede8c00000 00:00 0 
7fede8ddd000-7fede8f35000 r-xp 00000000 08:01 7195193                    /lib/libc-2.7.so
7fede8f35000-7fede9135000 ---p 00158000 08:01 7195193                    /lib/libc-2.7.so
7fede9135000-7fede9138000 r--p 00158000 08:01 7195193                    /lib/libc-2.7.so
7fede9138000-7fede913a000 rw-p 0015b000 08:01 7195193                    /lib/libc-2.7.so
7fede913a000-7fede913f000 rw-p 7fede913a000 00:00 0 
7fede913f000-7fede9155000 r-xp 00000000 08:01 7195207                    /lib/libpthread-2.7.so
7fede9155000-7fede9355000 ---p 00016000 08:01 7195207                    /lib/libpthread-2.7.so
7fede9355000-7fede9357000 rw-p 00016000 08:01 7195207                    /lib/libpthread-2.7.so
7fede9357000-7fede935b000 rw-p 7fede9357000 00:00 0 
7fede935b000-7fede9363000 r-xp 00000000 08:01 7195209                    /lib/librt-2.7.so
7fede9363000-7fede9562000 ---p 00008000 08:01 7195209                    /lib/librt-2.7.so
7fede9562000-7fede9564000 rw-p 00007000 08:01 7195209                    /lib/librt-2.7.so
7fede9564000-7fede95a2000 r-xp 00000000 08:01 9191485                    /usr/lib/libgmp.so.3.4.2
7fede95a2000-7fede97a2000 ---p 0003e000 08:01 9191485                    /usr/lib/libgmp.so.3.4.2
7fede97a2000-7fede97a3000 rw-p 0003e000 08:01 9191485                    /usr/lib/libgmp.so.3.4.2
7fede97a3000-7fede9823000 r-xp 00000000 08:01 7195197                    /lib/libm-2.7.so
7fede9823000-7fede9a22000 ---p 00080000 08:01 7195197                    /lib/libm-2.7.so
7fede9a22000-7fede9a24000 rw-p 0007f000 08:01 7195197                    /lib/libm-2.7.so
7fede9a24000-7fede9a26000 r-xp 00000000 08:01 7195196                    /lib/libdl-2.7.so
7fede9a26000-7fede9c26000 ---p 00002000 08:01 7195196                    /lib/libdl-2.7.so
7fede9c26000-7fede9c28000 rw-p 00002000 08:01 7195196                    /lib/libdl-2.7.so
7fede9c28000-7fede9c2a000 r-xp 00000000 08:01 7195212                    /lib/libutil-2.7.so
7fede9c2a000-7fede9e29000 ---p 00002000 08:01 7195212                    /lib/libutil-2.7.so
7fede9e29000-7fede9e2b000 rw-p 00001000 08:01 7195212                    /lib/libutil-2.7.so
7fede9e2b000-7fede9e48000 r-xp 00000000 08:01 7195190                    /lib/ld-2.7.so
7fedea02f000-7fedea03d000 rwxp 00000000 08:01 3981392                    /home/deploy/ghc-6.11.20081117/libraries/integer-gmp/dist/build/HSinteger-0.1.0.0.o
7fedea03d000-7fedea041000 rw-p 7fedea03d000 00:00 0 
7fedea045000-7fedea048000 rw-p 7fedea045000 00:00 0 
7fedea048000-7fedea04a000 rw-p 0001d000 08:01 7195190                    /lib/ld-2.7.so
7ffff2034000-7ffff2047000 rwxp 7ffffffea000 00:00 0                      [stack]
7ffff2047000-7ffff2049000 rw-p 7fffffffd000 00:00 0 
7ffff21fe000-7ffff2200000 r-xp 7ffff21fe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]


More information about the Glasgow-haskell-users mailing list