Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Waldek Kozaczuk
On Thu, May 21, 2020 at 3:40 PM wrote: > Hi, thanks for the prompt replies. I was just typing up a long response > (and ended up suspecting similar culprits) until I noticed there were 2 new > replies. Thanks for looking into it. > I'm guessing this means it is more or less impossible to use the

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread f1r3flyp1l0t
Hi, thanks for the prompt replies. I was just typing up a long response (and ended up suspecting similar culprits) until I noticed there were 2 new replies. Thanks for looking into it. I'm guessing this means it is more or less impossible to use the pxz application, unless I rewrite the source

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Waldek Kozaczuk
I think this code in the app might explain this huge malloc: lzma_options_lzma lzma_options; xzcmd_max = sysconf(_SC_ARG_MAX); page_size = sysconf(_SC_PAGE_SIZE); xzcmd = malloc(xzcmd_max); On Thursday, May 21, 2020 at 3:16:29 PM UTC-4, Waldek Kozaczuk wrote: > > I connected with gdb and here

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Waldek Kozaczuk
I connected with gdb and here is stacktrace I got for the main app thread: #0 sched::thread::switch_to (this=this@entry=0x801d1040) at arch/x64/arch-switch.hh:108 #1 0x4040dace in sched::cpu::reschedule_from_interrupt (this=0x8001e040,

Re: [osv-dev] New user: trouble running a simple program

2020-05-21 Thread Nadav Har'El
On Thu, May 21, 2020 at 12:46 PM De Vries wrote: > Hi, > > Sorry if this is a bit of a newbie question. I'm trying to run a pretty > simple application on OSv: pxz . I'm able > to run other apps like mysql for example without any problem. > I have tried this the

[osv-dev] New user: trouble running a simple program

2020-05-21 Thread De Vries
Hi, Sorry if this is a bit of a newbie question. I'm trying to run a pretty simple application on OSv: pxz . I'm able to run other apps like mysql for example without any problem. I have tried this the following way. First, I compiled the pxz executable with the