Re: demystifying trap
On Sat, Jan 12, 2019 at 01:10:19PM -0800, Philip Guenther wrote: > On Sat, Jan 12, 2019 at 10:49 AM Predrag Punosevac > wrote: > > > Could one of peple with some rudimental knowledge of kernel interals > > tell me what am I seeing here > > > > Jan 12 13:42:37 oko /bsd: trap [mmonit-bin]89524/427284 type 6: sp > > 122488ae75d0 not inside 7f7fffbf4000-7f7f4000 > > > > 'sp' means "stack pointer" in here. The kernel is killing your process > because it moved its stack pointer outside the memory which was mapped with > MAP_STACK. This is most often seen with userspace thread implementations > that haven't been updated to use MAP_STACK when allocating memory for > thread stacks. Predrag, if you're a mmonit customer, ask for a binary compiled on OpenBSD 6.4. They're using quite old libraries. ldd shows the binary is linked with libc.so.88.0 and libpthread.so.22.0. OpenBSD 6.4 is shipped with libc.so.92.5 and libpthread.so.25.1. -- Juan Francisco Cantero Hurtado http://juanfra.info
Re: demystifying trap
On Sat, Jan 12, 2019 at 10:49 AM Predrag Punosevac wrote: > Could one of peple with some rudimental knowledge of kernel interals > tell me what am I seeing here > > Jan 12 13:42:37 oko /bsd: trap [mmonit-bin]89524/427284 type 6: sp > 122488ae75d0 not inside 7f7fffbf4000-7f7f4000 > 'sp' means "stack pointer" in here. The kernel is killing your process because it moved its stack pointer outside the memory which was mapped with MAP_STACK. This is most often seen with userspace thread implementations that haven't been updated to use MAP_STACK when allocating memory for thread stacks. Philip Guenther
demystifying trap
Could one of peple with some rudimental knowledge of kernel interals tell me what am I seeing here Jan 12 13:42:37 oko /bsd: trap [mmonit-bin]89524/427284 type 6: sp 122488ae75d0 not inside 7f7fffbf4000-7f7f4000 I was trying to run MMonit binaries on my desktop. https://mmonit.com/download/ Most Kind Regards, Predrag P.S. predrag@oko$ uname -a OpenBSD oko.int.bagdala2.net 6.4 GENERIC.MP#3 amd64