base-linux: LD: exception during program load

Pirmin Duss pirmin.duss at gapfruit.com
Tue Dec 20 15:21:04 CET 2022


Hello Genodians

While Testing the `wasmedge` application that I'm porting with the Goa 
tool (goa run), I get the following errors:

```
Error: _map_local: lx_mmap failed(addr_in=0x0, 
addr_out=0xffffffffffffffed/-19) overmap=0
Error: LD: exception during program load: 
'Genode::Region_map::Region_conflict'
Error: Uncaughht exception of type 'Genode::Region_map::Region_conflict'
Warning: abort called - thread: ep
```

I tried to follow the path that leads to this by adding some debug 
prints to the code in base-linux. If I'm not mistaken, the error 
happens, when in `load_phdr()` in the file 
`base/src/lib/ldso/include/file.h` a temporary dataspace is created.

The binary compiled for x86_64 is 312K in size.

Has somebody an idea what could be going wrong?

Best regards,
Pirmin



More information about the users mailing list