Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2020-01-06 Thread Leszek Swirski
Interesting, thanks for the report, sorry for not replying earlier but you know, Christmas and all that :). Could you please create a bug on crbug.com/v8 and assign it to ish...@chromium.org (and cc me)? +Igor Sheludko , could this be pointer compression root inference? We might have to copy &

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-30 Thread Jeroen Ooms
On Mon, Dec 30, 2019 at 10:06 AM Dominik Inführ wrote: > > I suppose this is because pointer compression was recently enabled by > default. So either you disable pointer compression when compiling V8 > (v8_enable_pointer_compression = false in your args.gn) or you need to > compile your

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-30 Thread Jeroen Ooms
On Mon, Dec 30, 2019 at 10:06 AM Dominik Inführ wrote: > > I suppose this is because pointer compression was recently enabled by > default. So either you disable pointer compression when compiling V8 > (v8_enable_pointer_compression = false in your args.gn) or you need to > compile your

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-30 Thread Dominik Inführ
I suppose this is because pointer compression was recently enabled by default. So either you disable pointer compression when compiling V8 (v8_enable_pointer_compression = false in your args.gn) or you need to compile your example program with -DV8_COMPRESS_POINTERS. This fixed the issue for

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-29 Thread Jeroen Ooms
On Sun, Dec 29, 2019 at 12:00 PM Ben Noordhuis wrote: > > On Thu, Dec 26, 2019 at 2:53 PM Jeroen Ooms wrote: > > > > On Thu, Dec 26, 2019 at 10:36 AM Ben Noordhuis wrote: > > > > > > On Mon, Dec 23, 2019 at 11:42 PM Jeroen Ooms wrote: > > > > > > > > Hi! > > > > > > > > I maintain v8 bindings

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-29 Thread Ben Noordhuis
On Thu, Dec 26, 2019 at 2:53 PM Jeroen Ooms wrote: > > On Thu, Dec 26, 2019 at 10:36 AM Ben Noordhuis wrote: > > > > On Mon, Dec 23, 2019 at 11:42 PM Jeroen Ooms wrote: > > > > > > Hi! > > > > > > I maintain v8 bindings for the R programming language. As of recently (I > > > think 7.9) we

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-26 Thread Jeroen Ooms
On Thu, Dec 26, 2019 at 10:36 AM Ben Noordhuis wrote: > > On Mon, Dec 23, 2019 at 11:42 PM Jeroen Ooms wrote: > > > > Hi! > > > > I maintain v8 bindings for the R programming language. As of recently (I think 7.9) we started getting segfaults at calls to IsUndefined() and IsNull(). The problem

Re: [v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-26 Thread Ben Noordhuis
On Mon, Dec 23, 2019 at 11:42 PM Jeroen Ooms wrote: > > Hi! > > I maintain v8 bindings for the R programming language. As of recently (I > think 7.9) we started getting segfaults at calls to IsUndefined() and > IsNull(). The problem has gotten more prevalent in 8.1. We're encountered > this

[v8-dev] IsUndefined and IsNull segfault when compiled without V8_ENABLE_CHECKS

2019-12-23 Thread Jeroen Ooms
Hi! I maintain v8 bindings for the R programming language. As of recently (I think 7.9) we started getting segfaults at calls to IsUndefined() and IsNull(). The problem has gotten more prevalent in 8.1. We're encountered this both on MacOS and Arch Linux. To produce a minimal example, simply