rooneypark / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

Box2d tests fail #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make box2d
2.
3.

What is the expected output? What do you see instead?

I expect Box2d to build and test successfully. Instead I get the error message

######################################################################
Testing Box2D_v2.2.1
######################################################################
Wrote script 
pwd:/home/<user>/NaCl/naclports/src/out/repository/Box2D_v2.2.1/build-nacl-x86_6
4-newlib/HelloWorld HelloWorld.sh
[sel_ldr] HelloWorld
DEBUG MODE ENABLED (bypass acl)
POST-ABORT: LOG_FATAL abort exit

** Signal 6 from trusted code: pc=2abee0b751e5
make: *** [out/sentinels/x86_64_newlib/ports/box2d] Error 250

What version of the product are you using? On what operating system?

I am running Debian Wheezy on a 64bit computer. I am trying to build the latest 
version of naclports with no success (I ran a gclient sync just now, which 
presumably updates everything, not that box2d has been changed recently). I am 
using the NaCl SDK for pepper 30

NACL_SDK_ROOT is set to /home/<user>/NaCl/nacl_sdk/pepper_30

Please provide any additional information below.

Original issue reported on code.google.com by n2102410...@gmail.com on 26 Nov 2013 at 6:42

GoogleCodeExporter commented 9 years ago
It appears that the signal 6 comes up no matter which library I try to build. 
For instance zlib gives this.

######################################################################
Testing zlib-1.2.3
######################################################################
Wrote script pwd:/home/robert/NaCl/naclports/src/out/repository/zlib-1.2.3 
minigzip
DEBUG MODE ENABLED (bypass acl)
DEBUG MODE ENABLED (bypass acl)
POST-ABORT: LOG_FATAL abort exit

** Signal 6 from trusted code: pc=2b0549f011e5
POST-ABORT: LOG_FATAL abort exit

** Signal 6 from trusted code: pc=2b8856b621e5
  *** minigzip test FAILED ***
make: *** [out/sentinels/x86_64_newlib/ports/zlib] Error 1

Could it be a problem with NaCl itself? naclsdk list shows

Bundles:
 I: installed
 *: update available

  I  sdk_tools (stable)
     vs_addin (dev)
     pepper_27 (post_stable)
     pepper_28 (post_stable)
     pepper_29 (post_stable)
  I  pepper_30 (post_stable)
     pepper_31 (stable)
     pepper_32 (dev)
     pepper_canary (canary)

All installed bundles are up-to-date.

Original comment by n2102410...@gmail.com on 26 Nov 2013 at 6:47

GoogleCodeExporter commented 9 years ago
When I installed the SDK the last weekend, the install script pulled me version 
pepper_31 . What happens if you try to compile with that? Installing pepper_31 
as well and changing NACL_SDK_ROOT variable to point to it I mean.

Original comment by jirkadan...@gmail.com on 26 Nov 2013 at 11:35

GoogleCodeExporter commented 9 years ago
The exact same thing happens with pepper 31.

Original comment by n2102410...@gmail.com on 26 Nov 2013 at 3:17

GoogleCodeExporter commented 9 years ago
We are not seeing this issue on the linux build machines:
http://build.chromium.org/p/client.nacl.ports/builders/linux-newlib-0/builds/466
/steps/x86_64%20newlib%20zlib/logs/stdio

I think that signal 6 is SIGABORT which is normally a signal sent from within 
the application (e.g. when malloc detects memory corruption).

Can you try a little debugging?  I would try the following:

1) cd out/repository/zlib-xxx/build-nacl-x86-64
2) edit the minizip script:
   - remove the initial line redirecting nacl logging to /dev/null
3) export NACLVERBOSITY=3
4) run ./minizip (pass the same args that the build.sh script does)

If that doesn't give you any more info, then edit the script again
and pass '-g'.  This will cause the sel_ldr to pause on startup so
you can attach a debugger.  You can then run "x86_64-nacl-gdb minizip.nexe"
and attach to the sel_ldr with "target remote  :4014".

For more information on debugging see: 
https://developers.google.com/native-client/devguide/devcycle/debugging

Also, if you want to build zlib (and minizip) with debugging symbols you can
export NACL_DEBUG=1 before building it.

Original comment by sbc@chromium.org on 26 Nov 2013 at 5:14

GoogleCodeExporter commented 9 years ago
There was no such directory, but I did find a script called minigzip inside the 
zlib-1.2.3 directory. Commenting out the second line and exporting 
NACLVERBOSITY=3 resulted in the following output.

[17560,2849871680:22:16:47.268682] NaClErrorLogHookInit: entered
[17560,2849871680:22:16:47.268880] NaClNameServiceCreateDescEntry: entering 
SecureRandom, 2 (0x2)
DEBUG MODE ENABLED (bypass acl)
sel_ldr argument list:
/home/robert/NaCl/nacl_sdk/pepper_31/tools/sel_ldr_x86_64 -a -B 
/home/robert/NaCl/nacl_sdk/pepper_31/tools/irt_core_x86_64.nexe -- 
./minigzip.nexe
[17560,2849871680:22:16:47.269052] BYPASSING ALL ACL CHECKS
[17560,2849871680:22:16:47.269565] NaClHostDescOpen(0x7ffbaaceb5a0, 
/home/robert/NaCl/nacl_sdk/pepper_31/tools/irt_core_x86_64.nexe, 0x0, 0x0)
[17560,2849871680:22:16:47.269590] NaClHostDescOpen: invoking POSIX 
open(/home/robert/NaCl/nacl_sdk/pepper_31/tools/irt_core_x86_64.nexe,0x0,00)
[17560,2849871680:22:16:47.285240] NaClHostDescOpen: got descriptor 7
[17560,2849871680:22:16:47.285297] NaClHostDescCtor: success.
[17560,2849871680:22:16:47.285329] NaClPerfCounterInterval(SelMain 
__start__:SnapshotBlob): 16516 microsecs
[17560,2849871680:22:16:47.285372] Loading nacl file ./minigzip.nexe (non-RPC)
[17560,2849871680:22:16:47.285394] NaClHostDescOpen(0x7ffbaacea3e0, 
./minigzip.nexe, 0x0, 0x1b6)
[17560,2849871680:22:16:47.285417] NaClHostDescOpen: invoking POSIX 
open(./minigzip.nexe,0x0,0600)
[17560,2849871680:22:16:47.285455] NaClHostDescOpen: got descriptor 11
[17560,2849871680:22:16:47.285472] NaClHostDescCtor: success.
[17560,2849871680:22:16:47.285515] 
=================================================
[17560,2849871680:22:16:47.285539] Elf header
[17560,2849871680:22:16:47.285556] 
==================================================
[17560,2849871680:22:16:47.285572] e_ident+1 = ELF
[17560,2849871680:22:16:47.285588] e_type = 0x2
[17560,2849871680:22:16:47.285605] e_machine = 0x3e
[17560,2849871680:22:16:47.285621] e_version = 0x1
[17560,2849871680:22:16:47.285637] e_entry = 0x5b580
[17560,2849871680:22:16:47.285652] e_phoff = 0x40
[17560,2849871680:22:16:47.285668] e_shoff = 0x9df50
[17560,2849871680:22:16:47.285685] e_flags = 0x200000
[17560,2849871680:22:16:47.285701] e_ehsize = 0x34
[17560,2849871680:22:16:47.285717] e_phentsize = 0x20
[17560,2849871680:22:16:47.285733] e_phnum = 0x4
[17560,2849871680:22:16:47.285749] e_shentsize = 0x40
[17560,2849871680:22:16:47.285765] e_shnum = 0x1b
[17560,2849871680:22:16:47.285781] e_shstrndx = 0x18
[17560,2849871680:22:16:47.285797] sizeof(Elf32_Ehdr) = 0x34
[17560,2849871680:22:16:47.285823] 
=================================================
[17560,2849871680:22:16:47.285840] Elf Program headers
[17560,2849871680:22:16:47.285857] 
==================================================
[17560,2849871680:22:16:47.285879] p_type: 6
[17560,2849871680:22:16:47.285894] p_offset: 0
[17560,2849871680:22:16:47.285910] p_vaddr: 0
[17560,2849871680:22:16:47.285927] p_paddr: 0
[17560,2849871680:22:16:47.285943] p_filesz: 120
[17560,2849871680:22:16:47.285959] p_memsz: 120
[17560,2849871680:22:16:47.285975] p_flags: 4
[17560,2849871680:22:16:47.285991]  (PF_R  )
[17560,2849871680:22:16:47.286007] p_align: 8
[17560,2849871680:22:16:47.286023] 
[17560,2849871680:22:16:47.286039] p_type: 1
[17560,2849871680:22:16:47.286055] p_offset: 10000
[17560,2849871680:22:16:47.286072] p_vaddr: 20000
[17560,2849871680:22:16:47.286088] p_paddr: 20000
[17560,2849871680:22:16:47.286103] p_filesz: 43c60
[17560,2849871680:22:16:47.286120] p_memsz: 43c60
[17560,2849871680:22:16:47.286136] p_flags: 5
[17560,2849871680:22:16:47.286152]  (PF_R  PF_X)
[17560,2849871680:22:16:47.286168] p_align: 10000
[17560,2849871680:22:16:47.286184] 
[17560,2849871680:22:16:47.286199] p_type: 1
[17560,2849871680:22:16:47.286216] p_offset: 60000
[17560,2849871680:22:16:47.286232] p_vaddr: 10020000
[17560,2849871680:22:16:47.286248] p_paddr: 10020000
[17560,2849871680:22:16:47.286264] p_filesz: 10474
[17560,2849871680:22:16:47.286280] p_memsz: 10474
[17560,2849871680:22:16:47.286296] p_flags: 4
[17560,2849871680:22:16:47.286312]  (PF_R  )
[17560,2849871680:22:16:47.286328] p_align: 10000
[17560,2849871680:22:16:47.286344] 
[17560,2849871680:22:16:47.286358] p_type: 1
[17560,2849871680:22:16:47.286373] p_offset: 80000
[17560,2849871680:22:16:47.286389] p_vaddr: 10040000
[17560,2849871680:22:16:47.286404] p_paddr: 10040000
[17560,2849871680:22:16:47.286421] p_filesz: 760
[17560,2849871680:22:16:47.286437] p_memsz: d28
[17560,2849871680:22:16:47.286452] p_flags: 6
[17560,2849871680:22:16:47.286469]  (PF_R PF_W )
[17560,2849871680:22:16:47.286485] p_align: 10000
[17560,2849871680:22:16:47.286501] 
[17560,2849871680:22:16:47.286520] Looking at segment 0, type 0x6, p_flags 0x4
[17560,2849871680:22:16:47.286540] Matched nacl_phdr_check_data[0]
[17560,2849871680:22:16:47.286558] Ignoring
[17560,2849871680:22:16:47.286575] Looking at segment 1, type 0x1, p_flags 0x5
[17560,2849871680:22:16:47.286591] Matched nacl_phdr_check_data[1]
[17560,2849871680:22:16:47.286606] Looking at segment 2, type 0x1, p_flags 0x4
[17560,2849871680:22:16:47.286620] Matched nacl_phdr_check_data[2]
[17560,2849871680:22:16:47.286633] Looking at segment 3, type 0x1, p_flags 0x6
[17560,2849871680:22:16:47.286647] Matched nacl_phdr_check_data[3]
[17560,2849871680:22:16:47.286661] NaClApp addr space layout:
[17560,2849871680:22:16:47.286674] nap->static_text_end    = 0x0000000000063c60
[17560,2849871680:22:16:47.286688] nap->dynamic_text_start = 0x0000000000000000
[17560,2849871680:22:16:47.286701] nap->dynamic_text_end   = 0x0000000000000000
[17560,2849871680:22:16:47.286714] nap->rodata_start       = 0x0000000010020000
[17560,2849871680:22:16:47.286728] nap->data_start         = 0x0000000010040000
[17560,2849871680:22:16:47.286741] nap->data_end           = 0x0000000010040d28
[17560,2849871680:22:16:47.286755] nap->break_addr         = 0x0000000010040d28
[17560,2849871680:22:16:47.286768] nap->initial_entry_pt   = 0x000000000005b580
[17560,2849871680:22:16:47.286782] nap->user_entry_pt      = 0x0000000000000000
[17560,2849871680:22:16:47.286795] nap->bundle_size        = 0x20
[17560,2849871680:22:16:47.286808] Allocating address space
[17560,2849871680:22:16:47.286822] NaClPerfCounterInterval(NaClAppLoadFile 
__start__:PreAllocAddrSpace): 1323 microsecs
[17560,2849871680:22:16:47.286837] NaClAllocAddrSpace: calling 
NaClAllocateSpace(*,0x0000000100000000)
[17560,2849871680:22:16:47.287038] Native Client module will be loaded at base 
address 0x000058d000000000
[17560,2849871680:22:16:47.287054] madvising 0x58d010050000, 0xeefb0000, 
MADV_DONTNEED
[17560,2849871680:22:16:47.287071] mprotecting 0x58d010050000, 0xeefb0000, 
PROT_NONE
[17560,2849871680:22:16:47.287087] NaClPerfCounterInterval(NaClAppLoadFile 
PreAllocAddrSpace:*AllocAddrSpace): 266 microsecs
[17560,2849871680:22:16:47.287102] Loading into memory
[17560,2849871680:22:16:47.287118] loading segment 1
[17560,2849871680:22:16:47.310849] loading segment 2
[17560,2849871680:22:16:47.314874] loading segment 3
[17560,2849871680:22:16:47.314902] Replacing gap between static text and 
(ro)data with shareable memory
[17560,2849871680:22:16:47.315061] NaClPerfCounterInterval(NaClAppLoadFile 
*AllocAddrSpace:*MakeDynText): 27973 microsecs
[17560,2849871680:22:16:47.315136] Validating image
[17560,2849871680:22:16:47.333224] NaClPerfCounterInterval(NaClAppLoadFile 
*MakeDynText:*ValidateImg): 18160 microsecs
[17560,2849871680:22:16:47.333279] Initializing arch switcher
[17560,2849871680:22:16:47.333293] Installing trampoline
[17560,2849871680:22:16:47.333308] Entered NaClMakeDispatchAddrs
[17560,2849871680:22:16:47.333324] NaClPageAllocRandomized: 0x76ce5a98
[17560,2849871680:22:16:47.333338] NaClPageAllocRandomized: hint 0x76ce5a980000
[17560,2849871680:22:16:47.333360] NaClMakeDispatchAddrs: got addr 
0x76ce5a980000
[17560,2849871680:22:16:47.333448] num_syscalls = 2047 (0x7ff)
[17560,2849871680:22:16:47.333692] Installing springboard
[17560,2849871680:22:16:47.333708] Applying memory protection
[17560,2849871680:22:16:47.333728] Protecting guard pages for 0x58d000000000
[17560,2849871680:22:16:47.333749] NaClVmmapAdd(0x7fff85ca5a28, 0x0, 0x10, 0x0, 
0x2, 0x0, 0x0)
[17560,2849871680:22:16:47.333766] Trampoline/text region start 0x58d000010000, 
size 0x00060000, end 0x58d000070000
[17560,2849871680:22:16:47.333796] NaClVmmapAdd(0x7fff85ca5a28, 0x10, 0x60, 
0x5, 0x2, 0x0, 0x0)
[17560,2849871680:22:16:47.333818] shm txt region start 0x58d000070000, size 
0x0ffb0000, end 0x58d010020000
[17560,2849871680:22:16:47.333835] NaClVmmapAdd(0x7fff85ca5a28, 0x70, 0xffb0, 
0x5, 0x2, 0x7ffbaaceca30, 0x0)
[17560,2849871680:22:16:47.333855] RO data region start 0x58d010020000, size 
0x00020000, end 0x58d010040000
[17560,2849871680:22:16:47.333892] NaClVmmapAdd(0x7fff85ca5a28, 0x10020, 0x20, 
0x1, 0x2, 0x0, 0x0)
[17560,2849871680:22:16:47.333910] RW data region start 0x58d010040000, size 
0x00010000, end 0x58d010050000
[17560,2849871680:22:16:47.333926] NaClVmmapAdd(0x7fff85ca5a28, 0x10040, 0x10, 
0x3, 0x2, 0x0, 0x0)
[17560,2849871680:22:16:47.333945] RW stack region start 0x58d0ff000000, size 
0x01000000, end 0x58d100000000
[17560,2849871680:22:16:47.333963] NaClVmmapAdd(0x7fff85ca5a28, 0xff000, 
0x1000, 0x3, 0x2, 0x0, 0x0)
[17560,2849871680:22:16:47.333983] NaClAppLoadFile done; 
[17560,2849871680:22:16:47.333996] NaClApp addr space layout:
[17560,2849871680:22:16:47.334012] nap->static_text_end    = 0x0000000000070000
[17560,2849871680:22:16:47.334030] nap->dynamic_text_start = 0x0000000000070000
[17560,2849871680:22:16:47.334046] nap->dynamic_text_end   = 0x0000000010020000
[17560,2849871680:22:16:47.334063] nap->rodata_start       = 0x0000000010020000
[17560,2849871680:22:16:47.334079] nap->data_start         = 0x0000000010040000
[17560,2849871680:22:16:47.334095] nap->data_end           = 0x0000000010040d28
[17560,2849871680:22:16:47.334111] nap->break_addr         = 0x0000000010040d28
[17560,2849871680:22:16:47.334127] nap->initial_entry_pt   = 0x000000000005b580
[17560,2849871680:22:16:47.334143] nap->user_entry_pt      = 0x0000000000000000
[17560,2849871680:22:16:47.334159] nap->bundle_size        = 0x20
[17560,2849871680:22:16:47.334176] NaClPerfCounterInterval(NaClAppLoadFile 
__start__:EndLoadFile): 48677 microsecs
[17560,2849871680:22:16:47.334205] NaClPerfCounterInterval(SelMain 
SnapshotBlob:AppLoadEnd): 48876 microsecs
printing NaClApp details
NaClAppPrintDetails((struct NaClApp *) 0x7fff85ca58b0,(struct Gio *) 
0x7fff85ca5880)
addr space size:  2**32
stack size:       0x01000000
mem start addr:   0x58d000000000
static_text_end:   0x00070000
end-of-text:       0x00070000
rodata:            0x10020000
data:              0x10040000
data_end:          0x10040d28
break_addr:        0x10040d28
ELF initial entry point:  0x0005b580
ELF user entry point:  0x00000000
memory map:

Page   0 (0x0)
npages 16 (0x10)
start vaddr 0x0
end vaddr   0x10000
prot   0x00000000
not shared/backed by a file

Page   16 (0x10)
npages 96 (0x60)
start vaddr 0x10000
end vaddr   0x70000
prot   0x00000005
not shared/backed by a file

Page   112 (0x70)
npages 65456 (0xffb0)
start vaddr 0x70000
end vaddr   0x10020000
prot   0x00000005
shared/backed by a file

Page   65568 (0x10020)
npages 32 (0x20)
start vaddr 0x10020000
end vaddr   0x10040000
prot   0x00000001
not shared/backed by a file

Page   65600 (0x10040)
npages 16 (0x10)
start vaddr 0x10040000
end vaddr   0x10050000
prot   0x00000003
not shared/backed by a file

Page   1044480 (0xff000)
npages 4096 (0x1000)
start vaddr 0xff000000
end vaddr   0x100000000
prot   0x00000003
not shared/backed by a file
[17560,2849871680:22:16:47.334848] Loading blob file 
/home/robert/NaCl/nacl_sdk/pepper_31/tools/irt_core_x86_64.nexe
[17560,2849871680:22:16:47.347231] 
=================================================
[17560,2849871680:22:16:47.347258] Elf header
[17560,2849871680:22:16:47.347274] 
==================================================
[17560,2849871680:22:16:47.347290] e_ident+1 = ELF
[17560,2849871680:22:16:47.347306] e_type = 0x2
[17560,2849871680:22:16:47.347322] e_machine = 0x3e
[17560,2849871680:22:16:47.347338] e_version = 0x1
[17560,2849871680:22:16:47.347354] e_entry = 0xfa00080
[17560,2849871680:22:16:47.347370] e_phoff = 0x40
[17560,2849871680:22:16:47.347385] e_shoff = 0xa5590
[17560,2849871680:22:16:47.347401] e_flags = 0
[17560,2849871680:22:16:47.347417] e_ehsize = 0x34
[17560,2849871680:22:16:47.347441] e_phentsize = 0x20
[17560,2849871680:22:16:47.347455] e_phnum = 0x7
[17560,2849871680:22:16:47.347468] e_shentsize = 0x40
[17560,2849871680:22:16:47.347482] e_shnum = 0x19
[17560,2849871680:22:16:47.347495] e_shstrndx = 0x18
[17560,2849871680:22:16:47.347509] sizeof(Elf32_Ehdr) = 0x34
[17560,2849871680:22:16:47.347526] 
=================================================
[17560,2849871680:22:16:47.347540] Elf Program headers
[17560,2849871680:22:16:47.347553] 
==================================================
[17560,2849871680:22:16:47.347567] p_type: 1
[17560,2849871680:22:16:47.347581] p_offset: 10000
[17560,2849871680:22:16:47.347594] p_vaddr: fa00000
[17560,2849871680:22:16:47.347608] p_paddr: fa00000
[17560,2849871680:22:16:47.347621] p_filesz: 34960
[17560,2849871680:22:16:47.347635] p_memsz: 34960
[17560,2849871680:22:16:47.347648] p_flags: 5
[17560,2849871680:22:16:47.347662]  (PF_R  PF_X)
[17560,2849871680:22:16:47.347676] p_align: 10000
[17560,2849871680:22:16:47.347689] 
[17560,2849871680:22:16:47.347702] p_type: 1
[17560,2849871680:22:16:47.347715] p_offset: 0
[17560,2849871680:22:16:47.347729] p_vaddr: 3ef00000
[17560,2849871680:22:16:47.347742] p_paddr: 3ef00000
[17560,2849871680:22:16:47.347756] p_filesz: 5b38
[17560,2849871680:22:16:47.347769] p_memsz: 5b38
[17560,2849871680:22:16:47.347783] p_flags: 4
[17560,2849871680:22:16:47.347796]  (PF_R  )
[17560,2849871680:22:16:47.347810] p_align: 10000
[17560,2849871680:22:16:47.347823] 
[17560,2849871680:22:16:47.347836] p_type: 1
[17560,2849871680:22:16:47.347849] p_offset: 5b40
[17560,2849871680:22:16:47.347862] p_vaddr: 3ef15b40
[17560,2849871680:22:16:47.347876] p_paddr: 3ef15b40
[17560,2849871680:22:16:47.347890] p_filesz: 55a0
[17560,2849871680:22:16:47.347903] p_memsz: 5c08
[17560,2849871680:22:16:47.347916] p_flags: 6
[17560,2849871680:22:16:47.347929]  (PF_R PF_W )
[17560,2849871680:22:16:47.347943] p_align: 10000
[17560,2849871680:22:16:47.347957] 
[17560,2849871680:22:16:47.347969] p_type: 4
[17560,2849871680:22:16:47.347983] p_offset: 1c8
[17560,2849871680:22:16:47.347996] p_vaddr: 3ef001c8
[17560,2849871680:22:16:47.348010] p_paddr: 3ef001c8
[17560,2849871680:22:16:47.348023] p_filesz: 40
[17560,2849871680:22:16:47.348037] p_memsz: 40
[17560,2849871680:22:16:47.348050] p_flags: 4
[17560,2849871680:22:16:47.348063]  (PF_R  )
[17560,2849871680:22:16:47.348077] p_align: 4
[17560,2849871680:22:16:47.348090] 
[17560,2849871680:22:16:47.348103] p_type: 6474e550
[17560,2849871680:22:16:47.348116] p_offset: 498c
[17560,2849871680:22:16:47.348130] p_vaddr: 3ef0498c
[17560,2849871680:22:16:47.348143] p_paddr: 3ef0498c
[17560,2849871680:22:16:47.348157] p_filesz: 11ac
[17560,2849871680:22:16:47.348170] p_memsz: 11ac
[17560,2849871680:22:16:47.348184] p_flags: 4
[17560,2849871680:22:16:47.348197]  (PF_R  )
[17560,2849871680:22:16:47.348210] p_align: 4
[17560,2849871680:22:16:47.348224] 
[17560,2849871680:22:16:47.348237] p_type: 6474e551
[17560,2849871680:22:16:47.348250] p_offset: 0
[17560,2849871680:22:16:47.348263] p_vaddr: 0
[17560,2849871680:22:16:47.348276] p_paddr: 0
[17560,2849871680:22:16:47.348289] p_filesz: 0
[17560,2849871680:22:16:47.348301] p_memsz: 0
[17560,2849871680:22:16:47.348314] p_flags: 6
[17560,2849871680:22:16:47.348327]  (PF_R PF_W )
[17560,2849871680:22:16:47.348340] p_align: 0
[17560,2849871680:22:16:47.348354] 
[17560,2849871680:22:16:47.348367] p_type: 7
[17560,2849871680:22:16:47.348379] p_offset: 5b40
[17560,2849871680:22:16:47.348392] p_vaddr: 3ef15b40
[17560,2849871680:22:16:47.348405] p_paddr: 3ef15b40
[17560,2849871680:22:16:47.348419] p_filesz: 460
[17560,2849871680:22:16:47.348431] p_memsz: 488
[17560,2849871680:22:16:47.348444] p_flags: 4
[17560,2849871680:22:16:47.348457]  (PF_R  )
[17560,2849871680:22:16:47.348470] p_align: 8
[17560,2849871680:22:16:47.348483] 
[17560,2849871680:22:16:47.358836] 
NaClPerfCounterInterval(NaClTextDyncodeCreate __start__:*DynRegionValidate): 
5642 microsecs
[17560,2849871680:22:16:47.359106] MakeDynamicCodePageVisible: NaClMprotect() 
failed
POST-ABORT: LOG_FATAL abort exit

** Signal 6 from trusted code: pc=7ffba8f241e5

Searching for the error message turned up another issue 
(https://code.google.com/p/nativeclient/issues/detail?id=1883) with the same 
error. However this was over two years ago and for ChromeOS, not Debian, so I'm 
not sure it helps.

Original comment by n2102410...@gmail.com on 3 Dec 2013 at 3:46

GoogleCodeExporter commented 9 years ago
I found these issues too, so it seems like it might be a problem on certain 
Linux distributions where /dev/shm is not mounted as executable. I'm just 
running plain Debian, so there shouldn't be anything fancy there. But the 
suggested fix of "sudo mount -o remount,exec /dev/shm", seems to have worked.

https://code.google.com/p/nativeclient/issues/detail?id=2002
https://code.google.com/p/nativeclient/issues/detail?id=2533

Original comment by n2102410...@gmail.com on 3 Dec 2013 at 3:56

GoogleCodeExporter commented 9 years ago
Closing this issue as it seems to be general NaCl issue, no naclports related.  
Please reopen if you disagree.

Original comment by sbc@google.com on 19 Jun 2014 at 6:20