Joachim Breitner wrote: > I can reproduce it from within ghc’s address space using gdb: > > (gdb) call malloc(32) > $7 = 64943120 > (gdb) call regcomp(64943120, ".", 0) > $8 = 0 > (gdb) call regexec(64943120,"\242",0,0,0) > $9 = 1 > (gdb) call regexec(64943120,"only_ascii",0,0,0) > $10 = 0 > > And even from gdb while debugging “sleep”. So the behaviour is already > there in regexec, but for some reason it is not triggered from C code, > but only via some variants of FFI (GHC’s or gdb’s). > > I’ll leave it at that, as this is not really related to GHC or Haskell > any more.
That's some deep dive! Sounds like a reassign to glibc is in order? -- see shy jo
signature.asc
Description: Digital signature