Re: Problems in sendfile?

2016-12-03 Thread Roman Shaposhnik
sendfile is a pretty Linux-centric API and I'm sure it isn't implemented by OSv. Given that this is erlang and it must support platforms that don't have sendfile(2) I suggest you look into how to build it for POSIX (as opposed to Linux) environment Thanks, Roman. On Sat, Dec 3, 2016 at 5:06 PM,

Problems in sendfile?

2016-12-03 Thread Rick Payne
The erlang app that I’m hacking is sending out some data to a socket and its using sendfile to do this. This is causing OSv to abort: (gdb) bt #0 processor::cli_hlt () at arch/x64/processor.hh:248 #1 0x00209cf6 in arch::halt_no_interrupts () at arch/x64/arch.hh:48 #2